Step 1:
Login to the server host01 switch yourself to the root execute below commands.
/etc/init.d/oracleasm createdisk ASMDISK_VD046p1 '/dev/mapper/host1_VD046p1'
/etc/init.d/oracleasm createdisk ASMDISK_VD047p1 '/dev/mapper/host1_VD047p1'
/etc/init.d/oracleasm createdisk ASMDISK_VD048p1 '/dev/mapper/host1_VD048p1'
Step 2:
Login as grid
/etc/init.d/oracleasm listdisks
Step 3:
run scan as root
/etc/init.d/oracleasm scandisks
run as grid
/etc/init.d/oracleasm listdisks
Step 4:
Login to grid user setup ASM environment and login as “sys as sysasm” execute below command in SQL environment.
Sql> alter diskgroup DATA add disk 'ORCL:ASMDISK_VD046p1','ORCL:ASMDISK_VD046p1','ORCL:ASMDISK_VD046p1' rebalance power 10;
Step 5:
Sql>select *From v$asm_operation;
Note: Keep running until you see no rows.
Login to the server host01 switch yourself to the root execute below commands.
/etc/init.d/oracleasm createdisk ASMDISK_VD046p1 '/dev/mapper/host1_VD046p1'
/etc/init.d/oracleasm createdisk ASMDISK_VD047p1 '/dev/mapper/host1_VD047p1'
/etc/init.d/oracleasm createdisk ASMDISK_VD048p1 '/dev/mapper/host1_VD048p1'
Step 2:
Login as grid
/etc/init.d/oracleasm listdisks
Step 3:
run scan as root
/etc/init.d/oracleasm scandisks
run as grid
/etc/init.d/oracleasm listdisks
Login to grid user setup ASM environment and login as “sys as sysasm” execute below command in SQL environment.
Sql> alter diskgroup DATA add disk 'ORCL:ASMDISK_VD046p1','ORCL:ASMDISK_VD046p1','ORCL:ASMDISK_VD046p1' rebalance power 10;
Step 5:
Sql>select *From v$asm_operation;
Note: Keep running until you see no rows.
No comments:
Post a Comment