Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://wiki.onap.org/display/DW/Deploying+Kubernetes+Cluster+with+kubeadm

Before deploying SDN-C Cluster on secondary kubernetes cluster, configure the values.yaml file for SDN-C chart to enable geo redundancy.

The values.yaml file is what defines the GEO partitioning for the clusters, so for the primary cluster myODLCluster should have the IP address of the master node of the primary cluster and the peerODLCluster should have the IP address of the master node of the secondary (standby) cluster.

And the secondary cluster, it would be the reverse of the primary cluster.

Info
titleExample of <oom repo>/kubernetes/sdnc/values.yaml

enableODLCluster: true
geoEnabled: true

peerODLCluster: 10.147.114.5
myODLCluster: 10.147.114.140


Site 2 (Secondary/Backup Site)

...

Before deploying SDN-C Cluster on secondary kubernetes cluster,

a)  configure the values.yaml file for SDN-C chart to enable geo redundancy.

The values.yaml file is what defines the GEO partitioning for the clusters, so for the primary cluster myODLCluster should have the IP address of the master node of the primary cluster and the peerODLCluster should have the IP address of the master node of the secondary (standby) cluster. And the secondary cluster, it would be the reverse of the primary cluster.

Info
titleExample of <oom repo>/kubernetes/sdnc/values.yaml

enableODLCluster: true
geoEnabled: true

peerODLCluster: 10.147.114.5
myODLCluster: 10.147.114.140


b) configure the geographic site id for secondary site for MySQL chart as below:

Configure geographic site id

for secondary site (site 2)

vi kubernetes/common/mysql/values.yaml

Change the following fields with the new value:

field

new value

old value

geoSiteId21
geoEnabledtruefalse