Walkthrough: Installing individual components for Linux and Oracle environments
This walkthrough topic provides a list of the steps required to install TrueSight Server Automation components in a Linux/Oracle environment. Note that walkthrough topics are targeted to experienced TrueSight Server Automation users, and do not include relevant planning and prerequisite information. If you are not an experienced user, see the topics in the Requirements-for-installing-individual-components-on-UNIX-and-Linux section to review the required planning information for installation.
This topic includes the following sections:
- Step 1: Configure the Oracle database instance
- Step 2: Run the script for creating an Oracle user
- Step 3: Run the schema creation script
- Step 4: Install the agent on the file server
- Step 5: Install the Application Server
- Step 6: Run the post-install configuration utility
- Step 7: Install the console on your client system
- Step 8: Connect to the Application Server
- Where to go from here
Step 1: Configure the Oracle database instance
To configure the Oracle database for TrueSight Server Automation, do the following:
- Edit the init.ora file (where the instance the blade schema is located, for example, ../oracle/product/11.2.0/dbs/init.ora ) to set the following initialization parameters:
- db_block_size must be set to 8192
- Consult your database administrator to know the database load and set the processes according to your environment. BMC recommends that processes should be set to 100 for the database in a small-scale environment, 200 for a medium-scale environment, and more than 200 for a large-scale environment. If you are using TrueSight Smart Reporting for Server Automation, the number of processes should ideally be 20 to 30 higher than the total number of database connections.
For more information about configuring Application Servers, see Configuring-the-Application-Server.
All other configuration parameters can be set at the discretion of the database administrator.
- If the database is configured for the UTF8 or AL32UTF8 character set (NLS_CHARACTERSET parameter) in a LATIN-1 locale, and the CHAR schema is used as an underlying persistent schema, set the NLS_LENGTH_SEMANTICS parameter of the database to CHAR to prevent column field overflow. Set this parameter before you run the master schema script to set up the database schema.
- Ensure that all synonyms are public.
Step 2: Run the script for creating an Oracle user
- Create the directory with the correct permissions to be used for the tablespace for the new schema. BMC recommends creating a directory on a disk separate from the Oracle system tables located at ../oradata/<SID> . For example:
mkdir /u01/app/oracle/oradata/tssa
chown oracle:dba /u01/app/oracle/oradata/tssa - Copy installation scripts from the db_scripts directory (for example, ..<download_directory>/Disk1/files/configurations/db_scripts/) into the directory that you created for the tablespace. For details on the db_scripts directory, see Downloading-the-installation-files. The relevant scripts appear in the /db_scripts/oracle/ and /db_scripts/oracle/schema directories.
- Change directory ( cd ) to /db_scripts/oracle/schema .
Modify the create_oracle_instance.sql script and change the path for data files to match the directory you created for the tablespace for the new schema.
Note: Be sure to change both the CREATE TABLESPACE and ALTER DATABASE commands. You must change the path in four places.
- (Optional) If required by your company policy, you can modify the create_oracle_instance.sql script to revoke the RESOURCE and UNLIMITED TABLE SPACE privileges, and replace them with more granular privileges.
- EXECUTE ON DBMS_LOCK (required for carrying out a handshake between TrueSight Server Automation database and the TrueSight Smart Reporting for Server Automation ETL during database clean up.)
- CONNECT
- CREATE VIEW
RESOURCE
SELECT ANY DICTIONARY
UNLIMITED TABLESPACE
Start SQL*Plus using a user name that has sysdba privileges. For example, you might enter the following commands:
sqlplus /nolog
SQL> connect sys/manager as sysdbaRun the create_oracle_instance.sql script by using the following commands:
SQL> @/u01/app/oracle/oradata/tssa/create_oracle_instance.sql;
SQL> exit
Step 3: Run the schema creation script
- Change ( cd ) to /db_scripts/oracle .
Log on to the TrueSight Server Automation database with the BladeLogic user and password you just created with the create_oracle_instance.sql script. Start sqlplus with the following values:
Variable
Value
<bl_user>
Logon name of the TrueSight Server Automation database user.
<bl_pwd>
TrueSight Server Automation database user password. Do not specify a password that begins with an equal sign (=).
<bl_tns_entry>
tns entry for the BMC BladeLogic database instance
For example:
sqlplus BLADELOGIC/bmcAdm1n@ORA11GStart a log and run the master script that corresponds to the character sets for which your database is configured.
SQL> spool create_bladelogic_schema.log
SQL> start <master_script.sql> <BL_DATA> <BL_INDEX>
SQL> spool offReplace the variables with the following values:
Variable
Value
<master_script.sql>
oracle_master.sql if your database is configured for char/varchar character sets or oracle_nchar_master.sql if your database is configured for nchar/nvarchar character sets
<BL_DATA>
TrueSight Server Automation data tablespace name. This name must match the data tablespace name in the create_oracle_instance.sql script (by default, BLADELOGIC).
<BL_INDEX>
TrueSight Server Automation index tablespace name. This name must match the index tablespace name in the create_oracle_instance.sql script (by default, BLADELOGIC_INDEX).
- After executing the master script, check the create_bladelogic_schema.log file for errors.
Step 4: Install the agent on the file server
TrueSight Server Automation uses the file server to store the contents of files included in snapshots, Network Shell scripts, BLPackages, software packages, and other types of information that is not easily stored in the database. The file server must have a RSCD agent installed on it, as described in the following procedure.
- Navigate to the directory containing installation files and run the installation script for the RSCD agent. Script names follow the convention: RSCDversion-platform. For a list of all the different agent installation files for the various platforms, see Installation-programs-for-TrueSight-Server-Automation.
You must execute the installation from a root shell. Do not execute the installation script from a non-root account.
For example:
./RSCD89-SP3-LIN64.sh - The following message is displayed:
Please choose the installation directory. [/opt/bmc/bladelogic] - To install the RSCD agent in /opt/bmc/bladelogic, press Enter. Or enter another directory path.
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.
A welcome message is displayed. - Press Enter.
The following message is displayed:
Do you agree to the terms of the license agreement (y for Yes) ? Press y.
The following message is displayed:============== Select Installation Components =============
Server Utilities
1 - RSCD Agent
9 - Start the installation
A - Select all components
Select component- Enter 1.
A plus sign (+) appears next to the RSCD Agent to indicate you have chosen to install it. - Enter 9.
A message is displayed, asking you if you want to continue. - Enter y.
Follow the instructions in the installation script.
Installation is complete. The agent starts automatically.For additional information on restricting access to RSCD agents, see How TrueSight Server Automation grants access to RSCD agents.
Step 5: Install the Application Server
In a UNIX environment, if the Application Server and the File Server are on the same box, use only the Application Server installer, not the separate RSCD agent installer for the file server.
- Navigate to the directory containing installation files and run the installation script for TrueSight Server Automation. (Script names follow the convention: TSSAversion-platform.) BMC recommends that you execute the installation from a root shell. Do not execute the installation script from a non-root account. For example:
../Disk1/files/installers/appserver_64/TSSA89-SP3-LIN64.sh - Select the following individual components in the installation script. A plus sign (+) appears next to the component to indicate you have chosen to install it.
- Enter 1 to select the RSCD Agent.
- Enter 2 to select the Application Server.
- Enter 3 to select Network Shell.
- (optional) Enter P to select PXE Server if you are setting up provisioning.
(optional) Enter T to select TFTP Server if you are setting up provisioning.
==== TrueSight Server Automation Suite 8.9.03 ===
================== Select Installation Components ==================
Server Utilities
1 - RSCD Agent
2 - Application Server
P - PXE Server
T - TFTP Server
Client Utilities
3 - Network Shell
9 - Start the installation
A - Select all components
Select component:
- Select 9 to start the installation.
When you see the prompts to set up the root privileges for the RSCD Agent, select n.
You will manually configure these privileges later, before you run the post-install configuration utilty (blappconf).Set up an initial host with root equivalency (y/n) ? n
Set up a mapping for a particular client user (y/n) ? n- Follow the remaining instructions in the installation script.
Step 6: Run the post-install configuration utility
The Post-Install Configuration wizard consolidates the minimum configuration steps that must be performed to set up an Application Server.
Before you configure the Application server, add the property local account name for the file server to /etc/rsc/exports (Linux) or C:\windows\rsc\exports (Windows).
Linux:
* rw,user=root
Windows:* rw,user=Administrator These permissions grant wide-open access to the file server. For more information, see File-server-requirements.
- To start the Post-Install Configuration wizard, do one of the following:
- Perform an installation that includes installation of the Application Server. The installation program gives you the option of launching the wizard at the end of the installation procedure.
- From the Windows Start menu, select Programs > BMC Software > BladeLogic Server Automation Suite > Utilities > Application Server Configuration Wizard.
- Start the wizard manually by running one of the following commands in the directory where TrueSight Server Automation is installed. Enter the following:
(Windows)
bin\blappconf.exe(UNIX)
./br/blappconfThe configuration wizard opens.
- Read the introductory page and click Next. The Database page appears.
- Choose a Database Type (either Oracle or SQL Server).
- If you are not using a custom connection string, provide the following database configuration information (and do not select the Advanced option):
- Database Server — Host name or IP address (IPv4 or IPv6) of the server running the database.
Database Port— Port the database listens on. By default a TrueSight Server Automation installation uses the following database ports:
- Database Name — Microsoft SQL server database name. By default, the database name is bladelogic . (This option is only available for SQL server databases.)
- SID — System ID of the Oracle database. (This option is only available for Oracle databases.)
- User ID — User name that the database needs to authenticate your connection.
- Password — Password assigned to the user ID.
or...
If you are using a custom connection string, provide the following database configuration information: - User ID — User name that the database needs to authenticate your connection.
- Password — Password assigned to the user ID.
- Advanced — Select this option to indicate that you are providing a custom connection string.
- Connection String — Type the custom connection string in the field below the Advanced check box.
- Click Next. The File Server page appears.
- Provide the following file server configuration information:
- File Server Name — Host name or IP address (IPv4 or IPv6) of the server where data is stored. By default, the file server is created on the same machine as the Application Server.
- File Server Storage Location — Directory on the file server where data is stored. By default, the directory of the file server is <appserverInstallDirectory>/storage.
- Click Next. The Notification Servers page appears.
- Provide information identifying an email server by entering the following under SMTP Options:
- SMTP Server — Name or IP address (IPv4 or IPv6) of the host managing email. (SMTP stands for simple mail transfer protocol.)
- E-mail From — email address from which TrueSight Server Automation-generated email is sent. TrueSight Server Automation jobs can generate email upon their completion.
- If you are using SNMP trap notifications, provide information identifying the SNMP server by entering the following under SNMP Options:
- SNMP Server — Name or IP address (IPv4 or IPv6) of the host to which SNMP traps should be sent.
- SNMP Port — The port on the SNMP server that listens for SNMP traps. By default, the port is set to the standard SNMP port of 162.
- Click Next. The User Passwords page appears.
- Under both RBACAdmin User and BLAdmin User, enter a password and then retype the password to confirm your entry. If a password is already set, you cannot enter a password.
Passwords are used to authenticate the RBACAdmin and BLAdmin users through the SRP authentication protocol.
The RBACAdmin user has full permission to manage roles and users in the RBAC Manager workspace in the TrueSight Server Automation Console, where you can assign permissions for all TrueSight Server Automation users. The BLAdmin user has Read access for all system objects within TrueSight Server Automation. For more information about the RBACAdmin and BLAdmin users, see RBACAdmin-and-BLAdmin-users. - (optional) In the Advanced Configuration panel, set Enable Provisioning for bare metal provisioning. You must also set up the provisioning system, create components used by the provisioning process, prepare devices, and create and execute Provision Jobs that perform the unattended installation of the operating system. For more information, see Implementation-process-for-provisioning.
- Click Finish.
Step 7: Install the console on your client system
- Navigate to the directory containing installation files and run the installation script for the TrueSight Server Automation Console. (Script names follow the convention: TSSACONSOLE<version>-<platformbit>, for example, TSSACONSOLE89-SP3-LIN64.bin) You must execute the installation from a root shell. Do not execute the installation script from a non-root account.
- The TrueSight Server Automation Installation window opens.
- Select a language, and then click OK.
A series of messages indicate progress. This process might take several minutes. Then the Welcome window opens. - Click Next.
The Review License Agreement page opens. - To accept the license agreement, select I agree to the terms of the license agreement, and then click Next.
The User Inputs window opens. - (optional) Remove the check marks from any components that you do not want to install, and then click Next.
A series of messages indicate progress. - (optional) Select Check to install the default .nsh resource files into /etc/skel.
- Click Next.
The Installing window previews the features to be installed. - To install, click Install. To change your selections, click Previous.
A series of messages indicate progress. This process might take several minutes. Then the Installation Summary window opens, indicating successful installation. - (optional) Click View Log.
- Click Done.
The window closes. Installation is complete. - Start the RSCD Agent and then start the console (for example, /opt/bmc/BladeLogic/CM/rcp/launcher). To configure the console so that it connects to the default Application Server, click Options.
- Click the Authentication Profiles tab and click Add. TrueSight Server Automation clients use authentication profiles to facilitate single sign-on feature. You must create an Authentication profile before you start using the Console. For more information about why we use Authentication Profiles, see System-capabilities-related-to-security.
- Enter the following information.
- Assign a name to the authentication profile. For example, you could assign a name such as QATeam, DevTeam, or defaultProfile.
- Enter the name or IP address (IPv4 or IPv6) of the default Application Server to which the client should connect.
- Enter an Authentication Port number to which the client should connect. The same port is used for all TrueSight Server Automation authentication mechanisms. The default Port is 9840. For more information about Console ports, see TrueSight-Server-Automation-ports.
Select any one authentication mechanism for the authentication profile:
- Secure Remote Password.
- AD/Kerberos Single Sign-on.
- Domain Authentication.
- LDAP.
- RSA SecurID Authentication.
- Public Key Infrastructure Authentication.
In this walkthrough we will use the Secure Remote Password mechanism. For information about implementing the other authentication mechanisms, see Implementing-authentication.
- Click OK.
- Click Connect to log on the Application Server using the BLAdmin user that is created while installing the default Application Server node.
- If you see a security alert that the certificate is not initially trusted, optionally, you can view the certificate. Or you can simply click Yes to proceed.
- The quick start page is the first page that is displayed once you log on the the Console. It introduces you to the main use cases of TrueSight Server Automation and allows you to execute them from a centralized UI immediately after installing the TrueSight Server Automation set up. For information about using the quick start page, see Quick-start-page. For general information about the UI of the TrueSight Server Automation Console, see Navigating-the-interface.
Step 8: Connect to the Application Server
From the directory where TrueSight Server Automation is installed (for example, /opt/bmc/BladeLogic/CM), enter ./rcp/launcher.sh.
A logon dialog box appears. To log on, you must choose an authentication profile. For more information about creating authentication profiles, see Setting-up-an-authentication-profile. Perform the following steps to start the console and connect to the Application Server.
- Using the Authentication profile tab, select an authentication profile.
- If you:
- Possess a valid cached session credential, skip this step and go to the next step.
- Are using Active Directory/Kerberos (ADK) or public key infrastructure (PKI) authentication, skip this step and go to the next step.
- Are using SRP, LDAP, or SecurID authentication, enter your user name and password. For SecurID, your password consists of a PIN followed by the current token code displayed on your RSA SecurID token.
- Are using Domain Authentication, enter your user name and domain. The domain name must always be capitalized. If you are defined as a member of the default realm, you do not have to enter a domain name. For information about how to set up the default realm for Domain Authentication, see Configuring-Domain-Authentication.
To change the setting for caching session credentials or the display language, click Options. The logon window expands to show additional options in a tabbed format. By default the Generaltab is open.
Save credential for this session
Saves a session credential between sessions.
By default, this option is not checked. The setting for this option remains in effect for future logons until you change the setting. If a session credential is already cached, this option is dimmed.Language
Displays your choice of language (either your previous choice or your acceptance of the installation default). Select a new display language for the console or keep the current user preference. The selection remains in effect as your default language for future logons until you make a new choice.
- Click Connect.
If the Application Server presents the TrueSight Server Automation Console with an X.509 certificate that is not trusted, a security alert appears. Most Application Servers use self-signed certificates, so typically you encounter this dialog box the first time you access a particular Application Server. - If a security alert does not display, skip this step and go to the next step. If a security alert describes an untrusted certificate, do one of the following:
- To return to the logon dialog box, click No. You can cancel the logon session or use a different authentication profile to log on.
- To accept the unknown certificate and proceed with the logon, click Yes.
- To examine details about the certificate, click View Certificate. For more information about this procedure, see Viewing-an-untrusted-certificate. After examining the certificate, click Yes or No, as described above.
- If multiple roles are associated with your user name, the Assume Role dialog box appears. From this dialog box, for Select Role, choose the role you want to use.
If you prefer, you can switch roles later at any time during a session. (See Switching-roles.) Click OK. The TrueSight Server Automation Console appears.
Where to go from here
- Perform the following tasks that are specified in Importing-out-of-box-content-and-enabling-the-dashboards-and-quick-start-page:
- Import agent installers, agent bundles, and Agent Installer Jobs.
- Activate the Health and Value dashboards.
- Configure TrueSight Server Automation . For more information, see Configuring-after-installation.