Consultor Eletrônico



Kbase P117369: How to manually unregister DB resources in a Sun Cluster
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/07/2006
Status: Unverified

GOAL:

How to manually unregister DB resources in a Sun Cluster

GOAL:

Which Sun cluster commands are used to unregister a DB resource

FACT(s) (Environment):

Sun Solaris SPARC

FIX:


The process to unregister the resource has to follow this particular order in order to be successful:

For example the DB sports

1.- Change the resources to unmanaged mode

scswitch -n -j sports-db_7E68C566-8794-F063-49D7-F70C1087B086

scswitch -n -j sports-db_7E68C566-8794-F063-49D7-F70C1087B086_has



2.- Remove resources

Srgadm -r -j sports-db_7E68C566-8794-F063-49D7-F70C1087B086

Scrgadm -r -j sports-db_7E68C566-8794-F063-49D7-F70C1087B086_has



3.- Change the resource group to unmanaged mode

scswitch -u -g sports-db_7E68C566-8794-F063-49D7-F70C1087B086_rg



4.- Now it is safe to remove the resource group

scrgadm -r -g sports-db_7E68C566-8794-F063-49D7-F70C1087B086_rg

5.- Check that there are no traces of this DB resources using:

scstat

6.- Being at the DB directory, retry the registration using the user root like this:

procluster /DB/sports enable -pf sports.pf