SCCM: TSM Deployment

felymich

ADSM.ORG Member
Joined
Mar 7, 2012
Messages
23
Reaction score
0
Points
0
Hello,

I am deploying the TSM Client using SCCM:
REM Please use this dsm.opt file when configuring TSM. Also, just a reminder of the following TSM servers to use:

REM Irvine:
REM AIPTSMXBS21e – CareConnect
REM AIPTSMXBS22e – ENT
REM AIPTSMXBS23e – OHIA

REM SDSC:
REM AIPTSMXBS13e – CareConnect
REM AIPTSMXBS14e – ENT
REM AIPTSMXBS16e – OHIA

REM TCPSERVERADDRESS ASPTSMXBS13e * CareConnect TSM Backup SDSC
REM TCPSERVERADDRESS ASPTSMXBS14e * EnterPrise TSM Backup SDSC
TCPSERVERADDRESS ASPTSMXBS16e * OHIA TSM Backup SDSC
REM TCPSERVERADDRESS AIPTSMXBS21e * CareConnect TSM Backup Irvine
REM TCPSERVERADDRESS AIPTSMXBS22e * Enterprise TSM Backup Irvine
REM TCPSERVERADDRESS AIPTSMXBS23e * OHIA TSM Backup Irvine

:selection
::ECHO.
::ECHO 1. CareConnect TSM Backup SDSC
::ECHO 2. EnterPrise TSM Backup SDSC
ECHO 3. OHIA TSM Backup SDSC
::ECHO 4. CareConnect TSM Backup Irvine
::ECHO 5. Enterprise TSM Backup Irvine
::ECHO 6. OHIA TSM Backup Irvine
::set choice=
::set /p choice=Type the number to print text.
set choice=3
::if not '%choice%'=='' set choice=%choice:~0,1%
::if '%choice%'=='1' goto SDSC-CC
::if '%choice%'=='2' goto SDSC-ENT
if '%choice%'=='3' goto SDSC-OHIA
::if '%choice%'=='4' goto SDC-CC
::if '%choice%'=='5' goto SDC-ENT
::if '%choice%'=='6' goto SDC-OHIA
::ECHO "%choice%" is not valid, try again
::ECHO.

:SDC-CC
COPY "dsm - CareConnect TSM Backup Irvine.opt" "dsm.opt"
Goto Start

:SDSC-CC
COPY "dsm - CareConnect TSM Backup SDSC.opt" "dsm.opt"
Goto Start

:SDC-ENT
COPY "dsm - Enterprise TSM Backup Irvine.opt" "dsm.opt"
Goto Start

:SDSC-ENT
COPY "dsm - EnterPrise TSM Backup SDSC.opt" "dsm.opt"
Goto Start

:SDC-OHIA
COPY "dsm - OHIA TSM Backup Irvine.opt" "dsm.opt"
Goto Start

:SDSC-OHIA
COPY "dsm - OHIA TSM Backup SDSC.opt" "dsm.opt"
Goto Start

Goto Selection

:Start

REM To install a predefined (custom) dsm.opt file, use the following instructions before you begin the silent installation.

REM Place the customized copy of the dsm.opt file in the ...\CONFIG directory located within the install image, for example:
REM tsm_images\TSM_BA_Client\baclient\Program Files\Tivoli\TSM\config
REM The file must be named "dsm.opt".

REM Also be aware that some Windows client may need a reboot if C++ Redistributable needs to be installed:
REM http://www-01.ibm.com/support/knowl...m.itsm.client.doc/c_inst_winclientreboot.html
REM To perform a silent installation of the C++ redistributables or the backup-archive client, you must turn off User Account REM Control (UAC).
REM The C++ redistributables require elevated privileges to install them
REM Silently installing C++ redistributables for the 64-bit client
vcredist_x86.exe /q /c:"msiexec /i vcredist.msi /qn /l*v
%temp%\vcredist_x86.log"
vcredist_x64.exe /q /c:"msiexec /i vcredist.msi /qn /l*v
%temp%\vcredist_x64.log"

REM Silent client installation on Windows 64 bit systems
REM It names the 64 bit API feature on the ADDLOCAL= parameter.
REM When you place a customized version of the msiexec command (which invokes the Microsoft Software Installer) in a script or REM batch
REM file, you can perform installations on multiple Windows systems. The following is a sample command to install the backup-REM Archive
REM command-line client, client GUI, web client, API, and Administrative command-line client.

