Dsm.opt

Bharanij

ADSM.ORG Member
Joined
Jun 18, 2016
Messages
159
Reaction score
2
Points
0
hi guys,

can we define two servername in single dsm.opt ?

like
#cat dsm.opt

SErvername TSMSERVER


Servername TSMHANA
 
Yes, you can have multiple "servername" in the dsm.opt file.
To use the settings for Servername TSMHANA, would need to use the SErvername parameter.
ie: dsmc sched -SE=TSMHANA

Other option.
Can have multiple dsm.opt files.
ie:
dsm.opt
SErvername TSMSERVER

dsm2.opt
Servername TSMHANA

Now you have two options to access the settings for
Servername TSMHANA.

dsmc sched -opt=/path/to/the/dsm2.opt
dsmc sched -SE=TSMHANA.



Good Luck,
Sias
 
i did first option and its working thank-you wil try 2nd option next time
 
If you are using a *nix box and need to have two independent schedulers calling your two different dsm.opt's or stanza's you will need to set the DSM_CONFIG environment variable for each opt file.
 
If you are using a *nix box and need to have two independent schedulers calling your two different dsm.opt's or stanza's you will need to set the DSM_CONFIG environment variable for each opt file.
I haved done that too
 
:)
Wasn't sure, just wanted to make you aware of that env variable.
Take care.
 
Back
Top