Create a Response File

The response file provides installation parameters for the silent-mode installer. Use the Response File Build Utility to create the file.

Start the Response File Build Utility

The Response File Build Utility creates the response file that provides installation values used by the silent-mode installer.

  1. On the STA server, open a terminal session. Log in as the Oracle user.

  2. Verify that the Oracle user has write privileges to the directory where you want to save the response file. For example:

    $ ls -ld /home/oracle/ResponseFiles/
    drwxr-xr-x 2 oracle oinstall 4096 Sep 16  2015 /home/oracle/ResponseFiles/
    
  3. If you are creating a new response file, determine whether the directory includes any response files you want to keep and save them as necessary. Existing files with the default response file name will be overwritten by the response file build utility.

    The default response file names are as follows.

    • silentInstall.rsp—Silent installation response file

    • silentDeinstall.rsp—Silent deinstallation response file

    For example:

    $ cd /home/oracle/ResponseFiles
    $ ls -l *.rsp
    -rw-r--r--   1 oracle   oracle           2836 Jun 30 16:49 silentInstall.rsp
    
    $ mv silentInstall.rsp silentInstall_save.rsp
    
  4. Change to the directory where you have downloaded the STA installer files. For example:

    $ cd /Installers
    
  5. Launch the response file build utility. For example:

    $ java -jar silentInstallUtility_2.3.1.jar
    

    The utility starts and the Main Menu appears.

      1) Create a new response file (with system prompt).
      2) Create an empty response file.
      3) Enter and encrypt passwords.
      4) Exit.
    
  6. Select an option:

Create a Response File With Values

Create a response file containing all information needed to run the silent-mode installer.

  1. Complete the steps in Start the Response File Build Utility, selecting 1 in the main menu of the utility.

  2. Select the type of response file to create.

      1) Silent Install
      2) Silent Deinstall
    
  3. Follow the prompts to input the response file values

    See Response File Parameters for descriptions of the input.

    Note:

    The response file build utility does not verify your entries. If the values do not meet the requirements, the silent-mode may fail.
  4. Once you have entered all the required information, the utility creates the response file and displays its contents. The utility encrypts all passwords values.

  5. You can use the response file right away with the silent-mode installer or deinstaller.

    See Run Silent-Mode to Install STA or Run Silent-Mode to Deinstall STA.

Create an Empty Response File and Manually Add Values

Create a response file with placeholders for required values. Then, add the values to the response file before running the installer.

  1. Complete the steps in Start the Response File Build Utility, selecting 2 in the main menu of the utility.

  2. Select the type of response file to create.

      1) Silent Install
      2) Silent Deinstall
    
  3. When prompted, specify an absolute path for the directory for saving the response files or press Enter to use the default.

  4. Use a text editor to edit the response file and provide values for all non-password parameters. See Response File Parameters. Entries must meet the parameter requirements or the silent-mode will fail.

    IMPORTANT: Do not add or modify any passwords. You must use the utility to create encrypted password values.

  5. Proceed to Add Encrypted Passwords to a Response File to add the passwords to the response file.

Add Encrypted Passwords to a Response File

Add encrypted passwords to a previously used response file or on an empty file. Once a response file has been used, you cannot reuse the file until you reenter the encrypted passwords with the utility.

  1. Complete the steps in Start the Response File Build Utility, selecting 3 in the main menu of the utility.

  2. Select the type of response file to update.

      1) Silent Install
      2) Silent Deinstall
    
  3. Enter the absolute path of the response file you want to update, including the file name.

    The utility prompts for your input. The prompts vary based on the type of response file you have selected.

  4. Respond to each prompt to enter the password parameters. The values are not shown on screen.

    The utility adds the encrypted passwords to the response file and displays the file contents.

  5. Exit the utility. Use the response file with the silent-mode installer or deinstaller.

    See Run Silent-Mode to Install STA or Run Silent-Mode to Deinstall STA.

Response File Parameters

The response file parameters are used by the silent-mode installer to input configuration values.

Table B-1 Response File Reference

Response File Build Utility Prompt Parameter Description

Enter location where STA will be installed (STORAGE_HOME)

STORAGE_HOME

Absolute path where STA will be installed. The Oracle user and group must have the following permissions:

  • If the directory already exists, they must have full permissions to it.

  • If the directory does not exist, they must have full permissions to the parent directory, so the STA installer can create the Oracle Storage Home directory.

Enter the System Root password

ROOT_ACCESS_PASSWORD

Password for the existing system root user.

Enter location for Database Data directory

DBDATA_LOC

Absolute path to the directory where the STA database will be located.

Enter location for Database Backup directory

DBBACKUP_LOC

Absolute path to the directory where the STA database backups will be located. This cannot be the same as the database data location.

Enter Weblogic Administrator Username

WEBLOGIC_ADMIN_NAME

User for logging into the WebLogic administration console.

Enter Weblogic Administrator Password

WEBLOGIC_ADMIN_PASSWORD

Password for WebLogic user. Modify with response file build utility only.

Enter STA Administrator Username

STAGUI_ADMIN_NAME

User for logging into the STA user interface.

Enter STA Administrator Password

STAGUI_ADMIN_PASSWORD

Password for STA Admin user. Modify with response file build utility only.

Enter STA Database Root User Password

MYSQL_ROOT_PASSWORD

Password for the account used internally by the STA application to create the database. The username is automatically set to root. Modify with response file build utility only.

Enter STA Database Application Username

MYSQL_APP_NAME

MySQL account used internally by the STA application to connect to and update the STA database.

Enter STA Database Application Password

MYSQL_APP_PASSWORD

Password for database application user. Modify with response file build utility only.

Enter STA Database Reports Username

MYSQL_RPTS_NAME

MySQL account used by non-STA and third-party applications to connect to the STA database.

Enter STA Database Reports Password

MYSQL_RPTS_PASSWORD

Password for Database Reports user. Modify with response file build utility only.

Enter STA Database Administrator Username

MYSQL_DBA_NAME

MySQL account used internally by STA utilities to connect to the STA database and configure and run scheduled backups.

Enter STA Database Administrator Password

MYSQL_DBA_PASSWORD

Password for the Database Administrator user. Modify with response file build utility only.

Enter WebLogic Administration Console HTTP Port

Enter WebLogic Administration Console HTTPS Port

ADMINSERVER_HTTP_PORT

ADMIFNSERVER_HTTPS_PORT

See Ports Configured During STA Installation for typical values used.

Enter staEngine HTTP port

Enter staEngine HTTPS port

STAENGINE_HTTP_PORT

STAENGINE_HTTPS_PORT

See Ports Configured During STA Installation for typical values used.

Enter staAdapter HTTP port

Enter staAdapter HTTPS port

STAADAPTER_HTTP_PORT

STAADAPTER_HTTPS_PORT

See Ports Configured During STA Installation for typical values used.

Enter staUi HTTP port

Enter staUi HTTPS port

STAUI_HTTP_PORT

STAUI_HTTPS_PORT

See Ports Configured During STA Installation for typical values used.

Enter SNMP Trap Redirection Port

SNMPTRAP_PORT

In STA 2.3.0+, this is the internal port where SNMP notifications (traps) are redirected. See Ports Configured During STA Installation for typical values used.

Enter RDA domain name

DOMAIN_NAME

Your site's fully qualified domain name. For example, us.example.com..

None

KEYFILE_LOC

Location of password encryption key file.

Do not modify; automatically generated by response file build utility.

None

ORACLE_HOME

Subdirectory within Storage Home where STA will be installed.

Do not modify; automatically generated by response file build utility.


Sample Response Files

Sample response files can help give you an idea of how to configure your response file.

Example B-1 Sample Install Response File With Values

[ENGINE]

# DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0

[GENERIC]

# Location of the Key file used to secure the passwords.
KEYFILE_LOC=/Installers/.sk1443551626070

# The oracle home location. This can be an existing or new Oracle Home. The directory should end with StorageTek_Tape_Analytics
ORACLE_HOME=/Oracle/StorageTek_Tape_Analytics

# The Storage Home location. This can be an existing or new Storage Home.
STORAGE_HOME=/Oracle

# System Root Password. This needs to be encrypted using the SilentInstallUtility
ROOT ACCESS PASSWORD=zoz33BM5C1U92DHZLxTjVw==

# Confirm System Root Password. This needs to be encrypted using the SilentInstallUtility
ROOT ACCESS CONFIRM PASSWORD=zoz33BM5C1U92DHZLxTjVw==

# Directory for DB Data
DBDATA LOC=

# Directory for DB Backup
DBBACKUP LOC=

# Weblogic Administrator Username
WEBLOGIC ADMIN NAME=

# Weblogic Administrator Password. This needs to be encrypted using the SilentInstallUtility
WEBLOGIC ADMIN PASSWORD=Ys+zaD3ZY44wwX3cwfbzTw==

# Confirm Weblogic Administrator password. This needs to be encrypted using the SilentInstallUtility
WEBLOGIC ADMIN CONFIRMPASSWORD=Ys+zaD3ZY44wwX3cwfbzTw==

# STA GUI Administrator username
STAGUI ADMIN NAME=

# STA GUI Administrator password. This needs to be encrypted using the SilentInstallUtility
STAGUI ADMIN PASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# Confirm STA GUI Administrator password. This needs to be encrypted using the SilentInstallUtility
STAGUI ADMIN CONFIRMPASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# Enter STA Database Root User password. This needs to be encrypted using the SilentInstallUtility
MYSQL ROOT PASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# Confirm STA Database Root User password. This needs to be encrypted using the SilentInstallUtility
MYSQL ROOT CONFIRM PASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# STA Database Application User
MYSQL APP NAME=

# STA Database Application Password
MYSQL APP PASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# Confirm STA Database Application Password
MYSQL APP CONFIRMPASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# STA Database Reports user
MYSQL RPTS NAME=

# STA Database Reports Password
MYSQL RPTS PASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# Confirm STA Database Reports Password
MYSQL RPTS CONFIRMPASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# STA Database Administrator
MYSQL DBA NAME=

# STA Database Administrator password
MYSQL DBA PASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# Confirm STA Database Administrator password
MYSQL DBA CONFIRMPASSWORD=6wlTC2NyshF9T0gJ+pwLUQ==

# WebLogic Administration Console HTTP Port
ADMINSERVER HTTP PORT=

# WebLogic Administration Console HTTPS Port
ADMINSERVER HTTPS PORT=

# STA Engine HTTP Port
STAENGINE HTTP PORT=

# STA Engine HTTPS port
STAENGINE HTTPS PORT=

# STA Adapter HTTP Port
STAADAPTER HTTP PORT=

# STA Adapter HTTPS Port
STAADAPTER HTTPS PORT=

# STA UI HTTP Port
STAUI HTTP PORT=

# STA UI HTTPS Port
STAUI HTTPS PORT=

#SNMPTrap Port
SNMPTRAP PORT=

# RDA Domain Name
DOMAIN NAME=

Example B-2 Sample Deinstall Response File With Values

[ENGINE]

# DO NOT CHANGE THIS.
Response File Version=1.0.0.0.0

[GENERIC]

# Location of the Key file used to secure the passwords.
KEYFILE_LOC=/Installers/.sk1589225815277

# This will be blank when there is nothing to be de-installed in distribution level
SELECTED_DISTRIBUTION=STA_Install~2.3.1.0.0

# System Root Password. This needs to be encrypted using the SilentInstallUtility
DEINSTALL ROOT ACCESS PASSWORD=S8+aD4n7qOwOKOUTApcKZg==

# Confirm System Root Password. This needs to be encrypted using the SilentInstallUtility
DDEINSTALL ROOT ACCESS CONFIRM PASSWORD=S8+aD4n7qOwOKOUTApcKZg==