I think his point was that the condition below will evaluate false, as
the CAPABILITY_POWER for the blade is not set.  Does that mean that the
blade cannot be powered on programmatically using HPI?

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of peter
dinh phan
Sent: Thursday, April 10, 2008 3:47 PM
To: [EMAIL PROTECTED]; [email protected]
Subject: Re: [Openhpi-devel] how to power on a blade

 

Hi, 

We have a sample openHPI/clients/hpipower.c showing how to power
on/off/recycle a blade.  Basically 

                ............
           if (resource.ResourceCapabilities & SAHPI_CAPABILITY_POWER)
           {
                    .....
                    Status = saHpiResourcePowerStateSet(SessionId,
                                   resource.ResID,
                                   Action);
                   ......
            }
                        
zhanghuan <[EMAIL PROTECTED]> wrote:

hi.

I have a blade server, with two blades plugged. I spent several days but
cannot figure out how to power on an blade. since the resource
representing the blade does not have the "power" capability.
please give me some help.

thanks in advance

Zhang Huan
National Research Centre for High Performance Computers
Institute of Computing Technology, Chinese Academy of Sciences
No. 6, South Kexueyuan Road, Haidian District
Beijing, China




------------------------------------------------------------------------
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

 

 __________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to