BackBox H4.00 VTC Scripting Option

Table Of Contents
Guidelines
7 BackBox H4.00 VTC Scripting Option
3. Add this BBOX_TSM_MC in the Script Parameters of the Data Store
configuration, Advanced properties page
***
Customize and run the distributed setup_for_test.cmd to test and finalize the TSM
client installation:
1. Enter in “
setup_for_test.cmd” the values for three TSM Windows
environment variables (DSM_CONFIG. DSM_DIR and DSM_LOG. ) that you
added as “Script Parameters” in the BackBox Data Store Advanced
configuration.
“setup_for_test.cmd” content:
set DSM_DIR=C:\Program Files\Tivoli\TSM\baclient
set DSM_CONFIG=C:\BPAK\script\dsm.opt
set DSM_LOG=c:\BPAK\script
set PATH=%PATH%;%DSM_DIR%
dsmc
2. Run “setup_for_test.cmd” once to:
- Enter the node password when prompted. The password will then be
stored encrypted in the Windows registry and automatically managed by
TSM (because of PASSWORDACCESS GENERATE in DSM.OPT)
- Archive a small Windows file to ensure the TSM storage is available.
Sample run:
C:\BPAK\script>setup_for_test
C:\BPAK\script>set DSM_DIR=C:\Program Files\Tivoli\TSM\baclient
C:\BPAK\script>set DSM_CONFIG=C:\BPAK\script\dsm.opt
C:\BPAK\script>set DSM_LOG=c:\BPAK\script
C:\BPAK\script>dsmc
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 6, Release 1, Level 5.2
Client date/time: 11/22/2012 11:17:17
Node Name: VTC85
Please enter your user id <VTC85>:
Please enter password for user id "VTC85": ******
Session established with server TSMDEV_SERVER1: Windows
Server Version 5, Release 3, Level 5.2
Server date/time: 11/22/2012 11:18:14 Last access: 11/22/2012 11:18:14
Accessing as node: NSK_BACKBOX
tsm> archive delete.cmd
Archive function invoked.
Directory--> 0 \\nsk_backbox\c$\BPAK [Sent]
Directory--> 0 \\nsk_backbox\c$\BPAK\script [Sent]
Normal File--> 1,004 \\nsk_backbox\c$\BPAK\script\delete.cmd [Sent]