ADSM-L

Re: Automating dsmserv

2003-05-27 07:25:56
Subject: Re: Automating dsmserv
From: "Stapleton, Mark" <stapleto AT BERBEE DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 27 May 2003 05:51:38 -0500
From: Geert De Pecker [mailto:gedp AT SOFICO DOT BE] 
> I'm probably overlooking something, but I can't find any reference
> about how to start/stop the dsmserv on system startup and shutdown.
> We're running a redhat 7.3, so I'm looking for a kind of rc script
> to put into the rc.d/init.d directories.

It's easier than you think. Your script should run something like:

#!/bin/bash
<check to see if process is running>
if <it isn't, go to end>
else
        dsmadmc -id=id -password=passwd halt
done
end
 
--
Mark Stapleton (mark.stapleton AT berbee DOT com)
Berbee Information Networks
Office 262.521.5627

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Automating dsmserv, Stapleton, Mark <=