-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add WanSync docs [CN-369] * Apply suggestions from code review Co-authored-by: rebekah-lawrence <[email protected]> * update doc accoring to changes in implementation * update field name --------- Co-authored-by: rebekah-lawrence <[email protected]>
- Loading branch information
1 parent
7298e59
commit 6ea6545
Showing
3 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: hazelcast.com/v1alpha1 | ||
kind: WanSync | ||
metadata: | ||
name: wansync-sample | ||
spec: | ||
wanReplicationResourceName: wan-replication-sample |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
= Syncronizing WAN replicated data | ||
:description: pass:q[WAN Syncronization allows you to overcome out-of-sync issues with the WAN replicated data. ] | ||
:page-enterprise: true | ||
|
||
{description} | ||
|
||
See xref:hazelcast:wan:advanced-features#synchronizing-wan-clusters.adoc[Synchronizing WAN Clusters] for more detailed information about the configuration and behavior of WAN replication in Hazelcast. | ||
|
||
== Prerequisites for WAN Sync | ||
|
||
Before you create and configure a `WanSync` resource, you must create the following: | ||
|
||
- At least one `Hazelcast` resource and one `Map` resource for the source Hazelcast cluster. | ||
- A target Hazelcast cluster that is accessible from the source cluster. | ||
- A `WanReplication` CR that points to the target cluster. | ||
|
||
== Configuring the WanSync Resource | ||
|
||
To configure WAN Syncronization, you must create `WanSync` resource. For more detailed information, see the xref:api-ref.adoc#wansyncspec[API Reference]. | ||
|
||
To create `WanSync` resource you must use the existing `WanReplication` CR. This means that the `WanSync` reuses the existing and running WAN replication process. | ||
|
||
.Example of WanSync using the existing WanReplication | ||
[source,yaml,subs="attributes+"] | ||
---- | ||
include::ROOT:example$/wan-sync-full.yaml[] | ||
---- | ||
|
||
== Checking the Status of a WAN Sync | ||
|
||
After creating the `WanSync` resource, run the following command to see the WAN syncronization status: | ||
|
||
[source,shell] | ||
---- | ||
kubectl get wansync wansync-sample | ||
---- | ||
|
||
The output is similar to the following: | ||
|
||
---- | ||
NAME STATUS | ||
wansync-sample-sample Completed | ||
---- |