Create Database Home
This topic describes how to create a Database Home in Base Database VM Cluster.
Before you begin, review the following:
- Creating a Database Home for Oracle AI Database 26ai requires Oracle Grid Infrastructure 26ai.
You can create a Database Home:
Using the Console
Perform the following steps in the Console.
-
On the Data Infrastructures list page, select the Data Infrastructure that you want to work with. If you need help finding the list page or the Data Infrastructure, see List Data Infrastructures.
- On the Data Infrastructure details page, select the VM Cluster tab to view the list of all VM Clusters.
- On the VM Clusters tab, select the VM Cluster that you want to work with.
-
On the VM Cluster details page, select the Database Homes tab to view the list of all Database Homes.
-
On the Database Home tab, select Create Database Home.
-
In the Create Database Home page, provide the following details.
-
Database Home: The display name is a user-friendly name that you can use to identify the DB Home. The name doesn’t need to be unique, because an Oracle Cloud Identifier (OCID) uniquely identifies the resource.
-
Unified Auditing: Select this to enable the unified auditing framework. Unified auditing provides selective and effective auditing using policies and conditions. The unified auditing option needs to be specified during provisioning and cannot be changed later. Unified auditing is enabled by default for Oracle AI Database 26ai.
-
Database image: Determines what Oracle AI Database version is used for the database. You can mix database versions, but not editions. By default, the latest Oracle-published database Software Image is selected.
Select Change database image to use a different Oracle-published image or a custom database Software Image that you have created in advance, then select an Image Type:
-
Oracle Database Software Images: These images contain generally available versions of Oracle AI Database software.
-
Custom database Software Images: These images are created by your organization and contain customized configurations of software updates. Use the compartment and database version filters to select the custom database Software Images from a specific compartment or Oracle AI Database software major release version.
-
After selecting a Software Image, select the Select button.
-
-
Advanced Options: Expand to provide additional details.
- Tags: Expand Tags to add tag details for this resource. You can add free-form tags or defined tags to this resource. You must have permission to use the tag namespace for defined tags. For more information about using tags to manage your resources, see Tags. Tags can be applied later or at any time to a resource.
-
- Select Create.
Tip: After installing DB Home, apply the latest updates if available.
Using dbaascli Utility
To create an database home of required version using dbaascli, use the dbaascli dbhome create command.
Note: You can create an database home with a specified Oracle home name. If you do not specify, then this is computed automatically (recommended).
-
Connect to the virtual machine as the
opcuser.For detailed instructions, see Connecting to a Virtual Machine with SSH.
-
Start a
rootuser command shell:sudo -s -
Run the following command:
dbaascli dbhome create --version Oracle Home Version --imageTag image Tag ValueParameters:
Parameter Description --versionspecifies the Oracle AI Database version --imageTagspecifies the Image Tag of the image to be used For example:
dbaascli dbhome create --version 19.9.0.0.0Note: Specifying
imageTagis optional. To view the Image Tags, refer to commanddbaascli cswlib showImages. Image Tags are typically same as the version of the database. However, it is kept as a provision for cases where multiple images may need to be released for the same version - each catering to a specific customer requirement. -
Exit the
rootuser command shell:exitFor more details on advanced supported options, see
dbaascli dbhome create.
Note: Using dbaascli, you can create an Oracle AI Database by first creating an Oracle AI Database home of required version, followed by creating a database in that database home.