cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Difference between CVM Nid, CM Nid, cat /etc/llthosts

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

1 Solution

Accepted Solutions
Highlighted
Accepted Solution!

Re: Difference between CVM Nid, CM Nid, cat /etc/llthosts

only vxdctl -d mode tell you who is  cvm  master.

View solution in original post

3 Replies
Highlighted

Re: Difference between CVM Nid, CM Nid, cat /etc/llthosts

Can i have an update please

Highlighted

Re: Difference between CVM Nid, CM Nid, cat /etc/llthosts

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
 #

Highlighted
Accepted Solution!

Re: Difference between CVM Nid, CM Nid, cat /etc/llthosts

only vxdctl -d mode tell you who is  cvm  master.

View solution in original post