You can set up raw disks for multi-node access and I/O fencing.
In Adaptive Server version 15.7, you need not to set the PR_key_value for any disks.
- Set each node with the following:
- Set reserve_policy to no_reserve on the quorum device and all raw database devices:
chdev -l hdisk# -a reserve_policy=no_reserve
- Each node, with a unique node ID for each node:
chdev -l hdisk2 -a reserve_policy=no_reserve
- 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, such as a non-network
information services (non-NIS) user.
- 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 sybase
- If you are setting up raw disks to provide multi-node access and I/O fencing on IBM AIX, follow these additional steps:
- Create the user "sybase": mkuser sybase
- Create role and grant to sybase:
mkrole authorizations=aix.device.manage.change role_disk_access
chuser roles=role_disk_access sybase
- Add the security ‘aix.security.proc.set’ for set security attribute:
smit -> Security & Users -> RBAC -> Roles -> Change ->
'role_disk_access' -> AUTHORIZATIONS +'aix.security.proc.set'
setkst
- Change user to sybase and set the security attribute (set this attribute as default):
su – sybase
setsecattr –p iprivs=+PV_KER_RAS,PV_ROOT,PV_SU_ $$