Unsupported contentThis version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Performing the Presentation Server installation silently


You can install the TrueSight Presentation Server unattended (a silent installation), which requires no user interaction during installation. You can perform a silent installation, as described in this topic, or use the installation wizard.

The following files are used to configure the silent installation of Presentation Server:

  • (Windows) server-silent-options-windows.txt
  • (Linux) server-silent-options-linux.txt

These files are located in the Disk1 directory of the Presentation Server installation file structure.

The following topics are included:

Before you begin

Before you begin the silent installation, complete the following items:

To configure the silent server installation

On the system where you want to install the Presentation Server, complete the following procedure:

  1. Use a text editor to open the relevant server-silent-options.txt file.
  2. Specify a valid installation directory for the Presentation Server:

    -P installLocation=<directory>

    The <directory> is the installation location, which must be empty. If the Windows path includes a space, enclose the path in quotation marks.

    (Windows) -P installLocation="C:\Program Files\BMC Software\TrueSightPServer"
    (Linux) -P installLocation=/opt/bmc/TrueSightPServer
    Under the Installation Features section is the Presentation Server component name.

    # Install TrueSight Presentation Server
    -A featureTrueSightPServer
  3. Under the Installer Configuration section, enter the TrueSight Server installation configuration information.

    If required, change the default port numbers. Ensure that the port number you enter is available.

    -J TrueSight_localhost_fqdn=
    -J TrueSight_high_availability_enabled=0
    -J TrueSight_high_availability_type=1
    -J TrueSight_high_availability_server_pair_name=truesight
    -J TrueSight_high_availability_primary_cache_port=7800
    -J TrueSight_high_availability_primary_control_port=8800
    -J TrueSight_high_availability_secondary_server_fqdn=
    -J TrueSight_high_availability_secondary_database_port=5432
    -J TrueSight_high_availability_secondary_cache_replication_port=7800
    -J TrueSight_high_availability_secondary_control_port=8800
    -J TrueSight_high_availability_configuration_file=
    -J TrueSight_tomcat_http_port=80
    -J TrueSight_tomcat_https_port=443
    -J TrueSight_ElasticSearch_rest_port=9200
    -J TrueSight_ElasticSearch_client_port=9300
    -J TrueSight_cell_gateway_port=1900
    -J TrueSight_database_username=
    -J TrueSight_database_password=
    -J TrueSight_database_confirm_password=
    -J TrueSight_database_port=5432
    -J TrueSight_sso_hostname=
    -J TrueSight_sso_port=8443
    -J TrueSight_sso_password= 

    Presentation Server configuration descriptions

  4. Save and close the server-silent-options.txt file.
Example

The following example illustrates the settings of a silent installation configuration for the Presentation Server on a Windows operating system.

-P installLocation="C:\Program Files\BMC Software\TrueSightPServer"
-A featureTrueSightPServer
-J TrueSight_localhost_fqdn=system
-J TrueSight_high_availability_enabled=0
-J TrueSight_high_availability_type=1
-J TrueSight_high_availability_server_pair_name=truesight
-J TrueSight_high_availability_primary_cache_port=7800
-J TrueSight_high_availability_primary_control_port=8800
-J TrueSight_high_availability_secondary_server_fqdn=
-J TrueSight_high_availability_secondary_database_port=5432
-J TrueSight_high_availability_secondary_cache_replication_port=7800
-J TrueSight_high_availability_secondary_control_port=8800
-J TrueSight_high_availability_configuration_file=Config_File.txt
-J TrueSight_tomcat_http_port=80
-J TrueSight_tomcat_https_port=443
-J TrueSight_ElasticSearch_rest_port=9200
-J TrueSight_ElasticSearch_client_port=9300
-J TrueSight_cell_gateway_port=1900
-J TrueSight_database_username=admin
-J TrueSight_database_password=DES\:097133405e7ea7a6bcc58bbe70ece4c2
-J TrueSight_database_confirm_password=DES\:097133405e7ea7a6bcc58bbe70ece4c2
-J TrueSight_database_port=5432
-J TrueSight_sso_hostname=11.22.33.22
-J TrueSight_sso_port=8443
-J TrueSight_sso_password=DES\:097133405e7ea7a6bcc58bbe70ece4c2

To install the Presentation Server silently

  1. In a command line, navigate to the Disk1 folder in the installation file structure.
  2. Enter the following command:
    • Windows

      setup.exe -i silent -DOPTIONS_FILE=<Full File Path>\server-silent-options-windows.txt
    • Linux

      ./setup.bin -i silent -DOPTIONS_FILE=<Full File Path>/server-silent-options-linux.txt

Notes

  • The Presentation Server installation log files are located in the following directories:
    • (WindowsC:\Users\<user>\AppData\Local\Temp\truesightpserver_install_log.txt
    • (Linux) /tmp/truesightpserver_install_log.txt

Encrypting a password for silent Presentation Server installation

The Maintenance Tool enables you to create an encrypted password that the Presentation Server requires for importing a KeyStore. You must use an encrypted password so that the KeyStore password is not exposed in the server-silent-options.txt file.

You can run the Maintenance Tool in a GUI or from the command line interface (CLI).

To encrypt a password by using the Maintenance Tool in a GUI (click here to expand steps)
  1. To open the Maintenance Tool, go to the temporaryDirectory/Disk1/utility directory.
    The temporaryDirectory is the place where you downloaded the installation files.
  2. Run the TrueSightPServerMaintenanceTool utility and click the Encrypt tab.
  3. Enter your password in the Password and Confirm Password fields and click Encrypt.
  4. Copy and paste the value from the Encrypted Password field to the server-silent-options.txt file for the TrueSight_database_password parameter.
    For example, if the encrypted password output is DES\:d70cbe3669602717ce66af37cce7ecf0, modify the TrueSight_database_password parameter as follows:
    -J TrueSight_database_password=DES\:d70cbe3669602717ce66af37cce7ecf0
To encrypt a password by using the Maintenance Tool in the CLI (click here to expand steps)
  1. To open the Maintenance Tool, go to the temporaryDirectory\Disk1\utility directory.
    The temporaryDirectory is the place to which you downloaded the installation files.
  2. Run the following command, entering your password for the -password and -confirm_password options:
    • Windows

      TrueSightPServerMaintenanceTool.cmd -silent -encrypt -encrypt -password=<password> -confirm_password=<password>

    • Linux

      ./{{code language="none"}}
      TrueSightPServerMaintenanceTool
      {{/code}}
      .sh -silent -encrypt -encrypt -password=<password> -confirm_password=<password>

      Note

      For Linux installations, any password that includes special characters requires single quotation marks before and after the password. For example:

      ./{{code language="none"}}
      TrueSightPServerMaintenanceTool
      {{/code}}
      .sh -silent -encrypt -encrypt -password='<password>' -confirm_password='<password>'

  3. Copy and paste the encrypted password output to the server-silent-options.txt file for your silent installation.
    For example, if the encrypted password output is DES\:d70cbe3669602717ce66af37cce7ecf0, modify the TrueSight_database_password parameter as follows:
    -J TrueSight_database_password= DES\:d70cbe3669602717ce66af37cce7ecf0

Post-installation tasks

Perform the following tasks after installing the Presentation Server:

Related topic

Verifying-the-Presentation-Server-installation-and-operation

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*