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

Ask Your Question

Connecting a space to its mirror

I have deployed a mirror using a pu.xml and deployment as SBA processing unit.

Moreover I can connect to the HSQL server and see that the table I have defined in the Hibernate mapping does indeed exist.

But, when I try to actually use the mirror service to persist my object that are written nothing happens.

This is the part defining the mirror and the space connected to it:

<os-core:space id="space" url="/./mirror-service?schema=mirror" external-data-source="hibernateDataSource" lookup-groups="gigaspaces-xap-6.5-m11" >="" <="" os-core:space="">

<os-core:space id="myspace" url="/./mySpace" mirror="true" />

Any comments on what can be wrong here?

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

asked 2008-05-29 08:23:03 -0500

niklasuhrberg gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

You should use the partitioned-sync2backup cluster schema to allow the spaces to replicate their data into the mirror:
See below example:

<os-core:space id="space" url="/./space" mirror="true" />
    <os-sla:sla cluster-schema="partitioned-sync2backup" number-of-instances="1" number-of-backups="1" max-instances-per-vm="1">


answered 2008-05-29 09:25:37 -0500

shay hassidim gravatar image
edit flag offensive delete link more


Fine, this was the error. Thanks!

Have you considered this to be detected and reported at deployment time, it would be a nice feature if it indeed an error to try using the mirror service unless the cluster schema is "partitioned-sync2backup".

niklasuhrberg gravatar image niklasuhrberg  ( 2008-05-30 05:52:41 -0500 )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


Asked: 2008-05-29 08:23:03 -0500

Seen: 26 times

Last updated: May 29 '08