Configure ASM disks for Oracle DB on Linux
1) Get the LUNS for ASM disks and configure in below file :
#vi /etc/udev/rules.d/96-asmmultipath.rules
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001400015b68", SYMLINK+="mapper/asm-data0001", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001500015b68", SYMLINK+="mapper/asm-data0002", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001600015b68", SYMLINK+="mapper/asm-data0003", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001700015b68", SYMLINK+="mapper/asm-data0004", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001800015b68", SYMLINK+="mapper/asm-arch0001", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001900015b68", SYMLINK+="mapper/asm-arch0002", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000002a00015b68", SYMLINK+="mapper/asm-redo0001", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000002b00015b68", SYMLINK+="mapper/asm-redo0002", GROUP="dba", OWNER="oragrid", MODE="0660"
2) Reload the rules using below command to update to kernel.
# /sbin/udevadm control --reload-rules
# /sbin/udevadm trigger --type=devices --action=change
1) Get the LUNS for ASM disks and configure in below file :
#vi /etc/udev/rules.d/96-asmmultipath.rules
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001400015b68", SYMLINK+="mapper/asm-data0001", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001500015b68", SYMLINK+="mapper/asm-data0002", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001600015b68", SYMLINK+="mapper/asm-data0003", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001700015b68", SYMLINK+="mapper/asm-data0004", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001800015b68", SYMLINK+="mapper/asm-arch0001", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000001900015b68", SYMLINK+="mapper/asm-arch0002", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000002a00015b68", SYMLINK+="mapper/asm-redo0001", GROUP="dba", OWNER="oragrid", MODE="0660"
ACTION=="add|change", ENV{DM_UUID}=="mpath-360002ac0000000000000002b00015b68", SYMLINK+="mapper/asm-redo0002", GROUP="dba", OWNER="oragrid", MODE="0660"
2) Reload the rules using below command to update to kernel.
# /sbin/udevadm control --reload-rules
# /sbin/udevadm trigger --type=devices --action=change
No comments:
Post a Comment