Walkthrough: Installing on Linux using the unified installer
This topic walks you through the process of installing TrueSight Server Automation on Linux, using the unified product installer and component installers.
Introduction
This topic is intended for system administrators preparing to install the TrueSight Server Automation product. The goal of this topic is to demonstrate how to use the unified product installer to install all essential components of the TrueSight Server Automation product in a Linux environment.
What is the unified product installer?
The unified product installer simplifies and improves the installation experience by providing a centralized UI for installing the default Application Server node. It installs a set up that consists of the following components:
- Oracle Database: The unified product installer creates a TrueSight Server Automation schema on your database server.
- Default Application Server: This is the primary server that is installed in a TrueSight Server Automation environment. The unified product installer configures the default Application Server to connect to your database server. It also installs an RSCD agent on the default Application server. The default Application Server is also referred to as a default Application server node, because it hosts more than one component.
- File server: You can choose to install the file server on the same machine as the default Application server (called as the local file server) or install it on a separate machine (called as a separate file server.) In the case of a separate file server, you can choose to manually install the RSCD agent or have it installed by the unified product installer.
Console and PXE/TFTP server: The unified product installer installs the PXE/TFTP server and the optional console on the default Application Server.
What does this walkthrough show?
In this walk through, we will:
- Use the unified product installer to install a small TrueSight Server Automation environment (Application Server, console, file server, PXE/TFTP).
- Use the quick start page to import servers to the new environment and to add agents to those servers.
- Use individual component installers to manually install additional components such as additional Application Servers, a separate PXE/TFTP server, and a separate console server, to complete a production-level environment.
The TrueSight Server Automation environment will have the following characteristics:
Component | Number of components | Description |
---|---|---|
Application Server | 2 | This TrueSight Server Automation environment consists of two Application Servers:
|
PXE/TFTP server | 2 | This TrueSight Server Automation environment consists of two PXE/TFTP servers:
|
Database | 1 | The default Application Server connects to an existing Oracle database server. Note: Although the TrueSight Server Automation schema is created by the unified product installer, you must have access to an existing database that has been set up on an Oracle Server. For a description of that process, see Walkthrough: Creating the TrueSight Server Automation Database for Oracle. |
Console | 2 | This TrueSight Server Automation environment consists of two instances of the TrueSight Server Automation console:
|
File server | 1 | This TrueSight Server Automation environment uses a separate Linux file server machine that is installed by the unified product installer. |
What do I need to do before I get started?
Perform the following prerequisite steps before executing this walkthrough scenario:
- Ensure that your environment complies with the installation requirements discussed in Requirements for installing individual components on UNIX and Linux.
- Create the Oracle table space to hold the the TrueSight Server Automation schema, database user, and database permissions required to create the TrueSight Server Automation schema. For detailed instructions, see Walkthrough: Creating the TrueSight Server Automation Database for Oracle.
- If you use the unified product installer, you no longer have to use the DB scripts that are shipped with the product. However, before you run the unified product installer, you must ensure that you have a SQL database server, with an empty tablespace that the unified product installer uses to create the TrueSight Server Automation schema. You also need to create a database user to allow the unified product installer to set up your TrueSight Server Automation schema. For a step-by-step procedure on setting up the Oracle database, see Walkthrough: Creating the TrueSight Server Automation Database for Oracle .
RSCD agents can be automatically installed on servers that are added as additional Application Servers or as target servers. However, if the server being added runs on Windows, you will need to first set up a PsExec server to install the agents automatically. To set up a PsExec server, download the Microsoft Sysinternals Suite from the Microsoft tech support site and copy the PsExec file to the %PATH% variable (typically C:\Windows\System32\) on any Windows Server. The Windows server is now configured as a PsExec server and can be used to install agents. For more information, see Setting up a PsExec server.
Note
A PsExec server is not required if you choose to manually install the RSCD agent on the Windows server that is being added.Bash UNIX shell must be the default shell on all machines on which TrueSight Server Automation is being installed.
The unified product installer needs to be run by a super user — root or a root-equivalent user on Linux. This enables the installer to install components on the Application Servers.
Linux platforms on which you plan to install the Application Server, Console, or Network Shell must have the appropriate version of libtermcap.so.2 and libtermcap.so.6 shared library installed. Install the shared library before installing these components. For more information, click the following link:- You must have an X Window display system installed and configured on your Linux machine.
- You must have 4 GB on disk with temp space and 4 GB on disk with installation directory.
How to install the default Application Server and separate file server using the unified installer
We start the installation process by using the unified product installer to:
- Install the default Application Server node
- Install the separate file server
- Configure the database
Install the console and the PXE/TFTP on the default Application Server
This example uses TrueSight Server Automation version 8.9.03.
Step | Example screen | |
---|---|---|
1 | Extract the BSA89-SP3-LIN4.zip and BSA89-SP3-RSCDAgents.zip files that you downloaded from the EPD website to obtain the BSA89-SP3-LIN64 and the rscd folder. |
|
2 | Ensure that you have permission or assign an executable permission to the directory in which you have extracted the packages. | chmod +x -R <path_to_extracted_packages> |
3 | Copy the rscd folder from within the BSA89-SP3-RSCDAgents.zip extractedpackage to the BSA89-SP3-LIN64/Disk1/files/installers folder. | mv <path_to_extracted_packages>/rscd<path_to_extracted_packages>/BSA89-SP3-LIN64/Disk 1/files/installers/ mv /tmp/BSA89-SP3-RSCDAgents/rscd /tmp/BSA89-SP3-LIN64/Disk1/files/installers/ |
4 | Run the setup.bin file that is in the BSA89-SP3-LIN64/Disk1 folder. | ./setup.bin |
5 | Select the language in which you want to run the installer and click OK. | |
2 | Read through the basic information about the unified product installer and the types of nodes that are installed in the environment. Click Next. | |
3 | Read the End User License Agreement (EULA) and select I agree to the terms of the license agreement. Click Next. | |
4 | Read the TrueSight Server Automation copyright information and select I agree to the terms of the license agreement. Click Next. | |
5 | Enter the database server details. TIP: You may need the help of the database administrator who set up the Oracle database server you want to connect to.
| |
6 | A summary of the database parameters, default installation location, Application Server base port, and file server parameters is displayed. The name of the local super user for RSCD Agent mapping is also listed. | |
7 | Click Customize Configuration. The Installation Directory tab displays the path where TrueSight Server Automation is installed. The default path is /opt/bmc/bladeLogic/ for Linux. You can customize the Installation Directory based on your requirements, as shown in the screenshot. Make sure that you select a directory with sufficient space for installation. | |
8 | Click the File Server tab and enter the file server details.
Note: If the file server is on a separate machine and if it runs on Windows, ensure that you have configured the default Application Server as a PsExec server. | |
9 | Click the Ports tab at the top of the screen. Enter the Application Server Base port. Application Server ports are normally configured from a base port, with 9800 being the default base port. Arbitrary port assignments can be made in all cases. For more information, see Application Server ports. | |
10 | Click the Passwords tab at the top of the screen. Enter new passwords in each for the fields based on the guidelines given below. Note: The default password for each entry is password. However, BMC does not recommend using the default passwords provided by the system.
| |
11 | As an option, click the Console tab. Select Install TrueSight Server Automation Console. Note BMC does not recommend installing the console on the same machine as the Application Server. When you upgrade the Application Server, the console is not automatically upgraded. You must manually upgrade it yourself. | |
12 | Click Update Configuration to apply all the configuration changes that you entered on the various tabs. | |
13 | Click Install to proceed with the installation. The unified product installer performs the following setup operations:
| |
14 | If you encountered any errors while installing, click View Log to view a detailed report of the installation. Tip: BMC recommends that you save a copy of the log, before you contact technical support for further assistance. If all operations are completed successfully, click Done to exit the wizard. |
How to add additional Application Servers
To meet the demands of a larger data center, you can deploy additional Application Servers. The additional Application Server is used for improving the performance of TrueSight Server Automation. The method described here for adding additional Application Servers is relevant only if you installed your default Application Server node using the unified product installer.
Note
This example uses TrueSight Server Automation version 8.9.03.
Microsoft Visual C++ 2015 Redistributable Update 3 is installed automatically for all Microsoft Windows RSCD agent versions, provided the platform on which you are trying to install the product is supported.
Step | Example screen | |
---|---|---|
1 | Start the TrueSight Server Automation Console and log on using your BL Admin credentials that you created here. For more information, see Starting the TrueSight Server Automation Console.
| |
2 | Perform the following:
The PsExec Server is added to the TrueSight Server Automation environment. | |
3 | Select the Configuration menu and then click Add BSA Application Server Machine. |
|
4 | Enter the following details.
|
|
5 | Click the Advanced Options tab at the top and enter the following details.
|
|
6 | NEW IN 8.9.02
| |
7 | The additional Application Server is installed. Click OK. |
How to add servers and install agents from the quick start page
The next step in setting up the TrueSight Server Automation environment is to import servers and add agents to those servers. An easy way to this is by using the quick start page.
Step | Example screen | |
---|---|---|
1 | You can import multiple servers by specifying a text file that contains a list of server names and properties assigned to each server. Create a server import text file using a comma-separated values (CSV) format, use the following syntax:
Save the text file (say Servers.txt) at any location in the default Application Server node (for example, C:\Program Files\BMC Software\BladeLogic\appserver). For this walkthrough we will be adding two servers to the TrueSight Server Automation environment (without properties).
| |
2 | Log on to the Console.
The quick start page (Welcome Page) appears. | |
3 | To enroll servers, click Enroll, under Server Enrollment. Alternative step: To Import Servers wizard, right-click the Servers folder and select Import Servers. The Import Servers wizard appears. | |
4 | Use the File selection tree to select the text file (Servers.txt) you created at the beginning. Ensure that the If agent does not exist, install using Agent installer job option is not selected. We will be installing agents on the servers later in the walkthrough. Click Finish. Note: For the purpose of this walkthrough, we do not need to add any additional ACL policies. However if you need to control server access with agent ACLs click Next. For more information about the UI elements on the Permissions screens, see Import Servers - Permissions. For more information about ACL policies, see Controlling server access with agent ACLs. | |
5 | The servers are successfully added to your environment. | |
6 | The next step is to install RSCD agents on the enrolled servers. From the quick start page, under Server Enrollment, click Install, on the quick start page. Alternative step: To start the unified agent installer, right-click the Servers folder and select Unified Agent Installer. The Unified Agent Installer wizard appears. | |
7 | Provide a prefix that is attached to the name of all objects that unified agent installer creates. Click Next. | |
8 | Perform the following steps:
Note: The unified agent installer uses the information you provide on this panel to create an agent bundle. For detailed information about this type of object, see Creating an agent bundle. | |
9 | Click Add | to open the Add Remote Host Authentication (non-Windows) window.|
10 | The Remote Host Authentication (non-Windows) window lets you provide the following information, which is used for authenticating to agentless devices. If you are installing on multiple platforms, typically you define at least one set of authentication information for each platform.
For more information about the different authentication protocols that you can use, see Unified Agent Installer - Remote Host Authentication (non-Windows). This page also provides information about selecting an existing automation principal. | |
11 |
| |
12 | The Remote Host Authentication (Windows) window lets you provide the following information, which is used for authenticating to agentless devices. If you are installing on multiple platforms, typically you define at least one set of authentication information for each platform.
| |
13 | Click Add to open the New Rule wizard. The unified agent installer uses the information you provide on this panel to create remote host authentication rules. These rules match remote host authentication definitions with agentless devices. For detailed information about this type of object, see Creating or modifying rules for remote host authentication. | |
14 | Click Add Property Condition. A window opens. | |
15 | Create property conditions to identify the two target servers we want to install the agents on.
| |
16 | Select the non-Windows remote host authentication (created earlier) that should be used to authenticate the clm-pun-016809 server. Click the right arrow to move your selection to the list on the right. Click Finish. | |
17 | Create a similar rule for clm-pun-016803, but this time using the Windows remote host authentication that we created. Click Next. | |
18 |
| |
19 |
| |
20 | Click Finish. | |
21 | The RSCD agents are successfully installed on the target servers. Tip To verify the successful installation of an RSCD agent on a target server, you can execute a custom command that provides you with agent information. Perform the following steps:
|
How to complete the install for a production environment
The unified product installer installs the console and the PXE/TFTP server on the default application server node to provide you with a ready-to-use test environment. However, for high-performance production environments, BMC recommends that you install and use additional instances of the console and the PXE/TFTP server on separate machines.
Operating System | Component | Path | Installer file name |
---|---|---|---|
Windows | Console | /BSA89-SP3-LIN64/Disk 1/files/installers/rcp | BSACONSOLE89-SP3-LIN64 |
PXE/TFTP | /BSA89-SP3-LIN64/Disk 1/files/installers/pxe_64 | PXE89-SP3-LIN32 Note: Although you have different installers for 32-bit and 64-bit Windows for most components, for installing a a PXE/TFTP server you only have a 32-bit installer that you must use in both cases. | |
Linux | Console | /BSA89-SP3-LIN64/Disk1/files/installers/rcp | BSACONSOLE89-SP3-LIN64 |
PXE/TFTP | /BSA89-SP3-LIN64/Disk1/files/installers/appserver_64 | BSA89-SP3-LIN64.sh |
In this walkthrough we will install additional instances of the console on a Windows server and the PXE/TFTP on a Linux server.
Manually installing an additional instance of the console
Note that in this walkthrough we are installing the console on a Windows operating system and not a Linux operating system. However, if you need to install the console on a Linux or UNIX operating system, see Installing the TrueSight Server Automation Console (Linux and UNIX).
Manually installing an additional instance of the PXE/TFTP server
Step | Example screen | |
---|---|---|
1 | Copy the installer to the machine where you want to install the PXE/TFTP server. Extract the TSSA<version>-LIN64.zip file that you downloaded from the EPD website to obtain the TSSA<version>-LIN64 folder. | unzip TSSA<version>-LIN64.zip -d <path_to_extracted_packages> |
2 | Navigate to the directory that contains the installation file (for example, TSSA<version>-LIN64.sh). You use this same file to install a standalone version of PXE/TFTP. | cd
|
3 | Run the installation script for TrueSight Server Automation, which in this case is TSSA<version>-LIN64.sh. Script names typically follow the convention: TSSA<version>-platform.sh Note: Do not execute the installation script from a non-root account. |
|
4 | To install TrueSight Server Automation in /opt/bmc/bladelogic, press Enter, or enter another directory path. | |
5 | A message prompts you to choose a language for the installation program. Enter the number representing the language that you want to use for the installation. | |
6 | Read through the acknowledgments, third-party software license agreements, and terms and conditions, as follows:
| |
7 | Perform the following:
| |
8 | Enter a password for a self-signed certificate, so that the Application Server can use the TLS protocol. The password must be 6 characters. Confirm the password by entering it again. | |
9 | Specify the max heap size for the Application Server JVM. Specify a size between 512 - 2048 megabytes. Note: If you are installing on Linux and one of the following conditions is not satisfied, the installer warns that some TrueSight Server Automation components do not function until the appropriate RPM is installed.
| |
10 | Enter y (yes) or n (no) for the following series of questions:
| |
11 | Enter y (yes) or n (no) for the following series of questions:
| |
12 | Specify whether you want to manually start the RSCD agent or have it automatically started by the system on reboot. Enter the directories in which you want to save the RSCD log files and the temp files. To accept the default values provided by the system, press enter. | |
13 | Installation of PXE/TFTP server and RSCD agent is now complete. The PXE/TFTP Server Post-Install Configuration wizard automatically starts. |
Wrapping it up
Congratulations! You have successfully set up a small TrueSight Server Automation environment.
Where to go from here
- During installation, default security settings are applied to the Application Server and file server. BMC recommends that you adjust the security level on the Application Server host computer and the file server host computer after completing the installation. For more information, see Security planning.
- If you wish to manually install additional components to your environment, see Installing individual components.
To add servers to your new environment, see Walkthrough: Adding a Windows managed server and Walkthrough: Adding multiple target servers to the environment.
pxe_64
Comments