In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Stop all node ASM instances
$srvctl stop asm-n testdb1-f
$srvctl stop asm-n testdb2-f
$srvctl stop asm-n testdb3-f
$srvctl stop asm-n testdb4-f
Check the status of CRS resources, and the ASM instance is already shutdown
$crsctl stat res-t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
Ora.LISTENER.lsnr
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.OCRVOTE.dg
OFFLINE OFFLINE testdb1
OFFLINE OFFLINE testdb2
OFFLINE OFFLINE testdb3
OFFLINE OFFLINE testdb4
Ora.asm
OFFLINE OFFLINE testdb1 Instance Shutdown
OFFLINE OFFLINE testdb2 Instance Shutdown
OFFLINE OFFLINE testdb3 Instance Shutdown
OFFLINE OFFLINE testdb4 Instance Shutdown
Ora.gsd
OFFLINE OFFLINE testdb1
OFFLINE OFFLINE testdb2
OFFLINE OFFLINE testdb3
OFFLINE OFFLINE testdb4
Ora.net1.network
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.ons
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.registry.acfs
OFFLINE OFFLINE testdb1
OFFLINE OFFLINE testdb2
OFFLINE OFFLINE testdb3
OFFLINE OFFLINE testdb4
Cluster Resources
Ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE testdb4
Ora.cvu
1 ONLINE ONLINE testdb3
Ora.oc4j
1 ONLINE ONLINE testdb3
Ora.scan1.vip
1 ONLINE ONLINE testdb4
Ora.testdb1.vip
1 ONLINE ONLINE testdb1
Ora.testdb2.vip
1 ONLINE ONLINE testdb2
Ora.testdb3.vip
1 ONLINE ONLINE testdb3
Ora.testdb4.vip
1 ONLINE ONLINE testdb4
2. Remove ASM resources
$srvctl remove asm-f
$crsctl stat res-t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
Ora.LISTENER.lsnr
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.OCRVOTE.dg
OFFLINE OFFLINE testdb1
OFFLINE OFFLINE testdb2
OFFLINE OFFLINE testdb3
OFFLINE OFFLINE testdb4
Ora.gsd
OFFLINE OFFLINE testdb1
OFFLINE OFFLINE testdb2
OFFLINE OFFLINE testdb3
OFFLINE OFFLINE testdb4
Ora.net1.network
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.ons
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.registry.acfs
OFFLINE OFFLINE testdb1
OFFLINE OFFLINE testdb2
OFFLINE OFFLINE testdb3
OFFLINE OFFLINE testdb4
Cluster Resources
Ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE testdb4
Ora.cvu
1 ONLINE ONLINE testdb3
Ora.oc4j
1 ONLINE ONLINE testdb3
Ora.scan1.vip
1 ONLINE ONLINE testdb4
Ora.testdb1.vip
1 ONLINE ONLINE testdb1
Ora.testdb2.vip
1 ONLINE ONLINE testdb2
Ora.testdb3.vip
1 ONLINE ONLINE testdb3
Ora.testdb4.vip
1 ONLINE ONLINE testdb4
3. Remove OCRVOTE diskgroup resources
$srvctl remove diskgroup-g OCRVOTE-f
$crsctl stat res-t
NAME TARGET STATE SERVER STATE_DETAILS
Local Resources
Ora.LISTENER.lsnr
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.gsd
OFFLINE OFFLINE testdb1
OFFLINE OFFLINE testdb2
OFFLINE OFFLINE testdb3
OFFLINE OFFLINE testdb4
Ora.net1.network
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.ons
ONLINE ONLINE testdb1
ONLINE ONLINE testdb2
ONLINE ONLINE testdb3
ONLINE ONLINE testdb4
Ora.registry.acfs
OFFLINE OFFLINE testdb1
OFFLINE OFFLINE testdb2
OFFLINE OFFLINE testdb3
OFFLINE OFFLINE testdb4
Cluster Resources
Ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE testdb4
Ora.cvu
1 ONLINE ONLINE testdb3
Ora.oc4j
1 ONLINE ONLINE testdb3
Ora.scan1.vip
1 ONLINE ONLINE testdb4
Ora.testdb1.vip
1 ONLINE ONLINE testdb1
Ora.testdb2.vip
1 ONLINE ONLINE testdb2
Ora.testdb3.vip
1 ONLINE ONLINE testdb3
Ora.testdb4.vip
1 ONLINE ONLINE testdb4
4. Delete ASM information in / etc/oratab (all nodes)
Root@testdb1:/#cp / etc/oratab / etc/oratab_bak
Root@testdb1:/#vi / etc/oratab
+ ASM1:/oracle/app/11.2.0/grid:N # line added by Agent "" = = delete the line
5. Delete the disk head in the disk group OCRVOTE
Su-root
Dd if=/dev/zero of=/dev/vx/rdmp/emc0_04a1 bs=1024k count=50
Dd if=/dev/zero of=/dev/vx/rdmp/emc0_04ad bs=1024k count=50
Dd if=/dev/zero of=/dev/vx/rdmp/hitachi_vsp0_11cc bs=1024k count=50
Uninstall the ASM instance at this point is complete.
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.