This documentation supports the 18.02 version of BMC Digital Workplace. To view the latest version, select the version from the Product version menu.

# Installing BMC Digital Workplace and Smart IT using silent mode

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

## Before you begin

Complete the steps in Preparing for installation of BMC Digital Workplace and 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

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

# General parameters
-J BMC_USER_INSTALL_DIRECTORY=/opt/bmc/Smart_IT
-J BMC_JAVA_JRE_64_BIT_HOME_PATH=

# RoD installations MyIT Only = true (Without integration with Remedy)
# Hybrid installation BMC_SEPARATE_MYIT=true
# ONLY FOR FRESH INSTALLATION
-J BMC_MYIT_ONLY=false
-J BMC_SEPARATE_MYIT=false

# Set property to "false" if ADVANCED mode is required.
-J BASE_RUN_MODE_USED=true

# 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_USER=[system/sa]
-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

# Social information - ONLY FOR FRESH INSTALLATION
-J BMC_MYIT_NODE_INSTALL=true
-J BMC_MYIT_MONGO_INSTALL=[true/false]
-J BMC_MYIT_NODE_HOST=localhost
-J BMC_MYIT_NODE_PORT=9001
-J BMC_MYIT_MONGO_HOST=MONGO DB HOST
-J BMC_MYIT_MONGO_PORT=27017
-J BMC_MYIT_MONGO_DATABASE=social
-J BMC_MYIT_MONGO_DBFOLDER=/opt/bmc/Smart_IT/Smart_IT_MyIT/mongodata
-J BMC_MYIT_MONGO_USE_AUTH=true/false
-J BMC_MYIT_MONGO_USER=mongodata

# 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=

## 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

Before running the silent installer, you must create an Options.txt file. An example SmartIT_MyIT-ini-template.txt file contains all of the options you can place in the Options.txt file. You can find the example file in the utility folder of the BMC Remedy AR System installer files.

Perform the following steps:

1. Create an options.txt file that contains the options for the installer:
• Copy and paste options from the SmartIT_MyIT-ini-template.txt file (usually found in the utility folder) into an options.txt file for the installation that you want to run.
• Use an options.txt file generated in an earlier installation.
• Create an options.txt file from an example options.txt file.
2. Using the BMC Digital Workplace and Smart IT installation worksheets as a guide, edit the options accordingly, ensuring that you include the appropriate option:

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

• Remove the comment (#) markers.Make sure that the options.txt file includes the following line:
-J BMC_SEPARATE_MYIT=false
• In UNIX environments, ensure that no Ctrl+M characters appear in the options.txt file.
3. 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 BMC Digital Workplace and Smart IT server installation

Submitting... Thank you