The following are the main operations for adding disks to the OracleASM disk group on the Linux platform. The multi-channel software uses HDS. 1. Operating System settings 1. From storage ing disk to server, however
The following describes how to add a disk to an Oracle ASM disk on the Linux platform. 1. Operating System settings 1. From storage ing disk to server, however
The following describes how to add a disk to an Oracle ASM disk on the Linux platform.
1. Operating System settings
1. Map the storage disk to the server, restart and scan the disk.
/Opt/D */bin/dlnkmgr view-lu
2. After scanning a new disk (both nodes must be scanned and the drive letter must be consistent), create a partition on the new disk (execute on any node)
Fdisk/dev/sddlmax
Fdisk/dev/sddlmay
View partitions
Fdisk-l/dev/sddlmax
Fdisk-l/dev/sddlmay
Run the following command on another node:
Partprobe
View partitions
Fdisk-l/dev/sddlmax
Fdisk-l/dev/sddlmay
3. Create a vol Disk
Run the following command on a node:
/Etc/init. d/oracleasm createdisk VOLDB7/dev/sddlmax1
/Etc/init. d/oracleasm createdisk VOLDB8/dev/sddlmay1
Ls-l/dev/oracleasm/disks
View
/Etc/init. d/oracleasm listdisks
Run the following command on another node:
/Etc/init. d/oracleasm scandisks
Then View:
/Etc/init. d/oracleasm listdisks
Ii. Database settings
Export ORACLE_SID = + ASM1
Sqlplus "/as sysdba"
Show parameter pfile. Check whether the ASM_DISKSTRING parameter is set.
Show parameter asm_power
Alter system set asm_power_limit = 5;
Alter diskgroup DBDATA add disk 'orcl: voldb7 ';
Alter diskgroup DBDATA add disk 'orcl: voldb8 ';
Alter diskgroup dbdata rebalance power 5; Increase the balance rate
Select operation, est_minutes from v $ asm_operation; view the time required for balancing
Select TOTAL_MB, FREE_MB, path from v $ asm_disk_stat where GROUP_NUMBER = 1 order by 3; view the current disk space usage
Alter diskgroup dbdata rebalance power 1; restore to balance rate 1