Upgrading Storage Resource agents by using a command

You can manually upgrade Storage Resource agents.

About this task

To manually upgrade the Storage Resource agent, complete the following steps:

Procedure

  1. Go to the DVD location of the installation program (by using the Storage Resource Agent image) and go to the bin directory:
    cd DVD_image_location/data/sra/operating_system_name
    Where DVD_image_location is the location of the installation image for the Storage Resource agent.
  2. Run the upgrade command:
    Read syntax diagramSkip visual syntax diagrambin/Agent -upgrade -installLocagent_install_directory
    Read syntax diagramSkip visual syntax diagram -commType Daemon
    Read syntax diagramSkip visual syntax diagram1
    Notes:
    • 1 Parameter when the agent is run as a daemon service.
    The parameters are:
    -installLoc "agent_install_directory"
    Location where the agent is installed. Enclose the directory name in quotation marks, for example, "C:\Program Files\IBM\TPC_SRA\".
    -commType Daemon
    If the agent is run as a daemon service, then this parameter must be specified.
    Here is an example for a daemon-based service by using the default location:
    bin/Agent -upgrade
    -installLoc "/opt/IBM/TPC/"
    -commType Daemon
    Here is an example for a non-daemon service by using a non-default location:
    bin/Agent
    -upgrade -installLoc "C:\Program Files\IBM\TPC_SRA\"
    Tip: If you run the upgrade program outside of the DVD_image_location installation directory, then you must specify the full path.

    If the upgrade fails, see the return codes in Return codes used by Storage Resource agent.