1 Reply Latest reply on Feb 23, 2020 4:54 AM by ORASCN

    Can I create a deployment in goldengate microarchitecture using rest services

    Martin Maes

      We tried to create a deployment in OGG MA using REST calls. The deployment itself is being created, but we are unable to login to the different services (adminsrvr, distsrvr etc).

       

      REST endpoint being used is

       

      http://{{ inventory_hostname }}:{{ service_manager.http_port }}/services/v2/deployments/{{ gg_depl }}

       

      with the following variables:

       

      {

        "oggHome": "{{ e_goldengate_home }}",

        "oggEtcHome":  "/ORADB/{{ db_sid }}/app/ogg/{{ gg_depl }}/etc",

        "oggConfHome": "/ORADB/{{ db_sid }}/app/ogg/{{ gg_depl }}/etc/conf",

        "oggSslHome":  "/ORADB/{{ db_sid }}/app/ogg/{{ gg_depl }}/etc/ssl",

        "oggVarHome":  "/ORADB/{{ db_sid }}/app/ogg/{{ gg_depl }}/var",

        "oggDataHome": "/ORADB/{{ db_sid }}/app/ogg/{{ gg_depl }}/var/lib/data",

        "environment": [

          {   "name": "ORACLE_SID",      "value": "{{ db_sid }}" },

          {   "name": "LD_LIBRARY_PATH", "value": "{{ oracle_home }}/lib" },

          {   "name": "JAVA_HOME",       "value": "{{ e_java_home }}" },

          {   "name": "ORACLE_HOME",     "value": "{{ oracle_home }}" },

          {   "name": "TNS_ADMIN",       "value": "/ORADB/{{ db_sid }}/network" }

        ],

        "enabled": true,

        "status": "running"

      }