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'
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 2:
Login to the server host2 switch yourself to the root execute below commands.
host2:
/etc/init.d/oracleasm createdisk ASMDISK_VD047p1 '/dev/mapper/host2_VD047p1'
/etc/init.d/oracleasm createdisk ASMDISK_VD048p1 '/dev/mapper/host2_VD048p1'
/etc/init.d/oracleasm createdisk ASMDISK_VD049p1 '/dev/mapper/host2_VD049p1'
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_VD047p1','ORCL:ASMDISK_VD048p1','ORCL:ASMDISK_VD049p1' rebalance power 10;
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'
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 2:
Login to the server host2 switch yourself to the root execute below commands.
host2:
/etc/init.d/oracleasm createdisk ASMDISK_VD047p1 '/dev/mapper/host2_VD047p1'
/etc/init.d/oracleasm createdisk ASMDISK_VD048p1 '/dev/mapper/host2_VD048p1'
/etc/init.d/oracleasm createdisk ASMDISK_VD049p1 '/dev/mapper/host2_VD049p1'
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_VD047p1','ORCL:ASMDISK_VD048p1','ORCL:ASMDISK_VD049p1' rebalance power 10;
No comments:
Post a Comment