REM You might need to customize this
REM example to run correctly on your system.
REM While the command is physically spread across multiple lines on this page, enter it on a single command line.
REM
REM Old Version
REM msiexec /i
REM "Z:\tsm_images\TSM_BA_Client\IBM Tivoli Storage Manager Client.msi"
REM RebootYesNo="No" REBOOT="Suppress" ALLUSERS=1
REM INSTALLDIR="c:\program files\tivoli\tsm"
REM ADDLOCAL="BackupArchiveGUI,BackupArchiveWeb,Api64Runtime,
REM AdministrativeCmd"
REM TRANSFORMS=1033.mst /qn /l*v "c:\log.txt"

:Install
REM New version
REM "Z:\tsm_images\TSMClient\IBM Spectrum Protect Client.msi"
"%~dp0\8.1.6.1-TIV-TSMBAC-WinX64\IBM Spectrum Protect Client.msi" RebootYesNo="No" REBOOT="Suppress" ALLUSERS=1 INSTALLDIR="C:\Program Files\Tivoli\TSM" ADDLOCAL="BackupArchiveGUI,BackupArchiveWeb,Api64Runtime" /qn /l*v "C:\log.txt"

:End

The deployment looks okay but after installation I have error launching TSM
Apparently the installation line might miss some swicthes as:

he dsm.opt did not get copied?

1. Backup Archive Command Line
TSM Install missing MSVCP140.dll
2. Backup Archive GUI
TSM Install 02 missing VCRUNTIME140.dll

Why am I missing files?
I check C:\Windows\ccmcache and the files are in...

Thanks,
Dom
 

Attachments

  • 2020-09-04_15-41-24 TSM Install.png
    2020-09-04_15-41-24 TSM Install.png
    30.5 KB · Views: 0
  • 2020-09-04_15-42-23 TSM Install 02.png
    2020-09-04_15-42-23 TSM Install 02.png
    19.6 KB · Views: 0
  • 2020-09-04_15-59-19 TSM MSVCP140dll.png
    2020-09-04_15-59-19 TSM MSVCP140dll.png
    112.4 KB · Views: 0
  • 2020-09-04_15-58-26 TSM VCRIUNTIME140dll.png
    2020-09-04_15-58-26 TSM VCRIUNTIME140dll.png
    115.7 KB · Views: 0
  • 2020-09-04_15-56-17 TSM dsmopt.png
    2020-09-04_15-56-17 TSM dsmopt.png
    112.7 KB · Views: 0
What are the requirement for TSM 8.1.6.1 for Microsoft C++ Redistributable Packages?
It seems it needs an updated package?
 
The installation log file is per attachment

Why it did not do the copy of several files.
-----------------------------------------------------------------------------------------------------------------------
MSI (s) (88:94) [19:41:21:326]: Skipping action: SxsUninstallCA (condition is false) MSI (s) (88:94) [19:41:21:326]: Skipping action: IbmSpMigratePw.415E1BB5_D4AF_4116_BD82_FFD8A253D470 (condition is false)
MSI (s) (88:94) [19:41:21:326]: Skipping action: TsmCopyDsmOpt (condition is false)
MSI (s) (88:94) [19:41:21:326]: Skipping action: TsmCopyXercesLib (condition is false)
MSI (s) (88:94) [19:41:21:326]: Skipping action: TsmCopyVMwareLibs (condition is false)
MSI (s) (88:94) [19:41:21:326]: Skipping action: TsmCopyNasdcm (condition is false)
-----------------------------------------------------------------------------------------------------------------------
Especially the dsm.opt!!!
MSI (s) (88:94) [19:41:21:326]: Skipping action: TsmCopyDsmOpt (condition is false)

Any idea?
Thanks,
Dom
 

Attachments

  • log.txt
    541 KB · Views: 0
Another note as well:
the installer for vcredist was
2013:
vcredist_x64.exe /q /c:"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x64.log"
2015 and aboove
vc_redist.x64.exe /q /c:"msiexec /i vcredist.msi /qn /l*v %temp%\vcredist_x64.log"

This is a new line and more tests in the script used by SCCM....

ANy idea?
Thanks,
Dom
 
Back
Top