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
Managing SCSI-3 PR keys in SF Sybase CE cluster
I/O Fencing places the SCSI-3 PR keys on coordinator LUNs. The format of the key follows the naming convention wherein ASCII "A" is prefixed to the LLT ID of the system that is followed by 7 dash characters.
For example:
node 0 uses A-------
node 1 uses B-------
In an SF Sybase CE/SF CFS/SF HA environment, VxVM/CVM registers the keys on data disks, the format of which is ASCII "A" prefixed to the LLT ID of the system followed by the characters "PGRxxxx" where 'xxxx' = i such that the disk group is the ith shared group to be imported.
For example: node 0 uses APGR0001 (for the first imported shared group).
In addition to the registration keys, VCS/CVM also installs a reservation key on the data LUN. There is one reservation key per cluster as only one node can reserve the LUN.
See About SCSI-3 Persistent Reservations.
The following command lists the keys on a data disk group:
# vxdg list |grep data
dbdata_dg enabled,shared,cds 1201715530.28.pushover
Select the data disk belonging to dbdata_dg:
# vxdisk -o alldgs list |grep dbdata_dg
sdh auto:cdsdisk sdh sybdata_101 online shared sdj auto:cdsdisk sdj sybdata_101 online shared sdk auto:cdsdisk sdk sybdata_101 online shared
The following command lists the PR keys:
# vxdisk -o listreserve list sdh
........
........
Alternatively, the PR keys can be listed using vxfenadm command:
#echo "/dev/vx/dmp/sdh" > /tmp/disk71
# vxfenadm -s all -f /tmp/disk71
Device Name: /dev/vx/dmp/sdh Total Number Of Keys: 2 key[0]: Key Value [Numeric Format]: 66,80,71,82,48,48,48,52 Key Value [Character Format]: BPGR0004 key[1]: Key Value [Numeric Format]: 65,80,71,82,48,48,48,52 Key Value [Character Format]: APGR0004