Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Installing silently

In a silent installation, you run the installation program from a command line. When you execute a silent installation, you specify an options file, which specifies the selections you would normally make during an interactive installation.

Warning

TrueSight Vulnerability Management is delivered to customers bundled as a set of Docker Containers. The Docker Containers and the software installed on them should not be taken out of TrueSight Vulnerability Management or used separately from TrueSight Vulnerability Management. Installing additional third-party software or updating existing software packages in the Docker Containers is not permitted, unless explicitly authorized by BMC Software.

This topic contains the following sections:

Before you begin

  • Ensure that one of the following endpoints managers must be installed and running which you want to access while running the TrueSight Vulnerability Management application.
    • TrueSight Server Automation

    • TrueSight Network Automation
    • Microsoft System Center Configuration Manager (SCCM) 
  • Ensure that you log on as a root user to the computers on which you want to install the database, Elasticsearch, or application. Installation with a non-root user is not supported.

  • To avoid potential permission-related issues in accessing the files that are needed to start or stop services on Linux systems, ensure that the user file creation mask (also called umask) for a Linux user is set to 022.

To install database, Elasticsearch, and application

  1. Log on to a computer which has Python installed and on which you want to install either database, Elasticsearch, or application.

  2. Create a temporary directory, for example, /opt/tsvmDownload.

  3. Copy the following downloaded files to the /opt/tsvmDownload directory:
    • TSVM<versionNo>-SM-LIN64.zip
    • TSVM<versionNo>-APP-LIN64.zip
    • TSVM<versionNo>-DB-LIN64.zip
    • TSVM<versionNo>-ES-LIN64.zip
  4. Extract the TSVM<versionNo>-SM-LIN64.zip file to the /opt/tsvmDownload directory.

  5. Navigate to the /opt/tsvmDownload/truesight-sm directory, and run the following command:

    python install.py

    You are prompted for the installation mode, as follows:

    • 1. Create an input file for the Deployment type to be installed: Allows you to create the inputs file that you can use as an input to the installation process.
    • 2. Install Deployment type: Allows you to use an existing inputs file for the installation process or provide inputs while installing.
  6. Enter 1 to indicate that you want to create the inputs file and press Enter.
  7. Follow the steps as mentioned in Creating the inputs file.
  8. Install the database silently.
  9. Install Elasticsearch silently.
  10. Install the application silently.

To perform silent installation of the database

Note

You don't need to perform this procedure if you have an existing instance of PostgreSQL database installed in your environment. Provide database details of the existing instance while creating the inputs file for the application and then configure the database server so that the application can access the database.


  1. Log on to the computer where you want to install the database.

  2. Obtain the inputs file that you have already created.
  3. Create an options file (for example, installer_silent.yml) for silent installation with the following contents:

    #Deployment type must be from 1:Application, 2:Database or 3:ElasticSearch
    deployment_type: 2
    #Installation directory path default is /opt/bmc/truesight
    install_dir: <DatabaseInstallationDirectory>
    input_file: <inputsFilePath>/inputs_file.yml
    Sample options file
    #Deployment type must be from 1:Application, 2:Database or 3:ElasticSearch
    deployment_type: 2
    #Installation directory path default is /opt/bmc/truesight
    install_dir: /opt/bmc/truesight
    input_file: /opt/bmc/truesight/inputs_file.yml
  4. Create a temporary directory, for example, /opt/tsvmInstall.

  5. Copy the TSVM<versionNo>-SM-LIN64.zip and TSVM<versionNo>-DB-LIN64.zip files, which you have downloaded from EPD, to the /opt/tsvmInstall directory.

  6. Extract the TSVM<versionNo>-SM-LIN64.zip file to the /opt/tsvmInstall directory.
  7. Navigate to the /opt/tsvmInstall/truesight-sm directory and run the following command to start the installation process:

    python install.py --silent --silent-install-input-file /opt/bmc/truesight/installer_silent.yml
  8. Once the installation process is complete, verify that the database services are running using the following command:

    python truesight-sm.py status --deployment database

