From 8b11b38d52964e7f35450ecc2d2a649d70caedef Mon Sep 17 00:00:00 2001 From: Katherine Wardhana <115486424+kwardhana@users.noreply.github.com> Date: Thu, 18 Jan 2024 12:23:21 -0500 Subject: [PATCH 1/2] workshop #11092: change workshop title (#135) * update to 11041 - fix typo * updates to workshop 2920 * updates to workshop 2920 * updates to workshop 4861 * updates to workshop 2920 * updates to workshop 4841 * updates to workshop 11041 * update screenshots to ggs-common * updates to workshop #11041 * updates to workshop #4841 * updates to workshop #2920 * Update to workshop 11041 - fixed link * updates to workshop 11041 - renamed images * renamed files in ggs-common * updates to workshop #4841 * updates to workshop #2920 * Update to workshop #11041 * Updates to workshop #11041 * updates to workshop #11041 * updates to workshop #11092 * update redwood images * update redwood images + qa report + revisions * workshop 11092: edit screenshots and QA report * workshop 11092: fix typo * 4841: typos * 4861: update screenshots + typo + quarterly QA report * #4861: additional changes + screenshot updates * #4861: update screenshots + typo * #11041: lab updates * workshop #4841 and #11041: update screenshots, typos update screenshots, typos * workshop #11091: screenshot updates * workshop #11091, #11092, #11041, #4841, #4861 screenshot updates * workshop #2920, #4841, #4861, #11041, #11091, #11092 update screenshots, update instructions * workshop #2920, #11091 & #11092 edit tenancy instructions * workshop #2920: update instructions * workshop #2920: update typo in instructions * workshop #2920: add screenshots on ggs-common * workshop #2920 for cloudworld: resize screenshots * workshop #2920 update title and typo * workshop #2920: fix instructions * HOL session #20: new lab development * HOL session oracle-livelabs#20: new lab development * workshop #11293: edit lab development * workshop #11091: revise instructions * workshop #11370: clean up workshop files * workshop #2920, #4841, $4861, #11041, #11091, #11092: update text and screenshots update text from "Shared Infrastructure" to "Serverless" * workshop #2920, #4841, 34861, #11041, #11091, #11092: update screenshots * workshop #11293: edit instructions and add screenshots * workshop #11293 & #2920: update instructions and screenshots * #11293: update instructions * #11293 & #2920: update instructions * workshop #2920, #4841, #4861, #11041, #11092 edit screenshot and instructions based on "database actions" update * workshop #11293: edit screenshot and instructions * workshop #11293 instructions and screenshot changes * workshop #11293 instruction changes * workshop #11293: instruction changes and screenshot updates instruction changes and screenshot updates * workshop #11293: instruction changes and screenshot updates instruction changes and screenshot updates * workshop #11293: instruction changes and screenshot updates * workshop #11293: screenshot updates screenshot updates * workshop #11293: instructions & screenshot updates instructions & screenshot updates * workshop #11293: instruction updates instruction updates * workshop #11148: screenshot and instruction updates screenshot and instruction updates * workshop #11148: screenshot and instruction updates screenshot and instruction updates * workshop #11148: instruction updates instruction updates * workshop #11148: change title change title to avoid the use of gerunds * workshop #11148: acknowledgments update change last updated date * workshop #11148: title update title update * workshop #11148: change title change title * workshop #11091: screenshot and instruction changes update screenshot and instructions based on "network connectivity" UI updates. * workshop #11091: delete file Delete file * workshop #11091, #11092, #11041, #4841, #4861, #2920: revise screenshots and instructions revise screenshots and instructions based on UI updates * workshop #11091, #11041, #4841, #4861, #2920: revise screenshots and instructions revise screenshots based on ui updates * workshop #11091: update instructions and screenshots update instructions and screenshots * workshop #10092 & #11041: update screenshot and instructions update screenshot and instructions * Revert "workshop #10092 & #11041: update screenshot and instructions" This reverts commit baee835d8a5d9fc0d0c435e5ff21de3f02c39a5e. * workshop #11041: update instructions update instructions based on UI update * workshop #4861: update instruction update instruction based on ui change * #11092: update instructions update instructions based on UI update and update image title * workshop #11092: change workshop title change workshop title --------- Co-authored-by: Michelle Malcher <48925485+malcherm@users.noreply.github.com> --- atp-objectstorage/workshops/sandbox/manifest.json | 2 +- atp-objectstorage/workshops/tenancy/manifest.json | 2 +- mysql-ggs/create/create.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/atp-objectstorage/workshops/sandbox/manifest.json b/atp-objectstorage/workshops/sandbox/manifest.json index 41f75012..318091a3 100644 --- a/atp-objectstorage/workshops/sandbox/manifest.json +++ b/atp-objectstorage/workshops/sandbox/manifest.json @@ -1,5 +1,5 @@ { - "workshoptitle": "Real Time Data Streaming into OCI Object Storage with OCI GoldenGate", + "workshoptitle": "Use OCI GoldenGate to stream real time data into OCI Object Storage", "help": "livelabs-help-db_us@oracle.com", "tutorials": [ { diff --git a/atp-objectstorage/workshops/tenancy/manifest.json b/atp-objectstorage/workshops/tenancy/manifest.json index a6b627d3..3e35deb7 100644 --- a/atp-objectstorage/workshops/tenancy/manifest.json +++ b/atp-objectstorage/workshops/tenancy/manifest.json @@ -1,5 +1,5 @@ { - "workshoptitle": "Real Time Data Streaming into OCI Object Storage with OCI GoldenGate", + "workshoptitle": "Use OCI GoldenGate to stream real time data into OCI Object Storage", "help": "livelabs-help-db_us@oracle.com", "tutorials": [ { diff --git a/mysql-ggs/create/create.md b/mysql-ggs/create/create.md index ccc88d5e..e0298380 100644 --- a/mysql-ggs/create/create.md +++ b/mysql-ggs/create/create.md @@ -49,7 +49,7 @@ This lab assumes you completed the environment set up lab, if you're running thi 7. Select **Development or testing**. OCPU Count updates based on your selection. -8. For **Subnet**, select a subnet.If you're using the workshop environment, select **<USER>-SUBNET-PRIVATE**. +8. For **Subnet**, select a subnet. If you're using the workshop environment, select **<USER>-SUBNET-PRIVATE**. ![Completed Create GoldenGate Deployment fields](./images/01-08-create-deployment.png " ") From 3af22ac11bb01d6f19732c558d28afbb28a52c0e Mon Sep 17 00:00:00 2001 From: Jan Leemans Date: Wed, 31 Jan 2024 18:12:30 +0100 Subject: [PATCH 2/2] WMS ID = 11526 (#136) * Listener setup instructions * Using marketplace image --- .../create-replication/create-replication.md | 9 ++++++++- .../discover/discover.md | 19 ++++++++++++++----- .../prepare-setup/prepare-setup.md | 18 ++++-------------- .../stack/ll-orm-mkplc-freetier/variables.tf | 8 ++++---- 4 files changed, 30 insertions(+), 24 deletions(-) diff --git a/goldengate-microservices21c/create-replication/create-replication.md b/goldengate-microservices21c/create-replication/create-replication.md index c7bac901..912aff69 100644 --- a/goldengate-microservices21c/create-replication/create-replication.md +++ b/goldengate-microservices21c/create-replication/create-replication.md @@ -84,7 +84,14 @@ This lab assumes you have: ![result of entering credentials](./images/ora-cred-result1.png " ") - You can see the login take place, and the section *TRANDATA* appear on the screen. + You can see the login takes place, and the section *TRANDATA* appears on the screen. + + **Troubelshooting**: In case you get an error when testing the connection to the database, double-check your listener configuration is set up correctly, as already explained in the *Discover the Environment section*: + + - In the terminal window, connect to the database as system: ```sqlplus system/Welcome#123 as sysdba``` + - configure the listener: ```alter system set LOCAL_LISTENER='' scope=both;``` + - exit sqlplus with ```end``` + - restart the listener with ```lsnrctl stop``` followed by ```lsnrctl start``` 8. We now need to add a TRANDATA table to the database to acquire the transaction records in the database. - Click on the **+** symbol besides the *TRANDATA Information* title diff --git a/goldengate-microservices21c/discover/discover.md b/goldengate-microservices21c/discover/discover.md index 2a341d36..c06831ab 100644 --- a/goldengate-microservices21c/discover/discover.md +++ b/goldengate-microservices21c/discover/discover.md @@ -86,16 +86,25 @@ This lab assumes you have: - **monitor_kafka.sh**: read the kafka topic EMPLOYEES where we'll be inserting the changes coming from the Oracle Database. - **demo_reset.sh**: completely reset the lab environment to restart the lab execution. You can use this script to restart the lab execution with a fresh setup. -7. Access the Oracle database directly using **sqlplus** from the command line. Below 2 alternative database users at your disposal: +7. Access the Oracle database directly using **sqlplus** from the command line: + ``` + sqlplus system/Welcome#123 as sysdba + ``` +8. Make sure the listener is set up correctly, by issuing the following command: ``` - sqlplus c##ggadmin/Welcome#123 - sqlplus sys/Welcome#123 as sysdba + alter system set LOCAL_LISTENER='' scope=both; ``` - Use the ```exit``` command to quit your sqlplus session. + Now use the ```exit``` command to quit your sqlplus session. + +9. Make sure the listener is started properly, by issuing the following command: + ``` + lsnrctl start + ``` + You can use the command ```lsnrctl status``` to check the result -8. List the available **kafka topics** with the below command: +10. List the available **kafka topics** with the below command: ``` /opt/kafka/bin/kafka-topics.sh --list --bootstrap-server localhost:9092 diff --git a/goldengate-microservices21c/prepare-setup/prepare-setup.md b/goldengate-microservices21c/prepare-setup/prepare-setup.md index 00ac1ef2..4a6527cc 100755 --- a/goldengate-microservices21c/prepare-setup/prepare-setup.md +++ b/goldengate-microservices21c/prepare-setup/prepare-setup.md @@ -21,20 +21,11 @@ This lab assumes you have: 1. Click on the link below to download the Resource Manager zip file you need to build your environment: - - [ll-orm-mkplc-freetier.zip](https://objectstorage.us-ashburn-1.oraclecloud.com/p/Ei1_2QRw4M8tQpk59Qhao2JCvEivSAX8MGB9R6PfHZlqNkpkAcnVg4V3-GyTs1_t/n/c4u04/b/livelabsfiles/o/goldengate-library/ll-orm-mkplc-freetier.zip) + - [ll-orm-mkplc-freetier.zip](https://objectstorage.us-ashburn-1.oraclecloud.com/p/Oj2dZE8mmhbNfrqmDtE-8nm6f9eADGpf52xR3ctq1PAj4yYUiJWLyftG1np00_rM/n/c4u04/b/livelabsfiles/o/goldengate-library/gg21c-microservices.zip) -2. Save in your downloads folder. +2. Save the file in your downloads folder. - ***TEMPORARY ACTIVITIES AWAITING IMAGE AVAILABILITY ON MARKETPLACE*** - - As the lab image is not yet available on marketplace, some extra steps are required to run this lab. It is assumed you are familiar with OCI to perform these steps, no detailed screenshots are provided: - - - Unzip the stack zip file on you local machine - - Create a new Custom Compute image, importing it using [this Object Storage URL](https://objectstorage.eu-frankfurt-1.oraclecloud.com/p/siH5t5NlLNbwypWi8aDZiEPH_o_dKg4vmH5dYkql1rS4-yw845dK2dLdFoFkXqEk/n/oractdemeabdmautodb/b/bucket-20231204-1409/o/gg21c-livelab-image-20231221-1415) - - Copy the OCID of the new Custom Image you just created - - Edit the **variables.tf** file, and replace the OCID image ID on line 32 with the new one you just created - - Zip the altered stack definition into a new zip file - - You can now continue the lab from here, using the new zip file you just created + - You will use this file in the next lab section to start the Terraform Resource Manager, spinning up the Virtual Network and the Compute instance. We strongly recommend using this stack to create a self-contained/dedicated VCN with your instance(s). Skip to *Step 3* to follow our recommendations. If you would rather use an exiting VCN then proceed to the next step as indicated below to update your existing VCN with the required Egress rules. @@ -46,7 +37,6 @@ This workshop requires a certain number of ports to be available, a requirement | :------------- | :------------------------------------ | | 22 | SSH | | 443 | NGINX Proxy (https) | -| 16000 | GGMA Admin Server | | 6080 | noVNC Remote Desktop | | 10000-10400 | GoldenGate consoles | @@ -69,7 +59,7 @@ Using the details from the two steps above, proceed to the lab *Environment Setu or - **Task 1B: Create Stack: Compute only** with an existing VCN where security lists have been updated as per *Step 2* above - + You may now **proceed to the next lab**. ## Acknowledgements diff --git a/goldengate-microservices21c/prepare-setup/stack/ll-orm-mkplc-freetier/variables.tf b/goldengate-microservices21c/prepare-setup/stack/ll-orm-mkplc-freetier/variables.tf index c99514cd..7d8d0993 100644 --- a/goldengate-microservices21c/prepare-setup/stack/ll-orm-mkplc-freetier/variables.tf +++ b/goldengate-microservices21c/prepare-setup/stack/ll-orm-mkplc-freetier/variables.tf @@ -14,22 +14,22 @@ Marketplace UI Parameters (Update all default values) variable "use_marketplace_image" { # Set to false when testing a local image - default = false + default = true } variable "mp_listing_id" { #Provide the Listing OCID - default = "Enter valid listing OCID" + default = "ocid1.appcataloglisting.oc1..aaaaaaaa2fuvrqk2cqcarsxugamehrjyigpwwe3sgprpxp6u2ustmsljj3yq" } variable "mp_listing_resource_version" { #Provide the listing version - default = "Enter valid listing version" + default = "1.0" } variable "instance_image_id" { #Provide the image OCID - default = "ocid1.image.oc1.eu-frankfurt-1.aaaaaaaazxpcsobp2qgbn257gyoqerli6xlreieficwfkxmdpohjc52pnuia" + default = "ocid1.image.oc1..aaaaaaaazemy4groczrvfzllplftpwxrm4ocpu72qgckiwinycbppcyc5wwa" } /*