Installing the DS CLI using the unattended (silent) mode

Complete this task to install the DS CLI using the unattended (silent) mode.

Before you begin

Consider the following before you install the DS CLI:
  • You must have installed a version of Java™ 8 or higher on your system in a standard directory. The DS CLI installer checks the standard directories to determine whether a version of Java 8 or higher exists on your system. If this version is not found in the standard directories, the installation fails. If the installation fails because the correct version of Java is not found, see Correcting the Java Virtual Machine Not Found Error
  • If the DS CLI was installed on your host machine in the past, ensure that you end any active sessions of the DS CLI before you run the DS CLI installation CD.
  • Silent mode installation on OS/400® and Novell NetWare systems is not supported.

About this task

Using the unattended (silent) mode of installation, you can install the DS CLI from the command line using default selections without prompts or feedback. You can create a configuration file and use a text editor to change the default installation selections.

Before you can use the DS CLI, some operating systems require that you restart your system after the installation is complete. Or, you might be required to open a new command prompt window to start a DS CLI session.
Note: After you install the new version of the DS CLI, your old DS CLI sessions might be unusable.

Complete the following steps to install the DS CLI using the unattended (silent) mode:

Procedure

  1. Log on to your system as an administrator.
  2. Insert the DS CLI installation CD into the CD drive.
  3. Open a command prompt and navigate to the location of the dsclisetup file on the DS CLI CD. You can find the setup file by navigating to IMAGES\HMC\Disk1\InstData, and then selecting your platform to find the appropriate setup file. For example, in Windows the path would be IMAGES\HMC\Disk1\InstData\Windows\NoVM\dsclisetup.exe.
  4. Issue the following command at the command prompt: dsclisetup.exe -i silent. Press the Enter key on your keyboard to start the installation process in unattended (silent) mode.
    The silent installation process applies all the default options to your installation. If you want to modify the default options, go to the next step.
    Note: Initially the DS CLI installer checks your standard directories for the correct version of Java. If the correct version of Java is not found, you receive the following message:
    • If you are using Windows, the following message is displayed:
      LaunchAnywhere Error: Could not find a valid Java virtual 
      machine to load.
      
      You may need to reinstall a supported Java virtual machine.
    • If you are using UNIX or Linux, the following message is displayed:
      No Java virtual machine could be found from your PATH
      environment variable.  You must install a VM prior to
      running this program.

    If you receive this message, see Correcting the Java Virtual Machine Not Found Error.

  5. Optionally, you can generate a configuration file in a non-silent mode, then use this file in subsequent silent installs. For example:
    1. Execute the following command to install a sample instance of dscli. dsclisetup.exe -r "c:\install.properties" The resulting file, install.properties, will contain all of the install settings.
    2. Modify the settings in install.properties if needed.
    3. You can use this generated configuration file in silent installs with the following command: dsclisetup.exe -i silent -f "c:\install.properties"