TSM - Configure Tivoli Storage Manager if dsm.opt is missing - Windows
Log In or Register to download the BES file, and more.

0 Votes

Collections (part of 1 collection)

Tivoli Storage Manager (TSM)

Versioning - This is the latest version.

1TSM - Configure Tivoli Storage Manager if dsm.opt is missing - Windows12/4/2012 9:44:05 AM
2TSM - Configure Tivoli Storage Manager if dsm.opt is missing - Windows12/7/2012 8:34:29 AM
3TSM - Configure Tivoli Storage Manager if dsm.opt is missing - Windows12/7/2012 8:37:01 AM


Property Details

ID811
TitleTSM - Configure Tivoli Storage Manager if dsm.opt is missing - Windows
DomainBESC
CategoryConfiguration & Setup
Download Size0
SourceInternal
Source IDjgstew
Source Release Date11/27/2012 12:00:00 AM
KeywordsTSM, Backup
Added by on 12/7/2012 8:37:01 AM
Last Modified by on 12/7/2012 8:37:01 AM
Counters 7926 Views / 40 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

isWindows (Relevance 1172)
Used in 1146 fixlets and 539 analyses   * Results in a true/false
Show indented relevance
windows of operating system
Used in 3 fixlets   * Results in a true/false
Show indented relevance
exists key whose("IBM Tivoli Storage Manager Client" = value "DisplayName" of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry
Used in 3 fixlets   * Results in a true/false
Show indented relevance
exists folder "C:\Program Files\Tivoli\TSM\baclient"
Used in 3 fixlets   * Results in a true/false
Show indented relevance
exists file "C:\Program Files\Tivoli\TSM\baclient\dsmcutil.exe"
Used in 3 fixlets   * Results in a true/false
Show indented relevance
exists file "C:\Program Files\Tivoli\TSM\baclient\dsmc.exe"
Used in 3 fixlets   * Results in a true/false
Show indented relevance
not exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt"

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
parameter "TSMserver" = "www.domain.tld"
parameter "NodeSuffix" = ""
parameter "RandomPassword" = {(sha1 of (computer name & (concatenation "; " of (mac addresses of adapters of network as string)) & now as string) as string)}
delete __createfile
delete dsm.opt
createfile until END_OF_CREATE_FILE
NODENAME {computer name}{parameter "NodeSuffix"}
PASSWORDACCESS GENERATE
TCPSERVERADDRESS {parameter "TSMserver" of action}
BACKUPREGISTRY NO
EXCLUDE "C:\…\*"
INCLUDE "C:\Users\…\*"
ERRORLOGRETENTION 30 D
SCHEDLOGRETENTION 15 D
DOMAIN "\\{computer name}\c$"
END_OF_CREATE_FILE
move __createfile dsm.opt
delete "C:\Program Files\Tivoli\TSM\baclient\dsm.opt"
copy dsm.opt "C:\Program Files\Tivoli\TSM\baclient\dsm.opt"
//waithidden "C:\Program Files\Tivoli\TSM\baclient\dsmc.exe" set password changepass {parameter "RandomPassword"}
delete __createfile
delete dsmc_setup.bat
createfile until END_OF_CREATE_FILE2
c:
cd\
cd "%programfiles%\tivoli\tsm\baclient"
dsmc set password changepass {parameter "RandomPassword"}
END_OF_CREATE_FILE2
move __createfile dsmc_setup.bat
waithidden dsmc_setup.bat
waithidden "C:\Program Files\Tivoli\TSM\baclient\dsmcutil.exe" install scheduler /name:"TSM Scheduler Service" /password:{parameter "RandomPassword"} /node:{computer name}{parameter "NodeSuffix"} /autostart:yes /clientdir:"C:\Program Files\Tivoli\TSM\baclient" /optfile:"C:\Program Files\Tivoli\TSM\baclient\dsm.opt"
waithidden "C:\Program Files\Tivoli\TSM\baclient\dsmcutil.exe" install cad /name:"TSM Acceptor Service" /node:{computer name}{parameter "NodeSuffix"} /password:{parameter "RandomPassword"} /autostart:yes /clientdir:"C:\Program Files\Tivoli\TSM\baclient" /optfile:"C:\Program Files\Tivoli\TSM\baclient\dsm.opt"
waithidden cmd /c net start "TSM Scheduler Service"
Success Criteria

This action will be considered successful when the following relevance clause evaluates to false:

 
Used in 1 fixlet and 1 analsis   * Results in a true/false
Show indented relevance
(not exists file "C:\Program Files\Tivoli\TSM\baclient\dsm.opt") OR (not exists service whose("TSM Scheduler Service" = display name of it AND "Running" = state of it))

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!