[EMAIL PROTECTED] wrote on 04/10/2008 04:14:56 
PM:

> 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?

Yes, blades can be powered on/off programmatically using HPI.

The question here is why is the blade resource coming up without the power 
resource capability. It could be a bug in the plugin or there could be a 
real reason for that. Without knowing more details about what OpenHPI 
version, what plugin, and what hardware is being used all we can do is 
speculate.

So let me speculate a bit. Zhang may be using the IPMI plugin based on an 
openhpi.conf he posted on another thread. If so, I recommend trying the 
ipmidirect plugin and see what the resource capabilities look like in that 
case.

        --Renier

> 
> 
> From: [EMAIL PROTECTED] [mailto:openhpi-
> [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/javaone
> _______________________________________________
> 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
-------------------------------------------------------------------------
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