Setting Up Raw Disks For Multi-node Access and I/O Fencing

learn how to set up raw disks for multi-node access and I/O fencing.

  1. Make sure the PR_key_value attribute is displayed in the lsattr -El hdisk# command. If you do not have this information, contact your storage vendor and request the ODM fileset for AIX . Storage vendors who support and provide ODM fileset are: IBM, HDS, EMC, and HP.
  2. With this information, set each node with the following:
    1. All raw database devices should have the PR_key_value set to the instance_id_number and the reserve_policy set to PR_shared:
      chdev -l hdisk# 
          -a PR_key_value=<instance_id number> 
          -a reserve_policy=PR_shared
    2. The quorum device only is set to no_reserve:
      chdev -l hdisk1 -a reserve_policy=no_reserve 
    3. Each node, with a unique node ID for each node:
      chdev -l hdisk2 -a PR_key_value=1 
          -a reserve_policy=PR_shared
  3. Run the following as SU or SUDO before starting dataserver, and make sure you have the appropriate shell privileges to run dataserver:
    setsecattr -p iprivs=+PV_KER_RAS $$
    You can also run setsecattr with user “sybase” if it has the appropriate roles (for example, a non-network information services (non-NIS) user).
  4. Create a user with privileges to run programs using OpenX:
    mkuser sybase 
    mkrole authorizations=aix.device.manage.change role_disk_access 
    chuser roles=role_disk_access default_roles=role_disk_access sybase 


Created June 23, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com