Accessing IBM Spectrum Control server from a remote computer using Command Line Interface

Accessing client components on a remote computer helps you complete storage management tasks from a computer that does not have a IBM Spectrum Control server that is installed on it.

Procedure

To access IBM Spectrum Control server on a remote computer, complete the following steps:

  1. Go to the client_images subdirectory in the IBM Spectrum Control installation directory.
    • On AIX® or Linux® operating systems, here is an example of a subdirectory:
      /opt/IBM/TPC/client_images
    • On Windows operating systems, here is an example of a subdirectory:
      C:\Program Files\IBM\TPC\client_images
  2. To create a client image, run one of the following commands for the operating system of the computer on which you want to access the command-line interface (CLI):
    • On AIX or Linux operating systems, run the following command:
      createClientImage.sh [aix | linux | windows | all]

      When you include the [aix | linux | windows | all] parameters, you can create AIX, Linux, and Windows client images on a computer that is running AIX or Linux operating systems.

    • On Windows operating systems run the following command:
      createClientImage.bat [aix | linux | windows | all]

      When you include the [aix | linux | windows | all] parameters, you can create AIX, Linux, and Windows client images on a computer that is running AIX and Linux or Windows operating systems.

    Tip: Each parameter creates one of the following compressed client image files:
    aix
    Creates a TPC_CLIENT_AIX.tar image.
    linux
    Creates a TPC_CLIENT_LINUX.zip image.
    windows
    Creates a TPC_CLIENT_WIN.zip image.
    all
    Creates all of the client images.
  3. Extract the appropriate compressed file on the remote computer.
    • On AIX operating systems, extract the TPC_CLIENT_AIX.tar file to a folder, for example:
      /opt/IBM/TPCClient
    • On Linux operating systems, extract the TPC_CLIENT_LINUX.zip file to a folder, for example:
      /opt/IBM/TPCClient
    • On Windows operating systems, extract the TPC_CLIENT_WIN.zip file to a folder, for example:
      c:/Program Files/IBM/TPCClient
  4. Ensure that the following directories appear in the folder where you extracted the client image compressed file:
    • cli
    • jre

    The cli folder contains the files to start the IBM Spectrum Control command-line interface and the Replication command-line interface. The jre folder contains other files that are necessary to start the command-line interface.

  5. To start the IBM Spectrum Control command-line interface, run one of the following commands:
    • On AIX or Linux operating systems:
      /opt/IBM/TPCClient/cli/tpctool.sh
    • On Windows operating systems:
      C:\Program Files\IBM\TPCClient\cli\tpctool.bat