|
From: egan at sense.n. (E. Ford) - 2002-08-23 11:23:58
|
Reboot: psh noderange /sbin/reboot
Halt: psh noderange /sbin/halt
If you want automate halt/power off try this script:
psh noderange /sbin/halt
NUM=$(nr noderange | wc -l | awk '{print $1}')
cd /var/log/consoles
while [ "$NUM" != "$CNUM" ]
do
CNUM=$(nrcmd noderange strings NODE | tail -1 | grep "System
halted." | wc -l awk '{print $1}')
done
rpower noderange off
The above script will:
1. Send a parallel halt
2. Monitor the conserver logs for a successful halt.
3. When the number of halted systems = the number of nodes in your
noderange, then power off the noderange.
Alternately you can try this with the service processor, but I have not
tried it. The service processor with a device driver can monitor system
status and from the service processor you can issue a shutdown with
power off. In the past the older device drivers didn't do the correctly
so I never put it in xCAT (rshutdown or rpowerdown).
I prefer the above script because it has no dependency on xSeries
service processors. (e.g. Intellistation-based clusters will also
work.)
>-----Original Message-----
>From: xca...@li...
>[mailto:xca...@li...] On Behalf Of Thomas Davis
>Sent: Friday, August 23, 2002 10:00 AM
>To: xca...@li...
>Subject: Re: [xcat-user] Node reboot policy w/ ext3 - rpower
>or shutdown?
>
>
>If you running GPFS, be very careful about this.
>
>Just powering off the units without a proper shutdown could
>cause filesystem corruption that isn't properly repaired on boot.
>
>This is fixable; it's just the default install of GPFS does
>stupid things which is fixed in 2.1 (the next version of GPFS).
>
>thomas
>
>fr...@me... wrote:
>>
>> What is the recommended way of node reboots and shutdowns with ext3?
>> Do we recommend 'shutdown' and opening a console and waiting for
>> 'Power down', or do we rely on ext3 and rpower the node hot?
>I need to
>> document this for my customer.
>>
>> Thx, -Fritz Wilke
>>
>> _______________________________________________
>> xcat-user mailing list
>> xca...@li... http://x-cat.org/mailman/listinfo/xcat-user
>_______________________________________________
>xcat-user mailing list
>xca...@li... http://x-cat.org/mailman/listinfo/xcat-user
>
|