Srinivas,
My idea is to replace in application:
-------------------------------
..
saHpiSessionOpen(...)
..
-------------------------------
with
-------------------------------
..
setenv( "OPENHPI_DAEMON_HOST", "192.168.1.1" );
saHpiSessionOpen(...)
..
-------------------------------
where 192.168.1.1 is address of one deamon.
This will open session to the daemon.
If you need session to another daemon, just set OPENHPI_DAEMON_HOST to
another daemon address.
Anton Pak
On Sun, 29 May 2011 19:33:22 +0400, srinivas k
<[email protected]> wrote:
> Hi Anton Pak,
>
> Thanks for the reply.
> If i want to run the multiple openhpi daemons, i feel this work around
> will
> fail.
> Please correct me, if i am wrong.
>
> Thanks & Regards
> Srinivas
>
> On Sat, May 28, 2011 at 7:44 PM, Anton Pak
> <[email protected]>wrote:
>
>> Srinivas,
>>
>> Yes the patch can be made. However it would require some work time and
>> resources.
>> Which, I afraid, we don't have.
>> Could you consider moving to 2.16?
>>
>> One workaround is to:
>> - not use openhpiclient.conf at all, remove it.
>> - set env variables OPENHPI_DAEMON_HOST and OPENHPI_DAEMON_PORT to
>> address/port of new domain.
>> - then connect to domain 0
>>
>> Anton Pak
>>
>>
>> On Sat, 28 May 2011 14:46:09 +0400, srinivas k <
>> [email protected]> wrote:
>>
>> Hi All,
>>>
>>> I have one query about the newly added domains (in openhpiclient.conf).
>>> During run time, my client application is unalbe to recognize the newly
>>> added domians in client configuration (in Openhpi-2.12 package). Due to
>>> this
>>> reason it is unable to open session for the newly added domians.
>>>
>>> When i restart my client application, it is able to establish session.
>>>
>>> I saw some fixes in 2.15 package (
>>>
>>> http://sourceforge.net/tracker/?func=detail&aid=3064532&group_id=71730&atid=532254
>>> )
>>> .
>>>
>>> Is there any such support/patch available for 2-12 as well or any work
>>> around to handle this situation.
>>>
>>> Thanks & Regards
>>> Srinivas
>>>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel