Shutting down TSM on AIX

2002-05-16 Thread David E Ehresman

What is the preferred method of shutting down the TSM server on a AIX
box when AIX is being rebooted?  Is a kill command ok or is there a
kinder way to shutdown TSM without using dsmadmc?

David



Re: Shutting down TSM on AIX

2002-05-16 Thread Bob Booth - UIUC

Shutdown and reboot both send a kill -15 to processes.  TSM listens to this
kill signal and shuts itself down.  If you have tape activity going, it is
best to stop as much of it as you can, since some threads won't shut down
completely until I/O is completed.

bob

On Thu, May 16, 2002 at 10:01:06AM -0400, David E Ehresman wrote:
 What is the preferred method of shutting down the TSM server on a AIX
 box when AIX is being rebooted?  Is a kill command ok or is there a
 kinder way to shutdown TSM without using dsmadmc?

 David



Re: Shutting down TSM on AIX

2002-05-16 Thread Gerald Wichmann

Kill command is ok however keep in mind that you'll want to check what the
TSM server is doing first before you do it. Make sure any backups/restores
can be cancelled (and the appropriate people informed) as well as any other
processes like migration and so forth. According to the TSM manual you
should do:

Disable sessions - prevents new clients from accessing TSM put permits
existing sessions to continue
Query sessions - check if any sessions are currently running
Cancel session - cancel above sessions as appropriate
Query process - check for any running processes
Cancel process - cancel them as appropriate
Then when the TSM server is quiet and you're ready to shut it down:
Halt

When you bring it back up use enable sessions to allow clients to access
TSM again..

Are the above necessary? No not really.. doing a halt outright or sending a
kill signal to the process is going to cause the TSM server to cancel
everything anyways.. So if you know it's ok to do so then go for it. But I
usually do a quick check and quiet the TSM server personally..

Regards,

Gerald Wichmann
Senior Systems Development Engineer
Zantaz, Inc.
925.598.3099 (w)

-Original Message-
From: David E Ehresman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 7:01 AM
To: [EMAIL PROTECTED]
Subject: Shutting down TSM on AIX

What is the preferred method of shutting down the TSM server on a AIX
box when AIX is being rebooted?  Is a kill command ok or is there a
kinder way to shutdown TSM without using dsmadmc?

David



Re: Shutting down TSM on AIX

2002-05-16 Thread Bill Boyer

Also check for mounted tapes Q MOUNT. TSM will not dismount the tapes before
it halts. Then when you start back up you have drives with tapes in them
that TSM doesn't know about. On AIX with out 3494 library, I've changed the
rc.adsmserv startup script to dismount any volume from each drive using the
MTLIB command before TSM starts. This way I can be sure there are not tapes
left mounted from TSM comming down before. I'm not sure how you would do it
with other SCSI libraries..

Bill Boyer
DSS, Inc.

-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
Gerald Wichmann
Sent: Thursday, May 16, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Shutting down TSM on AIX


Kill command is ok however keep in mind that you'll want to check what the
TSM server is doing first before you do it. Make sure any backups/restores
can be cancelled (and the appropriate people informed) as well as any other
processes like migration and so forth. According to the TSM manual you
should do:

Disable sessions - prevents new clients from accessing TSM put permits
existing sessions to continue
Query sessions - check if any sessions are currently running
Cancel session - cancel above sessions as appropriate
Query process - check for any running processes
Cancel process - cancel them as appropriate
Then when the TSM server is quiet and you're ready to shut it down:
Halt

When you bring it back up use enable sessions to allow clients to access
TSM again..

Are the above necessary? No not really.. doing a halt outright or sending a
kill signal to the process is going to cause the TSM server to cancel
everything anyways.. So if you know it's ok to do so then go for it. But I
usually do a quick check and quiet the TSM server personally..

Regards,

Gerald Wichmann
Senior Systems Development Engineer
Zantaz, Inc.
925.598.3099 (w)

-Original Message-
From: David E Ehresman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 7:01 AM
To: [EMAIL PROTECTED]
Subject: Shutting down TSM on AIX

What is the preferred method of shutting down the TSM server on a AIX
box when AIX is being rebooted?  Is a kill command ok or is there a
kinder way to shutdown TSM without using dsmadmc?

David



Re: Shutting down TSM on AIX

