-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WMS ID # 11698: Updates for MC PRE2981 (Updates for Lab 4,8,10&11). U…
…pdates for HOL 2952 (Updated Lab4) (#67) * added workshops folder * added all OCW HOL * updated compartment * Update discover-env-details-api.md * Update discover-env-details-api.md * added updates for the HOL * added updates for the OCW HOL * added changes for PR * added changes * added changes after lint check * added changes * added changes for OCW * added final changes * added the changes to just make "Estimated Time" for labs 1-5 * added date change and updates for Estimated Time * added changes for Lab 5 * added changes to last updated date * updated last updated date for lab 3 * added changes for lab1 task 4 * added changes to lab5 task 1 * added changes * added changes for Lab 5 * added changes for get started * added changes * added updates to change ocw23 folder to ocw23-tenancy * added changes to introduction * added changes for lab1 * added changes to lab 5 * added changes to lab 5 * added updates for Lab 5 * added the updated index.html * added updated index.html * added changes for the updated help email for exadata * added updates for help email [email protected] * added changes to clean folder structure * create exacc masterclass workshop * delete workshop * added exacc masterclass workshop * added Lab 5-7 to the exadbcc masterclass workshop * added Labs 1-4 to the workshop * added lab 5 to exadbcc masterclass workshop * added lab 11 to OCW ExaDBCC Masterclass * added updates for the workshop index.html * added changes to lab 2 of OCW ExaDBCC Masterclass * added updates for Lab3 * added updated screenshots for lab 3 * added updates * added changes * added changes to masterclass * added changes for ExaDB-C@C Masterclass * added changes to HOL and Masterclass * added updates and changes for ExaDBCC Masterclass for the approved flows related to current Infrastructure build * added updates for lab 10 based on the OCW ExaDBCC Masterclass Infrastructure build * added updates for lab 10 based on Current OCW ExaDBCC Masterclass Infrastructure build * added updates for Lab2 of ExaDBCC Masterclass * added updates for lab 6 * added changes to masterclass * added changes to masterclass lab 8 and HOL lab 5 * added changes to masterclass * added changes to masterclass * added changes to HOL * added changes to masterclass * added changes to HOL lab 6 * added changes to masterclass * added new screenshots for Lab1 for Masterclass and HOL * added changes to the HOL * added learn more links for Masterclass * Update manifest.json * Adding Lab 4 & Lab 5 for HOL Adding Lab 4 & Lab 5 for HOL * updating lab 5 introduction section updating lab 5 to move the estimated lab time and video on top * Adding Updates for Labs 4, 8, 10, 11 Adding Updates for Labs 4, 8, 10, 11 for MC PRE2981 * adding minor formatting changes to Lab 10 adding minor formatting changes to Lab 10
- Loading branch information
Showing
41 changed files
with
385 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"liveServer.settings.port": 5501 | ||
} |
121 changes: 88 additions & 33 deletions
121
...atabase-service-xs/change-license-type/change-license-type-using-oci-console.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,127 @@ | ||
|
||
|
||
|
||
# Change License Type using OCI Console | ||
# Change License Type using OCI CLI | ||
|
||
|
||
## Introduction | ||
|
||
This lab walks you through the steps to Change License Type using OCI Console. | ||
This lab walks you through the steps to Change License Type using OCI CLI. | ||
|
||
**Estimated Lab Time:** ***15 minutes*** | ||
Estimated Lab Time: 15 minutes | ||
|
||
<!-- Watch the video below for a quick walk-through of the lab. | ||
[Change VM Cluster License Type for Exadata Database Service on Exascale Infrastructure](youtube:<ReplaceMe>) | ||
[Create an Exadata Database Service on Cloud@Customer Infrastructure](youtube:DCrivNA5bs8) | ||
--> | ||
|
||
### Objectives | ||
|
||
- After completing this lab, you should be able to Change License Type of the Exadata VM Cluster by using the OCI Console. | ||
- After completing this lab, you should be able to Change License Type using OCI CLI | ||
|
||
### Prerequisites | ||
|
||
This lab requires completion of the following: | ||
|
||
* Completion of **Lab1** | ||
|
||
## Task 1: Change License Type of Exadata VM Cluster using OCI Console | ||
|
||
1. Navigate to the Exadata Database Service on Exascale Infrastructure using OCI Console | ||
|
||
* Open the **navigation menu** and click ***Oracle Database***. | ||
* Under **Oracle Database**, click ***Oracle Database Service on Exascale Infrastructure***. | ||
![Navigate from OCI Console to ExaDB-XS Image](./images/console-to-exadb-xs.png " ") | ||
* **Note:** This will cause the **VM Clusters** page to be displayed. | ||
|
||
2. Navigate to your Compartment and VM Cluster | ||
## Task 1: Change License Type using OCI CLI | ||
|
||
* On the left rail, ensure that **VM Clusters** is selected (default selection). | ||
* For the **List Scope**, select your assigned compartment named ***MyCompartmentXX***. | ||
* In the list of displayed VM clusters, click on the name of your **Assigned VM Cluster** named ***MyDemoVMClusterXX***. | ||
![Navigate to Compartment and VM Cluster Image](./images/select-compartment-and-mydemo-vm-cluster.png " ") | ||
* **Note:** This will cause the **VM Cluster Details** page to be displayed. | ||
1. Open the navigation menu. Under **Oracle Database**, click **Exadata Database Service on Exascale Infrastructure**. | ||
|
||
3. On the VM Cluster Details page, take note of the current **License Type** selection | ||
2. Select your ***Assigned Compartment***, and Click your assigned **VM Cluster** named ***MyVMClusterXX***. | ||
|
||
![Note current VM Cluster License Type Image](./images/vmc-current-license-type.png " ") | ||
**<u>To use OCI CLI for this lab, we will be using the ***OCI Cloud Shell tool***</u>.** | ||
|
||
3. In the VM Cluster Details page, Copy the VM Cluster OCID by clicking on the ***copy*** button in the ***OCID*** field under the **General Information** section. | ||
|
||
![copy vmcluster ocid](./images/copy-vmcluster-ocid.png "copy vmcluster ocid") | ||
|
||
4. On the VM Cluster Details page, Click **Update License Type** | ||
Paste the VM Cluster OCID to a text editor. | ||
|
||
![Update License Type Image](./images/update-license-type-button.png " ") | ||
4. Click the **Developer tools** icon in the console header and select ***Cloud Shell*** from the drop-down menu. | ||
|
||
![navigate to oci cloudshell](./images/oci-cloud-shell.png "navigate to oci cloudshell") | ||
|
||
This displays the Cloud Shell in a "drawer" at the bottom of the console: | ||
|
||
5. Change the license type from **Bring Your Own License (BYOL)** to ***License Included*** | ||
![oci cloudshell launch](./images/cloudshelllaunch.png "oci cloudshell launch") | ||
|
||
5. Run the OCI CLI Command to change the license type of the VM Cluster. | ||
|
||
![Update License Type Image](./images/change-license-included.png " ") | ||
For this lab, we will change the license type from ***Bring Your Own License (BYOL)*** to ***License Included***. | ||
|
||
|
||
>**Note:** Replace ***{VMClusterId}*** with the VM Cluster OCID copied from *(Task 1 Step 3)* | ||
``` | ||
<copy> | ||
oci db exadb-vm-cluster update --exadb-vm-cluster-id {VMClusterID} --license-model LICENSE_INCLUDED | ||
</copy> | ||
``` | ||
6. Click **Save Changes** | ||
**<u>Description:</u>** | ||
The OCI CLI command syntax is: **oci** ***db*** ***exadb-vm-cluster*** ***update*** ***--exadb-vm-cluster-id*** ***{VMClusterID}*** ***--license-model*** ***LICENSE_INCLUDED*** | ||
7. On the VM Cluster Details page, validate that the **License Type** selection has been changed to ***License Included*** | ||
**<u>Where:</u>** | ||
* ***db*** is the **service type** for the Oracle Database Cloud Services. | ||
* ***exadb-vm-cluster*** is the **resource type** for the Exadata VM Cluster on Exascale Infrastructure. | ||
* ***update*** is the **action** to update the Exadata VM Cluster on Exascale Infrastructure. | ||
* ***--exadb-vm-cluster-id*** is the **parameter** for the VM Cluster OCID. | ||
* ***--license-model LICENSE_INCLUDED*** is the **parameter** to change the license type of the VM Cluster to ***<u>License Included</u>***. | ||
After running the command, you will see similar output below. | ||
![change license type](./images/change-license-type-updating.png "change license type") | ||
You will see that the VM Cluster status ***"lifecycle-state"*** is ***UPDATING***. | ||
1. Once the change license type operation has been completed, Run the OCI CLI Command to get information about the Exadata VM Cluster on Exascale Infrastructure and to view the new license type for the VM Cluster. | ||
>**Note:** Replace ***{VMClusterId}*** with VM Cluster OCID copied from *(Task 1 Step 3)* | ||
``` | ||
<copy> | ||
oci db exadb-vm-cluster get --exadb-vm-cluster-id {VMClusterId} --query 'data.{DisplayName:"display-name", EnabledECPU:"enabled-e-cpu-count",LifecycleState:"lifecycle-state",LicenseModel:"license-model"}' | ||
</copy> | ||
``` | ||
**<u>Description:</u>** | ||
The OCI CLI command syntax is: **oci** ***db*** ***exadb-vm-cluster*** ***get*** ***--exadb-vm-cluster-id*** ***{VMClusterID}*** ***--query*** | ||
**<u>Where:</u>** | ||
* ***db*** is the **service type** for the Oracle Database Cloud Services. | ||
* ***exadb-vm-cluster*** is the **resource type** for the Exadata VM Cluster on Exascale Infrastructure. | ||
* ***get*** is the **action** to get information about the Exadata VM Cluster on Exascale Infrastructure. | ||
* ***--exadb-vm-cluster-id*** is the **parameter** for the VM Cluster OCID. | ||
* ***--query*** is the query parameter used for structured query options to display the specific VM Cluster data fields and values for ***Display Name***, ***Enabled ECPUs***, ***Lifecycle state***, and ***License model*** | ||
![Note updated VM Cluster License Type Image](./images/vmc-updated-license-type.png " ") | ||
After running the command, you will see similar output below. | ||
![change license type completed](./images/change-license-type-completed.png "change license type completed") | ||
Pay attention to the following VM Cluster details from the command output: | ||
* **Display Name:** ***"MyDemoVMClusterXX"*** | ||
* **Enabled ECPUs:** ***16*** | ||
* **License Model:** ***"LICENSE_INCLUDED"*** | ||
* **Lifecycle State:** ***"AVAILABLE"*** | ||
***Congratulations!!!*** You may now **proceed to the next lab**. | ||
You may now **proceed to the next lab** | ||
## Acknowledgements | ||
* **Authors** - Eddie Ambler, Leo Alvarado, Product Management | ||
* **Author** - Leo Alvarado, Eddie Ambler, Product Management | ||
* **Contributors** - Tammy Bednar, Product Management | ||
* **Last Updated By** - Eddie Ambler, Product Management, August 2024. | ||
* **Last Updated By** - Leo Alvarado, Product Management, August 2024. |
Binary file added
BIN
+947 KB
...atabase-service-xs/change-license-type/images/change-license-type-completed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.76 MB
...database-service-xs/change-license-type/images/change-license-type-updating.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+3.74 MB
exadata-database-service-xs/change-license-type/images/cloudshelllaunch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-132 KB
exadata-database-service-xs/change-license-type/images/console-to-exadb-xs.png
Binary file not shown.
Binary file added
BIN
+4.42 MB
exadata-database-service-xs/change-license-type/images/copy-vmcluster-ocid.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.43 MB
exadata-database-service-xs/change-license-type/images/oci-cloud-shell.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-453 KB
...vice-xs/change-license-type/images/select-compartment-and-mydemo-vm-cluster.png
Binary file not shown.
Binary file removed
BIN
-2.73 MB
...ata-database-service-xs/change-license-type/images/vmc-current-license-type.png
Binary file not shown.
Oops, something went wrong.