Bienvenidos

Todos estos pasos descriptos fueron probados en ambientes productivos

lunes, 12 de julio de 2010

Sacar estado STOP_FAILED ( sun cluster 3.0 )

Para Limpiar el estado STOP FAILED un resource group de un Sun Cluster 3.0 se debe realizar lo descripto en este ejemplo.

Con el comando scstat -g identifico los resource group que debo limpiar
scstat -g |more
-- Resource Groups and Resources -
Group Name Resources
---------- ---------
Resources: oracle-rg cluster1 oracle-server-rs oracle-hastorage-rs servicios-hastorage-rs servicios-rs oracle-LSN_
PR01-rs oracle-LSN_PR02-rs oracle-LSN_PR03-rs oracle-LSN_PR04-rs oracle-LSN_PR05-rs

-- Resource Groups --

Group Name Node Name State
---------- --------- -----

Group: oracle-rg server1 Error--stop failed
Group: oracle-rg server2 Offline

# scswitch -c -h server1 -j oracle-server-rs -f STOP_FAILED
scswitch: NOTICE: Operation succeeded, but resource group oracle-rg remains in ERROR_STOP_FAILED state on node server1 because some resources in the group remain
online while others are offline. To clear this condition, switch the resource group offline.

# scswitch -F -g oracle-rg
# scstat -g |more

-- Resource Groups and Resources --

Group Name Resources
---------- ---------
Resources: oracle-rg cluster1 oracle-server-rs oracle-hastorage-rs servicios-hastorage-rs servicios-rs oracle-LSN_
PR01-rs oracle-LSN_PR02-rs oracle-LSN_PR03-rs oracle-LSN_PR04-rs oracle-LSN_PR05-rs

-- Resource Groups --

Group Name Node Name State
---------- --------- -----
Group: oracle-rg server1 Online
Group: oracle-rg server2 Offline

Ahora debo realizar un scswitch con cada uno de los recursos asociados al resource group oracle-rg

# scswitch -n -j oracle-hastorage-rs
# scswitch -e -j oracle-hastorage-rs
# scswitch -F -g oracle-rg
# scswitch -n -j oracle-LSN_PR05-rs
# scswitch -n -j oracle-LSN_PR04-rs
# scswitch -n -j oracle-LSN_PR03-rs
# scswitch -n -j oracle-LSN_PR02-rs
# scswitch -n -j oracle-LSN_PR01-rs
# scswitch -n -j oracle-server-rs
# scswitch -n -j oracle-hastorage-rs

No hay comentarios:

Publicar un comentario