void ipmi_main::ra_hand( ipmi_mc_t *src, ipmi_msg_t *msg, void *rsp_data)
{
printf("Netfun :%x\n",msg->netfn);
printf("Command :%x\n",msg->cmd);
printf("Data_len :%d\n",msg->data_len);
printf("Data
:%x\n",msg->data[0]);
}
void ipmi_main::raww(ipmi_domain_t *domain, ipmi_mc_t *mc, void *cb_data)
{
unsigned char data[10];
ipmi_msg_t msg;
data[0] = 2; // Parameter selector
data[1] = 0; // Set selector
data[2] = 124; //
data[3] = 7; // data[2]-[5] = IP address = 124.7.228.170
data[4] = 228; //
data[5] = 170; //
data[6] = 0; //
data[7] = 0; // data[6]-[9] = Reserved (must be zero)
data[8] = 0; //
data[9] = 0; //
msg.netfn = 0xC0;
msg.cmd = 0x14;
msg.data = data;
msg.data_len = 10;
ipmi_mc_send_command(mc, 0, &msg, ra_hand, NULL);
}
using ipmi_mc_send_command() i am setting the parameters
in the IPMI card (Over LAN) . The command is OEM specfic command (0xC0), the
response of the command is ( c3 ) (completion code) Timeout.
In the ra_hand() i am printing the command response results ,
the results as follows:
Netfun :c1
Command :14
Data_len :1
Data :c3
due to the the completion code ( c3 ) not able to set the parameter to
the IPMI card.
please help me why this completion code ( c3 ) timeout comming ,How to
go about this
issue.
Thanks
-Barani
--- Begin Message ---
So you have a SAN/NAS on the network that has an IPMI interface, is that
correct?
Anyway, you have some OEM commands. You can send them directly with
ipmi_mc_send_command(). Or you can create OEM sensors/controls to
control them. The direct messages is definitely the simplest, but it
does not give you a consistent interface to your system. Using OEM
controls is more complex to do, but everything will show up in the GUI,
for instance, and standard software could control it.
For an example of creating OEM controls, see lib/oem_intel.c in the
OpenIPMI sources.
-corey
baranidharan wrote:
Remote storage server:
Through IPMI card i have to connect the storage
server , this storage server have the IP , port. IPMI card have the OEM
specfic storage configuration table , this table contains the
following parameters parameter#0 storage server IP , parameter#1
storage server port. OEM provides the command for setting this parameters.
OEM command 1:
-----------------------
Oem Set Storage Config Command
I have to set this parameters (storage server IP ,storage server port)
over LAN.
After setting this parameters , i have to connect IPMI card to the
storage server. For this OEM provides the one command the command as
follows.
OEM command 2:
------------------------
Oem Set Storage State Command
For connecting remote storage server and IPMI card , i have to give
above two OEM specfic commands over LAN to BMC.
How to go about this please provide the information.
Note:
-------
Using the OpenIPMI API i am able get the sensors information
( over LAN).
Thanks
-Barani
********** DISCLAIMER **********
Information contained and transmitted by this E-MAIL is proprietary to
Sify Limited and is intended for use only by the individual or entity to
which it is addressed, and may contain information that is privileged,
confidential or exempt from disclosure under applicable law. If this is a
forwarded message, the content of this E-MAIL may not have been sent with
the authority of the Company. If you are not the intended recipient, an
agent of the intended recipient or a person responsible for delivering the
information to the named recipient, you are notified that any use,
distribution, transmission, printing, copying or dissemination of this
information in any way or in any manner is strictly prohibited. If you have
received this communication in error, please delete this mail & notify us
immediately at [EMAIL PROTECTED]
Watch the latest updates on Mumbai, with video coverage of news, events,
Bollywood, live darshan from Siddhivinayak temple and more, only on
www.mumbailive.in
Watch the hottest videos from Bollywood, Fashion, News and more only on
www.sifymax.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer
--- End Message ---
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer