1) Set up /etc/inittab thusly:

# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -h now

2) Enter the CP command: SIGNAL SHUTDOWN ALL WITHIN <nnn>
Where nnn is the number of seconds you can wait before the hammer comes
down ;)

3) Enter the CP command: Q SIGNALS
To see the shutdown status

A 'FFF' wait is loaded on successful Linux shutdown. 

You need a relatively current Linux distro and z/VM 5.1 or later, but
I'm not sure of the exact levels...We're using RH4 Update 4 on z/VM 5.2.
 


Patrick Carroll  |  Enterprise Architect
L.L.Bean, Inc.(r) |  Double L St. |  Freeport ME 04033
http://www.llbean.com | [EMAIL PROTECTED] | 207.552.2426

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Ayer, Paul W
Sent: Monday, August 06, 2007 3:42 PM
To: [email protected]
Subject: issuing a shutdown to linux before IPL'ing VM

Good afternoon,

 

We are looking at ways to issue a z/Linux level shutdown (either "init
0" or "shutdown -h now"  type command) before doing a VM shutdown.

 

Has anyone had to address this? Any samples or documentation would be
greatly appreciated. 

 

Thank you,

 

Paul 

 


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to