Yup,   s390 tools is installed.     

I have setup /etc/rc.d/rc.local  as described in the Cookbook to run '  chshut 
halt vmcmd logoff' and 'chshut poff vmcmd logoff ' at boot time. 

Lsshut shows the following:
Trigger          Action
========================
Halt             vmcmd ("logoff")
Power off        vmcmd ("logoff")
Reboot           reipl
Restart          stop
Panic            stop


But,  I suspect it is something along these lines that is tripping me up.   .
  

Jim Barnett
z/VM and zLinux 
United Health Technologies
763-744-3066
[email protected]

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Marcy 
Cortes
Sent: Thursday, August 15, 2013 11:41 AM
To: [email protected]
Subject: Re: Rhel 6.4 signal shutdown not working.

I'm not all that familiar with RH, but chshut from s390-tools package is there, 
right?

We have /usr/sbin/chshut poff vmcmd "LOGOFF"   run has server startup time.


$ chshut -h
Usage: chshut TRIGGER ACTION [COMMAND] [OPTIONS]

Change action to be performed after shutdown.

TRIGGER specifies when the action is performed:
  halt      System has been shut down (e.g. shutdown -h -H now)
  poff      System has been shut down for power off (e.g. shutdown -h -P now)
  reboot    System has been shut down for reboot (e.g. shutdown -r)
  Note: Depending on the distribution, "halt" might be mapped to "poff".

ACTION specifies the action to be performed:
  ipl       IPL with previous settings
  reipl     IPL with re-IPL settings (see chreipl)
  stop      Stop all CPUs
  vmcmd     Run z/VM CP command defined by COMMAND

COMMAND defines the z/VM CP command to issue.

OPTIONS:
  -h, --help        Print this help, then exit
  -v, --version     Print version information, then exit




-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Hodge, 
Robert L
Sent: Thursday, August 15, 2013 9:22 AM
To: [email protected]
Subject: Re: [LINUX-390] Rhel 6.4 signal shutdown not working.

I have the following in "/etc/init/control-alt-delete.conf" and it works as a 
halt, not a restart.      

    start on control-alt-delete
    exec /sbin/shutdown -r now "Control-Alt-Delete pressed"

-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Barnett, 
James K
Sent: Thursday, August 15, 2013 9:56 AM
To: [email protected]
Subject: EXTERNAL: Rhel 6.4 signal shutdown not working.

Hello Listers,

I am working on upgrading our gold image from V5.8 to V6.4.     One of the 
issues I have hit is that I think I have everything set up to handle a signal 
shutdown, but the 6.4 instance does not acknowledge that it has been received.  
    I have set up signal 

On the VM side:    signal is enabled for the guest ID,  and when issued, shows 
the signal in process:

                08:44:29 JBARNE8  0043 VMYINI0019R Enter: q signals             
                                  
                08:44:29 JBARNE8  0043                                         
Signalled  Timeout                       
                08:44:29 JBARNE8  0043 Userid        Signal    Signal Status   
By         Remaining               
                08:44:29 JBARNE8  0043 MFSL8009      SHUTDOWN  Enabled         
-          -                       
                
                  08:54:13 JBARNE8  0045                                        
 Signalled  Timeout               
                  08:54:13 JBARNE8  0045 Userid        Signal    Signal Status  
 By         Remaining                   
                  08:54:13 JBARNE8  0045 MFSL8009      SHUTDOWN  Processing     
 OPERATOR   893                   

                If I let it timeout,  it will force the mfsl8009 userid.

On the linux side:    I have updated   /etc/init/control-alt-delete.conf       
changing the  r to h.   

                start on control-alt-delete

                exec /sbin/shutdown -h now "Control-Alt-Delete pressed"

                
Looking through console log and /var/log/messages and any other log I can think 
of,  I never see any sign of the signal being received.

I am probably missing something obvious,  but not sure what it is.     All V5 
linux systems shutdown without problem when signaled.

Any ideas?

Jim Barnett
z/VM and zLinux 
United Health Technologies
763-744-3066
[email protected]


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to