Hi Hung Ta,

So you'd like to test IPMI Direct plug-in on simulated hardware, right?
After some googling I see there is simulation code in OpenIPMI and  
proprietary IPMI simulators.
However I've never tried it.

        Anton Pak

On Mon, 09 Jul 2012 05:59:29 +0400, Hung Ta <[email protected]> wrote:

> Hi Anton Pak,
>
> Thank you very much for your reply.
>
> I knew those simulations you mentioned. They go with libsimulator,
> libdyn_simulator and libtestagent respectively under so-called "handler
> plugin" defined in openhpi.conf. I've tried libsimulator and
> libdyn_simulator and they work fine. Besides, there is another hander
> libipmidirect:
> # Section for ipmidirect plugin using RMCP:
> handler libipmidirect {
>         entity_root = "{SYSTEM_CHASSIS,7}"
>         name = "lan"         # RMCP
>         addr = "192.168.30.81"   # Host name or IP address
>         port = "623"         # RMCP port
>         auth_type = "none"   # none, md2, md5 or straight
>         auth_level = "admin" # operator or admin
>         username = "root"
>         password = "cmmrootpass"
>         MultipleDomains = "no"  # "yes" creates a domain for this handler
>         DomainTag = "Chassis 1" # Used if MultipleDomains="yes"
>         logflags = ""      # logging off
>         # logflags = "file stdout"
>         # infos goes to logfile and stdout
>         # the logfile are log00.log, log01.log ...
>         logfile = "log"
>         # if #logfile_max reached replace the oldest one
>         logfile_max = "10"
> }
> When creating handler libipmidirect dynamically (or whatever), openhpi  
> will
> use the specified parameters such as entity_root, name, IP address, port,
> username & password for authentication... These parameters are provided  
> to
> make a connection to the specified shelf manager for openhpi to monitor.
> This connection uses RMCP protocol.
>
> My issue is that I don't have a real hardware, so I need a simulator to  
> get
> such purpose.
>
> Thanks,
> Hung
>
>
> On Fri, Jul 6, 2012 at 5:55 PM, Anton Pak <[email protected]>  
> wrote:
>
>> Hi Hung Ta,
>>
>> I've not heard about Shelf Manager RMCP service simulation.
>> PPS have a tool for uTCA Carrier simulation.
>>
>> With current OpenHPI plug-in you can simulate arbitrary set of HPI
>> resources
>> and instruments.
>>
>> We have 3 simulation plug-ins right now:
>> - simulator:
>> Provides fixed set of resources and instruments.
>> Additional data can be injected with oHpiInjectEvent().
>>
>> - dynamic_simulator
>> Reads configuration from file at startup.
>> There is hpigensimdata app that allows to make configuration file
>> representing any real available system.
>>
>> - test agent
>> Allows runtime configuration change.
>> Provides management console on TCP port.
>>
>> What aspects of the system do you want to simulate:
>> - static view of the system,
>> - dynamic system behavior: changes of sensor readings, sensor event
>> generation, FRU hot swaps
>> - other stuff
>> ?
>>
>>         Anton Pak
>>
>>
>> On Fri, 06 Jul 2012 13:27:45 +0400, Hung Ta <[email protected]>  
>> wrote:
>>
>>  Hi Anton Pak, all,
>>>
>>> My application needs to talk to shelf manager for accessing its  
>>> resources,
>>> monitoring hardware status... via the RMCP using ipmidirect plugin but  
>>> at
>>> this time I don't have a real hardware to test.
>>>
>>> Do we have a simulator for this test? If we do, would you please give  
>>> some
>>> guides?
>>>
>>> Thanks,
>>> Hung
>>>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to