04-21-2016 12:30 AM
Hello Team,
I usually check /etc/llthosts to find which is masternode in CVM cluster i.e. 0- measn that is the master node. But vxdctl -c mode gives a different nodes as master. I am little confused here that we do not need to look /etc/llthosts to find which is master node?.
From vxclustadm nidmap i could see a CVm Nid and CM Nid colums with differnet numbers. How the cluster actually grep that info and works and if possible can you explain that.
Thanks in advance.
Thanks & Regards,
Ashok
Solved! Go to Solution.
04-25-2016 02:29 AM
only vxdctl -d mode tell you who is cvm master.
04-23-2016 04:25 AM
Can i have an update please
04-25-2016 02:28 AM
Hi,
according manual:
nidmap Prints a table showing the mapping between node
IDs in VxVM's cluster-support subsystem and node
IDs in the cluster monitor.
# vxclustadm nidmap
Name CVM Nid CM Nid State
t5120a 1 0 Joined: Master
t5120b 0 1 Joined: Slave
root
#
# cat /etc/llthosts
0 t5120a <<<node id 0
1 t5120b <<<node id 1
# vxdctl -c mode
mode: enabled: cluster active - SLAVE
master: t5120a
#
04-25-2016 02:29 AM
only vxdctl -d mode tell you who is cvm master.