yes it has hotswap capability, and I have to power it on or of via
saHpiHotSwapActionRequest!
I found such code snippet from plugins/ipmidirect/ipmi_resource.cpp:
// Reset supported on ATCA FRUs - Don't allow it on fru #0 of the
active ShMC
if ( m_mc->IsTcaMc() )
{
if (!( (m_mc->GetAddress() == dIpmiBmcSlaveAddr) && (m_fru_id
== 0) ))
{
entry.ResourceCapabilities |= SAHPI_CAPABILITY_RESET;
}
}
else if ( m_mc->IsRmsBoard() ) { /*Rms enabling - 11/09/06 ARCress */
SaHpiEntityTypeT type =
cIpmiEntityPath(m_entity_path).GetEntryType(0);
if (type == SAHPI_ENT_SYSTEM_BOARD) {
stdlog << "Enabling Reset on RMS type " << type << "\n";
entry.ResourceCapabilities |= SAHPI_CAPABILITY_RESET;
entry.ResourceCapabilities |= SAHPI_CAPABILITY_POWER;
}
}
is that mean blades have no power capability??
then I try the ipmi plugin, it still doesn’t have the power capability. Looking
into the ipmi plugin implementation, I found that a resource assigned
SAHPI_CAPABILITY_POWER with it only when a control of power is found, and ATCA
board obviously has no such thing.
As for the hs command in hpi_shell, if I use ipmi plugin, it is ok to power on
the blade with “action insert”. however, if I use ipmidirect plugin, all hs
related command report TIMEOUT. the two plugins have different implementation
for hotswap.
The blade server I used is ATCA compliant, but not released yet. the blade I
used is Intel MPCBL0001.
_____
发件人: Peter Pothier [mailto:[EMAIL PROTECTED]
发送时间: 2008年4月11日 7:58
收件人: [email protected]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
主题: RE: [Openhpi-devel] how to power on a blade
Does it have Hot Swap capability instead of Power? Try inserting it via
saHpiHotSwapActionRequest??
Peter P
_____
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason Barrett
Sent: Thursday, April 10, 2008 4:15 PM
To: [EMAIL PROTECTED]; [email protected]; [EMAIL PROTECTED]
Subject: Re: [Openhpi-devel] how to power on a blade
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/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