Update January 02, 2019
This lab walks you through configuring ServiceManager, Atlanta and SanFran deployments using Goldengate 19.1 MicroServices web interface and the Oracle GoldenGate Configuration Assistant (OGGCA) silent install scripts in a Cloud environment.
In this step you will create the initial ServiceManager. ServiceManager is the bootstrap process that can be configured as a daemon process in Unix and windows so that it can start and stop on system startup and shutdown.
It is also responsible for starting and stopping the other GoldenGate services and presents the initial web user interface and access point for the AdminClient command line interface.
Then, change to the /u01/gghome/bin directory.
cd /u01/gghome/bin
Then, run the oggca.sh script:
[oracle@@ggma bin] ./oggca.sh
The following screen will appear.
Select the option to “Create New Service Manager” and click on the “Browse” to select the location for the Service Manager as “/u01/gg_deployments/ServiceManager”.
For the ServiceManager details screen enter the hostname of “ggma” for the listening hostname/address and enter “16000” for the listening port value. Click on the “Register Service as a system service/daemon” checkbox. Click on “Next” to continue the configuration.
Field/Checkbox | Setting |
---|---|
Administration Server Port” | 16001 |
Distribution Server Port” | 16002 |
Receiver Server Port” | 16003 |
Enable Monitoring” | Checked |
Metrics Server Port | 16004 |
Metrics Server UDP Port (data) | 16005 |
Metrics Server Datastore Type | BDB |
At a terminal prompt login as root using the sudo su - command and password Welcome1.Execute the shell script as directed:
[oracle@ggma ~]$ sudo su -
[root@ggma ~]# /u01/gg_deployments/ServiceManager/bin/registerServiceManager.sh
The output should look like the following:
When complete go back to the “Execute Configuration Scripts” screen and click on the “Ok” button
For the “Finish” screen confirm the successful deployment status and click on the “Close” button.
The GoldenGate ServiceManager deployment and the “Atlanta” deployment are now complete and ready to start using. Lets now verify the deployment by connecting through the brower interface.
Open up a browser window in your Oracle Cloud environmentor on your laptop using a browser (like Chrome or Firefox) and enter the following URL and port: http://132.145.207.65:16000/ .
You should get a sign on page. Sign in using the username: “oggadmin” and password “Welcome123#”.
You will then be taken to the following page. Review that the Services for the “Atlanta” deployment and the ServiceManager are all in a “Running” state.
In this step you will configure the Target (SanFran) deployment.
Then, change to the ~/script/Lab2 directory.
[oracle@ggma ~]$ cd ~/script/Lab2
You will run the create_deployment.sh script to create the SanFran deployment using a response file for OGGCA.
Review the create_deployment.sh script
[oracle@ggma Lab2]$ less create_deployment.sh
The arguments for the script are:
create_deployment.sh A1 A2 A3 A4 A5 A6 A6 A7 A8
Arguement | DESCRIPTION | VALUES |
---|---|---|
A1 | Deployment Name | SanFran |
A2 | Admin User Password | Welcome1 |
A3 | Service Manager Port | 16000 |
A4 | Administration Server Port | 17001 |
A5 | Distribution Server Port | 17002 |
A6 | Receiver Server Port | 17003 |
A7 | Metrics Server Port | 17004 |
A8 | Metrics Server UDP Port | 17005 |
Run the script
[oracle@ggma Lab2]$ ./create_deployment.sh SanFran Welcome1 16000 17001 17002 17003 17004 17005
Successfully Setup Software.
Once the script is executed, you will see a statement saying that the “Successfully Setup Software.” indicates that deployment SanFran has been created.
Open up a browser window in your Oracle Cloud environmentor on your laptop using a browser (like Chrome or Firefox) and enter the following URL and port: http://129.213.30.234/17000 .
You should get a sign on page. Sign in using the username: “oggadmin” and password “Welcome123#”.
You will then be taken to the following page. Review that the Services for the “SanFran” deployment and the ServiceManager are all in a “Running” state.
You have completed lab 200! Great Job!