Home > Veritas Cluster Server Manual Pages
VXFENADM (1M) |
Maintenance Commands |
vxfenadm -G diskpath | -G all -f disk_filename
vxfenadm -R diskpath | -R all -f disk_filename
vxfenadm -m -k|K key -f disk_filename
vxfenadm -n -k|K key -f disk_filename
vxfenadm -x -k|K key -f disk_filename
vxfenadm -p -k|K key -f disk_filename -v victim_node_key
vxfenadm -g diskpath | -g all -f disk_filename
vxfenadm -r diskpath | -r all -f disk_filename
vxfenadm -t diskpath
vxfenadm -i diskpath
vxfenadm -d diskpath
vxfenadm -h
- -k
- The key consisting of eight bytes defined for this set of disks.
- -K
- Same as -k, but in numeric sequence.
- -f
- Option flag preceding the name of the file, disk_filename, that contains all of the fully qualified path(s) to each disk; a disk can be accessible by multiple paths.
- -t
- Issue SCSI TEST UNIT command and return 0 if successful.
- -p
- Removes the registrations and reservations made for disks in disk_filename made with key used by the victim node (-v victim_node_key).
- -v
- Key used by the victim node to register/reserve disks.
- -m
- Registers with the disks in disk_filename.
- -n
- Reserves with the disks in disk_filename.
- -x
- Unregisters with the disks in disk_filename.
- -g
- Reads the keys registered on a disk specified by diskpath or reads the keys which are registered on all disks listed in disk_filename. Keys are displayed in numeric and character format.
- -G
- Reads the keys on a disk and if possible prints node ID based on first byte of the key. Specify a diskpath or a disk_filename (a listing of paths), and print formatted results.
- -r
- Reads the reservations on a disk specified by diskpath or reads the reservations on all disks listed in disk_filename.
- -R
- Reads the reservations on a disk specified by diskpath or reads the reservations on all disks listed in disk_filename, and print the results in numeric format.
- -i
- Reads the SCSI inquiry information from the disk listed in diskpath.
- -d
- Displays cluster-wide system state.
- -h
- Displays the usage for vxfenadm command.
# vxfenadm -m -k AVCS -f disk_filename-k AVCS will convert the key to AVCS---- before the SCSI-3 command is issued to the device. AVCS will register as AVCS---- on the disk. The same holds for other SCSI-3 commands. If you try to unregister a key with character format that is less than 8 bytes, the unregistration fails. For example: Read the keys registered on a disk using the following command:
# vxfenadm -g all -f disk_filenameIf you unregister the key using the following command, the unregistration fails:
Device Name: <diskpath>
Total Number Of Keys: 2
key[0]: Key Value [Numeric Format]: 65,80,71,82,48,48,48,0 Key Value [Character Format]: APGR000
# vxfenadm -x -k APGR000 -f disk_filenameIn this case, the key registered on the disks is APGR000. But the vxfenadm command implicitly converted the key to APGR000-. Hence the unregistration failed. The unregistration will succeed with the numeric format. To successfully unregister the key, enter the following command:
VCS FEN vxfenadm ERROR V-11-2-1204 Command 0 FAILED for: diskpath
VCS FEN vxfenadm ERROR V-11-2-1120 Unregistration FAILED for: diskpath
VCS FEN vxfenadm ERROR V-11-2-1133 Error returned
# vxfenadm -x -K 65,80,71,82,48,48,48,0 -f disk_filename
VCS FEN vxfenadm NOTICE Deleted the key:[APGR000] from device diskpath
Last updated: Jan 2009
Copyright ©2009 Symantec Corporation
All rights reserved.