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

Ask Your Question
0

Third Question about "Replication Over WAN"

!http://www.gigaspaces.com/wiki/download/attachments/48236971/rep_over_wan_onecluster_2_groups.jpg!

In the case "Replication Over WAN – One Cluster Using Different Groups". Operator need to deploy 2 space on each side individually. It seems not to be practical if I have tens of space on each side. (The one of the practical way is using command line but I do not like it)

Is it possible to write a cluster schema for this type of cluster? (I don't want static cluster file. I want *.xsl not *.xml) (If yes, please attach a sample file) OR Is there any method to make it simple?

Thanks.

Edited by: Tsui Chi wing on Mar 3, 2009 3:17 AM h4. Attachments

[mypartitioned-sync2backup-cluster-schema.xsl|/upfiles/13759711315261092.xml]

[partitioned-sync2backup-cluster-schema.xsl|/upfiles/13759711313218593.xml]

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

asked 2009-03-03 03:17:01 -0600

cwtsui 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

See attached schema. This is not a complete one since it needs more work.
You will need to modify the LBFO1 and LBFO2 groups in order each one will have just the “one side” of the cluster. – i.e : not to include the replica space as part of the load-balancing group. This how load-blanacing will be done correctly.

To use it - please copy it into the \gigaspaces-xap-premium-6.6.2-ga\config\schemas. This will override the one within the JSpaces.jar. Make sure it will be part of each machine running GSC.
It still got the partitioned-sync2backup-cluster-schema.xsl as the name (and you should deploy using the partitioned-sync2backup cluster name) , but it been modified to have async replication and not backups. All the spaces within each replication group are active.
To see the changes I’ve done compare this with the original the partitioned-sync2backup-cluster-schema.xsl you have within the JSpaces.jar/config/schemas.

It might be wroth to skip the above and simply generate the static cluster xml via some automatic process.

Shay

Attachments

  1. mypartitioned-sync2backup-cluster-schema.xsl
  2. partitioned-sync2backup-cluster-schema.xsl

answered 2009-03-03 16:17:01 -0600

shay hassidim gravatar image
edit flag offensive delete link more

Comments

The schema have some mistake.
1. Each member belong to two LoadBalance groups.
2. The schema file only "declares" member on one side only. It seems that there is no connection between SF and LN

I have try to write a schema file(with some hard coding in URL, space name, space container, etc).
It works but have some problems in fail over system.

Attachments

  1. mypartitioned-sync2backup-cluster-schema.xsl
cwtsui gravatar imagecwtsui ( 2009-03-03 19:59:21 -0600 )edit

As I've wrote - I have not completed the xsl. You need to modify it to have the correct load-balancing group members generated.

Which problems you have with failover?

Have u considered going for 2 separate sites using the mirror gateway approach to sync the activity? This is more robust option but requires some custom code. There is also more high quality solution provided via Solace that implements the mirror gateway using special HW device.

Shay

shay hassidim gravatar imageshay hassidim ( 2009-03-04 07:42:06 -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: 2009-03-03 03:17:01 -0600

Seen: 35 times

Last updated: Mar 03 '09