Upgrade an Apache-based Agent on UNIX/Linux

Contents
sm1252sp1
HID_UpgradeApacheLinux
Contents
2
Ensure LD_PRELOAD Variable Does Not Conflict with Existing Agent
sm1252sp1
If you are upgrading or reinstalling a Web Agent on a Linux system, from the shell, set the LD_PRELOAD variable so that it points to a different location from any existing Web Agent installation directory. For example, if an existing LD_PRELOAD entry is set to:
LD_PRELOAD=
web_agent_home
/bin/libbtunicode.so
Before you reinstall or upgrade, set the variable to:
export LD_PRELOAD=
This entry sets the variable to a blank value.
Source the Environment Script on UNIX and Linux Operating Environments
If you are upgrading a Web Agent on a UNIX or Linux system, source the environment script that is available in the following directory:
  • CA Single Sign-On
    6.0
    web_agent_home
    /nete_wa_env.sh
  • CA Single Sign-On
    12.0 and later
    web_agent_home
    /ca_wa_env.sh
  • web_agent_home
    Indicates the directory where the Agent is installed.
    Default
    : /opt/ca/webagent
Run the Installation Wizard to Upgrade your Agent on UNIX/Linux
sm1252sp1
sm1252sp1
The installation program for the
CA Single Sign-On
agent installs the agent on one computer at a time using the UNIX or Linux operating environments. This installation program can be run in wizard or console modes. The wizard and console-based installation program also creates a .properties file for subsequent installations and configurations using the unattended or silent method with the same settings.
For example, suppose the Agents in your environment use the same web server version, installation directory, Agent Configuration Object and Policy Servers. Use the installation wizard or console-based installation program for your first installation. Afterwards, you could create your own script to run the installation program with the .properties file the wizard or console-based installation program created.
Follow these steps:
  1. Copy
    CA Single Sign-On
    agent installation executable file to a temporary directory on your web server.
  2. Log in as a root user.
  3. Do
    one
    of the following steps:
    • For wizard-based installations, run the installation executable file.
    • For console-based installations, open a command-line window and run the executable as shown in the following example:
      executable_file_name.exe -i console
  4. Use the information from your agent Installation worksheet to complete the installation program.
Set the Library Path Variable Before Configuring your Upgraded Agent on UNIX/Linux
sm1252sp1
sm1252sp1
Set the library path variable on UNIX or Linux systems before running the agent configuration program.
The following table lists the library path variables for the various UNIX and Linux operating environments:
Operating System
Name of Library Path Variable
AIX
LIBPATH
Linux
LD_LIBRARY_PATH
Solaris
LD_LIBRARY_PATH
Set the value of the library path variable to the
agent_home
/bin directory.
  • agent_home
    Indicates the directory where the Agent is installed.
Configure your Upgraded Agent on UNIX/Linux
sm1252sp1
After gathering the information for your agent configuration, run the agent configuration program. This program creates an agent runtime instance for the web servers running on your computer.
This configuration program is wizard or console based, depending on the option you select. Running the configuration program in the wizard or console mode once creates a properties file. Use the properties file to run unattended configurations on other computers with same operating environment in the future.
Follow these steps:
  1. Open the following directory on your web server:
    web_agent_home/
    install_config_info
    • web_agent_home
      Indicates the directory where the 
      CA Single Sign-On
       Agent is installed.
      Default
       (UNIX/Linux installations): /opt/ca/webagent
  2. Use 
    one 
    of the following configuration methods:
    • For a GUI-based configuration, go to Step 3.
    • For a console-based configuration, go to Step 5.
  3. Run the following executable file:
    ca-wa-config.bin
  4. Go to Step 8.
  5. Open a Command Prompt window with root privileges.
  6. Navigate to the executable file listed previously, and then run it with the following switch:
    -i console
  7. Go to Step 8.
  8. Follow the prompts shown in the configuration program. Provide the requested values from your agent configuration worksheet.
    The agent runtime instance is created for your web servers.