Sun Management Center 3.5 Update 1 Supplement for Halcyon PrimeAlert Agent for Linux

Reconfiguring the Linux Agent

You configure the Linux Agent during installation. However, you can change settings, such as host names or port numbers, after installation by one of the following methods:

Reconfiguring by Running the Install Script

You can re-enter all the agent setup information by typing the following command:


# source-dir/HALLinuxAgent-install.sh -setupAgent

where source-dir is the installation source directory.

The install script prompts you for the settings and reseeds the Linux Agent if needed.

Reconfiguring by Editing the domain-config.x File

You can specify different settings after installation, by logging into the Linux Agent host and editing the text file /var/opt/PrimeAlert/cfg/domain-config.x. Edit this file only when you want to change the server context or server ports. You must reseed after changing host names or port numbers, see To Reseed After Changing Host Names or Port Numbers.

The following lines can be specified in domain-config.x:


agent = {
        snmpPort = "161"
        agentServer = "caspian"
}
trap = {
        trapServer = "balkan"
        snmpPort = "162"
}
event = {
        eventServer = "balkan"
        snmpPort = "163"
}

Reseeding After Changing Host Names or Port Numbers

If you change the agentServer and the snmpPort values in the domain.config.x file of the Linux Agent host, you must reseed the Linux Agent.

To Reseed After Changing Host Names or Port Numbers
  1. On the Linux Agent host, type the following command in a UNIX shell as a super user:


     # /opt/PrimeAlert/bin/pa usm-seed -s seed agent
    

    seed is the seed you used for your Sun Management Center server layer installation

  2. Restart the Linux Agent.

    Wait 5 –10 minutes for the server layer and the agent to authenticate before managing the agent from the console.