Re[2]: [Linux-cluster] Determining name of current cluster

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

 



Thursday, October 28, 2004, 10:33:09 AM, Patrick Caulfield wrote:

> On Thu, Oct 28, 2004 at 08:52:01PM +0800, David Teigland wrote:
>> On Thu, Oct 28, 2004 at 08:12:28AM -0400, Jeff wrote:
>> > Is ccs_get() the correct API to use to determine the name of the
>> > current cluster?
>> 
>> You could but the most correct method would be to get this from the
>> cluster manager (cnxman-socket.h until there's a libcman).  In the kernel
>> it's kcl_cluster_name(), but it looks like we haven't exported an
>> equivalent to userspace yet.

> I'm working on both, they should be ready RSN.

> If you're desperate, the quickest way of getting the cluster name into userland
> is to read /proc/cluster/status.

Thanks.





[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