I sent my project by following mails (because of size ). files are
1) Server.h
2) Server.cpp
3) parser_task.h
4) parser_task.cpp
5) ipmi_task.h
6) ipmi_task.cpp
7) ipmi_main.h
8) ipmi_main.cpp
9) Bping_Acceptor.h
10) Bping_Acceptor.cpp
Objective of my project is monitor (getting information )the IPMI enabled
server in the requlare interval of time( polling based).
my project acting as a server , the sever listing on the 2777 port and client
send the IPMI request to sever at reqular( ex 5 min interval client send to
sever minimum 500 requests) interval of time , the server (my project) parse
the request and establish the connection to the given IPMI server and take a
particular information (like sensor details) and send back to theclient and
close the connection to the IPMI server as like my project process all request
from the client.
request format from client to server is below given
request = \"[EMAIL
PROTECTED]|623|3|1000000|md5|admin|guest|guest123|get_sensors_detail|\\n\";
210.210.65.108 -- IPMI sever ip
623 -- port
3 -- retry
1000000 -- timeout
md5 -- authentication type
admin -- privilage level
guest -- username
guest123 -- password
get_sensors_detail -- command (this command going to get the sensor details
from IPMI server)
File details:
Server.cpp -- This is the main program
parser_task.cpp -- This parser_task.cpp listen on 2777( tcp port),
receive request from the client and pass the
this request to the ipmi_task message queue.
ipmi_task.cpp -- this ipmi_task.cpp spawn the two threads , one
thread running the operation_loop , other thread getting the request message
from the queue and call the ipmi_main.cpp--> main1(reqStr).
ipmi_main.cpp -- this ipmi_main.cpp do the connection to the (LAN
interface) IPMI server and
get the details from the server (get_sensors_detail) and constructing the reply
message for the client and putting the reply message to the parser task message
queue (for reply to the client) and closing the connection to the IPMI sever.
My problem ???????
my problem here is , the os_hnd->operation_loop(os_hnd) not running.
please give me the solution.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Openipmi-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openipmi-developer