That assumption is correct, even if you use the ALL parameter. That causes the 
signal to be sent to all guests that have registered to receive it, but not to 
those who haven't registered. The actual shutdown is via the SHUTDOWN command 
which is separate from the SIGNAL command.

The command, itself, does not shut the guests down, it tells them to do their 
own orderly shutdown. That is presumably why they registered to receive the 
signal. You could test on a single guest without any problems for the others or 
for the system.


Regards,
Richard Schuh





________________________________
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Robert J McCarthy
Sent: Wednesday, June 03, 2009 11:05 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Clean Linux Guest Shutdown

Richard and Mark,
   Am I right in assuming that CP SIGNAL will only shutdown the guests and not 
vm, particularily if I use the table ? I could safely test this routine on one 
guest without impacting other guests.
                             Thank you,
                             Bob
________________________________
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Schuh, Richard
Sent: Wednesday, June 03, 2009 2:00 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Clean Linux Guest Shutdown

Why not CP SIGNAL SHUTDOWN ALL instead of the table.


Regards,
Richard Schuh





________________________________
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On Behalf 
Of Mark Pace
Sent: Wednesday, June 03, 2009 10:55 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Clean Linux Guest Shutdown

I have an exec I run that runs through a table and sends the command to each 
linux.

'CP SIGNAL SHUTDOWN ' linux ' WITHIN 60'

On Wed, Jun 3, 2009 at 1:49 PM, Adam Thornton 
<athorn...@sinenomine.net<mailto:athorn...@sinenomine.net>> wrote:

On Jun 3, 2009, at 12:43 PM, Robert J McCarthy wrote:

I am trying to develop a shutdown procedure to cleanly shutdown my linux 
guests, prior to shutting down vm. Reading the documentation in the 
virtualization cookbook for SLES10 and the vm CP COMMANDS manual; I have setup 
the following :
1. In each linux guest's /etc/inittab; I have changed the shutdown -r to 
shutdown -h
2. In my autolog1 exec I have placed the following command:
   CP SET SIGNAL SHUTDOWN 1200   ( To allow the guests 20 minutes to respond)
   Note: I have also entered the command manually
  When I issue the shutdown, vm shuts down before most if not all linux guests 
have responded or completed shutdown; always within a minute or two. As a 
result I end up with file corruption in some linux guests after vm is re-IPLed 
and the guests are brought back up.
  Is there a better way to accomplish a clean linux shutdown.
                                           Thank you,
                                           Bob

Our SYSVINIT drop-in-replacement for a list-of-machines-in-autolog would do the 
trick.  It may be overkill.

Adam



--
Mark Pace
Mainline Information Systems
1700 Summit Lake Drive
Tallahassee, FL. 32317

Reply via email to