Starting a Veritas Cluster Server agent with haagent
|Article:TECH159216|||||Created: 2011-05-01|||||Updated: 2012-07-21|||||Article URL http://www.symantec.com/docs/TECH159216|
If you receive a messages stating that an agent has failed, you can use the haagent command in an attempt to correct the issue by starting it.
Display information about all agents or about a specified agent. Use the -attribute option to specify the display of a resource attribute. The command displays agent information for the local system if a system is not specified.
Displays a list of agents whose values match given conditional statement(s). Conditional statements can take three forms: Attribute=Value, Attribute!=Value, Attribute=~Value. Multiple conditional statements imply AND logic. If no conditional statement is specified, all agents in the cluster are listed.
The -value option provides the value of a single agent attribute. For example, "hatype -value Mount Running" displays the value of the Running attribute for the Mount agent. The -value option is used instead of the -display option when one specific attribute value is needed rather than a table of many attribute values.
When using the command to specify or modify an attribute's value that begins with a dash ("-"), precede the value with a percent sign ("%"). For example, specify -y as %-y. Likewise, precede a value that starts with a percent sign with another percent sign.
Article URL http://www.symantec.com/docs/TECH159216