Skip to content

Commit

Permalink
Patch PAR URLs pts repository (oracle-livelabs#108)
Browse files Browse the repository at this point in the history
* WMS 5241: Fix OCW manifest

WMS 5241: Fix OCW manifest

* Patch PAR URLs pts repository

Patch PAR URLs pts repository
  • Loading branch information
klazarz authored Mar 15, 2024
1 parent 2d02e16 commit 71b09db
Show file tree
Hide file tree
Showing 12 changed files with 54 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Estimated Time: 2 hours
4. You can download the backup module from [Oracle Cloud Backup Downloads](https://www.oracle.com/database/technologies/oracle-cloud-backup-downloads.html), however, to load the zip through Cloud Shell, you will use this `wget` command:

```
[oracle@workshop downloads]$ <copy>wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/opc_installer.zip</copy>
[oracle@workshop downloads]$ <copy>wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/opc_installer.zip</copy>
```

5. Extract the contents of the zip file. The file contains two directories: oci\_installer and opc\_installer, and a README file.
Expand Down Expand Up @@ -167,17 +167,17 @@ Run the installer, **oci\_install.jar** to install the backup module. This examp

The following table lists the required and some optional parameters.

| **Parameter** | **Description** | **Required or Optional**|
| ------------------------- | ------------------------------------------------------------ |-------------------------|
| -host | End point of the Oracle Cloud Infrastructure account. Constructed as https://objectstorage.`<region>`.oraclecloud.com. See [this reference](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for the region codes. |Required |
| -vtKeyFile | File that contains the private key used to authenticate Oracle Cloud Infrastructure API requests. The key file must be in PEM format. |Required|
| -pubFingerPrint | Finger print of the public key paired with the specified private key. |Required|
| -tOCID | Tenancy OCID for the Oracle Cloud Infrastructure account. |Required|
| -uOCID | User OCID for the Oracle Cloud Infrastructure account. |Required|
| -cOCID | Resource compartment ID for the Oracle Cloud Infrastructure account. |Required|
| -bucket | Name of the bucket in which backups are stored. If this bucket does not exist, then the installer creates it. When this parameter is omitted, a default bucket is automatically created to store backups |Optional|
| -walletDir | Directory in which Oracle Cloud Infrastructure Object Storage credentials are stored. |Required|
| -libDir | Directory in which the system backup to tape (SBT) library used for backups and restores with Oracle Cloud Infrastructure is stored. |Required|
| **Parameter** | **Description** | **Required or Optional** |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------ |
| -host | End point of the Oracle Cloud Infrastructure account. Constructed as https://objectstorage.`<region>`.oraclecloud.com. See [this reference](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for the region codes. | Required |
| -vtKeyFile | File that contains the private key used to authenticate Oracle Cloud Infrastructure API requests. The key file must be in PEM format. | Required |
| -pubFingerPrint | Finger print of the public key paired with the specified private key. | Required |
| -tOCID | Tenancy OCID for the Oracle Cloud Infrastructure account. | Required |
| -uOCID | User OCID for the Oracle Cloud Infrastructure account. | Required |
| -cOCID | Resource compartment ID for the Oracle Cloud Infrastructure account. | Required |
| -bucket | Name of the bucket in which backups are stored. If this bucket does not exist, then the installer creates it. When this parameter is omitted, a default bucket is automatically created to store backups | Optional |
| -walletDir | Directory in which Oracle Cloud Infrastructure Object Storage credentials are stored. | Required |
| -libDir | Directory in which the system backup to tape (SBT) library used for backups and restores with Oracle Cloud Infrastructure is stored. | Required |


The installation creates a configuration file *opcORCL.ora* and wallet directory *oci\_wallet* and places these in $ORACLE_HOME/dbs.
Expand Down
2 changes: 1 addition & 1 deletion hybrid-adg/setup-environment/setup-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This lab assumes you have already completed the following:

Click on the link below to download the Resource Manager zip files you need to build your environment.

- [db19c-primary-19.20.zip](https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/db19c-primary-19.20.zip) - Packaged terraform primary database instance creation script.
- [db19c-primary-19.20.zip](https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/db19c-primary-19.20.zip) - Packaged terraform primary database instance creation script.


## Task 1: Prepare the Primary Database
Expand Down
12 changes: 6 additions & 6 deletions hybrid-adg/test-with-adg/test-with-adg.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ There are several ways to check the lag between the primary and standby.

```
<copy>
wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
</copy>
```

Expand All @@ -214,8 +214,8 @@ There are several ways to check the lag between the primary and standby.
2. From on-premise side, run as **oracle** user, download scripts using the command you copied.

```
[oracle@primary ~]$ wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
--2020-10-31 02:48:08-- https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
[oracle@primary ~]$ wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
--2020-10-31 02:48:08-- https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
Resolving objectstorage.us-ashburn-1.oraclecloud.com (objectstorage.us-ashburn-1.oraclecloud.com)... 134.70.31.247, 134.70.27.247, 134.70.35.189
Connecting to objectstorage.us-ashburn-1.oraclecloud.com (objectstorage.us-ashburn-1.oraclecloud.com)|134.70.31.247|:443... connected.
HTTP request sent, awaiting response... 200 OK
Expand All @@ -226,8 +226,8 @@ There are several ways to check the lag between the primary and standby.
2020-10-31 02:48:09 (10.5 MB/s) - ‘workload.sh’ saved [1442/1442]
[oracle@primary ~]$ wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
--2020-10-31 02:48:29-- https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
[oracle@primary ~]$ wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
--2020-10-31 02:48:29-- https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
Resolving objectstorage.us-ashburn-1.oraclecloud.com (objectstorage.us-ashburn-1.oraclecloud.com)... 134.70.35.189, 134.70.31.247, 134.70.27.247
Connecting to objectstorage.us-ashburn-1.oraclecloud.com (objectstorage.us-ashburn-1.oraclecloud.com)|134.70.35.189|:443... connected.
HTTP request sent, awaiting response... 200 OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ The .dmp file has been copied to the Object Storage. You will use this in a lat
AShburn, US East:
```
<copy>
https://objectstorage.us-ashburn-1.oraclecloud.com/p/LNAcA6wNFvhkvHGPcWIbKlyGkicSOVCIgWLIu6t7W2BQfwq2NSLCsXpTL9wVzjuP/n/c4u04/b/livelabsfiles/o/developer-library/soedump18C_1G.dmp
https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/developer-library/soedump18C_1G.dmp
</copy>
```

Expand Down Expand Up @@ -242,7 +242,7 @@ Execute the impdb statement below from your compute with Instant Client software
4. Set parallel import to 2 since we can use 2 the OCPU cores in ATP.

```
$ <copy>impdp admin/<password>@<My_ATP_high> directory=data_pump_dir credential=<credential name> schemas=soe dumpfile=https://objectstorage.us-ashburn-1.oraclecloud.com/p/LNAcA6wNFvhkvHGPcWIbKlyGkicSOVCIgWLIu6t7W2BQfwq2NSLCsXpTL9wVzjuP/n/c4u04/b/livelabsfiles/o/developer-library/soedump18C_1G.dmp logfile=import.log parallel=2</copy>
$ <copy>impdp admin/<password>@<My_ATP_high> directory=data_pump_dir credential=<credential name> schemas=soe dumpfile=https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/developer-library/soedump18C_1G.dmp logfile=import.log parallel=2</copy>
```

It should take about 15-25 minutes to import. If successful, you will see a similar output like the following:
Expand All @@ -264,7 +264,7 @@ Execute the impdb statement below from your compute with Instant Client software

Master table "ADMIN"."SYS_IMPORT_SCHEMA_01" successfully loaded/unloaded

Starting "ADMIN"."SYS_IMPORT_SCHEMA_01": admin/********@atp18c_high directory=data_pump_dir credential=STORAGE_CREDENTIAL schemas=soe dumpfile=https://objectstorage.us-ashburn-1.oraclecloud.com/p/jyHA4nclWcTaekNIdpKPq3u2gsLb00v_1mmRKDIuOEsp--D6GJWS_tMrqGmb85R2/n/c4u04/b/livelabsfiles/o/labfiles/soedump18C_1G.dmp logfile=import.log parallel=2
Starting "ADMIN"."SYS_IMPORT_SCHEMA_01": admin/********@atp18c_high directory=data_pump_dir credential=STORAGE_CREDENTIAL schemas=soe dumpfile=https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/labfiles/soedump18C_1G.dmp logfile=import.log parallel=2

Processing object type SCHEMA_EXPORT/USER

Expand Down
12 changes: 6 additions & 6 deletions on-premise-19c-adg/test-with-adg/test-with-adg.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ There are several ways to check the lag between the primary and standby.

```
<copy>
wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
</copy>
```

Expand All @@ -232,8 +232,8 @@ There are several ways to check the lag between the primary and standby.
2. From primary side, run as **oracle** user, download scripts using the command you copied.

```
[oracle@primary ~]$ wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
--2020-10-31 02:48:08-- https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
[oracle@primary ~]$ wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
--2020-10-31 02:48:08-- https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/workload.sh
Resolving objectstorage.us-ashburn-1.oraclecloud.com (objectstorage.us-ashburn-1. oraclecloud.com)... 134.70.31.247, 134.70.27.247, 134.70.35.189
Connecting to objectstorage.us-ashburn-1.oraclecloud.com (objectstorage.us-ashburn-1. oraclecloud.com)|134.70.31.247|:443... connected.
HTTP request sent, awaiting response... 200 OK
Expand All @@ -244,8 +244,8 @@ There are several ways to check the lag between the primary and standby.
2020-10-31 02:48:09 (10.5 MB/s) - ‘workload.sh’ saved [1442/1442]
[oracle@primary ~]$ wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
--2020-10-31 02:48:29-- https://objectstorage.us-ashburn-1.oraclecloud.com/p/VEKec7t0mGwBkJX92Jn0nMptuXIlEpJ5XJA-A6C9PymRgY2LhKbjWqHeB5rVBbaV/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
[oracle@primary ~]$ wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
--2020-10-31 02:48:29-- https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/data-management-library-files/scn.sql
Resolving objectstorage.us-ashburn-1.oraclecloud.com (objectstorage.us-ashburn-1. oraclecloud.com)... 134.70.35.189, 134.70.31.247, 134.70.27.247
Connecting to objectstorage.us-ashburn-1.oraclecloud.com (objectstorage.us-ashburn-1. oraclecloud.com)|134.70.35.189|:443... connected.
HTTP request sent, awaiting response... 200 OK
Expand Down
2 changes: 1 addition & 1 deletion oracle-db-features-for-developers/python/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ You need to create a file-system directory and place a JSON document in this dir
````
<copy>
cd /home/oracle/labs/python/External
wget https://objectstorage.us-ashburn-1.oraclecloud.com/p/jyHA4nclWcTaekNIdpKPq3u2gsLb00v_1mmRKDIuOEsp--D6GJWS_tMrqGmb85R2/n/c4u04/b/livelabsfiles/o/labfiles/deptJSON.zip
wget https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/labfiles/deptJSON.zip
unzip deptJSON.zip
</copy>
````
Expand Down
26 changes: 13 additions & 13 deletions sample-workshop/tables/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
You can define a table in Markdown just like so:

```
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| Tables | Are | Cool |
| ------------- | :-----------: | ----: |
| **col 3 is** | right-aligned | $1600 |
| col 2 is | *centered* | $12 |
| col 2 is | *centered* | $12 |
| zebra stripes | ~~are neat~~ | $1 |
```
The result looks like this:

| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| Tables | Are | Cool |
| ------------- | :-----------: | ----: |
| **col 3 is** | right-aligned | $1600 |
| col 2 is | *centered* | $12 |
| col 2 is | *centered* | $12 |
| zebra stripes | ~~are neat~~ | $1 |

You can see that there is a default table caption provided which is by default a concatenation of the workshop title and the lab title.
Expand All @@ -30,25 +30,25 @@ If you don't like the default, you can also provide your own table title by addi
The complete markdown looks like this:

```
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| Tables | Are | Cool |
| ------------- | :-----------: | ----: |
| **col 3 is** | right-aligned | $1600 |
| col 2 is | *centered* | $12 |
| col 2 is | *centered* | $12 |
| zebra stripes | ~~are neat~~ | $1 |
{: title="My table title"}
```

Now our table looks like this:

| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| Tables | Are | Cool |
| ------------- | :-----------: | ----: |
| **col 3 is** | right-aligned | $1600 |
| col 2 is | *centered* | $12 |
| col 2 is | *centered* | $12 |
| zebra stripes | ~~are neat~~ | $1 |
{: title="My table title"}

As you can see, the numbering is added automatically.

Isn't that cool?

You can also refer to the [LiveLabs Markdown Cheatsheet](https://objectstorage.us-ashburn-1.oraclecloud.com/p/MKKRgodQ0WIIgL_R3QCgCRWCg30g22bXgxCdMk3YeKClB1238ZJXdau_Jsri0nzP/n/c4u04/b/qa-form/o/LiveLabs_MD_Cheat_Sheet.pdf)
You can also refer to the [LiveLabs Markdown Cheatsheet](https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/labfiles/LiveLabs_MD_Cheat_Sheet.pdf)
Loading

0 comments on commit 71b09db

Please sign in to comment.