Storage Foundation for Sybase ASE CE 7.4 Administrator's Guide - Linux
- Overview of Storage Foundation for Sybase ASE CE
- About Storage Foundation for Sybase ASE CE
- About SF Sybase CE components
- About optional features in SF Sybase CE
- Administering SF Sybase CE and its components
- Administering SF Sybase CE
- Starting or stopping SF Sybase CE on each node
- Administering VCS
- Administering I/O fencing
- About the vxfentsthdw utility
- Testing the coordinator disk group using the -c option of vxfentsthdw
- About the vxfenadm utility
- About the vxfenclearpre utility
- About the vxfenswap utility
- Administering CVM
- Changing the CVM master manually
- Administering CFS
- Administering the Sybase agent
- Administering SF Sybase CE
- Troubleshooting SF Sybase CE
- About troubleshooting SF Sybase CE
- Troubleshooting I/O fencing
- Fencing startup reports preexisting split-brain
- Troubleshooting Cluster Volume Manager in SF Sybase CE clusters
- Troubleshooting interconnects
- Troubleshooting Sybase ASE CE
- Prevention and recovery strategies
- Prevention and recovery strategies
- Managing SCSI-3 PR keys in SF Sybase CE cluster
- Prevention and recovery strategies
- Tunable parameters
- Appendix A. Error messages
Changing the CVM master manually
You can change the Cluster Volume Manager (CVM) master manually from one node in the cluster to another node, while the cluster is online. CVM migrates the master node, and reconfigures the cluster.
Veritas recommends that you switch the master when the cluster is not handling Veritas Volume Manager (VxVM) configuration changes or cluster reconfiguration operations. In most cases, CVM aborts the operation to change the master, if CVM detects that any configuration changes are occurring in the VxVM or the cluster. After the master change operation starts reconfiguring the cluster, other commands that require configuration changes will fail until the master switch completes.
See Errors during CVM master switching.
To change the master online, the cluster must be cluster protocol version 100 or greater.
To change the CVM master manually
- To view the current master, use one of the following commands:
# vxclustadm nidmap Name CVM Nid CM Nid State system1 0 0 Joined: Slave system2 1 1 Joined: Master
# vxdctl -c mode mode: enabled: cluster active - MASTER master: system2
In this example, the CVM master is system2.
- From any node on the cluster, run the following command to change the CVM master:
# vxclustadm setmaster nodename
where nodename specifies the name of the new CVM master.
The following example shows changing the master on a cluster from system2 to system1:
# vxclustadm setmaster system1
- To monitor the master switching, use the following command:
# vxclustadm -v nodestate state: cluster member nodeId=0 masterId=0 neighborId=1 members[0]=0xf joiners[0]=0x0 leavers[0]=0x0 members[1]=0x0 joiners[1]=0x0 leavers[1]=0x0 reconfig_seqnum=0x9f9767 vxfen=off state: master switching in progress reconfig: vxconfigd in join
In this example, the state indicates that switching of the master is in progress.
- To verify whether the master has successfully changed, use one of the following commands:
# vxclustadm nidmap Name CVM Nid CM Nid State system1 0 0 Joined: Master system2 1 1 Joined: Slave
# vxdctl -c mode mode: enabled: cluster active - MASTER master: system1