Installing silently

Note

This topic is applicable only for a TrueSight Automation Console (on-premises) deployment.

BMC Helix Automation Console (SaaS) is not available for on-premises installation. For details about subscribing to this service, see BMC Helix subscriber information.

This topic provides instructions to create an input file and install the TrueSight Automation Console components silently. 

Warning

TrueSight Automation Console 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 Automation Console or used separately. Installing additional third-party software or updating existing software packages in the Docker Containers is not permitted, unless explicitly authorized by BMC Software.

Installing the Stack Manager tool

  1. Open a terminal and SSH into the host where you have set up the local registry earlier and run the following command to start the Stack Manager tool. 

    docker run -it --rm --network=host 127.0.0.1:5000/bmcsoftware/truesight-stack-manager

    Here, 127.0.0.1:5000 is the host:port of the local registry that contains the TrueSight Automation Console images.  
    You are prompted to specify a location to install the product. 

  2. Enter a location or continue with the default /opt/bmc location. 
  3. Enter a username with root level permissions and the password. 
    The Stack Manager tool is installed at the specified location. You can now continue with installing the database and the application. 

Installing silently

You use the Stack Manager tool to create an inputs file, then install the database, and then the application. 

  1. Open a terminal and SSH into the host where you have installed the Stack Manager tool and run the following command to create the input file. 

    ./stackmanager  inputs-file create

    You are asked for the inputs required for the installation. 

  2. To create an inputs file, provide the following information required for installing the Automation Console. 

     Input file for the Automation Console
    FieldDescriptionDefault value
    TrueSight application directory

    Specifies the directory where the Automation Console application will be installed

    /opt/bmc/truesight
    Docker network subnet prefix

    Docker network subnet prefix is composed of one to two octets separated by a dot. Each octet is a number between 0 and 255 (excluding 0 and 255). Leading zero in an octet is not allowed. The chosen docker network subnet prefix must not conflict with docker registry host IP. Examples: 192.168, 10.

    -
    Application port number

    Specifies the port number for the Automation Console application server

    9443
    Hostname or IP address of the PostgreSQL database serverSpecifies the fully qualified domain name (FQDN) or IP address of the host where the default PostgreSQL database will be installed. For production environment, use an external PostgreSQL database.No default value. User must specify a value.
    PostgreSQL database port numberSpecifies the port number for the PostgreSQL database5432
    PostgreSQL Admin usernameSpecifies the database administrator usernamepostgres
    PostgreSQL Admin passwordSpecifies the password that matches the username-
    PostgreSQL usernameSpecifies the username for a non-administrative usertsac_database_user
    PostgreSQL passwordSpecifies the password that matches the username-
    PostgreSQL tablespace directorySpecifies the directory of the system tablespace on the PostgreSQL server/var/lib/postgresql/data/tsac_tablespace

    Automation Console port number

    Specifies the port number to be used for the Automation Console

    10443

    TrueSight Server Automation host name

    Specifies the hostname where Server Automation is installed, in an FQDN format

    -

    Server Automation port number

    Specifies the port number where Server Automation is installed.

    -

    Server Automation protocol

    Specifies the protocol used by Server Automation

    https

    Server Automation admin role

    Specifies the administrative role name for Server Automation

    BLAdmins

    Service Account user name of TrueSight Server Automation user

    Specifies the username with permissions to access Server Automation

    BLAdmin

    Password for the TrueSight Server Automation Service Account user

    Specifies the password for the username-

    Role name for the TrueSight Server Automation Service Account user

    Specifies the Server Automation role to which the user belongs

    BLAdmins

    Login authentication type for the TrueSight Server Automation Service Account user

    Specifies the authentication method. Valid values: SRP, Domain Authentication

    Currently, only Secure Remote Password (SRP) and Domain Authentication methods are supported.

    Valid values: SRP, Domain

    SRP
  3. To verify whether the inputs file is created successfully, run the following command: 

    ./stackmanager  inputs-file show

    Enter the location where the file is created. Default location is /opt/bmc/truesight.
    The following figure shows a sample inputs_file.yml file.

     Sample inputs_file.yml for the database
    products:
      docker_registry:
        hostname: localhost:5000
      nw:
        addressPool: '194'
      postgres:
        port: '5432'
        admin:
          name: postgres
          password: eLu1rc4cvZIWbC8xftxcKN3VBRkBYhMaDA5LK1mKDP/729QW
     Sample inputs.yml file for the application
    products:
      docker_registry:
        hostname: localhost:5000
      infra:
        config:
          wmport: '9443'
      nw:
        addressPool: '193'
      tssa-connector:
        wmport: '9443'
        workerID: tssa-connector
        fqUserSuffix: defaulttenant.tssa
        host: 172.12.123.123
        port: '9843'
        protocol: https
        adminRole: BLAdmins
        serviceUser: BLAdmin
        serviceUserPassword: Vtq6yCnBIttq+tt09fMhoo2kRL5sF6+4Q2VKMT4LYgt512W2
        serviceUserRole: BLAdmins
        serviceUserAuthType: SRP
      tssp:
        db:
          name: tsac_database
          hostname: host.com
          port: '5432'
          admin:
            name: postgres
            password: NMBs+8Dznqzw02HUWu0M3/pzL70wUbwL8umVse00eQfEeWpX
        es:
          hostname: localhost
          port: '9200'
          username: admin
          password: 5KsZnikvshF1msDZrAKv7Aop92qEiK0AUWNB5Npid6yuB7Ty//uO6Q==
      tsvm:
        db:
          name: tsac_database
          hostname: host.com
          port: '5432'
          admin:
            name: postgres
            password: NMBs+8Dznqzw02HUWu0M3/pzL70wUbwL8umVse00eQfEeWpX
          user:
            name: tsac_database_user
            password: 2c+qV4yWg7gA60NpPxYpzCowJA6aZDAiAvCwQDI7OdvIU5dX
          tablespaces:
            tablespace: tsac_tablespace
            directory: /var/lib/postgresql/data/tsac_tablespace
            data: tsac_database_user_dat
            index: tsac_database_user_idx
        es:
          hostname: localhost
          port: '9200'
          username: admin
          password: 5KsZnikvshF1msDZrAKv7Aop92qEiK0AUWNB5Npid6yuB7Ty//uO6Q==
    
    
    
  4. To install the database silently, run the following command: 

    ./stackmanager install --silent --deployment database

    Stack Manager uses the inputs provided in the inputs file and installs the database. 

  5. To verify whether the database is installed successfully, run the following command: 

    ./stackmanager status --deployment database
  6. To install the application silently, run the following command:

    ./stackmanager install --silent --deployment tsac+

    Stack Manager uses the inputs provided in the inputs file, verifies whether the database is installed, and installs the application.

  7. To verify whether the application is installed successfully, run the following command: 

    ./stackmanager status --deployment application

Where to go next?

Now that you have installed the product successfully, administrators can start setting up the application for your patch management needs. You can start using the features based on your role and requirements. 

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

Comments