Veritas Storage Foundation 5.1 SP1 for Oracle RAC Administrator"s Guide (5900-1512, April 2011)
76543210Byte
DGcountDGcountDGcountDGcountRGPA+nIDValue
where DGcount is the count of disk group in the configuration
Displaying the I/O fencing registration keys
You can display the keys that are currently assigned to the disks using the
vxfenadm command.
The variables such as disk_7, disk_8, and disk_9 in the following procedure
represent the disk names in your setup.
To display the I/O fencing registration keys
1
To display the key for the disks, run the following command:
# vxfenadm -s disk_name
For example:
■ To display the key for the coordinator disk /dev/vx/rdmp/c1t1d0 from
the system with node ID 1, enter the following command:
# vxfenadm -s /dev/vx/rdmp/c1t1d0
key[1]:
[Numeric Format]: 86,70,68,69,69,68,48,48
[Character Format]: VFDEED00
* [Node Format]: Cluster ID: 57069 Node ID: 0 Node Name: galaxy
The -s option of vxfenadm displays all eight bytes of a key value in three
formats. In the numeric format,
■ The first two bytes, represent the identifier VF, contains the ASCII
value 86, 70.
■ The next four bytes contain the ASCII value of the cluster ID 57069
encoded in hex (0xDEED) which are 68, 69, 69, 68.
■ The remaining bytes contain the ASCII value of the node ID 0 (0x00)
which are 48, 48. Node ID 1 would be 01 and node ID 10 would be 0A.
An asterisk before the Node Format indicates that the vxfenadm command
is run from the node of a cluster where LLT is configured and running.
■ To display the keys on a CVM parallel disk group:
# vxfenadm -s /dev/vx/rdmp/disk_7
Reading SCSI Registration Keys...
Administering SF Oracle RAC and its components
Administering I/O fencing
116