Update January 10, 2019
In this lab we will setup replication to be used to load data using Swingbench and also to view the replication in real time with the Metric Service.
We already have credentials setup for the two databases, but we don’t have replication setup for the Swingbench schema (SOE)We will do that now:
You will use VNC client to connect with Oracle 18c database environment(Ravello image), to get started with the Lab.
In this step you will run script to create a uni-directional replication from ATLANTA** to **SANFRAN* deployments via pre-configured script.
From the terminal screen change to the OGG181_WHKSHP/Lab9 directory and execute ./build_all_bi_di.sh. This will reset the database and create uni-directional replication as in Lab 900.
[oracle@OGG181DB183 ~]$ cd OGG181_WHKSHP/Lab9
[oracle@OGG181DB183 Lab9]$ ./build_all_bi_di.sh
NOTE : Please wait as this will take 5 mins. You should see the following message in the terminal :
You can check to see if these processes are up and running. Open up a browser window in your client VM environment in Ravello or on your laptop using a browser (like Chrome or Firefox) and enter the following URL and port: http://localhost:16000 .
To test the replication environment, you will use Swingbench. Swingbench has already been installed in the Script directory and you will use the command line to execute the Swingbench workload.
From the Lab9 directory, run the following script:
[oracle@OGG181DB183 Lab9]$ cd ~/OGG181_WHKSHP/Lab9
[oracle@OGG181DB183 Lab9]$ ./start_swingbench.sh
For the final task we will view both Deployment’s Performance Metric Service to view transactions metrics within the Oracle GoldenGate configuration.
You have completed lab 900! Great Job!