addstorsys
Use the addstorsys command to add a specific storage system and its volumes that are attached through a z/OS® connection to the copy services management server configuration.
Syntax
Parameters
- -help | -h | -?
- Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
- -conntype zos
- Specifies the type of connection that the storage system uses. Currently, you can specify only zos for a z/OS connection.
- -dev device_id
- Specifies the ID of the DS or ESS storage system that is to be added to the configuration.Tip: Use the lsdevice command to display a list of valid storage system IDs.
Description
- You must have Administrator privileges to run this command.
- You can run this command only from the copy services management server that is installed on a system that is running z/OS.
- You can use this command to add only DS and ESS type storage systems.
If the storage system has been previously added through another connection type, then z/OS is added to the connection types for the storage system.
To add a storage system that is attached through a direct connection, use the adddevice command. To add a storage system that is attached through a hardware-management-console (HMC) connection, use the addmc command.
To change the location of the storage system, use the chlocation command.
Example: Adding an ESS storage system
This example illustrates how to add the storage system with ID ESS:BOX:2105.12345 to the configuration through the z/OS connection.
csmcli> addstorsys -dev ESS:BOX:2105.12345 -conntype zos
The following output is returned:
IWNH1612I The connection ESS:BOX:2105.12345 was successfully added.
Example: Adding a DS8000® storage system
This example illustrates how to add the storage system with ID DS8000:BOX:2107.MV492 to the configuration through the z/OS connection.
csmcli> addstorsys -dev DS8000:BOX:2107.MV492 -conntype zos
The following output is returned:
IWNH1619I The storage device 2107.MV492 at ZOS was successfully added.