Previous Topic: Modify the SmHost.conf File (UNIX)

Next Topic: Register Multiple Trusted Hosts on One System (UNIX)

Re-register a Trusted Host Using the Registration Tool (UNIX)

When you install a Web Agent on a server for the first time, you are prompted to register that server as a trusted host. After the trusted host is registered, you do not have to re-register with subsequent Agent installations. There are some situations where you may need to re-register a trusted host independently of installing an Agent, such as the following:

The registration tool, smreghost, re-registers a trusted host. This tool is installed in the web_agent_home/bin directory when you install a Web Agent.

To re-register a trusted host using the registration tool

  1. Open a command prompt window.
  2. Ensure that the library path environment variable contains the path to the Web Agent's bin directory.
  3. Enter the following two commands:

    library_path_variable=${library_path_variable}:web_agent_home/bin

    export library_path_variable

    For example, for Solaris systems enter the following two commands:

    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/ca/webagent/bin

    export LD_LIBRARY_PATH

    The following list shows the different variables for each operating system:

  4. Enter the smreghost command using the following required arguments, as shown in the following example:

    smreghost -i policy_server_IP_address:[port]

    -u administrator_username -p Administrator_password

    -hn hostname_for_registration -hc host_configuration_ object

    Note: Separate each command argument from its value with a space. Surround any values that contain spaces with double quotes ("). See the following example:

    smreghost -i 123.123.1.1 -u SiteMinder -p mypw -hn "host computer A"
    -hc DefaultHostSettings

    Example with the -o argument:

    smreghost -i 123.123.1.1 -u SiteMinder -p mypw -hn "host computer A" -hc DefaultHostSettings -o

    The following arguments are used with the smreghost command:


Copyright © 2006 CA. All rights reserved. Email CA about this topic