Installing TrueSight Server Automation - Data Warehouse silently

Where you are in the Installation process

StepTask
1.Complete the planning activities
2.
3.

Install TrueSight Server Automation - Data Warehouse (You are here)

4.

Complete the post-installation activities for TrueSight Server Automation - Data Warehouse

Do the following:

  1. Log in to the host computer on which you want to install TrueSight Server Automation - Data Warehouse. BMC recommends that you delete all the files from the temporary directory:

    • (Windows) %temp%
    • (Linux/tmp

  2. Extract the downloaded files to a temporary location outside the following location to avoid any file sharing conflicts:
    • (WindowsC:\Program Files

    • (Linux) /opt

    It is strongly recommended that you exit all programs before starting the installation.

  3. Open the command prompt and navigate to the following directory:

    • (Windows) Windows\Disk1
    • (Linux) Linux/Disk1
  4. Use one of the following methods to generate the options file:

    MethodSteps
    Make the installer generate an options file based on the current installation.

    Run the following command to install the product and generate the options file:

    • (Windows as Administrator) setup.exe –DGENERATE_OPTIONS_FILE=AbsolutePathToOutputOptionsFile

    • (Linux as root user) ./setup.bin –DGENERATE_OPTIONS_FILE=AbsolutePathToOutputOptionsFile

    where AbsolutePathToOutputOptionsFile is the absolute path and name that you assign to the output file that contains the installation options. If the file name or path includes a space, enclose the file path in double quotes.
    Ensure that the model used for silent installation has the same version of TrueSight Server Automation - Data Warehouse as the actual installation. The password provided in options.txt will be used during actual installation.

    Examples:

    • (Windows - Path with space) setup.exe -DGENERATE_OPTIONS_FILE="C:\temp folder\Disk1\options.txt"

    • (Linux - Path with space) ./setup.bin -DGENERATE_OPTIONS_FILE="opt/temp folder/Disk1/options.txt"

    The command launches the  TrueSight Server Automation - Data Warehouse wizard-based installer. Select the component that you want to install and for which you want the options file. Complete the installation once to populate the options file with properties. Now, your options file is ready to be used in silent installation.

    Create the options file using the sample file.

    Copy the contents of the sample file into a new file:

    • Click here for a sample options file for Windows operating system.

    • Click here for a sample options file for Linux operating system.

  5.  Unless you encrypt passwords, the options.txt file contains passwords as clear text. The Maintenance Tool enables you to create an encrypted password that you can paste into the options.txt file. Use one of the following options to encrypt the password using the Maintenance Tool.

    1. Start the Maintenance Tool utility.

       Click here to see steps to run the Maintenance tool.

      You can run the Maintenance Tool in a graphical user interface or from the command line. 

      To run the Maintenance Tool in a UI on Windows

      1. On the computer where you want to install the product, extract the downloaded product files from the BMC Electronic Product Distribution (EPD) site to a temporary directory.
      2. Navigate to the \Disk1\utility folder, and run the TssadwMaintenanceTool.cmd file.

      To run the Maintenance Tool in a UI on UNIX

      1. On the computer where you want to install the product, extract the downloaded product files from the EPD site to a temporary directory. 
      2. Navigate to the /Disk1/utility folder, and run the TssadwMaintenanceTool.sh file.

      To run the Maintenance Tool from the command line on Windows

      On the computer where you have extracted the downloaded product files, from the \Disk1\utility folder, run TssadwMaintenanceTool.cmd

      To run the Maintenance Tool from the command line on UNIX

      On the computer where you have extracted the downloaded product files, from the /Disk1/utility folder, run TssadwMaintenanceTool.s

    2. Click the Encrypt tab.
    3. In the Password and Confirm Password boxes, type your password.
    4. Click Encrypt.
    5. Copy and paste the encrypted password into the options.txt file for your silent installer.
      For example, if you want to encrypt the password for the TrueSight Server Automation - Data Warehouse console user and the output is DES\:b76c59dbc2e1433c7a9c2f006a2e2429116840dce695aea9, enter the following string:

      # -J CONSOLE_ADMIN_PASSWORD=DES\:b76c59dbc2e1433c7a9c2f006a2e2429116840dce695aea9

    Alternatively, you can use the -encrypt option to encrypt a password through the command line. For example, enter the following command from the \Disk1\utility folder, which is created when you extract the downloaded product files from the BMC Electronic Product Distribution (EPD) site:

    • Windows - BdssaMaintenanceTool.cmd -silent -encrypt -encrypt -password=<password> -confirm_password=<password>

    • UNIX - ./BdssaMaintenanceTool.sh -silent -encrypt -encrypt -password=<password> -confirm_password=<password>

    For more information, see the command-line help for the Maintenance Tool.

  6. Open the options.txt file and using the Installing TrueSight Server Automation - Data Warehouse using the wizard and the following table as guides, edit the options, ensuring that you include the appropriate -P-J, or -A option:

    Option

    Description

    Syntax and examples

    -P

    Sets the installation folder for an application

    -P <installLocation>=<filePath>

    Windows:
    -P installLocation=C:\Program Files\
    BMC Software\<product>


    UNIX:
    -P installLocation=/opt/bmc/<product>

    -J

    Specifies the properties that correspond to user inputs

    -J HOST_NAME=foo.bar.com
    -J LOGIN=admin
    -J PASSWORD=admin

    -A

    Specifies the products and features that you want to install

    The product and feature names are listed at the top of the options.txt file. To install more than one product or feature, include a -A line for each.

    -A product<productName>
    -A feature<featureName>

    For example:
    -A productARSuiteKit
    -A featureDeveloperStudio

    Note: The product names are case sensitive. For complete product names, see the product-ini-template.txt file or the log file.

    As you edit the options.txt file, apply the following guidelines:

    • Remove the comment (#) markers.
    • To use an encrypted password, use the -J passwordOption= option.
    • In UNIX environments, ensure that no Ctrl+M characters appear in the options.txt file.
  7. Save the file.
  8. Run the following command to start the silent installation. When you specify the options.txt file name, specify the full path to the file; do not specify a path that is relative to the installation program.
    • (Microsoft Windows) setup.exe -i silent -DOPTIONS_FILE=pathToOptionsFile
      If the path contains spaces, enclose the path in quotation marks ("").
    • (UNIX) ./setup.bin -i silent -DOPTIONS_FILE=pathToOptionsFile

      Where, pathToOptionsFile is the path, including the name of the file, to which you want to copy the silent installation properties. If the file name or path includes a space, enclose the file path in double quotes.

      Examples:

      • (Windows - Path with space) setup.exe -i silent -DOPTIONS_FILE="C:\temp folder\Disk1\options.txt"

      • (Linux - Path with space) ./setup.bin -i silent -DOPTIONS_FILE="opt/temp folder/Disk1/options.txt"

Next step in the Installation process

Now that you have successfully installed TrueSight Server Automation - Data Warehouse, the next step in the installation process is to complete the Post-installation tasks for TrueSight Server Automation - Data Warehouse.

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

Comments

  1. Drew Trachy

    4, the command to generate the options file, actually installs TSSA-DW in addition to generating the options file. I know this because I didn't trust your example file due to it containing references to BDSSA. smh

    Jun 04, 2020 03:19
    1. Sulekha Gulati

      Thanks Drew for bringing this out. Working on it.

      I have updated the instructions and provided 2 methods to create the options file:

      We have to run the installer at least once to generate the file.

      Or

       We have to copy it from the sample file.


      Though the sample file contains refs to BDSSA, it does not impact the installation. A few property names were not changed when the TrueSight Server Automation - Data Warehouse was released for the first time.

      Jul 03, 2020 03:08