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

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



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.





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