Skip to content

Commit

Permalink
LWMS ID: 11389 - Quarterly QA update (#739)
Browse files Browse the repository at this point in the history
* LWMS ID: 11389 - Quarterly QA update

Updated All old images
Updated Lab 1 MySQL Section
Updated Lab 2 Compute Section
Updated Lab 3 Upload data to Object Storage
Updated Lab 8 Changed to use PHP 8.2

* LWMS ID: 11389 added latest version of the index.html file

LWMS ID: 11389 added latest version of the index.html file

* LWMS ID: 11389 Updated with @carmenberdant1 requested changes on this pull request.

Lab 1 - task 2, step 2 the original compartment is showing instead of the one in the example. Same for the Lab 1 - Task 5 step 2
Lab 3 - Task 2 - step 6 needs to have all the places where the root and compartment shows, blurred.
Lab 4 - Task 1 step 4 point b) there is a typo for the word command
Lab 4 - Task 2 step 3 - the original compartment is showing
  • Loading branch information
plforacle authored Dec 20, 2024
1 parent 11f3a80 commit c306d34
Show file tree
Hide file tree
Showing 52 changed files with 163 additions and 203 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ In this lab, you will be guided through the following task:
- b. Run load caommand

```bash
<copy>util.loadDump("https://objectstorage.us-ashburn-1.oraclecloud.com/p/0pZRzTl1hFLchwAcornQVePE7eXxp1u6rjVVF3i7a5qN7HASVk4CtTQ9BK9y4xIG/n/mysqlpm/b/plf_mysql_customer_orders/o/mco_nocoupon_dump_05242023/", {progressFile: "progress.json", loadIndexes:false})</copy>
<copy>util.loadDump("https://objectstorage.us-ashburn-1.oraclecloud.com/p/e9-qd9eqC2gatEl4qqsRD4L_mqn433tr00ALKmYzh8AuTQ-drS1thJvgLoz64-vF/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_11272024/", {progressFile: "progress.json", loadIndexes:false,ignoreVersion:true})</copy>
```

**Note**: If you get errors like the one below, the **mysql\_customer\_orders** schema already exists. You used the correct PAR Link to load the data during the creation process in Lab1. Don't worry; everything is okay.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,13 @@ You will need a compute Instance to connect to your brand new MySQL database.
5. On Placement, keep the selected Availability Domain
6. Keep the selected Image, Oracle Linux 8
6. Keep Security "Disabled"
![Use Linux OS](./images/compute-oracle-linux.png "compute oracle linux")
![Use Linux OS](./images/compute-placement-security.png "compute security placement")
7. Change the Instance Shape:
- Click **Change shape** button
- Click **Virtual Machine** box
- Click **Specialty and previous generation** box
- Click **VM.Standard.E2.2**
- Click the **Select Shape** button
7. Keep the defaults for Image and Shape
![New Shape](./images/compute-shape-select.png "compute shape select")
![Use Linux OS](./images/compute-oracle-linux.png "compute oracle linux")
8. On Networking, make sure '**heatwave-vcn**' is selected
Expand Down Expand Up @@ -217,4 +212,4 @@ You may now **proceed to the next lab**
- **Author** - Perside Foster, MySQL Solution Engineering
- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 25 additions & 43 deletions heatwave-lakehouse/create-heatwave-vcn-db/create-heatwave-vcn-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,7 @@ In this lab, you will be guided through the following tasks:

![HeatWave credentials](./images/mysql-heatwave-basic.png "HeatWave Basic")

6. Select **“Standalone”** and enable **“Configure MySQL HeatWave”**
![HeatWave Type selection](./images/mysql-heatwave-system-selection.png "mysql heatwave system selection")

7. Create Administrator Credentials
6. Create Administrator Credentials

