You can certainly issue individual SIGNAL SHUTDOWNs (manually or via an EXEC like yours), but VMs SHUTDOWN command can wait a designated amount of time (which is tailorable) to allow the Linux machines to shut down via the signal.
On Mon, 2004-04-26 at 16:30, Scorch Burnet wrote: > I have an exec that issues the shutdown command and waits for a CP > message. It works for me. > I have the VM operator issue it prior to a VM roll and it seems to work > ok. you should be getting a CP message HCPSIG2113I or HCPSIG2112I. > I can send this EXEC if you like > > Nick Laflamme wrote: > > > I'm back for my monthly efforts to get SIGNAL SHUTDOWN support in a > > SLES8 image working under VM. In the month since I last beat my head > > against this particular wall, I've made sure this image has the latest > > and greatest patches on it. It's at SP 3 and some other fixes released > > by SuSE, 2.4.21-107-default, according to uname -r. > > > > Is there any sort of verification tool for /etc/inittab to rule out any > > manner of stupid typos, bad assumptions, and other faults? > > > > What kinds of log messages does one see when a SIGNAL SHUTDOWN is > > correctly caught? I see single lines in /var/log/messages and > > /var/log/warn that > > > > (date) (time) (systemname) "kernel: CAD: Sending SIGNINT to PID 1..." > > > > I can't tell if I should expect more than that or if that itself is a > > warning. > > > > I know I've asked about this before on this list, and several of you > > have repeated the syntax for /etc/inittab, typically: > > > > ca:12345:ctrlaltdel:/sbin/shutdown -h now > > > > > > Given that I seem to have that right and seem to be at a current-enough > > (too current?) level of SLES 8, what else do I look for? > > > > Thanks, > > Nick > > > > ---------------------------------------------------------------------- > > 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 ---------------------------------------------------------------------- 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
