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

Oracle RAC deletes an ASM disk group

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

Share

Shulou(Shulou.com)06/01 Report--

1. Check to confirm that the disk group to be deleted is in use

Select * from dba_data_files;select * from dba_temp_files;select * from v$logfile

two。 Dismount disk groups on each node first

Alter diskgroup REDO01 dismount;alter diskgroup REDO02 dismount;alter diskgroup REDODG1 dismount

Delete a disk group in 3.ASM

Drop diskgroup REDO01 force including contents;drop diskgroup REDO02 force including contents;drop diskgroup REDODG1 force including contents

4.crs delete disk group

Crsctl stat res-t-View disk group srvctl remove diskgroup-g REDO01-fsrvctl remove diskgroup-g REDO02-fsrvctl remove diskgroup-g REDODG1-f

5. Update crs information

View the disk groups that crs depends on:

Crsctl status res ora.veraa.db-fSTART_DEPENDENCIES=hard (ora.testDG1.dg,ora.testDG2.dg,ora.REDODG1.dg,ora.testDG3.dg,ora.REDO01.dg,ora.REDO02.dg,ora.REDODG01.dg) weak (type:ora.listener.type,global:type:ora.scan_listener.type,uniform:ora.ons,global:ora.gns) pullup (ora.testDG1.dg,ora.testDG2.dg,ora.REDODG1.dg,ora.testDG3.dg,ora.REDO01.dg,ora.REDO02.dg Ora.REDODG01.dg) START_TIMEOUT=600STATE_CHANGE_TEMPLATE=STOP_DEPENDENCIES=hard (intermediate:ora.asm,shutdown:ora.testDG1.dg,shutdown:ora.testDG2.dg,shutdown:ora.REDODG1.dg,shutdown:ora.testDG3.dg,shutdown:ora.REDO01.dg,shutdown:ora.REDO02.dg,shutdown:ora.REDODG01.dg)

Modify the correct disk group:

Srvctl modify database-d veraa-a "testDG1,testDG2,testDG3,REDODG01"

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