How does the schedule know to pick the correct dsm.opt for full VM backups

tsmhelum

Active Newcomer
Joined
Aug 24, 2006
Messages
450
Reaction score
0
Points
0
Hello all,

I have VM Full backups setup to run on fridays and Incrementals all other days' of the week


How do I get the scheduler on Fridays' to pick the correct dsm.opt file that's going to do the FULL Backup on friday evenings ONLY? I have a Macro setup for this alread >>>Backup vm -vmbackuptype=fullvm and a Admin Schedule setup for this.



Daily Incremental

NODENAME XXXXX
TCPCLIENTADDRESS XXX. XX. XXXXX8
PASSWORDACCESS GENERATE
TCPSERVERADDRESS xxx.x.x..xxx
VMCHOST .xx.xxx.xxx
VMCUSER xxxxx
VMLIST server1, server2, server3, server4, server5, server6, server7, server8
SUBFILEBACKUP YES
SUBFILECACHEPATH d:\tsmsubfile
SUBFILECAcHESIZE 100
commmethod tcpip
MANAGEDSERVICES WEBCLIENT SCHEDULE
VMBACKUPTYPE FILE


FULL VM (dsm.opt) Backup only to be used on Friday evenings starting at 6pm


NODENAME XXXXX
tcpclientaddress XXX.XX.XX
PASSWORDACCESS GENERATE
TCPSERVERADDRESS xxx.x.x.xx
VMCHOST xx.x.xxx.xxx
VMCUSER xxxxx
VMCPW xxxxxr
VMLIST server1, server2, server3, server4, server5.serve6,server7, server8
SUBFILEBACKUP YES
SUBFILECACHEPATH d:\tsmsubfile
SUBFILECAcHESIZE 100
commmethod tcpip
vmbackdir h:\mnt
MANAGEDSERVICES WEBCLIENT
DOMAIN ALL-LOCAL
VMBACKUPTYPE FULLVM




TSM Client 6.1
TSM version 6.2


Thanks for any help, advice!
 
If I had two different jobs I would have two different nodes and schedules.

But I wouldn't be running full backups if I already had a progressive TSM backup. That doesn't make sense.
 
Jeff thanks,

I have a Admin Schedule name VM Daily Backup that is scheduled to run 12:30am at night

I also have a Admin Schedule name VM Full Backup that is scheduled to run the FULLs on Friday's (The daily doesnt' run on saturday at 12:30am)


I do notice thought that the full VM backup doesn't start automatically , Also


F.Y.I. - I am new at the VM backup procedure stuff and I know I am doing some things that may not be necessary or can be done a better way,

Also, You may be correct about the running full backups doesn't make sense. but I don't have the authority to stop doing that i just set up the backups as what I am told. They want Incremental/Full VM backups.
 
Do you have a second CAD service for the full backup?

TSM uses progressive backup method. Even though its a daily incremental it equates to a daily full. No need to run a full backup as you already have the data.
 
Jeff thanks,

I do have a second cad service for the Full backups

>>>>tsm full backup vm scheduler


However I am missing one on the other TSM Server (not sure why) that we do VM's on have to create one.... thanks


