The timer can be set up to 32767 seconds. You probably don't want to go that 
high in
practice, you'll be waiting over 9 hours for a machine to just be logged off.

Set the timer for normal shutdown times with some extra. If they fail to 
terminate
cleanly, investigate the cause and resolve the problem. I would normally set 
the default
to 600 seconds, that worked the vast majority of the time. Of course, different 
software
has different needs.

On 08/05/2011 03:47 AM, Lu GL Gao wrote:
>
> Thanks! Because we have many applications and softwares on linux, maybe some 
> of them
> have pending stop, or maybe some have problem to fail stop. Even though I set 
> a big
> timer, it is possible that system shutdown is prior to software's normal 
> stop. How to
> solve this situation?
>
>
> Best Regards!
>
> Gao Lu (高路)
> I/T Specialist
> Global Technology Services
> IBM Global Services (China) Company Limited.
> Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang 
> District,
> Beijing, 100101
> 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101
> BeiJing 100027, PRC
> Cell Phone: 15001327619
> Internet ID: lu...@cn.ibm.com
>
> Inactive hide details for Rich Smrcina ---2011-08-05 16:28:28---CP SIGNAL 
> SHUTDOWN
> causes the standard Linux shutdown process tRich Smrcina ---2011-08-05 
> 16:28:28---CP
> SIGNAL SHUTDOWN causes the standard Linux shutdown process to be executed, 
> through
>
>                 *Rich Smrcina <r...@velocitysoftware.com>*
>                 Sent by: The IBM z/VM Operating System 
> <IBMVM@LISTSERV.UARK.EDU>
>
>                 2011-08-05 16:28
>                 Please respond to
>                 The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU>
>
>       
>
> To
>       
> IBMVM@LISTSERV.UARK.EDU
>
> cc
>       
>
> Subject
>       
> Re: Question about Linux shutdown
>
>       
>
>
> CP SIGNAL SHUTDOWN causes the standard Linux shutdown process to be executed, 
> through
> the init scripts.
>
> If the software you mention contains quiesce or shutdown commands in the init 
> scripts,
> it will be executed with SIGNAL SHUTDOWN.
>
> The big question then is of the time frame. Is 90 seconds enough time to 
> guarantee that
> the software is all shutdown before CP pulls the rug out from under the 
> virtual machine?
> THAT is what you need to make sure of. Your shutdown timer may have to be 
> changed.
>
> The shutdown timer can be set system wide, so that it does not need to be 
> specified on
> each command.
>
> On 08/05/2011 12:42 AM, Lu GL Gao wrote:
> >
> > If many softwares run on our z/Linux such as OCFS2, OMEGAMON XE Agent and 
> > DB2, does
> > command 'CP SIGNAL SHUTDOWN TSTLNX1 WITHIN 90' impacts those softwares?
> >
> > I mean, because thoes software were not stop by normal steps but shutdown 
> > linux
> > directly, do thoes softwares will start normally once z/Linux boots again?
> >
> > The reason why I ask this question is that I need to automatically backup 
> > linux system
> > by Operation Manager for z/VM, before backing-up, linux should be 
> > shutdowned. I just
> > wonder how to automatically stop softwares running on linux to be backup.
> >
> >
> >
> > Best Regards!
> >
> > Gao Lu (高路)
> > I/T Specialist
> > Global Technology Services
> > IBM Global Services (China) Company Limited.
> > Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang 
> > District,
> > Beijing, 100101
> > 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101
> > BeiJing 100027, PRC
> > Cell Phone: 15001327619
> > Internet ID: lu...@cn.ibm.com
> >
>
>
> -- 
> Rich Smrcina
> Velocity Software, Inc.
> http://www.velocitysoftware.com
>
> Catch the WAVV! http://www.wavv.org
> WAVV 2012 - April 13-17, 2012 Covington, KY
>


-- 
Rich Smrcina
Velocity Software, Inc.
http://www.velocitysoftware.com

Catch the WAVV! http://www.wavv.org
WAVV 2012 - April 13-17, 2012 Covington, KY

Reply via email to