Add a disk to the OracleASM disk in Linux

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.