Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments. Click here to view the documentation for the current version.

Installing the Smart IT and BMC MyIT using silent mode

The following topics are provided:

Creating 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.

To create an options.txt file

  1. Run an installation on a computer that you want to use as a model for silent installations on other computers.
  2. 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.

    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 Options File.
    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

Encrypting passwords using the BMC Remedy AR System Maintenance Tool

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.

To encrypt a password for a silent installation

  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>

Running the installer in silent mode

Before you begin

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.

To run the installer in silent mode

  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.
    • 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


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

Comments