An Oracle GoldenGate MA installation includes the ReverseProxySettings application in the $OGG_HOME/lib/utl/reverseproxy/directory.
You can see the list of options available with the application, using the -help command i.e. $OGG_HOME/lib/utl/reverseproxy/ReverseProxySettings –help
This application can generates a configuration file for a reverse proxy server.
The ReverseProxySettings application has two additional parameters in Oracle GoldenGate version 220.127.116.11 or later:
* -P : Password for a Service Manager account.
* -u : Name of the Service Manager account to use.
These values are used when connecting to the Service Manager and are required when authentication is enabled.
Basic Steps to Configure a Reverse Proxy
- Create GoldenGate deployments.
- Run the utility to create the settings file for Nginx: $OGG_HOME/lib/utl/reverseproxy/ReverseProxySettings -u adminid -P admin password -o ogg.conf http://localhost:9100
- Replace the existing Nginx configuration with the configuration required for MA deployment: sudo mv ogg.conf /etc/nginx/conf.d/
- Create self-signed certificate for Nginx: sudo sh /etc/ssl/certs/make-dummy-cert /etc/nginx/ogg.pem
- Test the new Nginx configuration using: sudo nginx -tnginx
- As root, reload and restart Nginx and the new configuration: sudo nginx -s reload
- Use cURL to verify that reverse proxy is working: curl -sv ….
Note: If the deployments associated with the target Service Manager change, the Nginx configuration file must be re-generated and reloaded.