Re: GFS patch: cdsl with cmans nodeid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Hlawatschek wrote:
> Hi,
> 
> we created a patch that enables GFS to use the CMANs nodeid value to create 
> CDSLs. Therefore, we created the parameter @nodeid.
> 
> You can download the patch at: http://www.open-sharedroot.org. 
> We wanted to have a nodeid cdsl for the shared root environment. What is your 
> opinion about the @nodeid parameter ?


> 3. Changes:
> 3.1 cman-kernel
> Added API function kcl_get_my_nodeid(void) which returns the nodeid as int.

You don't need to add an API to get the current nodeid. Simply call
  kcl_get_node_by_id(0, &node)
and it will fill in details of the current node.

> Added line to proc/cluster/status output. E.g: "Node ID: 4"

Yes, that probably should be included :)

-- 

patrick

--

Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux