Installing or upgrading Data Studio web console silently by using a response file

A silent installation or upgrade runs without displaying an interface or prompting you for input. Silent installations and upgrades can simplify the process of installing or upgrading the product on multiple computers.

Before you begin

About this task

To install or upgrade Data Studio web console silently, use a response file like the following example for Windows:
#
# Installation parameters
#
IBM_IM.INSTALL_DIR = C:\\Program Files\\IBM\\Installation Manager\\eclipse
IBM_IM.SHARED_DIR = C:\\Program Files\\IBM\\IBMIMShared
PRODUCT.INSTALL_DIR = C:\\Program Files\\IBM\\DSWC4.1.1

#
# Configuration parameters
#
WEB_CONSOLE.USER_NAME = admin
WEB_CONSOLE.USER_PASSWORD = password
WEB_CONSOLE.ENABLE_HTTP = TRUE
WEB_CONSOLE.HTTP_PORT = 11086
WEB_CONSOLE.ENABLE_HTTPS = FALSE
WEB_CONSOLE.HTTPS_PORT = 11087
WEB_CONSOLE.CONTROL_PORT = 11088
WEB_CONSOLE.STOP_SERVER = TRUE
Or use a response file like the following example for Linux and UNIX:
#
# Installation parameters
#
IBM_IM.INSTALL_DIR = //opt//IBM//InstallationManager//eclipse
IBM_IM.SHARED_DIR = //opt//IBM//IBMIMShared
PRODUCT.INSTALL_DIR = //opt//IBM//DSWC4.1.1

#
# Configuration parameters
#
WEB_CONSOLE.USER_NAME = admin
WEB_CONSOLE.USER_PASSWORD = password
WEB_CONSOLE.ENABLE_HTTP = TRUE
WEB_CONSOLE.HTTP_PORT = 11086
WEB_CONSOLE.ENABLE_HTTPS = FALSE
WEB_CONSOLE.HTTPS_PORT = 11087
WEB_CONSOLE.CONTROL_PORT = 11088
WEB_CONSOLE.STOP_SERVER = TRUE
Important: You must specify a directory that does not yet exist for the PRODUCT.INSTALL_DIR parameter.
See Response files for more information on using response files.

To upgrade Data Studio web console, install a new version of Data Studio web console into a new directory, then copy the configuration files from the old instance to the new instance.

Procedure

To install or upgrade Data Studio web console silently by using a response file:

  1. Run the installer in silent mode. Run the following command from the directory where you extracted the installation image:
    install_DSWC -silent -acceptLicense -input response_file -log log_file
    Data Studio web console is installed.
  2. Optional: To see the installation details, you can check the installation log files in the following directories:
    • On Linux and UNIX:
      • DSWC_installation_dir/logs/
      • /var/ibm/InstallationManager/logs/
    • On Windows:
      • DSWC_installation_dir\logs\
      • C:\ProgramData\IBM\Installation Manager\logs\
  3. Configure Data Studio web console.
    • If you are installing a new instance of Data Studio web console, run the Data Studio web console configuration tool in silent mode by running the following command from the bin subdirectory of the directory where you installed Data Studio web console:
      config_DSWC -silent -input response_file -log log_file
    • If you are upgrading Data Studio web console, complete the following steps:
      1. Copy the configuration files from the Old_DSWC_installation_dir/Config directory of the old version of Data Studio web console to the New_DSWC_installation_dir/Config directory of the new version of the product.
      2. Stop the old version of the server:
        • On Linux and UNIX: Old_DSWC_installation_dir/bin/stop.sh
        • On Windows: Old_DSWC_installation_dir\bin\stop.bat
      3. If you are upgrading Data Studio web console as an administrator user on Windows, install Data Studio web console as a service: New_DSWC_installation_dir\bin\installservice.bat
  4. If Data Studio web console is not already running, start the server.
    • On Linux and UNIX: DSWC_installation_dir/bin/start.sh
    • On Windows, as a non-administrator user: DSWC_installation_dir\bin\start.bat
    • On Windows, as an administrator user: DSWC_installation_dir\bin\startservice.bat

What to do next

Log in to the web console by using the default administrative user that you created when you installed the product.

You can silently unconfigure Data Studio web console with the following command:
unconfig_DSWC -silent -input response_file -log log_file
You can silently uninstall Data Studio web console by changing to the IM_installation_dir/eclipse/tools directory in the directory where Installation Manager is installed and running the following command:
imcl -input DSWC_installation_dir/uninstall/uninstall.xml -log log_file

Feedback