You can install an agent on either a Linux 32-bit system or a RHEL 5 x64-bit system.
This section contains the following topics:
Least-Privileged User Requirements
The agent installation for CA User Activity Reporting Module agents does not offer automatic user or user group creation. Use a root account to install the agent.
While you can run the agent as a root user, it is a better security practice to create a least-privileged account for the agent to use. You can give this user any account name you like, such as elmagentusr.
The agent installation adjusts the permissions on the existing user account you specify during installation. The folder permissions include the following:
Use the following procedures to install an agent:
The agent installation for CA User Activity Reporting Module agents on Linux systems does not offer automatic user or user group creation. We recommend that you create an authorized user with the lowest set of privileges required to run the agent before you install.
You must have root access to add a user, and you need to have, or create, a group to contain that user first.
Note: The following procedures assume that the directory, /usr/sbin is in the system path.
To add a group and a user account
groupadd <groupname>
This creates the group in the /etc/group file.
adduser <username> -g <groupname>
This adds the user specified by <username> to the group, <groupname>.
password <username>
This command prompts you to enter and to confirm a new password for this user.
If you are a CA User Activity Reporting Module Administrator, you can set the agent authentication key or view the current setting.
To view or set the agent authentication key
The Log Collection Explorer displays in the left pane.
A toolbar appears in the main pane.
Note: The default value is: This_is_default_authentication_key.
You can download the agent binaries directly from the management CA User Activity Reporting Module server.
To download the agent binaries
The Log Collection subtab displays the Log Collection Explorer in the left pane.
A toolbar displays in the main pane.
Links for the available agent binaries appear in the main pane.
The dialog, Select location for download by <IP address>, appears.
The CA User Activity Reporting Module server downloads an installation file for the agent. A message showing the download progress of the selected agent binary appears, followed by a confirmation message.
If you downloaded to the desktop, the agent installation launcher appears there.
Use this procedure to install an agent on Red Hat Linux, SuSe Linux, and VMware ESX Server systems. Before you begin, gather the following information:
Note: The agent authentication key is called the authentication code in the installation wizard.
To install a Linux agent
For Red Hat Enterprise Linux 4.x:
tar -xvf elm_agent_linux_k24_32_x_x_x_x.tar
For Red Hat Enterprise Linux 5.x:
tar -xvf elm_agent_linux_k26_32_x_x_x_x.tar
For VMware ESX Server 3.x:
tar -xvf elm_agent_linux_k24_32_x_x_x_x.tar
For SuSe Linux 11.x:
tar -xvf elm_agent_linux_k26_32_x_x_x_x.tar
Important! Enter the host name if the CA User Activity Reporting Module is assigned its IP address dynamically.
The agent FIPS mode you choose should match the FIPS mode for the CA User Activity Reporting Module server which manages it. However, the agent automatically detects the server FIPS mode and restarts itself as needed regardless of the mode you choose.
The agent installation process completes.
Installing a CA User Activity Reporting Module agent silently on Red Hat Linux, SuSe Linux, and VMware ESX systems involves the following steps:
After you create an initial response file, you can also install silently using a customized response file with the following steps:
While installing an agent on Linux systems, you may need to edit the following parameters in the response file, ca-elmagent.rsp, to fit your requirements:
|
Field |
Description |
|---|---|
|
ELM_SERVER |
The Host name or IP address of the CA User Activity Reporting Module server. Enter the host name rather than the IP address if the CA User Activity Reporting Module server is assigned its IP address dynamically through DHCP. |
|
AGENT_AUTHKEY |
The Agent Authentication Key in the Agent Explorer UI under the Administration tab. Select the Agent Authentication Key button to display the panel. The agent authentication key displays as clear text. Take precautions not to divulge the key to persons not authorized to use it. Note: The agent service will not start after installation if the key value you enter during installation is invalid. |
|
AGENT_USER |
The user name with which you want to run the CA User Activity Reporting Module agent. The default name is root. We recommend that you create a lower-privilege user account to run the agent before starting the agent installation. |
|
INSTALL_DIR |
The directory in which agent is to be installed. The default directory is opt/CA/ELMAgent. |
|
DEFAULT_CONNECTORS |
The path and file name of an XML file for a default connector. You can create a default connector in the CA User Activity Reporting Module Agent Explorer by exporting an existing connector configuration to XML. After you create the export file, move it to the target host before running the installation script. Leave this field blank if you do not plan to install a default connector. |
On Linux and VMware ESX systems, you can create a response file for installing an agent using this procedure. Creating the silent response file does not actually install an agent on the local server.
You only have to create the silent response file once. After that, you can use it for any agent you want to install with the same set of configuration parameters.
Note: You may want to edit the response file for reuse to change the installation directory, user name, or password so that it is specific to the target agent host.
To create a silent response file for an agent
./install_ca-elmagent -g <name of response file>
When you finish creating the file, you are ready to install agents silently on another host.
You can invoke a silent installation of an agent on a Linux server. Use the response file that you created, or updated, with values for this agent installation. You must be logged in as a root user to run a silent installation.
To invoke a silent install
./install_ca-elmagent -s <name of response file>
The agent is installed using the settings you provided when you recorded in the response file.
The Agent Explorer lists new agents as they are installed. The Agent Status Details for a selected agent displays whether the agent service is Running.
To view the agent status details
The Log Collection subtab displays the Agent Explorer.
The name of the computer on which you installed the agent appears.
Note: The status of Not Responding indicates that the agent, watchdog, or dispatcher process is not running. Take remedial action specific to the operating environment.
Setting up a response file minimizes installation time when installing many agents. You do not have to type in each parameter manually for each installation. For example, if you want to install an agent on 1000 systems, you can automate the process by reusing the first response file you create as a template.
When you create a new agent user account on a target server, keeping the same name and password specified in the response file may offer an advantage. When the account credentials match the response file, you can reuse it without change, because the agent registers with the same CA User Activity Reporting Module server. This means that the authentication key does not change.
To prepare to reuse the response file
INSTALL_DIR=/opt/CA/ELMAgent
DEFAULT_CONNECTORS=/temp/connectors.xml
ELM_SERVER=127.00.0.29
AGENT_AUTHKEY=agent authentication key text
AGENT_USER=root
Use this procedure to install an agent silently using a customized response file.
Note: This procedure assumes that you have created a response file and customized it.
To install silently with a custom response file
./install_ca-elmagent -s <name of response file>
In this command, replace the sample file name with your actual file name.
Maintenance considerations involve the following:
You can uninstall an agent on a Linux computer using this procedure.
To uninstall an agent on a Linux system
rpm -e ca-elmagent
The agent is uninstalled.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|