Upgrade a Domino Agent on UNIX/Linux

Contents
sm1252sp1
HID_UpgradeDominoLinux
Contents
2
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.
Add the Web Agent Domino Library file to your upgraded Agent on UNIX/Linux
sm1252sp1
To make the Domino Web Agent operate properly, add the libdominowebagent.so library file to the filter files. The Web Agent library file must be the first file in the list.
Follow these steps:
  1. Open Lotus Notes.
  2. Select File, Database, Open.
  3. In the Server field, select the Domino Server where you installed the Web Agent.
  4. In the Database scroll box, select the address book of the server.
    Verify that names.nsf appears in the Filename field.
  5. Click Open.
    The address book of the server opens.
  6. In the left pane, expand the Server folder and double-click the All Server Documents icon.
  7. Select your server and click Edit Server.
    The administration console of the Domino server opens.
  8. Select the Internet Protocols tab.
  9. In the DSAPI section of the window, find the DSAPI filter file names field and enter the full path to the Domino Web Agent file. Verify that the Domino Web Agent file appears first in the list. The default location of the file is shown in the following example:
    web_agent_home\bin\libdominowebagent.so
    • web_agent_home
      Indicates the directory where the 
      CA Single Sign-On
       Agent is installed.
      Default 
      (UNIX/Linux installations): /opt/ca/webagent
       
    If the Domino Web Agent is installed on an AIX operating system, the file name of the Domino Web Agent for the DSAPI filter is libdominowebagent.a
  10. Click Save and Close.
  11. Restart the web server.
Source the Agent Environment Script After an Upgrade on UNIX/Linux
sm1252sp1
sm1252sp1
The agent installation program creates an environment script,
ca_wa_env.sh
 in the following directory:
 
web_agent_home
/ca_wa_env.sh
 
web_agent_home
indicates the directory where the Agent is installed. The default UNIX/LINUX location for the script is:
opt/ca/webagent
For RHEL 7, include the content of the source script in the directory:
/etc/sysconfig/httpd
The following is a sample of the modified script in the directory /etc/sysconfig/httpd. Strings in 
bold
 are in effect and others are commented out. 
Note the following:
  • Replace any ${
    VARIABLE
    } with the actual value.
  • To determine the values for the variables ${LD_LIBRARY_PATH} and ${PATH}, use the
    env
    command before you add the script contents.
NETE_WA_ROOT=/opt/CA/webagent 
export NETE_WA_ROOT
NETE_WA_PATH=/opt/CA/webagent/bin
 
#NETE_WA_PATH=${NETE_WA_ROOT}/bin
export NETE_WA_PATH
 
CAPKIHOME=/opt/CA/webagent/CAPKI
export CAPKIHOME
LD_LIBRARY_PATH=/opt/CA/webagent/bin:/opt/CA/webagent/bin/thirdparty
#LD_LIBRARY_PATH=${NETE_WA_ROOT}/bin:${NETE_WA_ROOT}/bin/thirdparty:${LD_LIBRARY_PATH} 
export LD_LIBRARY_PATH
PATH=/opt/CA/webagent/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
 
#PATH=/opt/CA/webagent/bin:${PATH} 
#PATH=${NETE_WA_PATH}:${PATH} 
export PATH
For most Apache-based web servers, source this script
before
doing any of the following tasks:
  • Running the agent configuration program.
  • Starting the web server.
If you perform
all
the previous tasks in the
same
shell, only source the script
once
.
For the embedded Apache web server included with RedHat Linux, do
one
of the following tasks:
  • Source the script
    before
    starting the httpd service.
  • Source the script in the following file instead of starting it manually each time:
    /etc/init.d/htppd
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.