Installing silently
This topic provides instructions for performing a silent installation of the TrueSight IT Data Analytics product. A silent (or unattended) installation obtains the required user input or installation settings from an options file. You can create an options file to perform an installation of the product in the silent mode. This file defines installation settings such as the type of installation, the components to install, the installation location for the components, and so on. You can use silent mode to perform the product installation in a headless environment (on a system that has no display device, keyboard, or mouse).
This topic contains the following information:
Before you begin
- Read the Planning topic.
- Verify that your environment meets the system requirements.
- Download and unzip (for Windows) or unzip and extract (for Linux) the TrueSight IT Data Analytics zipped files (the installer) at your preferred location.
- Depending on your installation scenario, use the sample options file or generate a custom file. For more information, see Generating an options file with silent installation properties.
Generating an options file with silent installation properties
Before performing the installation, you must generate an options file with the necessary silent installation properties. Generate a custom file with the appropriate silent installation properties by performing these steps:
- Navigate to Start > Run > CMD. When the command prompt opens, navigate to <INSTALLATION_DIRECTORY>/ Disk1 and depending on your platform run the following command:
- Windows: setup.exe –DGENERATE_OPTIONS_FILE=pathToOptionsFile
- Linux: setup.bin –DGENERATE_OPTIONS_FILE=pathToOptionsFile
where pathToOptionsFile is the path including the name of the file into which you want to copy the silent installation properties.
- Specify the required components (properties) for the silent installation and generate the file.
For more information, see Silent installation properties. - Encrypt the administrator password for the target computer. For more information, see Encrypting passwords for Remedy Single Sign-On enabled silent installations .
Sample options files
Task | Instructions | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Perform a typical installation | Use one of the following sample options files, depending on your platform: Note: By default, the following is the installation location:
To install the product in a different location, ensure that you change the value of the installLocation property. | ||||||||||||||||||
Perform a custom installation | Use one of the following sample options files for custom installation, depending on your platform:
Note: By default, the following is the installation location:
To install the product in a different location, ensure that you change the value of the installLocation property. |
Encrypting passwords for Remedy Single Sign-On enabled silent installations
The options file for TrueSight IT Data Analytics must contain the administrator password for the target computer. The EncryptPWD utility enables you to create an encrypted password that you can paste into the options file.
To encrypt a password for a silent installation
- On the computer on which you downloaded TrueSight IT Data Analytics, browse to the following directory:
- Windows: <INSTALLER_LOCATION>\BMC-TrueSight-IT-Data-Analytics\Disk1\utility\EncryptPWD
- Linux: <INSTALLER_LOCATION>\BMC-TrueSight-IT-Data-Analytics\Disk1\utility\EncryptPWD
- Run one of the following commands, based on your operating system:
- Windows: encryptpwd.bat
- Linux:./encryptpwd.sh
- Windows: encryptpwd.bat
- Enter your password when you are prompted for it and press Enter to generate an encrypted password.
Copy and paste the encrypted password into the field rsso_password of the options.txt file for your silent installer.
For example, if you run the command in step 2 and the output as described in step 3 is <encrypted password>, enter the following strings in the options.txt file:-J rsso_password=<encrypted password>
Installing TrueSight IT Data Analytics silently
- Log on to the computer on which you want to perform the silent installation.
- Run the following command, as appropriate:
- Windows: setup.exe -silent -DOPTIONS_FILE=pathToOptionsFile
Linux: setup.bin -silent -DOPTIONS_FILE=pathToOptionsFile
In the preceding command syntax, pathToOptionsFile refers to the path including the name of the file into which you want to copy the silent installation properties. If the file name or path includes a space, then enclose the file path in double quotes.
If you are installing on a Linux Platform, to enable TrueSight IT Data Analytics services to start automatically every time that the machine is restarted, you must register the services. To enable automatic restarting of IT Data Analytics services after server reboot, run the utility $BMC_ITDA_HOME/bin/itdaservices.sh with root user credentials.
Silent installation properties
This section provides information about property values listed in the silent installation options file. This file is a text file that defines the type of installation, the components to install, the installation location, and the configuration settings for the components. The installation properties are in the form of a prefix tag followed by a property name and value pair.
Prefix tags
The following table lists the prefix tags that precede the installation properties.
Prefix tags for silent installation properties
Installation properties
The following table lists the installation properties that succeed the prefix tags.
Installation properties
Where to go from here
(Optional) Verify if the installation completed successfully.
Access the product by using the Start menu.
While running the installer, if you did not have the product start services immediately, then manually start the services.
Perform configurations such as enabling security for the product, configuring the email setting, and configurations required before scaling up.
Start data collection immediately after installation, by making the following configurations:
- (Optional) Create Data patterns to define how the data collected must be indexed and displayed.
- Create data collectors to define the type of data to be collected and how it must be collected, and to start the data-collection process.