Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

WAN Gateway and Mirror

Hi,

is it possible to have Mirror-based persistence working together with WAN replication Gateway for the same space ? In our setup Mirror stopped to receive updates after we added gateway-targets to the space definition like below But in the same time WAN replication was still working

<os-core:space id="persistentSpace" url="/./persistentSpace" space-data-source="spaceDataSource" schema="persistent" mirror="true" gateway-targets="gatewayTargets">

    <os-core:properties>
        <props>
            <prop key="cluster-config.mirror-service.url">
                jini://*/*/mirror-service
            </prop>
        </props>
    </os-core:properties>

... </os-core:space> ... <os-gateway:targets id="gatewayTargets" local-gateway-name="delegator-local-gateway-name"> <os-gateway:target name="sink-local-gateway-name"/> </os-gateway:targets>

Thank you, Illya

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=4126]{quote}

asked 2013-08-02 08:55:53 -0600

illya77 gravatar image

updated 2013-08-08 09:52:00 -0600

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi, Illya.

Yes, it's possible to use both WAN Gateway and Mirror service for the same space, as they are two different components. Can you post your mirror service configuration?

-Ali

answered 2013-08-02 10:38:17 -0600

ali gravatar image
edit flag offensive delete link more

Comments

Mirror was working before we added gateway-targets

<bean id="spaceSynchronizationEndpoint" ...
         ...
</bean>

<os-core:mirror id="mirror" url="/./mirror-service" space-sync-endpoint="spaceSynchronizationEndpoint">
        <os-core:source-space name="persistentSpace" partitions="2" backups="1"/>

</os-core:mirror>

illya77 gravatar image illya77  ( 2013-08-02 10:51:04 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-08-02 08:55:53 -0600

Seen: 163 times

Last updated: Aug 02 '13