Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 User's Guide   

Administering Resources

  To bring a resource online


hares -online resource -sys system

  To take a resource offline


hares -offline [-ignoreparent] resource -sys system
The option -ignoreparent enables a resource to be taken offline even if its parent resources in the service group are online. This option does not work if taking the resources offline violates the group dependency.

  To take a resource offline and propagate the command to its children


hares -offprop [-ignoreparent] resource -sys system
As in the above command, the option -ignoreparent enables a resource to be taken offline even if its parent resources in the service group are online. This option does not work if taking the resources offline violates the group dependency.

  To prompt a resource's agent to immediately monitor the resource on a particular system


hares -probe resource -sys system
Though the command may return immediately, the monitoring process may not be completed by the time the command returns.

  To clear a resource

Initiate a state change from RESOURCE_FAULTED to RESOURCE_OFFLINE:

  # hares -clear resource [-sys system]
Clearing a resource initiates the online process previously blocked while waiting for the resource to become clear. If system is not specified, the fault is cleared on each system in the service group's SystemList attribute. (For instructions, see To clear faulted, non-persistent resources in a service group.)
This command also clears the resource's parents. Persistent resources whose static attribute Operations is defined as None cannot be cleared with this command and must be physically attended to, such as replacing a raw disk. The agent then updates the status automatically.
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 User's Guide  
VERITAS Software Corporation
www.veritas.com