TSM - Tivoli Storage Manager - Install & Update - Windows
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is the latest version.

1TSM - Tivoli Storage Manager - Install & Update - Windows12/4/2012 9:30:21 AM
2TSM - Tivoli Storage Manager - Install & Update - Windows9/23/2013 2:07:52 PM


Property Details

ID2608
StatusAlpha - Code that was just developed
TitleTSM - Tivoli Storage Manager - Install & Update - Windows
DomainBESC
CategoryInstall
Download Size411530927
SourceInternal
Source IDjgstew
Source Release Date12/3/2012 12:00:00 AM
KeywordsTSM Tivoli Storage Manager Install
Is TaskTrue
Added by on 9/23/2013 2:07:52 PM
Last Modified by on 9/23/2013 2:07:52 PM
Counters 19244 Views / 70 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

Used in 29 fixlets   * Results in a true/false
Show indented relevance
exists file "msiexec.exe" whose (version of it >= "3.1") of system folder
Used in 2 fixlets   * Results in a true/false
Show indented relevance
exists key whose (value "DisplayName" of it as string contains "Microsoft Visual C++ 2010" AND (it >= "10.0.40219" as version) of (value "DisplayVersion" of it as string as version)) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of x32 registry
Windows Only (Relevance 2997197)
Used in 6452 fixlets and 32 analyses   * Results in a true/false
Show indented relevance
/* Windows Only */ windows of operating system
Used in 158 fixlets and 17 analyses   * Results in a true/false
Show indented relevance
/* Windows XP or Higher */ version of operating system >= "5.1"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
exists key whose (value "DisplayName" of it as string contains "Microsoft Visual C++ 2010" AND (it >= "10.0.40219" as version) of (value "DisplayVersion" of it as string as version)) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry
Used in 1 fixlet   * Results in a true/false
Show indented relevance
not exists key whose("IBM Tivoli Storage Manager Client" = value "DisplayName" of it AND value "DisplayVersion" of it as string as version >= "6.4.1") of keys "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" of native registry

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// download from http://www-01.ibm.com/support/docview.wss?uid=swg21239415

// Using a prefetch block to avoid downloading both 32bit & 64bit versions when only one is needed.
begin prefetch block
    add prefetch item name=7za920.zip sha1=9ce9ce89ebc070fea5d679936f21f9dde25faae0 size=384846 url=http://softlayer-dal.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
    add prefetch item name=unzip.exe sha1=e1652b058195db3f5f754b7ab430652ae04a50b8 size=167936 url=http://software.bigfix.com/download/redist/unzip-5.52.exe

if {x64 of operating system}
    add prefetch item name=TIV-TSMBAC-WinX64.exe sha1=611d28073c35feb95ffc0adc2864ccfb8c0dea11 size=289645312 url=http://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r4/Windows/x64/v641/6.4.1.0-TIV-TSMBAC-WinX64.exe

else

    add prefetch item name=TIV-TSMBAC-WinX32.exe sha1=81e317239ed8bcb26346415a671bdcbe58213244 size=213159176 url=http://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r4/Windows/x32/v641/6.4.1.0-TIV-TSMBAC-WinX32.exe

endif

collect prefetch items

end prefetch block

// This parameter will store the already installed 7zip instance if it exists, otherwise it will use the downloaded version.
parameter "7zip" = "{if (exists keys "HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip" of native registry AND exists value "Path" of keys "HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip" of native registry AND exists folder (value "Path" of keys "HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip" of native registry as string) AND exists file "7z.exe" of folder (value "Path" of keys "HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip" of native registry as string)) then (value "Path" of keys "HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip" of native registry as string & "7z.exe") else (pathname of client folder of current site & "\__Download\7za.exe")}"

// This is the prefetch format if not using a prefetch block like above.
// This is more common, but would cause the client to download both the x32 & x64 versions.
//prefetch unzip.exe sha1:e1652b058195db3f5f754b7ab430652ae04a50b8 size:167936 http://software.bigfix.com/download/redist/unzip-5.52.exe
//prefetch 7za920.zip sha1:9ce9ce89ebc070fea5d679936f21f9dde25faae0 size:384846 http://softlayer-dal.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
//prefetch TIV-TSMBAC-WinX32.exe sha1:81e317239ed8bcb26346415a671bdcbe58213244 size:213159176 http://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r4/Windows/x32/v641/6.4.1.0-TIV-TSMBAC-WinX32.exe
//prefetch TIV-TSMBAC-WinX64.exe sha1:611d28073c35feb95ffc0adc2864ccfb8c0dea11 size:289645312 http://public.dhe.ibm.com/storage/tivoli-storage-management/maintenance/client/v6r4/Windows/x64/v641/6.4.1.0-TIV-TSMBAC-WinX64.exe

