Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure the ASM diskgroup character interface

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

How to configure the ASM disk group character interface, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain in detail for you, people with this need can come to learn, I hope you can gain something.

Under grid users (when installing ASM, the disk group name set is the same as before reinstallation)

Unable to open the graphical interface with asmca, the error is as follows:

Sqlplus / as sysasm login

Use the following command to query for available / dev/ devices

SQL > select group_number,disk_number,header_status,mode_status,state,total_mb,name,failgroup,path from v$asm_disk

GROUP_NUMBER DISK_NUMBER MODE_ST HEADER_STATU MODE_ST STATE TOTAL_MB FREE_MB NAME PATH

- -

0 0 ONLINE CANDIDATE ONLINE NORMAL 0 0 / dev/asm_vdd

0 1 ONLINE CANDIDATE ONLINE NORMAL 0 0 / dev/asm_vdj

0 2 ONLINE CANDIDATE ONLINE NORMAL 0 0 / dev/asm_vdg

0 7 ONLINE CANDIDATE ONLINE NORMAL 0 0 / dev/asm_vdb

0 4 ONLINE CANDIDATE ONLINE NORMAL 0 0 / dev/asm_vdf

0 5 ONLINE CANDIDATE ONLINE NORMAL 0 0 / dev/asm_vde

0 6 ONLINE CANDIDATE ONLINE NORMAL 0 0 / dev/asm_vdh

0 3 ONLINE CANDIDATE ONLINE NORMAL 0 0 / dev/asm_vdi

8 rows selected.

Use the following command to query that the disk group is empty:

SQL > select name,state from v$asm_diskgroup

No rows selected

-- add ASM disk group

SQL > Create diskgroup DATA external redundancy disk'/ dev/asm_vdd'

Diskgroup created.

-- query again and you will have a disk group.

SQL > select name,state from v$asm_diskgroup

NAME STATE

DATA MOUNTED

Add other disks to the disk group

SQL > alter diskgroup + data add disk'/ dev/asm_vde'

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report