2002-05-16 Thread David E Ehresman

So does anyone have a shutdown script that does all that they'd be
willing to share?

David

 [EMAIL PROTECTED] 05/16/02 01:04PM 
Kill command is ok however keep in mind that you'll want to check what
the
TSM server is doing first before you do it. Make sure any
backups/restores
can be cancelled (and the appropriate people informed) as well as any
other
processes like migration and so forth. According to the TSM manual you
should do:

Disable sessions - prevents new clients from accessing TSM put permits
existing sessions to continue
Query sessions - check if any sessions are currently running
Cancel session - cancel above sessions as appropriate
Query process - check for any running processes
Cancel process - cancel them as appropriate
Then when the TSM server is quiet and you're ready to shut it down:
Halt

When you bring it back up use enable sessions to allow clients to
access
TSM again..

Are the above necessary? No not really.. doing a halt outright or
sending a
kill signal to the process is going to cause the TSM server to cancel
everything anyways.. So if you know it's ok to do so then go for it.
But I
usually do a quick check and quiet the TSM server personally..

Regards,

Gerald Wichmann
Senior Systems Development Engineer
Zantaz, Inc.
925.598.3099 (w)

-Original Message-
From: David E Ehresman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 7:01 AM
To: [EMAIL PROTECTED]
Subject: Shutting down TSM on AIX

What is the preferred method of shutting down the TSM server on a AIX
box when AIX is being rebooted?  Is a kill command ok or is there a
kinder way to shutdown TSM without using dsmadmc?

David



Re: Shutting down TSM on AIX

2002-05-16 Thread Ford, Phillip

For scsi I do the following before starting TSM:

tapeutil -f /dev/rmtxx reset
tapeutil -f /dev/rmtxx unmount  /dev/null 21

This resets any scsi locks and unmounts any tapes.


--
Phillip Ford
Senior Software Specialist
Corporate Computer Center
Schering-Plough Corp.
(901) 320-4462
(901) 320-4856 FAX
[EMAIL PROTECTED]





-Original Message-
From: Bill Boyer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 12:09 PM
To: [EMAIL PROTECTED]
Subject: Re: Shutting down TSM on AIX


Also check for mounted tapes Q MOUNT. TSM will not dismount the tapes before
it halts. Then when you start back up you have drives with tapes in them
that TSM doesn't know about. On AIX with out 3494 library, I've changed the
rc.adsmserv startup script to dismount any volume from each drive using the
MTLIB command before TSM starts. This way I can be sure there are not tapes
left mounted from TSM comming down before. I'm not sure how you would do it
with other SCSI libraries..

Bill Boyer
DSS, Inc.

-Original Message-
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
Gerald Wichmann
Sent: Thursday, May 16, 2002 1:05 PM
To: [EMAIL PROTECTED]
Subject: Re: Shutting down TSM on AIX


Kill command is ok however keep in mind that you'll want to check what the
TSM server is doing first before you do it. Make sure any backups/restores
can be cancelled (and the appropriate people informed) as well as any other
processes like migration and so forth. According to the TSM manual you
should do:

Disable sessions - prevents new clients from accessing TSM put permits
existing sessions to continue
Query sessions - check if any sessions are currently running
Cancel session - cancel above sessions as appropriate
Query process - check for any running processes
Cancel process - cancel them as appropriate
Then when the TSM server is quiet and you're ready to shut it down:
Halt

When you bring it back up use enable sessions to allow clients to access
TSM again..

Are the above necessary? No not really.. doing a halt outright or sending a
kill signal to the process is going to cause the TSM server to cancel
everything anyways.. So if you know it's ok to do so then go for it. But I
usually do a quick check and quiet the TSM server personally..

Regards,

Gerald Wichmann
Senior Systems Development Engineer
Zantaz, Inc.
925.598.3099 (w)

-Original Message-
From: David E Ehresman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 7:01 AM
To: [EMAIL PROTECTED]
Subject: Shutting down TSM on AIX

What is the preferred method of shutting down the TSM server on a AIX
box when AIX is being rebooted?  Is a kill command ok or is there a
kinder way to shutdown TSM without using dsmadmc?

David

***
 This message and any attachments is solely for the intended recipient. If
you are not the intended recipient, disclosure, copying, use, or
distribution of the information included in this message is prohibited --
please immediately and permanently delete this message.