if {exists file (pathname of client folder of current site & "\__Download\unzip.exe")}
// Add unzip.exe to the client utility cache
    utility __Download\unzip.exe
endif


// use the unzip redistributable to unzip the 7zip command line utility
waithidden __Download\unzip.exe -o "{pathname of client folder of current site}\__Download\7za920.zip" -d "{pathname of client folder of current site}\__Download"

if {x64 of operating system}
// use the 7zip command line utility to extract the .exe file which contains the MSI
    waithidden "{parameter "7zip"}" x -y -o"{pathname of client folder of current site}" "{pathname of client folder of current site}\__Download\TIV-TSMBAC-WinX64.exe"
// Install the MSI
    wait msiexec /i "{pathname of client folder of current site}\IBM Tivoli Storage Manager Client.msi" RebootYesNo="No" REBOOT="Suppress" ALLUSERS=1 INSTALLDIR="c:\program files\tivoli\tsm" ADDLOCAL="BackupArchiveGUI,BackupArchiveWeb,Api64Runtime" TRANSFORMS=__Download\1033.mst /qn

else // {x32 of operating system}
// use the 7zip command line utility to extract the .exe file which contains the MSI
    waithidden "{parameter "7zip"}" x -y -o"{pathname of client folder of current site}" "{pathname of client folder of current site}\__Download\TIV-TSMBAC-WinX32.exe"
// Install the MSI
    wait msiexec /i "{pathname of client folder of current site}\IBM Tivoli Storage Manager Client.msi" RebootYesNo="No" REBOOT="Suppress" ALLUSERS=1 INSTALLDIR="c:\program files\tivoli\tsm" ADDLOCAL="BackupArchiveGUI,BackupArchiveWeb,ApiRuntime" TRANSFORMS=__Download\1033.mst /qn
endif

action may require restart
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
loufoss -
Anyone ever write a linux version of this for RHEL?
jgstew -
I have many helpful TSM items on this site: http://bigfix.me/search/TSM
k5jayaganesh -
Thanks to all. Great to hear now fixlet is available for IBM Tivoli Storage Manager Client for Windows using TEM . I tried the same by creating custom batch script for TSM client Installation. But it works only in few cases.
jgstew -
This is also an example of how to use a prefetch block.
jgstew -
This installer task is an example of how to use unzip & 7zip without needing either installed.
jgstew -
This new version should work as is on any BigFix/IEM server: http://bigfix.me/fixlet/details/2608 Please test, this is new code and I have not had a chance to use it much.
jgstew -
This may be harder than I thought. I think you may have to extract the .exe downloaded from IBM and not used directly, at least the way this is written.
jgstew -
If your server had the exactly matching file that I used, then this should work as is, but otherwise it is more of a template that requires some adjustment.
jgstew -
Either you did not edit the prefetch line in this task to point to your server, or your server does not have the matching SHA1 file. Test this in the Fixlet Debugger first. You need to download the TSM Client for Windows directly from IBM, then upload it to your Bigfix/TEM/IEM root server using the Windows Software Distribution Wizard, but ignore everything in the wizard except for uploading the file. Once done, it should pop up a dialog to create a fixlet/task. You need to copy the "prefetch" line from this task, save it somewhere, and hit cancel to not create the task that the wizard pops up. Then you need to replace the prefetch line in the above task with the prefetch line the wizard created. Alternatively I may be able to find a link from IBM directly that could be used in this task instead.
Santosh -
TIV-TSMBAC-WinX32.tmp Failed [-] [+] Download error: "Unexpected HTTP response: 404 Not Found" Download requested on server: URL: http://TEMSER123:52311/Uploads/bb9bf44e0695a5235312046e278a99f487efa7f4/TIV-TSMBAC-WinX32.tmp SHA1: bb9bf44e0695a5235312046e278a99f487efa7f4 Size: Next retry: 3 minutes. Retry now TIV-TSMBAC-WinX64.tmp Failed [-] [+] Download error: "Unexpected HTTP response: 404 Not Found" Download requested on server: URL: http://TEMSER123:52311/Uploads/ab3ecf6509435c56f0a169b2ae194e0e5974c202/TIV-TSMBAC-WinX64.tmp SHA1: ab3ecf6509435c56f0a169b2ae194e0e5974c202 Size: Next retry: 3 minutes. Retry now ********************** ************************ ********************** I am receiving this error while deploying it.. can you please suggest how to proceed, I think I did not download the TSM Software before deploying. if it is correct that I did not download, then if I download to a temp location on one server, then after downloading TSM Software of exe file , what should I do in TEM ? appreciate your help on this.