By this >> No need to run a full backup as you already have the data do you mean No need to run a FULL VM backup? We run the TSM client client backups and Daily VM backups and Full VM on Fridays (no incremental vm's on fridays)

Which bring me to a question, If we just do the VM and Full backups and no TSM backups is there a disadvantage? Can we do file level restores with no TSM Backup Client installed.

Thanks
 
Is there anyway to Trim the amout of information that I have in the

dsmsched.log
dsmwebcl.log
dsmerror.log

I showing backings and files that have been backed up going back to april.

Thanks





Daily Incremental

NODENAME XXXXX
TCPCLIENTADDRESS XXX. XX. XXXXX8
PASSWORDACCESS GENERATE
TCPSERVERADDRESS xxx.x.x..xxx
VMCHOST .xx.xxx.xxx
VMCUSER xxxxx
VMLIST server1, server2, server3, server4, server5, server6, server7, server8
SUBFILEBACKUP YES
SUBFILECACHEPATH d:\tsmsubfile
SUBFILECAcHESIZE 100
commmethod tcpip
MANAGEDSERVICES WEBCLIENT SCHEDULE
VMBACKUPTYPE FILE


FULL VM (dsm.opt) Backup only to be used on Friday evenings starting at 6pm


NODENAME XXXXX
tcpclientaddress XXX.XX.XX
PASSWORDACCESS GENERATE
TCPSERVERADDRESS xxx.x.x.xx
VMCHOST xx.x.xxx.xxx
VMCUSER xxxxx
VMCPW xxxxxr
VMLIST server1, server2, server3, server4, server5.serve6,server7, server8
SUBFILEBACKUP YES
SUBFILECACHEPATH d:\tsmsubfile
SUBFILECAcHESIZE 100
commmethod tcpip
vmbackdir h:\mnt
MANAGEDSERVICES WEBCLIENT
DOMAIN ALL-LOCAL
VMBACKUPTYPE FULLVM
 
Those retention setting should be in the client DSM.OPT file.

Also when defining your cad service and such ... you point to the opt file you want for backup.

CAD_daily service would point to Daily_DSM.opt
CAD_Full service would point to Full_DSM.opt

Or something similar to that.
 
Jeff, Thanks this helps alot I appreciate it. I will let you know how this works.
 
After defining the cad service and pointing to the correct dsm.opt files is there anything else that needs to be done to get this to work?

CAD_daily service would point to Daily_DSM.opt
CAD_Full service would point to Full_DSM.opt

Thanks
 
Are you seeing the schedule being picked up in the DSMSCHED.LOG?

I normally manually connect via the GUI to ensure communications are good to go.

example: C:\program files\tivoli\tsm\baclient\DSM -optfile=daily_DSM.opt
 
Jeff,

The TSM FULL VM BACKUP scheduler service that I created doesn't want to stay started

Here is the message from the dsmsched.logFULLVM

09/03/2010 09:10:04 ANS0299E Scheduler cannot be started manually because the value of MANAGEDSERVICES option is SCHEDULE.
09/03/2010 09:10:04 Scheduler has been stopped.

dsmerror.logfullVM

09/03/2010 09:05:42 ANS0299E Scheduler cannot be started manually because the value of MANAGEDSERVICES option is SCHEDULE.
09/03/2010 09:10:04 ANS0299E Scheduler cannot be started manually because the value of MANAGEDSERVICES option is SCHEDULE.


Here is the fullvmdsm.opt

NODENAME Linear
TCPCLIENTADDRESS xxx.x.x.xx
PASSWORDACCESS GENERATE
TCPSERVERADDRESS xxx.x.x.xx
VMCHOST xx.x.xxx.xxx
VMCUSER vcbaccess
VMLIST server1, server2,server3,server4,server4,server5,server6,server7,server8,server9,server10
SUBFILEBACKUP YES
SUBFILECACHEPATH d:\tsmsubfile
SUBFILECAcHESIZE 100
commmethod tcpip
vmbackdir h:\mnt
Errorlogretention 14
schedlogretention 7
MANAGEDSERVICES WEBCLIENT SCHEDULE
DOMAIN ALL-LOCAL
VMBACKUPTYPE FULLVM
Errorlogretention 14
schedlogretention 7

You see anything that I am missing?


Thanks
 
Jeff,

I changed it to what you have (MANAGEDSERVICES WEBCLIENT SCHEDULE) but got the same error

09/03/2010 10:50:50 ANS0299E Scheduler cannot be started manually because the value of MANAGEDSERVICES option is SCHEDULE.


I just thought of something, I have to setup a Acceptor Service for this also correct? Just remembered cause in the GUI under preferences in the WEB Client (option) I should have the radio button "BOTH" selected like normal correct?

Thanks
 
I do not use any VM specific options so I can't help you there. We backup VMs the same way we backup physical servers. Sorry I can't help.
 
Jeff,

No problem.. I search and found this

Scheduler cannot be started manually because the value of MANAGEDSERVICES option is SCHEDULE.
Explanation:
if MANAGEDSERVICES SCHEDULE is indicated in the option file, the TSM scheduler cannot be started in the traditional manner.


If you are not going to use dsmcad to manage the schedule anymore, stop dsmcad and remove MANAGEDSERVICES option from the option file.


So I removed MANAGEDSERVICES WEBCLIENT SCHEDULE from the full vm dsm.opt file restarted the Full bm backup service and it restarted.


9/03/2010 13:16:27 --- SCHEDULEREC QUERY BEGIN
09/03/2010 13:16:27 --- SCHEDULEREC QUERY END
09/03/2010 13:16:27 Next operation scheduled:
09/03/2010 13:16:27 ------------------------------------------------------------
09/03/2010 13:16:27 Schedule Name: VM_FULL_BACKUP
09/03/2010 13:16:27 Action: Macro
09/03/2010 13:16:27 Objects: BackupFULLVM.Macro
09/03/2010 13:16:27 Options:
09/03/2010 13:16:27 Server Window Start: 18:00:00 on 09/03/2010
09/03/2010 13:16:27 ------------------------------------------------------------
09/03/2010 13:16:27 Command will be executed in 5 hours and 12 minutes.


Thanks again for your help!
 
Back
Top