Results 1 to 8 of 8
Thread: TSM Client Silent Install script
-
09-22-2009, 11:48 AM #1Newcomer
- Join Date
- Jun 2008
- Posts
- 5
- Thanks
- 0
- Thanked 0 Times in 0 Posts
TSM Client Silent Install script
Someone may have already posted something like this but I couldn't find it with a quick search, so here's mine.
This script stops running schedulers, installs tsm and auto registers with the server. It then associates the client node with a random schedule. It has been tested to work with the 5.5 client.
Code:net stop "TSM Client Acceptor" net stop "TSM Client Daemon" net stop "TSM Client Acceptor Daemon" net stop "TSM Client Scheduler" net stop "TSM Scheduler" net use x: /delete net use x: "\\xxxx.com\systemdata\Server Setup\TSM Client - X32" Start /wait msiexec /i "x:\IBM Tivoli Storage Manager Client.msi" RebootYesNo="No" REBOOT="Suppress" ALLUSERS=1 INSTALLDIR="c:\program files\tivoli\tsm" ADDLOCAL="BackupArchiveGUI,BackupArchiveWeb,ApiRuntime,AdministrativeCmd" TRANSFORMS=1033.mst /qn /l*v "c:\client_log.txt" Copy x:\dsm.opt "c:\program files\tivoli\tsm\baclient\" /y c: cd "\program files\tivoli\tsm\baclient" dsmcutil remove /name:"TSM Client Acceptor" dsmcutil remove /name:"TSM Client Daemon" dsmcutil remove /name:"TSM Client Acceptor Daemon" dsmcutil remove /name:"TSM Client Scheduler" dsmcutil remove /name:"TSM Scheduler" dsmadmc -id=xxxxxxx -password=xxxxxxx register node %computername% %computername% dsmcutil inst scheduler /name:"TSM Client Scheduler" /node:%computername% /clientdir:"c:\Program Files\Tivoli\TSM\baclient" /optfile:"c:\program files\tivoli\tsm\baclient\dsm.opt" /password:%computername% /validate:yes /autostart:yes /startnow:yes set /a schednum=%random% set /a schednum=schednum * 6/32768 IF %schednum%==0 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_EARLY_AFTERNOON %computername% & goto :endif IF %schednum%==1 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_EARLY_EVENING %computername% & goto :endif IF %schednum%==2 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_LATE_AFTERNOON %computername% & goto :endif IF %schednum%==3 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_LATE_EVENING %computername% & goto :endif IF %schednum%==4 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_LATE_NIGHT %computername% & goto :endif IF %schednum%==5 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_NIGHT %computername% & goto :endif goto :endif :endif
-
10-04-2009, 09:50 PM #2Member
- Join Date
- Apr 2006
- Posts
- 69
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Do you still have to manually edit nodename in dsm.opt?
----Trace
www.thesystemsengineer.com
-
10-05-2009, 08:08 AM #3Newcomer
- Join Date
- Jun 2008
- Posts
- 5
- Thanks
- 0
- Thanked 0 Times in 0 Posts
The client uses the local hostname as the node name and that works for me so I don't set that anywhere, except when I'm dealing with TDP's.
-
10-12-2009, 03:55 PM #4Senior Member
- Join Date
- Nov 2002
- Posts
- 511
- Thanks
- 1
- Thanked 1 Time in 1 Post
TSM Client Silent Install
Thanks keteran
good job.
/daniel
-
02-09-2010, 03:48 PM #5
First, Keteran I thank you for this very useful script!
Secondly, I would like you explain to me this part:
set /a schednum=%random%
set /a schednum=schednum * 6/32768
IF %schednum%==0 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_EARLY_AFTERNOON %computername% & goto :endif
IF %schednum%==1 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_EARLY_EVENING %computername% & goto :endif
IF %schednum%==2 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_LATE_AFTERNOON %computername% & goto :endif
IF %schednum%==3 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_LATE_EVENING %computername% & goto :endif
IF %schednum%==4 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_LATE_NIGHT %computername% & goto :endif
IF %schednum%==5 dsmadmc -id=xxxxxxxx -password=xxxxxxxx define assoc STANDARD WIN_NIGHT %computername% & goto :endif
goto :endif
:endif
I understand this is to associate TSM Client with a schedule but I don't understand how it works : %schednum% etc....Christophe Chirat - TSM Consultant for LGS Inc
Tivoli Storage Manager 6.2 "Implementation" Certified
ITIL Certified
LinkedIn
-
02-10-2010, 10:27 AM #6
-
02-10-2010, 12:16 PM #7Member
- Join Date
- Apr 2006
- Posts
- 69
- Thanks
- 0
- Thanked 0 Times in 0 Posts
----Trace
www.thesystemsengineer.com
-
02-12-2010, 01:26 PM #8Newcomer
- Join Date
- Jun 2008
- Posts
- 5
- Thanks
- 0
- Thanked 0 Times in 0 Posts
I copy a dsm.opt file that I use across most of my windows servers during the install process
Copy x:\dsm.opt "c:\program files\tivoli\tsm\baclient\" /y
Since the client by default uses the computername as the nodename, you dont actually have to add the NODENAME value to the dsm.opt file.
Similar Threads
-
TSM client install script
By nimrodman in forum Administrative ClientReplies: 2Last Post: 08-21-2009, 04:50 AM -
Automate Silent Install
By bheisser in forum TSM ServerReplies: 2Last Post: 04-12-2004, 04:32 PM -
TSM GUI : TSM SERVER NOT FOUND AFTER SILENT INSTALL
By uytterm in forum TSM ServerReplies: 0Last Post: 10-05-2003, 07:55 AM -
Silent install of Image Backup/Open File support.
By rosmo01 in forum TSM ServerReplies: 0Last Post: 09-29-2003, 10:29 PM -
How to install LVSA unattended/silent?
By rosmo01 in forum TSM ServerReplies: 0Last Post: 09-15-2003, 02:18 PM


Reply With Quote
