Operating System - HP-UX
1834022 Members
2241 Online
110063 Solutions
New Discussion

Veritas CVM/VxVM question

 
Adam Garsha
Valued Contributor

Veritas CVM/VxVM question

# vxdctl -c mode
mode: enabled: cluster active - SLAVE
master: its-db3

How can I switch the vxconfigd master to a different node?
8 REPLIES 8
IT_2007
Honored Contributor

Re: Veritas CVM/VxVM question

you need to run vxdctl disable command on the server.
Adam Garsha
Valued Contributor

Re: Veritas CVM/VxVM question

That didn't work. Can you be more specfic. Also any caution about potential I/O access outage would be valuable.

# vxdctl -c mode
mode: enabled: cluster active - MASTER
master: its-db3
# vxdctl disable
# vxdctl -c mode
mode: disabled
master: its-db3
# vxdctl enable
# vxdctl -c mode
mode: enabled: cluster active - MASTER
master: its-db3
Adam Garsha
Valued Contributor

Re: Veritas CVM/VxVM question

cmhaltnode
cmrunnode

Seemed to flip the vxconfigd MASTER over to the server where I like it to live, but is there no easier less intrusive way?
IT_2007
Honored Contributor

Re: Veritas CVM/VxVM question

Are you running vertias Cluster or MC/Serviceguard?
Adam Garsha
Valued Contributor

Re: Veritas CVM/VxVM question

I am using ServiceGuard. To be more specifc, I am using:

ServicGuard Storage Management for RAC... i.e. the SG + VxVM/CFS 4.1 kit on HP-UX 11.23, SG 11.17.
Adam Garsha
Valued Contributor

Re: Veritas CVM/VxVM question

I am trying to pop this question back to life.
Geoff Wild
Honored Contributor

Re: Veritas CVM/VxVM question

"To the cluster manager, all nodes are the
same. However, the Volume Manager cluster feature requires that one
node act as the master node; the other nodes are slave nodes. The
master node is responsible for coordinating certain Volume Manager
activities. VxVM software determines which node performs the master
function (any node is capable of being a master node); this role only
changes if the master node leaves the cluster. If the master leaves the
cluster, one of the slave nodes becomes the new master."

In http://docs.hp.com/en/B7961-90018/B7961-90018.pdf

So basically, to get a new master, you have to halt the node that is the current master - then one of the slaves witll become the master.

Rgds....Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Adam Garsha
Valued Contributor

Re: Veritas CVM/VxVM question

I know that works. Thanks. I was looking for a way to shift the master. i.e. "hey, shift master duties over to node X."

In the end it doesn't matter that much, but it bugs me that I can't shift it online.