MultiExcerpt named 'space-announcement' was not found
The multiexcerpt named 'space-announcement' was not found. Please check the page name and MultiExcerpt name used in the MultiExcerpt Include macro.

Installing the Smart IT and MyIT using silent mode

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

The following topics are provided:

Before you begin

Complete the steps in Preparing for installation.

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:

#-J ORACLE_RDBMS_USED=<true\false>
#-J MS_SQL_RDBMS_USED=<true\false>
#-J BMC_MYIT_RDBMS_HOST=
#-J BMC_MYIT_RDBMS_SID_OR_DB_NAME=
#-J BMC_MYIT_RDBMS_USER=
#-J BMC_MYIT_RDBMS_PASSWORD=
#-J BMC_MYIT_RDBMS_PORT=
#-J BMC_MYIT_RDBMS_SCHEMA_SYSTEM_DATA=
#-J BMC_MYIT_RDBMS_SCHEMA_BUSINESS_DATA=
#-J BMC_MYIT_RDBMS_SCHEMA_BUSINESS_PASSWORD=
#-J BMC_MYIT_RDBMS_SCHEMA_SYSTEM_PASSWORD=
#-J BMC_USER_INSTALL_DIRECTORY=
#-J BMC_USE_AR=<true\false>
#-J BMC_MYIT_SRM_IMPORT_DEF=
#-J BMC_JAVA_JRE_64_BIT_HOME_PATH=
#-J BMC_AR_ADMIN_USER=
#-J BMC_ITSM_USER=
#-J BMC_AR_USER=
#-J BMC_AR_PASSWORD=
#-J BMC_ITSM_PASSWORD=
#-J BMC_REAL_ITSM_PASSWORD=
#-J BMC_AR_SERVER_NAME=
#-J BMC_ITSM_SERVER_NAME=
#-J BMC_AR_PORT=
#-J BMC_ITSM_PORT=
#-J BMC_MYIT_ITSM_IMPORT_DEF=<true\false>
#-J BMC_IMPORT_MYIT=<true\false>
#-J BMC_OVERWRITE_MYIT=<true\false>
#-J BMC_MYIT_NEW_CLUSTER=<true\false>
#-J BMC_MYIT_EXIST_CLUSTER=<true\false>
#-J BMC_MYIT_UPGRADE_CLUSTER=<true\false>
#-J BMC_MYIT_UPGRADE_NO_CLUSTER=<true\false>
#-J BMC_MYIT_IMPORT_MYIT=<true\false>
#-J BMC_MYIT_INSTALL_TOMCAT=<true\false>
#-J BMC_MYIT_JSP_TOMCAT_HTTP_PORT=
#-J BMC_MYIT_JSP_TOMCAT_INSTALL_DIRECTORY=
#-J BMC_MYIT_NODE_HOST=
#-J BMC_MYIT_NODE_INSTALL=<true\false>
#-J BMC_MYIT_NODE_PORT=
#-J BMC_MYIT_MONGO_INSTALL=<true\false>
#-J BMC_MYIT_MONGO_PORT=
#-J BMC_MYIT_MONGO_DBFOLDER=
#-J BMC_MYIT_MONGO_DATABASE=
#-J SKIP_OPENFIRE_INSTALLATION=<true\false>
#-J INSTALL_OPENFIRE_LOCALLY=<true\false>
#-J OPENFIRE_HOST=
#-J OPENFIRE_BOSH_URL=
#-J OPENFIRE_CLIENT_PORT=
#-J OPENFIRE_DB_SCHEMA=
#-J OPENFIRE_DB_SCHEMA_PASSWORD=
#-J OPENFIRE_DATA_DIR=
#-J OPENFIRE_PASSWORD=
#-J OPENFIRE_LOGIN=

#Leave the following parameters as is
-J ADD_REMOVE_PROGRAMS_DEFAULT_KEY=MYIT
-J BMC_AR_SYSTEM_64_BIT_OR_32_BIT_JRE=64
-J BMC_ENABLE_JAVA_IMPORT=true
-J BMC_ENABLE_JAVA_RIK=true
-J BMC_UTILITY_WORKING_DIRECTORY=C:\Users\ADMINI~1\AppData\Local\Temp\Utilities\rik
-J BMC_MYIT_PORT_FOR_DOWNLOAD=9000
-J BMC_MYIT_XML_PATH=C:\Users\ADMINI~1\AppData\Local\Temp\Utilities\myit.xml
-J BMC_DOWNLOAD_XML_PATH=C:\Users\ADMINI~1\AppData\Local\Temp\Utilities\download.xml
-J BMC_MYIT_SRM_MID_TIER_BASE_URL=
-J USE_EXISTING_DB=true
-J BMC_SEPARATE_MYIT=false

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  BMC Remedy AR System Maintenance Tool  as explained in the BMC Remedy AR System documentation.
  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 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 Smart IT and MyIT installation worksheet 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 Smart IT and MyIT server installation


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

Comments

  1. Phindiwe Moshoele

    I cannot find the SmartIT_MyIT-ini-template.txt  under my utilities folder in my install file, where else can it be stored? or what other method can I use to get the parameters needed for linux installer.

    Mar 28, 2017 11:07
    1. Philomena Dolla vizayam

      You can include the parameters listed in the Example options.txt file section.

      The “BMC_MYIT_MONGO_DBFOLDER” parameter should consist of “BMC_USER_INSTALL_DIRECTORY”+ “/Smart_IT_MyIT/mongodata”

      Example:
      -J BMC_USER_INSTALL_DIRECTORY=/opt/bmc/Smart_IT
      -J BMC_MYIT_MONGO_DBFOLDER=/opt/bmc/Smart_IT/Smart_IT_MyIT/mongodata

       

      Apart from that, common suggestions may apply – pay attention to Linux file separator, it should be slash “/”, check if the chosen ports are open before installing the application.

      Apr 03, 2017 05:46
  2. Philomena Dolla vizayam

    I will check and get back to you. 

    Mar 29, 2017 03:31