Preparing agents for provisioning
To set up RSCD agents so that they can be installed as part of the TrueSight Server Automation provisioning process, you create an Agents directory. This directory holds the operating system-specific RSCD agent installers for unattended installations.
When you create a system package for provisioning, if you check the Install RSCD agent option, the provisioning process:
- Installs an RSCD agent on each server that is being provisioned.
- Registers the agent and adds the server to the list of managed servers under Available Servers in TrueSight Server Automation.
In this way you can seamlessly move from provisioning servers to managing servers with TrueSight Server Automation and Network Shell.
The topics in this section provide instructions for preparing RSCD agents for provisioning:
To create the Agents directory
Under the data store directory, create a directory called Agents.
- In the Agents directory create directories for each operating system that you plan to provision. For example:
- ESX
- RHEL_5
- WIN-32
- WIN-64
Copy the correct RSCD agent installation file into each of the respective directories that you just created.
Rename the agent installation files so that the file name is rscd with the same extension as the original name.
The following table shows examples of original and renamed file names.
- (optional) For Linux and UNIX systems, if you want to override the agent installation defaults, you can create an nsh-install-defaults file. Store the response file in the data store in the same location as the agent installation program.
For information, see Creating an installation defaults file for Linux or UNIX agents. - In the TrueSight Server Automation Console, on the System Package Types tab of the Provisioning Configurations window, identify the location of the agent installation program. For information about this tab, see System-Package-Types-tab.
- When you create the system package in the TrueSight Server Automation Console, on the Post-Install Configuration tab, select the Install RSCD agent check box. (For Windows RSCD agents, you also specify the properties of the agent installation on this tab.) For information about this tab, see Post-install-configuration-Windows-and-Windows-R2.
The following example shows an Agents directory for Red Hat Linux x64 stocked with an installer file and unattended installation response file.
The following example shows an Agents directory for Windows x32 stocked with the .msi installer file.
To create an installation defaults file for Linux or UNIX agents
- Using any server, create a text file named nsh-install-defaults in the /tmp directory. The file must belong to root.
In the file, create an entry for each variable you want to set. Then for each variable you enter in the file, create another entry to export the variable. For example:
NSH_INSTALL_SKEL=yes
export NSH_INSTALL_SKEL
The following table describes how to set each possible variable:- Save /tmp/nsh-install-defaults.