Symantec logo

Using the -wait option in scripts

The -wait option is for use in scripts using VCS commands to change attribute values. The option blocks the VCS command until the value of the specified attribute is changed or until the timeout, if specified, expires. Specify the timeout in seconds.

The option can be used only with changes to scalar attributes.

The -wait option is supported with the following commands:

hagrp -wait group attribute value [-clus cluster] [-sys system] 
[-time timeout]
 

Use the -sys option when the scope of the attribute is local.

Use the -clus option in a global cluster environment.

hares -wait resource attribute value [-clus cluster] [-sys 
system] [-time timeout]
 

Use the -sys option when the scope of the attribute is local.

Use the -clus option in a global cluster environment.

hasys -wait system attribute value [-clus cluster] [-time 
timeout]
 

Use the -clus option in a global cluster environment.

See the man pages associated with these commands for more information.