installsoftware

The installsoftware command installs software for the storage server.

Note: You can specify the software that was previously downloaded from the IBM® Support Portal. The Support Portal for CSM is available from https://www.ibm.com/support/entry/myportal/product/system_storage/storage_software/storage_infrastructure_management/ibm_copy_services_manager?productContext=332956944
Note: The installsoftware command cannot be run from the Embedded DS CLI window.
Read syntax diagramSkip visual syntax diagram   installsoftware   -type csm   -loc software_package   -certloc certificate_file   -hmc   1   2   all   -dev   storage_image_ID

Parameters

-type
(Required) Specifies the software type of the installation package to be installed. Currently, the only supported type is CSM (IBM Copy Services Manager).
-loc software_package
(Required) Specifies the full path of the specified software installation package to be installed. For example, csm-setup-6.2.0-linux-x86_64.bin.
Note: Ensure that no spaces are included in the path you specify for the location of the software package.
-certloc certificate_location
(Required) Specifies the full path of the certificate file location. For example, C:\Downloads\CSM_Linux\csm-setup-6.2.0-linux-x86_64.bin -certloc.
Note: Ensure that no spaces are included in the path you specify for the location of the certificate file.
-hmc 1 | 2 | all
(Optional) Specifies the primary HMC hmc 1 or secondary HMC hmc 2 where the software is installed. The default is all. For example, C:\Downloads\CSM_Linux\csm-setup-6.2.0-linuxx86_64.bin.crt -hmc 1.
Note: -hmc 1 specifies the primary HMC and -hmc 2 specifies the secondary regardless of how -hmc 1 and -hmc 2 were specified at the dscli startup process.

A dscli connection can succeed even if you inadvertently specify the primary HMC with -hmc 2 and the secondary backup HMC with -hmc 1 at the dscli command startup. In this case, if you specify -hmc 1 with this command, the software is downloaded to the actual primary HMC.

-dev storage_image_ID
(Optional) Specifies the storage image ID. A storage image ID consists of a manufacturer, machine type, and serial number. For example, 2107-75FA120.

Example

Invoking the installsoftware command
dscli> installsoftware -type csm -loc
 C:\Downloads\CSM_Linux\csm-setup-6.2.0-linux-x86_64.bin -certloc
 C:\Downloads\CSM_Linux\csm-setup-6.2.0-linux-x86_64.bin.crt -hmc 1
Output
CMUC00294I installsoftware: Upload file successfully.
CMUC00294I installsoftware: Software CSM is successfully installed on HMC 1.