Re: dsmcad scheduler and multiple tasks

2002-11-15 Thread Raghu S
could u give the sample script

regards

Raghu



Thomas Denier
Thomas.Denier@MAITo: [EMAIL PROTECTED]
L.TJU.EDUcc:
Sent by: ADSM:   Subject: Re: dsmcad scheduler and 
multiple
Dist Stor Managertasks
[EMAIL PROTECTED]
EDU


11/14/2002 01:45
PM
Please respond to
ADSM: Dist Stor
Manager





 Is there any way, or is it possible, to get more than one scheduled event
 to occur on a client during the same time (or overlapping times) in which
 the scheduler is controlled via dsmcad?   I don't remember if this was
 even possible using 'dsmc sched'.

The 'dsmc sched' mechanism behaved just like dsmcad with regard to
overlapping scheduled events.

 Example:

 At midnight a schedule is kicked off to incremental backup filesystem
'a'.
  This filesystem has many large files which change daily, and the
 incremental runs for several hours.

 It is also desired at around 1AM to kick off a schedule to incremental
 backup filesystem 'b'.

I know of two ways to do this with 'dsmc sched'. One can use the central
scheduler to run a script that spawns child process to run two 'dsmc inc'
commands at appropriate times. I am reasonably sure this approach will
also work with dsmcad. Alternatively, one can register two node names
for the system, run a copy of the client scheduler process for each node
name, and set up a separate schedule for each node. This approach entails
creating two server stanzas in dsm.sys with an explicit nodename option
in at least one of the stanzas. It also entails using the -servername
option when starting at least one of client scheduler processes. I don't
know whether this second approach can be modified to work with dsmcad.



Re: dsmcad scheduler and multiple tasks

2002-11-15 Thread Ricardo Ribeiro
One solution will be to have the TSM server kick off one and the OS to kick
off the other one via crontab or any scheduler program...



  Allen Barth
  allen.barth@DB. To:  [EMAIL PROTECTED]
  COM cc:
  Sent by: ADSM:  Subject: dsmcad scheduler and multiple 
tasks
  Dist Stor
  Manager
  [EMAIL PROTECTED]
  T.EDU


  11/14/2002 01:56
  PM
  Please respond
  to ADSM: Dist
  Stor Manager






Hello list.

Is there any way, or is it possible, to get more than one scheduled event
to occur on a client during the same time (or overlapping times) in which
the scheduler is controlled via dsmcad?   I don't remember if this was
even possible using 'dsmc sched'.

Example:

At midnight a schedule is kicked off to incremental backup filesystem 'a'.
 This filesystem has many large files which change daily, and the
incremental runs for several hours.

It is also desired at around 1AM to kick off a schedule to incremental
backup filesystem 'b'.

The windows for doing these backups are application dependent.  Currently
the sched for FS 'b' is missed due to FS 'a' not having completed.

TIA,
Al



Re: dsmcad scheduler and multiple tasks

2002-11-15 Thread Alex Paschal
Hi, Al.

I've read some of the other suggestions, but I think the easiest way would
be to create two command files.

first.cmd
start c:\program files\tivoli\tsm\baclient\dsmc.exe inc [whatever]

second.cmd
start c:\program files\tivoli\tsm\baclient\dsmc.exe inc [whatever]

The start will cause the scheduler to fork the dsmc process and exit,
thusly freeing the scheduler up for when the second is supposed to run.
Then create command schedules that run the cmd files and associate them with
the node.  You'd still have 1 node, 1 scheduler, central schedules.  The
only problem is that the dsmc processes won't return an RC to the scheduler,
but if that's acceptable, then it should be fine.

Good luck.

Alex Paschal
Storage Administrator
Freightliner, LLC
(503) 745-6850 phone/vmail


-Original Message-
From: Allen Barth [mailto:allen.barth;DB.COM]
Sent: Thursday, November 14, 2002 12:57 PM
To: [EMAIL PROTECTED]
Subject: dsmcad scheduler and multiple tasks


Hello list.

Is there any way, or is it possible, to get more than one scheduled event
to occur on a client during the same time (or overlapping times) in which
the scheduler is controlled via dsmcad?   I don't remember if this was
even possible using 'dsmc sched'.

Example:

At midnight a schedule is kicked off to incremental backup filesystem 'a'.
 This filesystem has many large files which change daily, and the
incremental runs for several hours.

It is also desired at around 1AM to kick off a schedule to incremental
backup filesystem 'b'.

The windows for doing these backups are application dependent.  Currently
the sched for FS 'b' is missed due to FS 'a' not having completed.

TIA,
Al



dsmcad scheduler and multiple tasks

2002-11-14 Thread Allen Barth
Hello list.

Is there any way, or is it possible, to get more than one scheduled event
to occur on a client during the same time (or overlapping times) in which
the scheduler is controlled via dsmcad?   I don't remember if this was
even possible using 'dsmc sched'.

Example:

At midnight a schedule is kicked off to incremental backup filesystem 'a'.
 This filesystem has many large files which change daily, and the
incremental runs for several hours.

It is also desired at around 1AM to kick off a schedule to incremental
backup filesystem 'b'.

The windows for doing these backups are application dependent.  Currently
the sched for FS 'b' is missed due to FS 'a' not having completed.

TIA,
Al



Re: dsmcad scheduler and multiple tasks

2002-11-14 Thread Thomas Denier
 Is there any way, or is it possible, to get more than one scheduled event
 to occur on a client during the same time (or overlapping times) in which
 the scheduler is controlled via dsmcad?   I don't remember if this was
 even possible using 'dsmc sched'.

The 'dsmc sched' mechanism behaved just like dsmcad with regard to
overlapping scheduled events.

 Example:

 At midnight a schedule is kicked off to incremental backup filesystem 'a'.
  This filesystem has many large files which change daily, and the
 incremental runs for several hours.

 It is also desired at around 1AM to kick off a schedule to incremental
 backup filesystem 'b'.

I know of two ways to do this with 'dsmc sched'. One can use the central
scheduler to run a script that spawns child process to run two 'dsmc inc'
commands at appropriate times. I am reasonably sure this approach will
also work with dsmcad. Alternatively, one can register two node names
for the system, run a copy of the client scheduler process for each node
name, and set up a separate schedule for each node. This approach entails
creating two server stanzas in dsm.sys with an explicit nodename option
in at least one of the stanzas. It also entails using the -servername
option when starting at least one of client scheduler processes. I don't
know whether this second approach can be modified to work with dsmcad.



Re: dsmcad scheduler and multiple tasks

2002-11-14 Thread Zlatko Krastev
--- I don't know whether this second approach can be modified to work with
dsmcad

dsmcad -optfile=appropriate file
ought to help. You have to be careful web ports in different dsm.sys
stanzas not to overlap.

Zlatko Krastev
IT Consultant