Siteminder Wa Install Apache Enu
Siteminder Wa Install Apache Enu
Siteminder Wa Install Apache Enu
Contact CA Technologies
Contact CA Support
For your convenience, CA Technologies provides one site where you can access the
information that you need for your Home Office, Small Business, and Enterprise CA
Technologies products. At http://ca.com/support, you can access the following
resources:
■ Online and telephone contact information for technical assistance and customer
services
■ Information about user communities and forums
■ Product and documentation downloads
■ CA Support policies and guidelines
■ Other helpful resources appropriate for your product
The following updates have been made to the 12.52 documentation, as a result of issues
found in previous releases.
■ Uninstall a Web Agent (see page 77)—Removed obsolete material related to
installing a supported JRE and including it in the system path. A JRE is now included
with the software.
■ How to Configure Agents on UNIX/Linux (see page 37)—Revised configuration
procedures for embedded Apache-based web servers included with RedHat Linux.
Resolves CQ175578 and STAR Issue 21482842:01
■ Start an Oracle 11g HTTP server with the apachectl command (see page 60)—Added
start procedure for Oracle 11g HTTP servers. Resolves CQ176028
Contents
Chapter 1: Preparation 9
Only Apache-based Web Server Procedures in this Guide .......................................................................................... 9
Hardware Requirements for CA SiteMinder® Agents ................................................................................................ 10
Preparation Roadmap for Apache-based web servers............................................................................................... 11
How to Prepare for a Web Agent Installation on Apache-based Servers .................................................................. 12
Locate the Platform Support Matrix ................................................................................................................... 12
Apache-based Server Preparations for Windows ............................................................................................... 13
Apache-based Server Preparations on UNIX ....................................................................................................... 14
Apache-based Server Preparations for Linux ...................................................................................................... 15
Preparations for z/OS.......................................................................................................................................... 19
IBM HTTP Server Preparations ............................................................................................................................ 21
Policy Server Requirements ....................................................................................................................................... 22
Contents 5
Set the Library Path Variable on UNIX or Linux................................................................................................... 41
Run the Web Agent Configuration Program on UNIX/Linux ............................................................................... 42
See the CA SiteMinder® Default Headers ........................................................................................................... 43
Run the Unattended or Silent Installation and Configuration Programs for Agents on UNIX/Linux .................. 44
Set the LD_PRELOAD Variable............................................................................................................................. 45
Set the LD_ASSUME_KERNEL for Apache Agent on SuSE Linux 9 for zSeries ..................................................... 45
Set the CAPKIHOME Variable for Red Hat Linux Systems ................................................................................... 45
How to Configure Agents on z/OS Systems................................................................................................................ 46
Gather the Information that the Configuration Program Requires on z/OS ....................................................... 46
Set the Library Path Variable on z/OS ................................................................................................................. 49
Run the CA SiteMinder® Agent Configuration Program on z/OS ........................................................................ 49
(Optional) Run the Unattended or Silent Installation and Configuration Programs for CA SiteMinder®
Agents on z/OS .................................................................................................................................................... 50
Optional Agent Settings for UNIX/Linux..................................................................................................................... 52
Set Web Agent Variables when using apachectl Script ....................................................................................... 52
Improve Server Performance with Optional httpd.conf File Changes ................................................................ 52
Chapter 9: Troubleshooting 83
Apache-based Server Not Starting ............................................................................................................................. 83
Apache Server Shows shmget Failure On Startup ...................................................................................................... 84
Apache Agent is Enabled but Default Server Page or Protected Resource Not Accessible ....................................... 84
Apache Web Agent Not Operating............................................................................................................................. 84
Non-english Input Characters Contain Junk Characters ............................................................................................. 85
Appendix A: Worksheets 87
Agent Installation Worksheet .................................................................................................................................... 87
Agent Configuration Worksheet ................................................................................................................................ 87
Index 89
Contents 7
Chapter 1: Preparation
This section contains the following topics:
Only Apache-based Web Server Procedures in this Guide (see page 9)
Hardware Requirements for CA SiteMinder® Agents (see page 10)
Preparation Roadmap for Apache-based web servers (see page 11)
How to Prepare for a Web Agent Installation on Apache-based Servers (see page 12)
Policy Server Requirements (see page 22)
Chapter 1: Preparation 9
Hardware Requirements for CA SiteMinder® Agents
Chapter 1: Preparation 11
How to Prepare for a Web Agent Installation on Apache-based Servers
Note: You can download the latest JDK and JRE versions at the Oracle Developer
Network.
When an Apache-based web server is installed using a single user account, the Agent
configuration cannot detect the Apache-based web server installation.
To correct this problem, select the following option when you install an Apache-based
web server on a Windows operating environment:
Verify Presence of a Logs Subdirectory with Permissions for Apache-based Web Agents
For CA SiteMinder® Agents for Apache-based web servers (including IBM HTTP Server), a
logs subdirectory must exist under the root directory of the Apache-based web server.
This subdirectory needs Read and Write permissions for the user identity under which
the Apache child process runs.
If the logs subdirectory does not exist, create it with the required permissions.
Note: This configuration requirement applies to any Apache-based web server that
writes log files outside the Apache root directory.
Chapter 1: Preparation 13
How to Prepare for a Web Agent Installation on Apache-based Servers
If you are installing the CA SiteMinder® Agent on a UNIX system from a remote terminal,
such as a Telnet or Exceed terminal, be sure the DISPLAY variable is set for the local
system. For example, if your machine is 111.11.1.12, set the variable as follows:
DISPLAY=111.11.1.12:0.0
export DISPLAY
Note: You can also install the agent using the console mode installation, which does not
require the X window display mode.
For any agents for Apache-based web servers (including IBM HTTP Server), a logs
subdirectory must exist under the root directory of the Apache-based web server. This
subdirectory needs Read and Write permissions for the user identity under which the
Apache child process runs.
If the logs subdirectory does not exist, create it with the required permissions.
Note: This configuration requirement applies to any Apache-based web server that
writes log files outside the Apache root directory.
You can verify installed patch versions by logging in as the root user and executing the
following command:
AIX Requirements
Chapter 1: Preparation 15
How to Prepare for a Web Agent Installation on Apache-based Servers
Certain library files are required for components operating on Linux operating
environments. Failure to install the correct libraries can cause the following error:
java.lang.UnsatisfiedLinkError
If you are installing, configuring, or upgrading a Linux version of this component, the
following packages are required on the host system:
Red Hat 5.x:
■ compat–gcc-34-c++-3.4.6-patch_version.I386
■ libstdc++-4.x.x-x.el5.i686.rpm
■ libidn.so.11.rpm
■ ncurses
All the RPM packages that are required for 64-bit Red Hat 6.x are 32-bit packages.
■ libXau-1.0.5-1.el6.i686.rpm
■ libxcb-1.5-1.el6.i686.rpm
■ compat-db42-4.2.52-15.el6.i686.rpm
■ compat-db43-4.3.29-15.el6.i686.rpm
■ libX11-1.3-2.el6.i686.rpm
■ libXrender-0.9.5-1.el6.i686.rpm
■ libexpat.so.1 (provided by expat-2.0.1-11.el6_2.i686.rpm)
■ libfreetype.so.6 (provided by freetype-2.3.11-6.el6_2.9.i686.rpm)
■ libfontconfig.so.1 (provided by fontconfig-2.8.0-3.el6.i686.rpm)
■ libICE-1.0.6-1.el6.i686.rpm
■ libuuid-2.17.2-12.7.el6.i686.rpm
■ libSM-1.1.0-7.1.el6.i686.rpm
■ libXext-1.1-3.el6.i686.rpm
■ compat-libstdc++-33-3.2.3-69.el6.i686.rpm
■ compat-db-4.6.21-15.el6.i686.rpm
■ libXi-1.3-3.el6.i686.rpm
■ libXtst-1.0.99.2-3.el6.i686.rpm
■ libXft-2.1.13-4.1.el6.i686.rpm
■ libXt-1.0.7-1.el6.i686.rpm
■ libXp-1.0.0-15.1.el6.i686.rpm
■ libstdc++.i686.rpm
■ compat-libtermcap.rpm
Chapter 1: Preparation 17
How to Prepare for a Web Agent Installation on Apache-based Servers
■ libidn.i686.rpm
■ ncurses
Before installing a CA SiteMinder® Agent on a Red Hat Apache 2.2 web server running
on the Red Hat Enterprise Linux operating environment, install all the items included in
the Red Hat Legacy Software Development tools package.
For the CA SiteMinder® Agent to operate with an Apache web server running Linux, you
have to compile the server. Compiling is required because the Agent code uses pthreads
(a library of POSIX-compliant thread routines), but the Apache server on the Linux
platform does not, by default.
If you do not compile with the lpthread option, the Apache server starts up, but then
hangs and does not handle any requests. The Apache server on Linux cannot initialize a
module which uses pthreads due to issues with Linux's dynamic loader.
For agents running on Apache-based web servers (including IBM HTTP Server), a logs
subdirectory must exist under the root directory of the Apache-based web server. This
subdirectory needs Read and Write permissions for the user identity under which the
Apache child process runs.
If the logs subdirectory does not exist, create it with the required permissions.
Note: This configuration requirement applies to any Apache-based web server that
writes log files outside the Apache root directory.
Use the Platform Support Matrix to verify that the operating environment and other
required third-party components are supported.
Chapter 1: Preparation 19
How to Prepare for a Web Agent Installation on Apache-based Servers
Note: You can download the latest JDK and JRE versions at the Oracle Developer
Network.
If you are installing the CA SiteMinder® agent on a z/OS system from a remote terminal,
verify that the DISPLAY variable is set for the local system. For example, if your server IP
address is 111.11.1.12, set the variable as follows:
export DISPLAY=111.11.1.12:0.0
Note: You can also install the CA SiteMinder® agent using the console mode installation,
which does not require the X window display mode.
For any agents for Apache-based web servers (including IBM HTTP Server), a logs
subdirectory must exist under the root directory of the Apache-based web server. This
subdirectory needs Read and Write permissions for the user identity under which the
Apache child process runs.
If the logs subdirectory does not exist, create it with the required permissions.
Note: This configuration requirement applies to any Apache-based web server that
writes log files outside the Apache root directory.
On z/OS systems, before installing the CA SiteMinder® agent, verify that a supported JRE
is present on the system and defined in the PATH and JAVA_HOME system variables.
export PATH=JRE/bin:$PATH
export JAVA_HOME=JRE
JRE
Specifies the location of the JRE.
For example, /sys/java64bt/v6r0m1/usr/lpp/java/Jversion_number
If you install the CA SiteMinder® Agent on an IBM HTTP Server, this web server gets
installed as root and its subdirectories do not give all users in all groups Write
permissions.
For the Low Level Agent Worker Process (LLAWP) to write agent initialization messages
to the web server logs, the user running the web server needs permission to write to
the web server’s log directory. Ensure that you allow write permissions for this user.
Chapter 1: Preparation 21
Policy Server Requirements
To install and configure a CA SiteMinder® agent, a Policy Server requires at least the
following items:
■ A CA SiteMinder® administrator that has the right to register trusted hosts.
A trusted host is a client computer where one or more CA SiteMinder® Agents are
installed and registered with the Policy Server. The CA SiteMinder® administrator
must have permissions to register trusted hosts with the Policy Server. Registering a
trusted host creates a unique trusted host name object on the Policy Server.
■ An Agent identity
An Agent identity establishes a mapping between the Policy Server and the name or
IP address of the web server instance hosting an Agent. You define an Agent
identity from the Agents object in the Administrative UI. You assign it a name and
specify the Agent type as a Web Agent.
■ A Host Configuration Object (HCO)
The host configuration object on the Policy Server defines the communication
between the agent and the Policy Server that occurs after an initial connection. The
Initial connections use the parameters in the SmHost.conf file.
Chapter 1: Preparation 23
Policy Server Requirements
Important! If you do not specify a value for the DefaultAgentName parameter, then
the value of the AgentName parameter requires every agent identity in its list.
Otherwise, the Policy Server cannot tie policies to the agent.
Default: No default.
Limit: Multiple values are allowed.
Limits: Must contain 7-bit ASCII characters in the range of 32-127, and include one
or more printable characters. Cannot contain the ampersand (&) and asterisk (*)
characters. The value is not case-sensitive. For example, the names MyAgent and
myagent are treated the same.
Configuration occurs after installation and means the act of preparing the CA
SiteMinder® agent software for a specific web server on a computer. This preparation
includes registering the agent with CA SiteMinder® Policy Servers, and creating a
runtime server instance for the web server that is installed on the computer.
Use the wizard-based installation and configuration programs to install and configure
your agent on your first web server. The wizard-based programs create a .properties
file.
Use the .properties file and the respective executable file to install or configure the
agent silently on additional web servers.
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.
3. Use the information that you gathered previously to complete the installation.
Location
Specifies the directory where the SmHost.conf file is stored.
Default: web_agent_home\config
Enable Shared Secret Rollover
Select this check box to change the shared secret that the Policy Server uses to
encrypt communications to the Web Agents.
Select Servers
This step has multiple screens. The first screen indicates the server type (Apache),
and the next screen displays the web server instances that the configuration
program finds on the computer. Select the check boxes of the server type, and the
instances you want to configure. Clear the check boxes of those instances from
which you want to remove CA SiteMinder® protection.
Apache 2.4.x Install Location
Specifies the location of the installation directory for your Apache-based server
(version 2.4 or higher).
Agent Configuration Object Name
Specifies the name of an agent configuration object (ACO) already defined on the
Policy Server.
Default: AgentObj
Advanced Authentication Scheme Dialog
Specifies the advanced authentication scheme for the web server instances you
selected previously.
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.
web_agent_home
Indicates the directory where the CA SiteMinder® agent is installed on your
web server.
Default (Windows 32-bit installations only): C:\Program Files\CA\webagent
Default (Windows 64-bit installations only): C:\Program
Files\CA\webagent\win64
Default (Windows 32-bit applications operating on 64-bit systems [Wow64]):
C:\Program Files (x86)\webagent\win32
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. Right-click the following executable, and then select Run as Administrator:
ca-wa-config.exe
4. Go to Step 8.
5. Open a Command Prompt window with Administrator 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.
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.
Configuration occurs after installation and means the act of preparing the CA
SiteMinder® agent software for a specific web server on a computer. This preparation
includes registering the agent with CA SiteMinder® Policy Servers, and creating a
runtime server instance for the web server that is installed on the computer.
Use the wizard-based installation and configuration programs to install and configure
your agent on your first web server. The wizard-based programs create a .properties
file.
Use the .properties file and the respective executable file to install or configure the
agent silently on additional web servers.
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.
4. Use the information from your agent Installation worksheet to complete the
installation program.
1. Gather the information that the installation program requires (see page 34).
2. Run the installation program (see page 35).
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.
You install the CA SiteMinder® agent using the installation media on the Technical
Support site.
Note: Verify that you have executable permissions. To add executable permissions to
the installation media, run the following command:
chmod +x installation_media
installation_media
Specifies the CA SiteMinder® agent installer executable.
Console Mode:
java -jar installation_media -i console
5. Use the information from that you gathered earlier to complete the installation
program.
Edit the configuration files for embedded Apache web servers on RedHat Linux
For an embedded Apache web server (included by default) on a RedHat Linux system,
modify certain configuration files to accommodate the product first.
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default (UNIX/Linux installations): /opt/ca/webagent
3. Verify that the line that sets the LD_PRELOAD variable begins with a comment (the
LD_PRELOAD variable setting is disabled).
4. Save the changes and close the ca_wa_env.sh file.
5. Open the following file with a text editor:
/etc/sysconfig/httpd
web_agent_home/ca_wa_env.sh
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default (UNIX/Linux installations): /opt/ca/webagent
For most Apache-based web servers, source this script after doing any of the following
tasks:
■ Running the agent configuration program.
■ Starting the web server.
Note: 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
The following table lists the library path variables for the various UNIX and Linux
operating environments:
AIX LIBPATH
Linux LD_LIBRARY_PATH
Solaris LD_LIBRARY_PATH
Set the value of the library path variable to the web_agent_home/bin directory.
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default (UNIX/Linux installations): /opt/ca/webagent
You run your Apache server using the apachectl script (such as when running an Apache
web server on POSIX). Adding a line to the apachectl script sets the environment
variables for the agent.
2. Add the following line after the line in the previous example:
sh /web_agent_home/ca_wa_env.sh
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default (UNIX/Linux installations): /opt/ca/webagent
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.
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.
Run the Unattended or Silent Installation and Configuration Programs for Agents
on UNIX/Linux
The unattended or silent installation option can help you automate the installation and
configuration process. This method saves time if you have a large CA SiteMinder®
environment that uses many agents with identical 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.
4. Repeat Step 3 for each additional web server in your CA SiteMinder® environment
that uses the configuration that the settings in your ca-wa-installer.properties file
specify.
LD_PRELOAD=web_agent_home/bin/libbtunicode.so
Note: Embedded Apache web servers included with RedHat Linux require different
configuration procedures (see page 40).
Set the LD_ASSUME_KERNEL for Apache Agent on SuSE Linux 9 for zSeries
After you install the Web Agent on an Apache web server running on SuSE Linux 9 for
zSeries, set the LD_ASSUME_KERNEL environment variable as follows:
LD_ASSUME_KERNEL=2.4.21
export LD_ASSUME_KERNEL
Important! You must set this variable to 2.4.21 because it represents the kernel release
upon which the Web Agent libraries are built.
CAPKIHOME="/usr/local/CA/webagent/CAPKI"
export CAPKIHOME
1. Gather the information that the configuration program requires (see page 46).
2. Set the Library Path variable (see page 49).
3. Run the agent configuration program (see page 49).
4. (Optional) Run the unattended or silent installation and configuration program for
agents on other z/OS systems (see page 50).
Admin Password
Specifies a password for the Admin User Name that is already defined in the
Policy Server.
Confirm Admin Password
Repeats the password entered in the Admin Password field. This value verifies
the password for the Admin User Name already defined in the Policy Server.
Trusted Host Object Name
Specifies a unique name for the trusted host you are registering. This trusted
host object is stored on the Policy Server.
Host Configuration Object
Specifies the name of a Host Configuration Object that is already defined in the
Policy Server. After the agent initially connects to a Policy Server (using the
SmHost.conf file settings), subsequent connections use the settings from the
Host Configuration Object.
Policy Server IP Address
Specifies the Internet Protocol address of the Policy Servers to which the agent
attempts to connect upon startup. If your Policy Server is behind a firewall,
specify a port number also.
If a hardware load balancer is configured to expose Policy Servers in your
environment through a single Virtual IP Address (VIP), enter the VIP.
Example: (IPV4) 192.168.1.105
Example: (IPV4 with the port number) 192.168.1.105:44443
Example: (IPV6) 2001:DB8::/32
Example: (IPV6) [2001:DB8::/32]:44443
export LIBPATH=web_agent_home/bin
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default: /opt/ca/webagent
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 z/OS
systems in the future.
Note: Verify that you have executable permissions. To add executable permissions to
the installation media, run the following command:
chmod +x installation_media
installation_media
Specifies the CA SiteMinder® agent installer executable.
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default (UNIX/Linux installations): /opt/ca/webagent
4. Run the configuration program in GUI or console mode by entering one of the
following commands:
GUI Mode:
ca-wa-config.sh
Console Mode:
ca-wa-config.sh -i console
5. 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.
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.
installation_media
Specifies the CA SiteMinder® Agent installer executable.
The CA SiteMinder® agent is installed and configured on the web server
silently.
e. (Optional) Delete the temporary directory from your web server.
4. Repeat Step 3 for each additional web server in your CA SiteMinder® environment
that uses the configuration that the settings in your ca-wa-installer.properties file
specify.
2. Add the following line after the line in the previous example:
sh /web_agent_home/ca_wa_env.sh
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default (UNIX/Linux installations): /opt/ca/webagent
Note: CA Services can provide assistance with performance-tuning for your particular
environment.
CA SiteMinder® 12.52 SP1 supports dynamic Policy Server clusters. Agents automatically
discover Policy Servers that are added or removed from an existing cluster when
dynamic Policy Server Clusters are enabled.
For example, suppose that your agent connects to a cluster of the following Policy
Servers:
■ 192.168.2.100
■ 192.168.2.101
■ 192.168.2.103
■ 192.168.2.104
Suppose that you later decide to remove the server 192.168.2.103 to upgrade its
operating system. In this situation, enabling dynamic Policy Server clusters lets your
agents recognize the change in the membership of the cluster without restarting.
web_agent_home
Indicates the directory where the CA SiteMinder® agent is installed on your
web server.
Default (Windows 32-bit installations only): C:\Program Files\CA\webagent
Default (Windows 64-bit installations only): C:\Program
Files\CA\webagent\win64
Default (Windows 32-bit applications operating on 64-bit systems
[Wow64]): C:\Program Files (x86)\webagent\win32
2. Do one of the following tasks:
If this Web Agent has never been connected to dynamic cluster of Policy Servers before,
create a line (anywhere in the file) with the following text:
enableDynamicHCO="YES"
■ If this Web Agent has previously been connected to a dynamic cluster of Policy
Servers, change the value of the existing enableDynamicHCO parameter from
"NO" to "YES".
1. Save the SmHost.conf file, and then close the text editor.
2. Restart your web server.
The Web Agent is connected to dynamic Policy Server clusters.
Note: No resources are protected until you also define policies in the CA SiteMinder®
Policy Server.
Note: The Apache-based agents do not support the apachectl -restart option. This
procedure does not apply to Apche-based IBM HTTP servers. Use this procedure (see
page 59) instead.
apachectl -start
Note: The Apache-based agents do not support the apachectl -restart option. Use the
-stop and -start commands instead.
Note: For more information about the CA SiteMinder® upgrade process, see the
Upgrade Guide.
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default: /opt/ca/webagent
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.
3. Use the information that you gathered previously to complete the installation.
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.
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
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:
AIX LIBPATH
Linux LD_LIBRARY_PATH
Solaris LD_LIBRARY_PATH
Set the value of the library path variable to the web_agent_home/bin directory.
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed.
Default (UNIX/Linux installations): /opt/ca/webagent
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.
web_agent_home
Indicates the directory where the CA SiteMinder® agent is installed on your
web server.
Default (Windows 32-bit installations only): C:\Program Files\CA\webagent
Default (Windows 64-bit installations only): C:\Program
Files\CA\webagent\win64
Default (Windows 32-bit applications operating on 64-bit systems [Wow64]):
C:\Program Files (x86)\webagent\win32
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. Right-click the following executable, and then select Run as Administrator:
ca-wa-config.exe
4. Go to Step 8.
5. Open a Command Prompt window with Administrator 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.
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.
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.
For AIX operating environments, run the following command before starting an
Apache-based server:
export EXTSHM=ON
Note: Sometimes Linux operating environments require tuning the shared memory
segments. For more information about the shared memory segments and how to tune
them, see the documentation for your particular operating environment.
shmsys:shminfo_shmmax
Specifies the maximum shared memory segment size. Controls the maximum
size of the Agent resource and session cache.
Note: To estimate the amount of memory segments that are required, allocate
4 KBs per entry in each cache, or view cache usage statistics in the OneView
Monitor. See the Web Agent Configuration Guide for more information about
using the OneView Monitor.
Example: 33554432 (32 MB) for busy sites that require large caches.
shmsys:shminfo_shmmin
(Not required for Solaris) Minimum shared memory segment size. Controls the
minimum size of the Agent resource and session cache.
shmsys:shminfo_shmmni
Specifies the maximum number of shared memory segments that can exist
simultaneously, systemwide.
Example: (except Solaris 9) N/A
Example: (Solaris 9) 200
shmsys:shminfo_shmseg
(Not required for Solaris 9) Specifies the maximum number of shared memory
segments per process.
Example: 24
semsys:seminfo_semmni
Specifies the number of semaphore identifiers. Use 11 for every instance of the
Agent that you run on the system.
Example: (except Solaris 9) 100
Example: (Solaris 9) 200
semsys:seminfo_semmns
Specifies the number of semaphores in the system. Use 10 for every instance of
the Agent that you run on the system.
Example: (Solaris 9) 100
Example: (Solaris 9) 400
semsys:seminfo_semmnu
Specifies the number of processes using the undo facility. For optimal
performance, set the semmnu value so it exceeds the number of Apache child
processes running on the system at any one time. For Apache–based servers,
use a value exceeding the maxclients setting by 200 or more.
Example: (Solaris 9) 200
3. Save your changes then exit the file or the utility.
4. Reboot the system.
5. Verify your changes by entering the command:
$ sysdef -i
8. Un-configure the agent instances configured on your web server. Wait for the
configuration program to finish, then go to Step 9.
9. Choose one of the following procedures:
■ To remove the Web Agent using the wizard, go to Step 10.
■ To remove the Web Agent using the console-based program, go to Step 15.
10. Click Start, Control Panel, Programs and Features.
web_agent_home
Indicates the directory where the CA SiteMinder® Agent is installed on
your web server.
Default (Windows 32-bit installations of CA SiteMinder® IIS Web Agents
only): C:\Program Files\CA\webagent
Default (Windows 64-bit installations [CA SiteMinder® Web Agents for IIS
only]): C:\Program Files\CA\webagent\win64
Default (Windows 32-bit applications operating on 64-bit systems [Wow64
with CA SiteMinder® Web Agents for IIS only]): C:\Program Files
(x86)\webagent\win32
17. Run the following command:
ca-wa-uninstall.cmd -i console
18. Wait for the un–installation program to finish, then go to Step 19.
19. Start the web server.
Important! Delete the ZeroG registry file from the following location after uninstalling
the Web Agent: C:\Program Files\ZeroG Registry\com.zerog.registry.xml
Note: Removing a Web Agent from a 64-bit SuSE Linux 10 system requires additional
preparations.
The steps for the two modes are the same, with these exceptions for Console Mode:
■ Select the option that you want by entering a corresponding number.
■ Press Enter after each step to proceed through the process instead of "clicking
Next," as stated in the following procedure.
Note: Before you uninstall, we recommend copying your agent configuration settings to
have as a backup.
9. (Optional) For Apache-based agents, remove the lines from the httpd.conf file that
the Configuration Wizard added.
10. Change to your home directory (the current directory has been deleted).
11. Restart the web servers.
Note: Before you uninstall, we recommend copying your agent configuration settings to
have as a backup.
installation_media
Specifies the Policy Server installer executable.
6. Perform one of the following procedures:
■ If you installed the agent using GUI mode, enter the following command from a
console window:
./ca-wa-uninstall.sh
7. Read the information in the dialog to confirm the removal of the CA SiteMinder®
agent, then click Uninstall. The CA SiteMinder® agent is removed from the system.
8. Click Done to exit the uninstallation program.
9. (Optional) Remove the lines from the httpd.conf file that the Configuration Wizard
added.
10. Change to your home directory (the current directory has been deleted).
11. Restart the web servers.
Symptom:
My Apache based server failed to start after loading the mod_sm24 module.
The following message appears in my Windows event viewer:
Solution:
Do the following tasks:
1. Open the Visual Studio command-line window:
2. Run the following command:
editbin /STACK:524288 httpd.exe
3. Verify that the stack reserve space has been updated to 80000(hex).
Chapter 9: Troubleshooting 83
Apache Server Shows shmget Failure On Startup
Solution:
Make the recommended adjustments to the shared memory segments.
Solution:
Make the recommended adjustments to the shared memory segments.
Solution:
Tune the Apache operating system shared memory.
Symptom:
Some non-English input characters are not displayed correctly in the console window.
Solution:
Verify the terminal settings of your console window. Confirm that the console does not
clear high (eight) bit of input characters. Execute the following command:
stty –istrip
Chapter 9: Troubleshooting 85
Appendix A: Worksheets
This section contains the following topics:
Agent Installation Worksheet (see page 87)
Agent Configuration Worksheet (see page 87)
Appendix A: Worksheets 87
Agent Configuration Worksheet
Index 89
Improve Server Performance with Optional Run the Installation Wizard to Upgrade your Agent
httpd.conf File Changes • 52 on Windows • 67
Install an Apache Web Server on Windows as a Run the Unattended or Silent Installation and
Service for All Users • 13 Configuration Programs for Agents on UNIX/Linux
Install and Configure Apache-based Agents on • 44
UNIX/Linux • 33 Run the Unattended or Silent Installation and
Install and Configure Apache-based Agents on Configuration Programs for Subsequent Agents on
Windows • 25 Windows • 31
Run the Web Agent Configuration Program on
L UNIX/Linux • 42
Linux Run the Web Agent Configuration Program on
compiling Apache server • 18 Windows • 30
Linux Tools Required • 18
Locate the Installation Media • 20
S
Locate the Platform Support Matrix • 12, 19 See the CA SiteMinder® Default Headers • 43
Set the CAPKIHOME Variable for Red Hat Linux
N Systems • 45
Non-english Input Characters Contain Junk Set the DISPLAY For CA SiteMinder® Agent
Characters • 85 Installations on UNIX • 14
Notes About Uninstalling Web Agents • 77 Set the DISPLAY Variable for CA SiteMinder® Agent
Installations on z/OS • 20
O Set the LD_ASSUME_KERNEL for Apache Agent on
SuSE Linux 9 for zSeries • 45
Only Apache-based Web Server Procedures in this
Set the LD_PRELOAD Variable • 45
Guide • 9
Set the Library Path Variable Before Configuring your
Operating System Tuning for Agents • 73
Upgraded Agent on UNIX/Linux • 68
Optional Agent Settings for UNIX/Linux • 52
Set the Library Path Variable on UNIX or Linux • 41
P Set the Library Path Variable on z/OS • 49
Set Web Agent Variables when using apachectl Script
Policy Server Requirements • 22 • 42, 52
Preparation • 9 Source the Agent Environment Script on UNIX or
Preparation Roadmap for Apache-based web servers Linux • 41
• 11 Source the Environment Script on UNIX and Linux
Preparations for z/OS • 19 Operating Environments • 67
Start an IBM HTTP Server with the apachectl
R Command • 59
Required Linux Libraries • 16 Start an Oracle 11.g.x HTTP Server with the opmnctl
Required Linux Patches • 15 Command • 60
Required Solaris Patches • 15 Starting and Stopping Web Agents • 57
Run the CA SiteMinder® Agent Configuration Starting or Stopping Most Apache-based Agents with
Program on z/OS • 49 the apachectl Command • 58
Run the CA SiteMinder® Agent Installation Program Sun Java System Web Agent
on z/OS • 35 uninstalling, UNIX • 80
Run the Installation Program on UNIX/Linux • 34
Run the Installation Program on Windows • 26 T
Run the Installation Wizard to Upgrade your Agent Troubleshooting • 83
on UNIX/Linux • 68 Tune the Shared Memory Segments • 74
V
Verify Presence of a Logs Subdirectory with
Permissions for Apache-based CA SiteMinder®
Agents • 14, 18, 21
Verify Presence of a Logs Subdirectory with
Permissions for Apache-based Web Agents • 13
W
Web Agent
uninstalling, UNIX • 80
Worksheets • 87
Index 91