Hello Pierce,

Domain paradigm was changed in 2.12.
Now single OpenHPI daemon represents only single domain.
And you can configure multiple domains on client library level
in openhpiclient.conf file.

The example:
==================================================
OpenHPI daemon #1: running on 192.168.1.1.
OpenHPI daemon #2: running on 192.168.1.2.

And openhpiclient.conf:

domain 42 {
     host = 192.168.1.1
}
domain 43 {
     host = 192.168.1.2

}
domain default {
     host = 192.168.1.1
}

==================================================
And now you can call saHpiSessionOpen to default domain (aka 42),
domain 42 and domain 43.
Or use OpenHPI clients with -D domain_id.

        Anton Pak


On Fri, 13 May 2011 12:45:24 +0400, liu pf <[email protected]> wrote:

> Hi,
>
> Could anybody be kindly tell me about the status of multi domains  
> support in
> OpenHPI?
> I dig into the code, and found that the function "oh_create_domain"  only
> called by main >oh_init >. So I think there is no way to create more than
> one domain for current OpenHPI version.
> Am I right?
>
> Thanks,
> Pierce

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to