**Enter Username** (write username to notepad for later use)
- **Note**: user name is case sensitive so use **admin** to match the the labs' connect string example
Expand All @@ -222,6 +219,9 @@ In this lab, you will be guided through the following tasks:
![HeatWave password](./images/mysql-password.png "mysql password ")
7. Select **“Standalone”**
![HeatWave Type selection](./images/mysql-heatwave-system-selection.png "mysql heatwave system selection")
8. On Configure networking, keep the default values
Virtual Cloud Network: **heatwave-vcn**
Expand All @@ -238,13 +238,22 @@ In this lab, you will be guided through the following tasks:
![HeatWave AD choice](./images/mysql-avail-domain.png "mysql availability domain ")
10. On Configure hardware, keep default shape as **MySQL.HeatWave.VM.Standard**
10. On Configure hardware: Select the "Enable HeatWave cluster"
Data Storage Size (GB) Set value to: **1024**
Shape details
- Select Shape: MySQL.2
- Set ECPU count: 2
- Set Memory size: 16 GB
- Set Max network bandwidth: 1Gbps
HeatWave cluster configuration
- Select Shape: HeatWave.32GB
- Set Memory: 32 GB
- Set Nodes: 1
- Set HeatWave Lakehouse:Enabled
Data Storage Size (GB) Set value to: 50
```bash
<copy>1024</copy>
```
![HeatWave hardware selection](./images/mysql-configure-hardware.png "mysql hardware ")
Expand All @@ -261,9 +270,9 @@ In this lab, you will be guided through the following tasks:
```
![HeatWave add host](./images/mysql-host.png "mysql host ")
14. Go to the Configuration tab. Click on Select a MySQL version: Select the latest MySQL version of the DB system.
14. Go to the Configuration tab. Click on Select a MySQL version: Select the latest Innovation MySQL version of the DB system.
![Select mysql version](./images/mysql-configuration-version.png "Select mysql version")
![Select mysql version](./images/mysql-configuration-version.png "Select latest MySQL version")
15. Select the Data Import tab.
Expand All @@ -282,47 +291,20 @@ In this lab, you will be guided through the following tasks:
<br>
```
<copy>
https://objectstorage.us-ashburn-1.oraclecloud.com/p/0pZRzTl1hFLchwAcornQVePE7eXxp1u6rjVVF3i7a5qN7HASVk4CtTQ9BK9y4xIG/n/mysqlpm/b/plf_mysql_customer_orders/o/mco_nocoupon_dump_05242023/
https://objectstorage.us-ashburn-1.oraclecloud.com/p/e9-qd9eqC2gatEl4qqsRD4L_mqn433tr00ALKmYzh8AuTQ-drS1thJvgLoz64-vF/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_11272024/
</copy>
```
</details>
<details>
<summary>US West (Phoenix) Region - Copy and paste to PAR Source URL</summary>
<br>
```
<copy>https://objectstorage.us-phoenix-1.oraclecloud.com/p/mUzBCdSGiskSfFH0X8h5rRXV7GN3k0wqXeY-K3A1V7PBt_9_O2nbS2U1HO3nOqt_/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_dump_05242023/</copy>
```
</details>
<details>
<summary>US West (San Jose) Region - Copy and paste to PAR Source URL</summary>
<br>
```
<copy>https://objectstorage.us-sanjose-1.oraclecloud.com/p/WVEfexlDvAa_wJQFA5zl0Yc6k0hBIfMZEk2xu898A9GhNgaLIJFm2WELR5tK_RNA/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_dump_05242023/</copy>
```
</details>
## Latin America (LAD)
**Tenancy Regions** Please select the same region that you are creating **heatwave-db** in
<details>
<summary>Brazil East (Sao Paulo) Region - Copy and paste to PAR Source URL</summary>
<br>
```
<copy>https://objectstorage.sa-saopaulo-1.oraclecloud.com/p/Hhx1BmORRm2T-D45RZShnfReE4LhyeVMQ4WpJ7pR6dS5bf466BhpxHv1i4FXMpnC/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_dump_05242023/</copy>
```
</details>
18. If your OCI Region is not listed in step 16, don't worry, You will be able to load the DB Data in Lab 4 Task 1. Please skip to step 19.

19. The Data Import Link entry should look like this:

![HeatWave PAR Import](./images/mysql-data-import.png "mysql data import ")

20. Review **Create MySQL DB System** Screen

![HeatWave create button](./images/mysql-create-button.png "mysql create dbbutton")
20. Click the '**Create**' button

Click the '**Create**' button
![mysql creare button ](./images/mysql-create-button.png "mysql creare button")

21. The New MySQL DB System will be ready to use after a few minutes

Expand All @@ -341,4 +323,4 @@ You may now **proceed to the next lab**
- **Author** - Perside Foster, MySQL Solution Engineering

- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024
Binary file modified heatwave-lakehouse/create-heatwave-vcn-db/images/mysql-backup.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,4 @@ You may now **proceed to the next lab**
- **Author** - Perside Foster, MySQL Solution Engineering
- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions heatwave-lakehouse/develop/develop.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ In this lab, you will be guided through the following tasks:

1. Install php:

a. Install php:7.4
a. Install php:8.2

```bash
<copy> sudo dnf module install php:7.4 -y</copy>
<copy> sudo dnf install @php:8.2 -y</copy>
```

b. Install associated php libraries
Expand Down Expand Up @@ -214,4 +214,4 @@ In this lab, you will be guided through the following tasks:
- **Author** - Perside Foster, MySQL Solution Engineering
- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024
12 changes: 7 additions & 5 deletions heatwave-lakehouse/introduction/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ HeatWave Lakehouse. The deployment goals are:

_Estimated Time:_ 2 hours

<!---
Watch the video below for a quick walk-through of the lab.
[Analyze Data at Web Scale in Object Store with MySQL HeatWave Lakehouse](videohub:1_sokyn79m)

[comment]: <> [Analyze Data at Web Scale in Object Store with MySQL HeatWave Lakehouse](videohub:1_sokyn79m)
--->
### About Product/Technology


Expand Down Expand Up @@ -54,7 +55,8 @@ You may now **proceed to the next lab**
- **Author** - Perside Foster, MySQL Solution Engineering

- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023

- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024

[def]: videohub:VideoID
<!---
[def]: videohub:VideoID
--->
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ You may now **proceed to the next lab**
- **Author** - Perside Foster, MySQL Solution Engineering
- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024
2 changes: 1 addition & 1 deletion heatwave-lakehouse/load-parquet-data/load-parquet-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ You may now **proceed to the next lab**
- **Author** - Perside Foster, MySQL Solution Engineering

- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, May 2023
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
113 changes: 113 additions & 0 deletions heatwave-lakehouse/setup-db-data/setup-db-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# Setup HeatWave with mysql\_customer\_orders Data

## Introduction

We will be using the mysql\_customer\_orders Data for this wprkshop

_Estimated Time:_ 10 minutes

### Objectives

In this lab, you will be guided through the following task:

- Connect to database using MySQL Shell
- Add the mysql\_customer\_orders Datato HeatWave if it is not already there

### Prerequisites

- An Oracle Trial or Paid Cloud Account
- Some Experience with MySQL Shell
- Completed Lab 2

## Task 1: Connect to database using MySQL Shell

1. If not already connected with SSH, on Command Line, connect to the Compute instance using SSH ... be sure replace the "private key file" and the "new compute instance ip"

```bash
<copy>ssh -i private_key_file opc@new_compute_instance_ip</copy>
```

2. Use the following command to connect to MySQL using the MySQL Shell client tool. Be sure to add the **heatwave-db** private IP address at the end of the command. Also enter the admin user and the db password created on Lab 1

(Example **mysqlsh -uadmin -p -h10.0.1.. --sql**)

**[opc@...]$**

```bash
<copy>mysqlsh -uadmin -p -h 10.0.1.... --sql</copy>
```

![MySQL Shell connected DB](./images/connect-myslqsh.png "connect myslqsh")

3. List schemas in your heatwave instance

```bash
<copy>show databases;</copy>
```

![Database Schema List](./images/list-schemas-after.png "list schemas first view")

4. if you do not see the **mysql\_customer\_orders** schema on the list, then load it using the following commands:
- a. change to JS

```bash
<copy>\js</copy>
```

- b. Run load command

```bash
<copy>util.loadDump("https://objectstorage.us-ashburn-1.oraclecloud.com/p/e9-qd9eqC2gatEl4qqsRD4L_mqn433tr00ALKmYzh8AuTQ-drS1thJvgLoz64-vF/n/mysqlpm/b/mysql_customer_orders/o/mco_nocoupon_11272024/", {progressFile: "progress.json", loadIndexes:false,ignoreVersion:true})</copy>
```

**Note**: If you get errors like the one below, the **mysql\_customer\_orders** schema already exists. You used the correct PAR Link to load the data during the creation process in Lab1. Don't worry; everything is okay.
*ERROR: Schema `mysql_customer_orders` already contains a table named customers*
- c. Change to SQL mode
```bash
<copy>\sql</copy>
```
- d. Make sure the **mysql\_customer\_orders** schema was loaded
```bash
<copy>show databases;</copy>
```
![Database Schema List](./images/list-schemas-after.png "list schemas second view")
5. View the mysql\_customer\_orders total records per table in
```bash
<copy>SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'mysql_customer_orders';</copy>
```
![Databse Tables](./images/mysql-customer-orders-list.png "mysql customer orders list")
## Task 2: Review the HeatWave Cluster Setup
1. Go to Navigation Menu
Databases
MySQL
2. Click the `heatwave-db` Database System link
![Database List](./images/db-list.png "Database List")
3. In the list of DB Systems, click the **heatwave-db** system. On the **HeatWave Cluster** Section, click on Details
![Databse Cluster Detail](./images/mysql-heatwave-more.png "mysql heatwave cluster")
4. The HeatWave Cluster Information section will look like this:
![Completed Cluster Creation](./images/mysql-heat-cluster-complete.png "mysql heat cluster complete ")
You may now **proceed to the next lab**
## Acknowledgements
- **Author** - Perside Foster, MySQL Solution Engineering
- **Contributors** - Abhinav Agarwal, Senior Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024
2 changes: 1 addition & 1 deletion heatwave-lakehouse/stop-services/stop-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ In this lab, you will be guided through the following task:

- **Author** - Perside Foster, MySQL Principal Solution Engineering
- **Contributors** - Mandy Pang, MySQL Principal Product Manager, Nick Mader, MySQL Global Channel Enablement & Strategy Manager
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, July 2023
- **Last Updated By/Date** - Perside Foster, MySQL Solution Engineering, December 2024
5 changes: 3 additions & 2 deletions heatwave-lakehouse/workshops/freetier/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<header class="hol-Header" role="banner">
<div class="hol-Header-wrap">
<div class="hol-Header-logo"><span>Oracle LiveLabs</span></div>
<a href="https://bit.ly/golivelabs" target="_blank" id="livelabs" title="Oracle LiveLabs"></a>
<a href="https://livelabs.oracle.com" target="_blank" id="livelabs" title="Oracle LiveLabs"></a>
<div class="hol-Header-actions">
<button id="openNav" class="hol-Header-button hol-Header-button--menu rightNav" aria-label="Open Menu"
title="Open Menu">
Expand Down Expand Up @@ -58,4 +58,5 @@
</div>
</footer>
</body>
</html>

</html>
4 changes: 2 additions & 2 deletions heatwave-lakehouse/workshops/freetier/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
},

{
"title": "Lab 4: Add HeatWave Cluster to the DB sytem",
"filename": "../../add-heatwave-cluster/add-heatwave-cluster.md"
"title": "Lab 4: Setup HeatWave with mysql_customer_orders Data",
"filename": "../../setup-db-data/setup-db-data.md"
},

{
Expand Down
Loading

0 comments on commit c306d34

Please sign in to comment.