Purpose
Use this utility on the client system where the storage agent has been installed. The utility adds communication information to the device configuration file and the dsmsta.opt file for the storage agent. See Install and Configure the Storage Agent for more information on when to use this command.
This utility does not remove any previous entries in the files. It appends information to the existing files. The option devconfig, to set a name for the device configuration file, must exist in the dsmsta.opt file for the command to work. See the example for details on the information that the command adds.
Format
>>-DSMSTA SETSTORAGESERVER----MYName--=--storage_agent_name-----> >-----MYPAssword--=--storage_agent_password---------------------> >-----MYHLAddress--=--storage_agent_hladdress-------------------> >-----SERVERName--=--server_name--------------------------------> >-----SERVERPAssword--=--server_password------------------------> >-----HLAddress--=--server_tcpip_address------------------------> >-----LLAddress--=--server_tcpip_port--------------------------><
Parameters
All parameters are required.
Issue the DSMSTA SETSTORAGESERVER command with the following information:
Name: IRIS
Password: jonquil
TCP/IP address: garden.tucson.tivoli.com
Name: GARDEN
Password: botanical
TCP/IP address: arbor.tucson.ibm.com
TCP/IP port: 1500
The command is:
dsmsta setstorageserver myname=iris mypassword=jonquil myhladdress=arbor.tucson.tivoli.com servername=garden serverpassword=botanical hladdress=garden.tucson.tivoli.com lladdress=1500
The command generates the following lines in the device configuration file for the storage agent:
+--------------------------------------------------------------------------------+ |SET STANAME iris | |SET STAPASSWORD xxxxxxx | |SET STAHLADDRESS arbor.tucson.tivoli.com | |DEFINE SERVER garden serverpassword=xxxxxxxx | | HLADDRESS=garden.tucson.tivoli.com LLADDRESS=1500 | | | +--------------------------------------------------------------------------------+
The passwords (shown here as xxxxxxxx) are encrypted in the file.
The command also generates the following line in the dsmsta.opt file for the storage agent:
+--------------------------------------------------------------------------------+ |SERVERNAME garden | +--------------------------------------------------------------------------------+