Tuesday, June 21, 2016

Add disks to existing ASM disk group on oracle11gR2 in HP-UX environment

HP-UX SA has presented the new raw devices below:

# Node1
dcpdb1
 disk    196  64000/0xfa00/0x2e  esdisk   CLAIMED     DEVICE       3PARdataVV
                      /dev/disk/disk196   /dev/rdisk/disk196
disk    207  64000/0xfa00/0x2f  esdisk   CLAIMED     DEVICE       3PARdataVV
                      /dev/disk/disk207   /dev/rdisk/disk207
 #Node2
dcpdb2
 disk    196  64000/0xfa00/0x2a  esdisk   CLAIMED     DEVICE       3PARdataVV
                      /dev/disk/disk196   /dev/rdisk/disk196
disk    207  64000/0xfa00/0x2b  esdisk   CLAIMED     DEVICE       3PARdataVV
                      /dev/disk/disk207   /dev/rdisk/disk207


Perform below task from Node1 (user: root):
# ll /dev/rdisk/disk196
crw-r-----   1 bin        sys         13 0x00002e Jun 14 11:10 /dev/rdisk/disk196
# ll /dev/rdisk/disk207
crw-r-----   1 bin        sys         13 0x00002f Jun 14 11:11 /dev/rdisk/disk207

# mknod /dev/oracle/asm_data04 c 13 0x00002e
# mknod /dev/oracle/asm_data05 c 13 0x00002f


# ll /dev/oracle/asm_data04
crw-r--r--   1 root       sys         13 0x00002e Jun 19 15:57 asm_data04
# ll /dev/oracle/asm_data05
crw-r--r--   1 root       sys         13 0x00002f Jun 19 15:58 asm_data05


# chown grid:asmadmin /dev/oracle/asm_data04
# chmod 660 /dev/oracle/asm_data04
# chown grid:asmadmin /dev/oracle/asm_data05
# chmod 660 /dev/oracle/asm_data05


# ll /dev/oracle/asm_data04
crw-rw----   1 grid       asmadmin    13 0x00002e Jun 19 15:57 asm_data04
# ll /dev/oracle/asm_data05
crw-rw----   1 grid       asmadmin    13 0x00002f Jun 19 15:58 asm_data05


Perform below task from Node2(user: root):
# ll /dev/rdisk/disk196
crw-r-----   1 bin        sys         13 0x00002a Jun 14 14:29 /dev/rdisk/disk196
# ll /dev/rdisk/disk207
crw-r-----   1 bin        sys         13 0x00002b Jun 14 14:29 /dev/rdisk/disk207


# mknod /dev/oracle/asm_data04 c 13 0x00002a
# mknod /dev/oracle/asm_data05 c 13 0x00002b


# ll /dev/rdisk/disk196
crw-r-----   1 bin        sys         13 0x00002e Jun 14 11:10 /dev/rdisk/disk196
# ll /dev/rdisk/disk207
crw-r-----   1 bin        sys         13 0x00002f Jun 14 11:11 /dev/rdisk/disk207

# mknod /dev/oracle/asm_data04 c 13 0x00002e
# mknod /dev/oracle/asm_data05 c 13 0x00002f

# ll /dev/oracle/asm_data04
crw-r--r--   1 root       sys         13 0x00002a Jun 19 16:13 asm_data04
# ll /dev/oracle/asm_data05
crw-r--r--   1 root       sys         13 0x00002b Jun 19 16:13 asm_data05


# chown grid:asmadmin /dev/oracle/asm_data04
# chmod 660 /dev/oracle/asm_data04
# chown grid:asmadmin /dev/oracle/asm_data05
# chmod 660 /dev/oracle/asm_data05


# ll /dev/oracle/asm_data04
crw-rw----   1 grid       asmadmin    13 0x00002a Jun 19 16:13 asm_data04
# ll /dev/oracle/asm_data05
crw-rw----   1 grid       asmadmin    13 0x00002b Jun 19 16:13 asm_data05


Perform below task only from Node1 GUI environment (user: grid):
Invoke asmca after setting xmanager & putty x11 forwarding.

1. View Diskgroup
2. Right click on the disk group where want to add new disks to.
3. Show eligible disk & select disks & click OK.
4. Diskgroup after disk add.

No comments:

Post a Comment