Re: Stoping the server through a script
2000-04-17 10:29:34
Subject: |
Re: Stoping the server through a script |
From: |
Lindsay Morris <lmorris AT OPENMIC DOT COM> |
Date: |
Mon, 17 Apr 2000 10:29:34 -0400 |
Tapes go unavailable when you halt, eh?
Thanks.
I sure would like to continue my lazy ways, though. Think you could
mail me a couple of hours of your activity log around the time when the
tape goes unavailable? I'd like to see why...
Either way, thanks for the input. I haven't seen this - but maybe I
just wasn't looking hard.
Scott Fluegge wrote:
>
> Lindsay,
>
> I have had a problem when I stop the server and it still has tapes in the
> drives. It updates the volume status, making it unavailable. To insure this
> does not happen I want to unmunt any mounted volumes. I need to stop the
> processes only to make sure they do not request new mounts after my script
> runs
> to un-mount and before it issues the halt command.
>
> Scott
>
> Lindsay Morris <lmorris AT OPENMIC DOT COM> on 04/17/2000 08:42:59 AM
>
> Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
>
> To: ADSM-L AT VM.MARIST DOT EDU
> cc: (bcc: Scott Fluegge/COR/MLW/US/venatorgroup)
> Subject: Re: Stoping the server through a script
>
> perhaps I'm naive, but...
>
> I have frequently done a "halt" on the ADSM (TSM) server when it's
> busy. it
> always comes back up, no problem, and picks up where it left off.
>
> So what is the concern? i mean why do you need to carefully cancel
> every process and every sesssion and unmount every tape
> before you shut it down?
>
> Scott Fluegge wrote:
> >
> > Question...
> >
> > I am trying to write a script that can be put in rc.shutdown that will
> > gracefully bring down the adsm server. That means I need to insure that
> > there
> > are no tapes mounted. I can write a script that will chack for mounts and
> even
> > un-mount tapes. The problem I am having is checking for processes running
> > and
> > then stoping them. If I just unmount the tapes, and if something like
> > reclemation is running, another tape will just be mounted.
> >
> > Does anyone know of a way to get the process numbers into a script? There
> > is
> no
> > unique entry on the process line (when "q pr" is used) that I can grep for
> > as
> I
> > can with requests or mounts!
> >
> > Any help would be greatly appreciated!
> >
> > Thanks,
> >
> > Scott
>
> --
> Mr. Lindsay Morris
> Certified: AIX,ADSM, TSM, HACMP,SP
> Gresham Enterprise Storage
> lmorris AT openmic DOT com
> 606-253-8000
--
Mr. Lindsay Morris
Mr. Lindsay Morris
Certified: AIX,ADSM, TSM, HACMP,SP
Gresham Enterprise Storage
lmorris AT openmic DOT com
606-253-8000
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Stoping the server through a script, Scott Fluegge
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Cook, Dwight E
- Re: Stoping the server through a script, Gary Ison
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Lindsay Morris
- Re: Stoping the server through a script, Brian Johnson
- Re: Stoping the server through a script, Cook, Dwight E
- Re: Stoping the server through a script, Scott Fluegge
- Re: Stoping the server through a script,
Lindsay Morris <=
- Re: Stoping the server through a script, Fred Johanson
- Re: Stoping the server through a script, Scott Fluegge
- Re: Stoping the server through a script, Richard Sims
- Re: Stoping the server through a script, Cook , Dwight E [SMTP:cookde
|
|
|