Note:
- This tutorial requires access to Oracle Cloud. To sign up for a free account, see Get started with Oracle Cloud Infrastructure Free Tier.
- It uses example values for Oracle Cloud Infrastructure credentials, tenancy, and compartments. When completing your lab, substitute these values with ones specific to your cloud environment.
Create a VM Cluster on a Single VM for Oracle Exadata Database Service on Cloud@Customer
Introduction
We are pleased to announce the general availability (GA) of virtual machine (VM) clusters running on a single VM for Oracle Exadata Database Service on Cloud@Customer (ExaDB-C@C). Before the release of this feature, all VM clusters required a minimum of two VMs, and databases running in those VM clusters were all multi-node Oracle Real Application Clusters (RAC).
Note: This feature is intended for Oracle Exadata Cloud Infrastructure customers who would like to run single instance workloads on Oracle Exadata Database Service on Cloud@Customer and cannot run them in a multi-node VM cluster due to licensing requirements or customer preference.
Objectives
Create a VM cluster on a single VM for Oracle Exadata Database Service on Cloud@Customer. It details the user experience journeys for the following scenarios.
-
Create a single VM cluster.
-
Horizontally scale out a single VM cluster to a two VM cluster.
-
Scale in a two VM cluster to a single VM cluster.
Prerequisites
-
Oracle Exadata Cloud Infrastructure to host the VM cluster.
-
A validated VM cluster network for the VM cluster to use.
Task 1: Create a VM Cluster on a Single VM
The process of creating a VM cluster on a single VM is identical to creating a VM cluster on multiple VMs. The only difference is to select a single physical database server to host the VM cluster. Any databases deployed in the single VM cluster will be RAC capable, but only running on a single VM.
-
Open the navigation menu and click Oracle Database and Oracle Exadata Database Service on Cloud@Customer.
-
Select the Region that contains your Oracle Exadata Cloud Infrastructure.
-
Click Exadata VM Clusters and Create Exadata VM cluster.
-
Enter the following required information on the Create VM Cluster page.
-
Select a compartment: Select the compartment that you want to contain the VM cluster.
-
Provide the display name: The display name is a name that you can use to identify the VM cluster.
-
Select Exadata Database Service on Cloud@Customer Infrastructure: From the list, select the Oracle Exadata Cloud Infrastructure to host the VM cluster.
-
Select a VM Cluster Network: Select a VM cluster network definition to use for the VM cluster. You must have an available and validated VM cluster network before you can create a VM cluster.
-
Select the Oracle Grid Infrastructure version: Select the Oracle Grid Infrastructure release that you want to install on the VM cluster.
-
Configure VM cluster
-
The VM by default is placed on all database servers associated with the VM cluster network you specified.
-
Click Change DB Servers to change the VM placement.
-
On the Change DB Servers dialog, deselect any servers that you do not want to host VMs in your cluster. Deselect all but one database server to create a VM cluster on a single VM.
Note: Note the warning message that Each VM cluster needs at least two database servers for a high availability configuration.
-
-
-
Click Save Changes and continue to create the VM cluster as normal. You can view the VM resources on the detail page for the cluster to verify it is a single VM cluster.
Task 2: Scale out from a Single VM Cluster to Two VM Cluster
The process of adding a VM to a VM cluster is the same as adding a VM to any multi-VM cluster. The cloud automation will automatically create the new VM and the necessary database homes. All databases running in the VM cluster will be extended from running on a single VM to running on all the VMs in the resulting cluster. Oracle Grid Infrastructure software will be configured on the new VM so the VM can join the cluster. Voting file placement will be optimized to ensure full high availability protection for the multi-VM cluster and its databases.
-
Click the name of the VM cluster where you want to add virtual machines.
-
In the VM Cluster Details page, under Resources, click Virtual Machines, and then click Add Virtual Machines.
-
Select an eligible database server with the Available to add status to add to the VM cluster and then click Add Virtual Machines, Save Changes.
Task 3: Scale in from a Two VM Cluster to Single VM Cluster
The process of removing a VM from a two VM cluster is the same as the process to remove a VM from any multi-VM cluster. Databases in the resulting cluster will only run on a single VM, but will remain RAC capable and can be reconfigured later to a multi-VM RAC deployment.
-
Click the name of the VM cluster for which you want to remove a virtual machine.
-
In the VM Cluster Details page, under Resources click Virtual Machines.
-
In the list of virtual machines, click Actions icon (three dots) for a virtual machine, and then click Terminate.
-
On the Delete Virtual Machine dialog, enter the name of the virtual machine to confirm deletion, and then click Remove.
Related Links
-
What’s New in Oracle Exadata Database Service on Cloud@Customer Gen2
-
Exadata Database Service on Cloud@Customer How To’s Video Playlist
-
Oracle LiveLabs Workshop: Get Started with Oracle Exadata Database Service on Cloud@Customer
Acknowledgments
- Authors - Bob Thome, Tammy Bednar, Leo Alvarado (Product Management)
More Learning Resources
Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.
For product documentation, visit Oracle Help Center.
Create a VM Cluster on a Single VM for Oracle Exadata Database Service on Cloud@Customer
F92072-01
January 2024
Copyright © 2024, Oracle and/or its affiliates.