What are the commands that can be run on a Veritas Cluster Volume Manager (CVM) Master / Slave or a Veritas Cluster File System (CFS) Primary / Secondary?

book

Article ID: 100038859

calendar_today

Updated On:

Description

Description

To determine if the system is a CVM Master or Slave:
 
As root, run the following command,
# vxdctl -c mode
 
To determine if the system is a CFS Primary or Secondary run the following command,
# fsclustadm -v showprimary
 
The following commands are allowed on a CVM Master node :
 
vxassist - to add/delete a volume in a disk group
vxresize - to resize an existing volume

Note: A s of Version 6, vxresize can be run from any node .
 
The following command is allowed in a CFS Primary node :
 
fsadm - to resize/reorganise a file system
 
If the system does not allow you to run any of the above commands, please use this table for cross-reference:
 
System Name CVM Mode VxVM Admin commands allowed - like vxresize, vxassist, vxrecover, vxmake etc ? CFS Mode Command allowed - fsadm ?
sysA Master Yes Secondary No
sysB Slave No Primary Yes

Issue/Introduction

What are the commands that can be run on a Veritas Cluster Volume Manager (CVM) Master / Slave or a Veritas Cluster File System (CFS) Primary / Secondary?