This documentation supports the 19.02 version of Remedy with Smart IT.

# Installing Smart IT using silent mode

When you install Smart IT in silent mode, you run the installer from a command line. For other options for installing Remedy with Smart IT (Smart IT), see Performing the Smart IT installation.

## Before you begin

Complete the steps in Preparing for installation of Smart IT.

## To create an options.txt file

Before you can run the installer in silent mode, you must create an options.txt file to identify the options that you want the installer to include in the installation or upgrade. Use one of the following methods to create the options.txt file:

Method

Steps

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

Run an installation on a computer that you want to use as a model for silent installations on other computers.. Add the following option to the command line when you run the installer:

-DGENERATE_OPTIONS_FILE=<OutputOptionsFileName>.txt

Create an options.txt file from an installation log.

1. From an installation log in the Log Viewer, click the tab of the installation run from which you want to generate an options file.
2. Select File > Save As.
3. From the Save As Type list, select Project OptionsFile.
4. Enter a file name, and click OK.

## Example options.txt file for fresh installation of Smart IT

The following example shows an options.txt file that is used to run the installer in silent mode:

# Smart IT installation directory
-J BMC_USER_INSTALL_DIRECTORY=C:\Program Files\BMC Software\Smart_IT
# Set it to true for fresh install only
-J BMC_USE_AR=true
# 64-bit JRE path for Smartit applications
-J BMC_JAVA_JRE_64_BIT_HOME_PATH=C:\Program Files\Java\jre8

# For pre-created DB if you are not using a DB admin account
-J CREATE_NEW_DB=false
-J USE_EXISTING_DB=true
# These values will correspond to the users you specified when pre-creating the database:
-J BMC_MYIT_RDBMS_SCHEMA_SYSTEM_DATA=

# Cluster information
# ONLY FOR FRESH INSTALLATION
-J BMC_MYIT_CLUSTER_MODE=[PRIMARY/SECONDARY]

# RDBMS information
# ONLY FOR FRESH INSTALLATION
-J CREATE_NEW_DB=true
-J USE_EXISTING_DB=false
-J BMC_MYIT_RDBMS_SID_OR_DB_NAME=[SID_OR_DB_NAME]
-J ORACLE_RDBMS_USED=[true/false]
-J MS_SQL_RDBMS_USED=[true/flase]
-J BMC_MYIT_RDBMS_PORT=[1521/1433]
-J BMC_MYIT_RDBMS_SCHEMA_SYSTEM_DATA=Hybrid_System

# AR server information - only for OnPrem installations
# ONLY FOR FRESH INSTALLATION
-J BMC_AR_SERVER_NAME=ITSMhostname
-J BMC_AR_PORT=2222

# Tomcat information - ONLY FOR FRESH INSTALLATION
-J BMC_MYIT_INSTALL_TOMCAT=true
-J BMC_MYIT_JSP_TOMCAT_INSTALL_DIRECTORY=/opt/apache/tomcat8
-J BMC_MYIT_JSP_TOMCAT_HTTP_PORT=9000
-J BMC_IS_TOMCAT_SSL_ON=[true/false]
-J BMC_SSL_KEYSTORE_PATH=/opt/keystore.jks
-J BMC_TOMCAT_SSL_PORT=8443

# Openfire information (DWP makes no use of the feature)
-J SKIP_OPENFIRE_INSTALLATION=true
#-J INSTALL_OPENFIRE_LOCALLY=<true\false>
#-J OPENFIRE_HOST=
#-J OPENFIRE_BOSH_URL=
#-J OPENFIRE_CLIENT_PORT=
#-J OPENFIRE_DB_SCHEMA=
#-J OPENFIRE_DATA_DIR=
#-J OPENFIRE_LOGIN=

## Example options.txt file for Smart IT upgrade

The following example shows an options.txt file that is used when upgrading Smart IT in silent mode (applicable if you are upgrading from any earlier version of 18.05):

-J BMC_USER_INSTALL_DIRECTORY=C:\Program Files\BMC Software\Smart_IT_MyIT
-J BMC_JAVA_JRE_64_BIT_HOME_PATH=C:\Program Files\Java\jre1.8.0_161
-J BMC_MYIT_NEW_CLUSTER=false
-J BMC_MYIT_RDBMS_USER=sa
-J BMC_MYIT_RDBMS_SCHEMA_SYSTEM_DATA=SmartIT_System_SmartIT
-J BMC_MYIT_RDBMS_SCHEMA_BUSINESS_PASSWORD=password

If you are upgrading from 18.05 to 18.08, then the following example is applicable:

-J BMC_USER_INSTALL_DIRECTORY=C:\Program Files\BMC Software\Smart_IT
-J BMC_JAVA_JRE_64_BIT_HOME_PATH=C:\Program Files\Java\jre1.8.0_161
-J BMC_MYIT_NEW_CLUSTER=false
-J BMC_MYIT_RDBMS_PASSWORD=<password>

## To encrypt a password for silent installation

The options file for BMC Remedy AR System must contain the administrator password for the target computer. The Maintenance Tool enables you to create an encrypted password that you can paste into the options file. Perform the following steps:

1. Start the   as explained in the BMC Remedy AR System documentation.
2. Click the Encrypt tab.
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 application system password and the output is DES\:b76c59dbc2e1433c7a9c2f006a2e2429116840dce695aea9, enter the following strings:

# -J BMC_ITSM_PASSWORD=DES\:b76c59dbc2e1433c7a9c2f006a2e2429116840dce695aea9


Note

You can use the -encrypt option to encrypt a password through the command line. For example, enter:

<product>MaintenanceTool.cmd -silent -encrypt -encrypt -password=<password> -confirm_password=<password>

## To run the installer in silent mode

• Run the installer with the -i silent option:
• (Windows) setup.exe -i silent -DOPTIONS_FILE=c:\path\to\options.txt
• (UNIX) ./setup.bin -i silent -DOPTIONS_FILE=/path/to/options.txt

## Where to go from here

Verifying the Smart IT server installation

Submitting... Thank you