User Tools

Site Tools


tsm:tsm_exchange_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tsm:tsm_exchange_install [2023/10/02 13:45]
manu
tsm:tsm_exchange_install [2023/10/04 12:43] (current)
manu
Line 8: Line 8:
 Configure Windows services: Configure Windows services:
   * On the client GUI go to the wizard ​   * On the client GUI go to the wizard ​
-  ​* configure TSM web client+    ​* configure TSM web client 
 +    * configure TSM scheduler with acceptor 
 + 
 +Install TDP exchange 
 +  * SetupFCM.exe as administratror 
 + 
 +Now you 'd see the TDP exchange icon on the desktop 
 + 
 +dsm.opt into TDPexchange folder: 
 +<​cli>​ 
 +NODename ​         exchsrv1 
 +CLUSTERnode ​      No 
 +COMPRESSIon ​      Off 
 +PASSWORDAccess ​   Generate 
 +*======================================================================* 
 +* TCP/​IP ​                                                              * 
 +*======================================================================* 
 +COMMMethod ​       TCPip 
 +TCPPort ​          ​1500 
 +TCPServeraddress TSMsrv 
 +TCPWindowsize ​    63 
 +TCPBuffSize ​      32 
 +SCHEDMODE ​            ​Prompted 
 +SCHEDLOGRetention ​    14 
 +TCPCLIENTADDRESS ​     10.10.10.70 
 +TCPCLIENTPORT ​        ​1602 
 +INCLUDE "​*\...\*"​ MC_EXCHANGE 
 +HTTPport ​ 1581 
 + 
 +</​cli>​ 
 + 
 +start a scheduler for exchange that you 'll start with exchange rights using file from TDPexchange 
 + 
 + 
 +=== Register nodes === 
 + 
 +  * backup_client_node:​ local node for Windows server able to to a snapshot VSS (service started as local administrator) 
 +  * data_protection_node:​ node that will be used to do a backup/​restore of exchange application (service started with Exchange rights) 
 +  * DAG_node: node that 'll store all backups from all Exchange servers using a single name 
 + 
 +<​cli>​ 
 +register node backup_archive_client_node password 
 +userID=backup_archive_client_node 
 +register node data_protection_node password userID=data_protection_node 
 +grant proxynode target=data_protection_node agent=backup_archive_client_node 
 +register node DAG_node password userID=DAG_node 
 +grant proxynode target=DAG_node agent=backup_archive_client_node 
 +grant proxynode target=DAG_node agent=data_protection_node 
 +</​cli>​ 
 + 
 + 
 +PS C:\Program Files\TSM-EXCH\TDPExchange>​ .\tdpexcc.exe query tsm * incr /all /​dagnode=dag2019 /​tsmoptfile=dsm.opt 
 + 
 +**tdpexc.cfg** 
 +<​code>​ 
 +LOCALDSMAgentnode <​baclient>​ 
 +DAGNODe ​ dag2019 
 +VSSPOLICY * * * * MC_EXC 
 +MOUNTRW ​ No 
 +LASTPRUNEDate ​    ​12/​20/​2022 01:10:09 
 +</​code>​ 
 + 
 +**dsm.opt** (exchange) 
 +<​code>​ 
 +NODENAME ​                    ​exch_TDP 
 +PASSWORDACCESS ​              ​GENERATE 
 +TCPSERVERADDRESS ​            ​ispprod 
 +TCPPORT ​                     1500 
 +HTTPport      ​1581 
 + 
 + 
 +LARGECOMMBUFFERS YES 
 +TCPNODELAY YES 
 +TCPWINDOWSIZE 255 
 +TCPBUFFSIZE 512 
 +</​code>​ 
 + 
 +**excfull.cmd** 
 +<​code>​ 
 +@ECHO OFF 
 +rem  ================================================================== 
 +rem   ​Sample Command File - excfull.smp 
 +rem 
 +rem   ​Sample command file containing commands to do a scheduled 
 +rem   full backup of the Microsoft Exchange Server databases to 
 +rem   TSM storage. 
 +rem 
 +rem   This file is meant to be executed by the TSM central scheduler 
 +rem   in response to a defined schedule on the TSM server. 
 +rem 
 +rem   ​Complete paths must be given for all file names and non-system 
 +rem   ​commands. 
 +rem 
 +rem   Copy this file to excfull.cmd and edit it to match your 
 +rem   local environment. 
 +rem  ================================================================== 
 + 
 +set exc_dir="​C:​\Program Files\TSM-EXCH\TDPExchange"​ 
 +cd /d %exc_dir% 
 + 
 +set exc_log_global="​C:​\LogFiles\TSM-EXCH\excfull.log"​ 
 +set exc_log="​C:​\Tools\Tivoli\excfull.log"​ 
 + 
 +echo Current date is: > %exc_log% 
 +date /t < NUL >> %exc_log% 
 +echo Current time is: >> %exc_log% 
 +time /t < NUL >> %exc_log% 
 + 
 +tdpexcc backup * full /​tsmoptfile=dsm.opt /​EXCLUDEDAGPASSIVE /​logfile=excsch.log /​SKIPINTEGRITYCHECK >> %exc_log% 
 +set RC=%ERRORLEVEL% 
 + 
 +echo --------------------- >> %exc_log% 
 +echo Return code was %RC%  >> %exc_log% 
 +echo ===================== >> %exc_log% 
 + 
 +echo Current date is: >> %exc_log% 
 +date /t < NUL >> %exc_log% 
 +echo Current time is: >> %exc_log% 
 +time /t < NUL >> %exc_log% 
 + 
 +type %exc_log% >> %exc_log_global% 
 + 
 +powershell.exe C:​\Tools\Tivoli\listbackup.ps1 
 +exit %RC% 
 +</​code>​ 
 + 
 +**listbackup.ps1** 
 +<​code>​ 
 +cd  "​C:​\Program Files\TSM-EXCH\FlashCopyManager"​ 
 + 
 +import-module .\FmModuleExc.dll 
 +import-module .\FmModuleFs.dll 
 +import-module .\FmModuleMMC.dll 
 +import-module .\FmModuleSQL.dll 
 +Get-DpExcBackup|export-csv -NoTypeInformation -LiteralPath "​C:​\LogFiles\Tsm-EXCH\backuplist.csv"​ 
 +</​code>​ 
tsm/tsm_exchange_install.1696247110.txt.gz · Last modified: 2023/10/02 13:45 by manu