Home Help Center

Replicated admin interface to the registry

lafayejlafayej Member Julien LafayeOrganization: Capital Fund ManagementProject: Control distributed data acquisition application
I have a setup involving one master and one replicated registry node.

I am using an instance of IceGrid.RegistryPrx to list server instances from a python script. Therefore, I perform only read-only operations on the registry.

I obtain the proxy through the call:

proxy = self.communicator().stringToProxy("IceGrid/Registry")

I tried to use a proxy fowarding calls to the replicated registry using:

proxy = self.communicator().stringToProxy("IceGrid/Registry-Replica0")

This works fine.

What if I want to have a script which connects to the master or the slave depending on their availability. Is there some way to but the objects identified by "IceGrid/Registry" and ""IceGrid/Registry-Replica0" is a replication group ?

As far as I know, that is not possible ? Is there some reason why ?

Regards,

Julien
Sign In or Register to comment.