>>Was it 2.12?
 
Yes.

>>In current OpenHPI the only two options supported in simulator plug-in 
>>stanza are name and entity_root.
>>Use -p command line arg for openhpid to specify port.
 
I tried that, but it doesn't help. The behavior is same.
 
Regards,
Lucky


-----"Anton Pak" wrote: -----
To: [email protected], "Y Lakshmaiah" <[email protected]>
From: "Anton Pak" <[email protected]>
Date: 06/01/2011 03:22PM
cc: [email protected]
Subject: Re: [Openhpi-devel] Multiple Domain support in openHPI simulator

Was it 2.12?

In current OpenHPI the only two options supported in simulator plug-in  
stanza are name and entity_root.
Use -p command line arg for openhpid to specify port.

	Anton Pak

On Wed, 01 Jun 2011 13:45:08 +0400, Y Lakshmaiah <[email protected]>  
wrote:

> Hi Uli,
>
> I created 3 different config files for 3 domains:
>
> openhpi.conf (default domain) :
>
>
> handler libsimulator {
> entity_root = "{SYSTEM_CHASSIS,1}"
> name = "simulator"
> addr = "localhost"
> port = 4743
> MultipleDomains = "yes" # yes creates a domain for this handler
> DomainTag = "Chassis 0" # Used if MultipleDomains=yes
> }
>
> openhip-1.conf (for domain 1)
>
> handler libsimulator {
> entity_root = "{SYSTEM_CHASSIS,2}"
> name = "simulator2"
> addr = "localhost"
> port = 54444
> MultipleDomains = "yes" # yes creates a domain for this handler
> DomainTag = "Chassis 1" # Used if MultipleDomains=yes
> }
>
> openhip-2.conf (for domain 2)
>
> handler libsimulator {
> entity_root = "{SYSTEM_CHASSIS,3}"
> name = "simulator 3"
> addr = "localhost"
> port = 55555
> MultipleDomains = "yes" # yes creates a domain for this handler
> DomainTag = "Chassis 2" # Used if MultipleDomains=yes
> }
>
> client.conf (for hpi_shell)
>
>
> domain default {
>
> host = "localhost" # String value. Double quotes required.
> port = 4743 # Interger value
> }
>
> domain 1{
>
> host = "localhost"
> port = 54444
> }
>
> domain 2{
>
> host = "localhost"
> port = 55555
> }
>
> And I run 3 daemons for 3 different domains :
>
> ./openhpid/openhpid -f /tmp/pid6 -c plugins/simulator/t/openhpi-1.conf  
> -p 54444
> ./openhpid/openhpid -f /tmp/pid7 -c plugins/simulator/t/openhpi-2.conf  
> -p 55555
> ./openhpid/openhpid -f /tmp/pid8 -c plugins/simulator/t/openhpi.conf
>
> Then run hpi_shell with the client.conf .
>
> now when I list domains it hpi_shell shows only "0" and when I try to  
> change to
> domain 1 or 2 it throws an error message:
>
> hpi_shell -c plugins/simulator/t/openhpiclient.conf
>
> Discovery done
> Enter a command or "help" for list of commands
> Available commands are:
>
> addcfg ann clearevtlog ctrl
> dat debug dimi domain
> domaininfo dscv echo event
> evtlogtime evtlogreset evtlogstate exec
> fumi help history hs
> inv lsres lsensor more
> parmctrl power quit rdr
> reopen reset rpt run
> sen settag setsever settimeevtlog
> showevtlog showinv showrdr showrpt
> ver wtdget wtdreset wtdset
> ?
> Domain list:
> ID: 0 SessionId: 1 Tag: DEFAULT
> OpenHPI> domain 1
> saHpiSessionOpen error INVALID_DOMAIN
> Can not open domain: 1
> Invalid parameters:
> domain 1
> domain: show domain list and set current domain
> Usage: domain [<domain id>]
>
> Is some thing missing in my configuration or am I doing it wrong ?
>
> Regards,
>
> Lucky
>
>
>
> -----Y Lakshmaiah/HYD/TCS wrote: -----
>
> To: [email protected]
> From: Y Lakshmaiah/HYD/TCS
> Date: 05/30/2011 11:36AM
> cc: [email protected]
> Subject: RE: [Openhpi-devel] Multiple Domain support in openHPI simulator
>
> Thanks a lot, Uli.
>
> I would try this and post if I have any further queries.
>
> Regards,
>
> Lucky
>
>
>
> -----Ulrich Kleber wrote: -----
>
> To: "[email protected]" <[email protected]>,  
> "[email protected]"
> <[email protected]>
> From: Ulrich Kleber <[email protected]>
> Date: 05/27/2011 05:03PM
> Subject: RE: [Openhpi-devel] Multiple Domain support in openHPI simulator
>
> Hi Lucky,
>
> It is easy to configure multiple domains with simulator.
>
> As you probably know, each domain is implemented by its own daemon.
>
> So you need to start two different daemons, using different ports and pid
>
> files (or run them on different machines), if you want to have two  
> domains.
>
> You should also use different conf files, so the simulator plugins can  
> have
> different
>
> entity paths.
>
> Then you need to configure openhpiclient.conf so your hpi client library  
> will
>
> know how to find the daemons.
>
> See man openhpid, man openhpi and the openhpiclient.conf.example for  
> some more.
>
> Cheers,
>
> Uli
>
> From: Y Lakshmaiah [mailto:[email protected]]
> Sent: Freitag, 27. Mai 2011 12:32
> To: [email protected]
> Subject: [Openhpi-devel] Multiple Domain support in openHPI simulator
>
> Hi,
>
> Is there any way to configure multiple domains in openHPI simulator ?
>
> How does the conf file look like if it is possible to configure.
>
> How about this support in version 2.12 ?
>
> Regards,
>
> Lucky
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to