Use the DSMSTA SETSTORAGESERVER command to initialize the storage agent and add communication information to the device configuration file and the storage agent options file dsmsta.opt.
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 be in the dsmsta.opt file for the command to work. See Examples.
When you configure the storage agent by using the DSMSTA SETSTORAGESERVER command, use addresses that correspond to the communications method used by the backup-archive client. The backup-archive client supports either IPv4 (COMMMETHOD TCPIP) or IPv6 (COMMMETHOD V6TCPIP), but not both at the same time.
>>-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------------------------------> >--STAKEYDBPW--=--obfuscated_password--SSL--=--YES-------------><
All parameters are required. Allowed abbreviations for the options are shown in uppercase letters.
You must use the same name when you define the storage agent as a server to the Tivoli® Storage Manager server.
You must use the same password when you define the storage agent as a server to the Tivoli Storage Manager server.
dsmsta setstorageserver myname=storagnt mypassword=fun4me
myhladdress=agent.example.com
servername=tsmsrver serverpassword=not4u
hladdress=tsmsrver.example.com lladdress=1502
set staname storagnt
set stapassword xxxxx
set stahladdress agent.example.com
define server tsmsrver serverpassword=xxxxxxxx
hladdress=tsmsrver.example.com lladdress=1502
The passwords (shown as xxxxxxxx) are
encrypted in the file.servername tsmsrver
dsmsta setstorageserver myname=storagnt mypassword=fun4me
myhladdress=agent.example.com
servername=tsmsrver serverpassword=not4u
ssl=yes
stakeydbpw=password
hladdress=tsmsrver.example.com lladdress=1500
ssltcpport=1543