TSM 6.3: Create Schedule


There are two types of schedule: Client schedule and Administrative schedule. The client schedule is to backup or restore the clients’ data. The administrative schedule is to do TSM server maintenance jobs.

Example 1: Daily backup job – Incremental backup TSM_Client01 C:\Backup folder at 00:05 every day. 

1) Login into TSM_Client01 and add the following entries into the dsm.opt file.

PASSWORDACCESS GENERATE
SCHEDMODE PROMPTED

2) Launch the BA client to install the scheduler service.

image

image

image

image

image

image

image

image

image

3) Login into TSM_Sandbox and define the schedule.

define schedule FILE Daily_Incr action=incremental objects=”c:\backup\*”  startdate=06/10/2012 starttime=00:05 duration=1 durunits=hours dayofweek=any

4) Associate the newly created schedule to the node TSM_Client01.

define association FILE Daily_Incr TSM_Client01

image

5) Check results in the dsmsched.log on TSM_Client01.

06/11/2012 00:05:03 — SCHEDULEREC QUERY BEGIN
06/11/2012 00:05:03 — SCHEDULEREC QUERY END
06/11/2012 00:05:03 Next operation scheduled:
06/11/2012 00:05:03 ————————————————————
06/11/2012 00:05:03 Schedule Name:         DAILY_INCR
06/11/2012 00:05:03 Action:                Incremental
06/11/2012 00:05:03 Objects:               c:\backup\*
06/11/2012 00:05:03 Options:              
06/11/2012 00:05:03 Server Window Start:   00:05:00 on 06/11/2012
06/11/2012 00:05:03 ————————————————————
06/11/2012 00:05:03
Executing scheduled command now.
06/11/2012 00:05:05 — SCHEDULEREC OBJECT BEGIN DAILY_INCR 06/11/2012 00:05:00
06/11/2012 00:05:05 Incremental backup of volume ‘c:\backup\*’
06/11/2012 00:05:06 Directory–>                   0 \\lyncma\c$\Backup [Sent]     
06/11/2012 00:07:45 Normal File–>     1,466,226,688 \\lyncma\c$\Backup\SW_DVD5_Office_Professional_Plus_2010w_SP1_64Bit_English_CORE_MLF_X17-76756.ISO [Sent]     
06/11/2012 00:07:51 Successful incremental backup of ‘\\lyncma\c$\Backup\*’

06/11/2012 00:07:51 — SCHEDULEREC STATUS BEGIN
06/11/2012 00:07:51 Total number of objects inspected:            2
06/11/2012 00:07:51 Total number of objects backed up:            2
06/11/2012 00:07:51 Total number of objects updated:              0
06/11/2012 00:07:51 Total number of objects rebound:              0
06/11/2012 00:07:51 Total number of objects deleted:              0
06/11/2012 00:07:51 Total number of objects expired:              0
06/11/2012 00:07:51 Total number of objects failed:               0
06/11/2012 00:07:51 Total objects deduplicated:                   1
06/11/2012 00:07:51 Total number of bytes inspected:           1.36 GB
06/11/2012 00:07:51 Total number of bytes processed:           1.15 GB
06/11/2012 00:07:51 Total bytes before deduplication:          1.36 GB
06/11/2012 00:07:51 Total bytes after deduplication:           1.15 GB
06/11/2012 00:07:51 Total number of bytes transferred:         1.15 GB
06/11/2012 00:07:51 Data transfer time:                      131.07 sec
06/11/2012 00:07:51 Network data transfer rate:            9,250.01 KB/sec
06/11/2012 00:07:51 Aggregate data transfer rate:          7,291.78 KB/sec
06/11/2012 00:07:51 Objects compressed by:                        0%
06/11/2012 00:07:51 Deduplication reduction:                  15.36%
06/11/2012 00:07:51 Total data reduction ratio:               15.33%
06/11/2012 00:07:51 Elapsed processing time:               00:02:46
06/11/2012 00:07:51 — SCHEDULEREC STATUS END
06/11/2012 00:07:51 — SCHEDULEREC OBJECT END DAILY_INCR 06/11/2012 00:05:00
06/11/2012 00:07:51 Scheduled event ‘DAILY_INCR’ completed successfully.
06/11/2012 00:07:51 Sending results for scheduled event ‘DAILY_INCR’.
06/11/2012 00:07:58 Results sent to server for scheduled event ‘DAILY_INCR’.

Example 2: Daily maintenance job – Expire the inventory at 00:30 every day.

1) Create the administrative schedule on TSM_Sandbox

define schedule Expire_Inv type=administrative cmd=”expire inventory” active=yes starttime=00:30

image

2) Check the activity log to confirm the maintenance job was done.

q actlog

image

About these ads
By Jackie Chen Posted in Storage Tagged

5 comments on “TSM 6.3: Create Schedule

  1. Hello,I followed your steps to defining schedule for my windows machine client backup. unfortunately the schedule is not running but keep giving error as “Missed” I tried googling the error they keep pointing to my DSM.opt file on the client machine.
    kindly help out on the proper configuration for dsm.opt file.
    Thanks

  2. Thanks Jackie,My CAD services is working. I will appreciate it if you can past your dsm.opt file for your windows client .plssss

  3. Hi, TSM Client which is located in DMZ Zone has problem in backup. I have opened the TCP Port 1500 & 1581 in firewall. Scheduler is getting failed. I’m able to backup directly from the BAClient console.
    Could you please advise do i have to open any additional ports in firewall

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s