ADSM-L

Re: [ADSM-L] rc-scripts to start and stop multiple tsm client scheduler for linux red hat

2011-06-15 14:57:43
Subject: Re: [ADSM-L] rc-scripts to start and stop multiple tsm client scheduler for linux red hat
From: Rainer Strunz <Rainer.Strunz AT LRZ DOT DE>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Wed, 15 Jun 2011 20:51:58 +0200
You do not have to create different scripts to accomplish this task.

Simply bundle your settings using appropriate servername stanzas in
dsm.sys and use a script (see http://www.dat.lrz.de/dat/dsm/scr/#mdsm,
"DSM multiple schedule daemons manager") to manage one or more schedule
daemons by separating them using these different server stanza names.

Unfortunately this script wasn't developed for RedHat, but has been
built right now on a SuSE system. Nevertheless it should run on some
other Unices, too.

Rainer

PS: Some real-world usage

# /etc/init.d/mdsm status
mdsm: status: scheduler for servername "local" is running (pid 18450)
mdsm: status: scheduler for servername "special" is not running

# /etc/init.d/mdsm start
mdsm: start: scheduler for servername "local" is already running (pid
18450)
mdsm: start: started scheduler for servername "special" (pid 21623)

# /etc/init.d/mdsm stop local
mdsm: stop: stopped scheduler for servername "local" (pid 18450)

# /etc/init.d/mdsm status
mdsm: status: scheduler for servername "local" is not running
mdsm: status: scheduler for servername "special" is running (pid 21623)

Without any configuration mdsm will manage your default servername.