Symantec logo

Verifying fenced configurations

Administrators can use the vxfenadm command to test and troubleshoot fenced configurations. The vxfenadm command includes the following options:
-d
Display current I/O fencing mode
-g
Read and display keys
-i
Read SCSI inquiry information from device
-m
Register with disks
-n
make a reservation with disks
-p
Remove registrations made by other systems
-r
Read reservations
-x
Remove registrations

Formatting the registration key

The key defined by VxVM associated with a disk group consists of seven bytes maximum. This key becomes unique among the systems when the VxVM prefixes it with the ID of the system. The key used for I/O fencing, therefore, consists of eight bytes.

Corrective actions to prevent data corruption describes the keys currently assigned to the disks.

The keys currently assigned to the disks

0

1

2

3

4

5

6

7

Node 

ID 

VxVM 

Defined 

VxVM 

Defined 

VxVM 

Defined 

VxVM 

Defined 

VxVM 

Defined 

VxVM 

Defined 

VxVM 

Defined 

 To display keys currently assigned to disks

The -g option of vxfenadm displays the eight bytes of a key value in two formats. In the numeric format, the first byte, representing the node ID, contains the system ID plus 65. The remaining bytes contain the ASCII values of the key's letters. In this case, "PGR0000." In the next line, the node ID 0 is expressed as "A" and node ID 1 would be "B."