To perform silent installation of Elasticsearch

  1. Log on to the computer where you want to install Elasticsearch.

  2. Obtain the inputs file that you have already created.
  3. Create an options file (for example, installer_silent.yml) for silent installation with the following contents:

    #Deployment type must be from 1:Application, 2:Database or 3:ElasticSearch
    deployment_type: 3
    #Installation directory path default is /opt/bmc/truesight
    install_dir: <DatabaseInstallationDirectory>
    input_file: <inputsFilePath>/inputs_file.yml
    Sample options file
    #Deployment type must be from 1:Application, 2:Database or 3:ElasticSearch
    deployment_type: 3
    #Installation directory path default is /opt/bmc/truesight
    install_dir: /opt/bmc/truesight
    input_file: /opt/bmc/truesight/inputs_file.yml
  4. Create a temporary directory, for example, /opt/tsvmInstall.
  5. Copy the TSVM<versionNo>-SM-LIN64.zip and TSVM<versionNo>-ES-LIN64.zip files, which you have downloaded from EPD, to the /opt/tsvmInstall directory.

  6. Extract the TSVM<versionNo>-SM-LIN64.zip file to the /opt/tsvmInstall directory.
  7. Navigate to the /opt/tsvmInstall/truesight-sm directory and run the following command to start the installation process:

    python install.py --silent --silent-install-input-file /opt/bmc/truesight/installer_silent.yml
  8. Once the installation process is complete, verify that the Elasticsearch (DCA Index) services are running using the following command:

    python truesight-sm.py status --deployment elasticsearch
  9. (Optional) If you want to configure cluster of Elasticsearch servers, install Elasticsearch on multiple servers. You can configure the Elasticsearch cluster after installing the application as well.

To perform silent installation of the application

  1. Log on to the computer where you want to install the application.

  2. Obtain the inputs file that you have already created.
  3. Create an options file (for example, installer_silent.yml) for silent installation with the following contents:

    #Deployment type must be from 1:Application, 2:Database or 3:ElasticSearch
    deployment_type: 1
    #Installation directory path default is /opt/bmc/truesight
    install_dir: <DatabaseInstallationDirectory>
    input_file: <inputsFilePath>/inputs_file.yml
    Sample options file
    #Deployment type must be from 1:Application, 2:Database or 3:ElasticSearch
    deployment_type: 1
    #Installation directory path default is /opt/bmc/truesight
    install_dir: /opt/bmc/truesight
    input_file: /opt/bmc/truesight/inputs_file.yml
  4. Create a temporary directory, for example, /opt/tsvmInstall.
  5. Copy the TSVM<versionNo>-SM-LIN64.zip and TSVM<versionNo>-APP-LIN64.zip files, which you have downloaded from EPD, to the /opt/tsvmInstall directory.

  6. Extract the TSVM<versionNo>-SM-LIN64.zip file to the /opt/tsvmInstall directory.
  7. Navigate to the /opt/tsvmInstall/truesight-sm directory and run the following command to start the installation process:

    python install.py --silent --silent-install-input-file /opt/bmc/truesight/installer_silent.yml
  8. Once the installation process is complete, verify that the application services are running using the following command:

    python truesight-sm.py status --deployment application
  9. (optional) If you want to create application clusters, repeat steps 1 to 8 to install the application on multiple computers. After you install the application on multiple computers, configure the cluster.

Configuring the existing database instance

If you have an existing instance of PostgreSQL database installed in your environment, you need to modify the pg_hba.conf file so that the application computer can access the database server.

To modify the pg_hba.conf file

  1. On the database server, open the pg_hba.conf file with a text editor.
  2. Look for the entries similar to the following:
    host    all             all              0.0.0.0/0              auth-method
    host    all             all              ::/0                       auth-method
  3. In the 4th column, replace 0.0.0.0/0 with your Docker network/mask.
  4. Replace the existing auth-method with md5.
  5. Save the pg_hba.conf file.
  6. Restart the database server.


Troubleshooting installation issues

If you face issues during installation, see Troubleshooting installation issues Open link .

Where to go from here

Depending on your requirements, set up additional connectors or start using the product.

Was this page helpful? Yes No Submitting... Thank you

Comments