Monitoring and restarting unix agents, Enabling a disabled tru64 agent – Symantec Critical System User Manual

Page 98

Advertising
background image

98 Installing UNIX agents

Monitoring and restarting UNIX agents

mv sisipsagent sisipsagentOFF

mv sisidsagent sisidsagentOFF

If the machine not is a member of a TruCluster, is configured as a single
member cluster, or if you want to disable the agent on all clusters, perform
the following actions:

mv /sbin/init.d/sisipsagent /sbin/init.d/sisipsagentOFF

mv /sbin/init.d/sisidsagent /sbin/init.d/sisidsagentOFF

Enabling a disabled Tru64 agent

You can enable a Tru64 agent that was previously disabled.

To enable a permanently disabled Tru64 agent

1

Open a Terminal window and become superuser.

2

Type and run the following commands, which rename the sisipsgent
scripts:
If the machine is a member of a TruCluster, and the agent is installed on
multiple cluster members (with a shared physical disk), perform the
following actions to re-enable the agent on a single cluster:

cd /cluster/members/\{memb\}/sbin/init.d/

mv sisipsagentOFF sisipsagent

mv sisidsagentOFF sisidsagent

If the machine not is a member of a TruCluster, is configured as a single
member cluster, or if you want to re-enable the agent on all clusters,
perform the following actions:

mv /sbin/init.d/sisipsagentOFF /sbin/init.d/sisipsagent

mv /sbin/init.d/sisidsagentOFF /sbin/init.d/sisidsagent

3

Type and run the following commands to start the agents:

/sbin/init.d/sisipsagent start

/sbin/init.d/sisidsagent start

Monitoring and restarting UNIX agents

The Health Check feature monitors and restarts UNIX agents in the event of an
unexpected termination. This feature is available through the use of a crontab
entry, which calls the daemon startup scripts at regular intervals with a
health_check parameter.

For example, to monitor the UNIX agents every hour, add the following lines to
the crontab file:

0 * * * * /etc/init.d/sisipsagent health_check

Advertising