![]() |
![]() |
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, which sets 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: storagnt
Password: fun4me
TCP/IP address: agent.tucson.ibm.com
Name: tsmsrver
Password: not4u
TCP/IP address: tsmsrver.tucson.ibm.com
TCP/IP port: 1502
The command is:
dsmsta setstorageserver myname=storagnt mypassword=fun4me myhladdress=agent.tucson.ibm.com servername=tsmsrver serverpassword=not4u hladdress=tsmsrver.tucson.ibm.com lladdress=1502
The command generates the following lines in the device configuration file for the storage agent:
+--------------------------------------------------------------------------------+ |SET STANAME storagnt | |SET STAPASSWORD xxxxxxx | |SET STAHLADDRESS agent.tucson.ibm.com | |DEFINE SERVER tsmsrver serverpassword=xxxxxxxx | | HLADDRESS=tsmsrver.tucson.ibm.com LLADDRESS=1502 | | | +--------------------------------------------------------------------------------+
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 tsmsrver | +--------------------------------------------------------------------------------+