ODA/KVM dgconfig.json sample file

Here is an example of a 2-nodes DG json file

{
  "name": "emdevpu_emdevp",
  "protectionMode": "MAX_PERFORMANCE",
  "enableFlashback": true,
  "enableActiveDg": true,
  "replicationGroups": [
    {
      "sourceEndPoints": [
        {
          "endpointType": "PRIMARY",
          "hostName": "odapdbc01",
          "listenerPort": 1521,
          "databaseUniqueName": "emdevu",
          "ipAddress": "138.3.9.150"
        },
        {
          "endpointType": "PRIMARY",
          "hostName": "odapdbc02",
          "listenerPort": 1521,
          "databaseUniqueName": "emdevp",
          "ipAddress": "138.3.9.151"
        }
      ],
      "targetEndPoints": [
        {
          "endpointType": "STANDBY",
          "hostName": "odaudba01",
          "listenerPort": 1521,
          "databaseUniqueName": "emdevu",
          "ipAddress": "138.3.10.234"
        },
        {
          "endpointType": "STANDBY",
          "hostName": "odaudba02",
          "listenerPort": 1521,
          "databaseUniqueName": "emdevu",
          "ipAddress": "138.3.10.235"
        }
      ],
      "transportType": "ASYNC"
    }
  ]
}

Leave a Reply

Your email address will not be published. Required fields are marked *