In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces how to maintain, add and delete ASM disks. It is very detailed and has certain reference value. Friends who are interested must finish reading it.
All operations need to be done in sqlplus / as sysasm. Otherwise, a permission error will be reported.
Manually add a disk group
/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/sdb 36000c29d5c702fe63ad8b0521db134df KERNEL== "sd*", BUS== "scsi", PROGRAM== "/ sbin/scsi_id-whitelisted-replace-whitespace-device=/dev/$name", RESULT== "36000c29f42b8c01a43b175eb67f7500c", NAME= "asm-diski", OWNER= "grid", GROUP= "asmadmin", MODE= "0660"
CREATE DISKGROUP data3 EXTERNAL REDUNDANCY DISK'/ dev/asm-diski';-Node 2 execution
Alter diskgroup data3 mount; to see if it can start automatically.
Show parameter asm_diskgroups
2: expand the disk group
Select group_number,disk_number, path from v$asm_disk
Path found
Expanded disk pack
Alter diskgroup data2 add disk'/ dev/asm-diski'
ALTER DISKGROUP DATA2 REBALANCE POWER 10
The view is balanced.
Select operation,est_minutes from v$asm_operation
Modify it back when it is finished
Alter diskgroup DATA rebalance power 1; or: do the equilibrium directly
Alter diskgroup DATA add disk'/ dev/asm-diski' rebalance power 10
3. Asm disk operation
Uninstall, deletin
Alter diskgroup data dismount
-instance + ASM2 unmount ASM disk group data
Drop diskgroup data force including contents; Diskgroup dropped. -Delete ASM disk group data
The above is all the contents of this article "how to maintain, add and delete ASM disks". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.