Skip to end of metadata
Go to start of metadata

Starting And Stopping The Agent


This page provides instructions for working with the buagent command line utility.



Starting the Agent

To start the Agent, follow the instructions below.

1. Run buagentctl start command:

# buagentctl start

Return:

/usr/bin/buagentctl start: buagent started

2. Verify the Agent's status by running the buagentctl status command:

# buagentctl status

Return:

Stopping the Agent

To stop the running CDP Agent, follow the instructions below.

1. Run buagentctl stop command:

# buagentctl stop

Return:

/usr/bin/buagentctl stop: buagent stopped

2. Verify the Agent's status by running the buagentctl status command:

# buagentctl status

Return:

You should now receive a message that the Agent is not running.

/usr/bin/buagentctl status: buagent (no pid file) not running

Restarting the Agent

To stop and then immediately start the Agent again, follow the instructions below.

Run buagentctl restart command:

# buagentctl restart

Return:

/usr/bin/buagentctl restart: buagent stopped /usr/bin/buagentctl restart: buagent started

Starting the Agent at System Boot

In Red Hat, Fedora Core, and CentOS, there is a symbolic link to buagentctl in the /etc/init.d directory:

ls -l /etc/init.d/buagent

Return:

lrwxrwxrwx  1 root root 19 Aug  4 09:22 /etc/init.d/buagent -> /usr/bin/buagentctl

The link allows the CDP Agent to be started at System boot and stopped at System shutdown.

Viewing Agent's Status

To see the status of the agent, run the following buagentctl command:

# buagentctl status

Return:

Agent is running:

/usr/bin/buagentctl status: buagent (pid 2105) running

Agent is not running:

/usr/bin/buagentctl status: buagent (no pid file) not running

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.