Managing Resources

Delete a resource fails with CRS-2730

[grid@grac41 ~]$ crsctl delete  resource 'ora.OPENFILER_DG.dg'
CRS-2730: Resource 'ora.grac4.db' depends on resource 'ora.OPENFILER_DG.dg'

Check database dependencies
[oracle@grac41 trace]$ srvctl config database -d grac4 ( or use:  $ crsctl status resource ora.grac4.db -f )
Database unique name: grac4
Database name: grac4
Oracle home: /u01/app/oracle/product/11204/racdb
Oracle user: oracle
Spfile: +DATA/grac4/spfilegrac4.ora
Domain: 
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: grac4
Database instances: grac41,grac42,grac43
Disk Groups: DATA,SSD,OPENFILER_DG
Mount point paths: 
Services: grac41,grac42,grac43,report
Type: RAC
Database is administrator managed

Change diskgroup dependencies
[root@grac41 Desktop]# srvctl modify database -d grac4 -a 'DATA,SSD'
[root@grac41 Desktop]# srvctl config database -d grac4 
Database unique name: grac4
Database name: grac4
Oracle home: /u01/app/oracle/product/11204/racdb
Oracle user: oracle
Spfile: +DATA/grac4/spfilegrac4.ora
Domain: 
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: grac4
Database instances: grac41,grac42,grac43
Disk Groups: DATA,SSD
Mount point paths: 
Services: grac41,grac42,grac43,report
Type: RAC
Database is administrator managed

Now delete resource
[root@grac41 Desktop]#   crsctl delete  resource 'ora.OPENFILER_DG.dg' 

Leave a Reply

Your email address will not be published. Required fields are marked *