Create a DB System Using the Console
You can create a new DB system using the Console by using the following steps.
Procedure
- Open the navigation menu. Click Oracle Database, then click Oracle Base Database.
- Click Create DB system.
- On the Create DB system page, provide the basic information for the DB system by performing the following steps.
- Select a compartment: Select a compartment for your new DB system. By default, the DB system is created in your current compartment and you can use the network resources in that compartment.
- Name your DB system: A non-unique, display name for the DB system. An Oracle Cloud Identifier (OCID) uniquely identifies the DB system. Avoid entering confidential information.
- Select an availability domain: The availability domain in which the DB system should reside.
-
Select a shape type: The shape type you select sets the default shape and filters for the shape options. Select Virtual Machine.
Note:
Creating new Bare Metal DB system is not supported. - Configure shape: The shape determines the type of DB system created and the resources allocated to the system. By default, AMD VM.Standard.E4.Flex shape with 4 OCPUs is selected.
- To specify a shape other than the default, click
Change shape, and select an available shape from the list.
Note:
For a complete list of shapes, see Available Shapes and How It Determines the Resources Allocated topic in the About Virtual Machine DB Systems article. - Shape series: Select AMD or Intel
processor in the processor group.
- AMD: Shapes that use current generation AMD processors. The AMD shapes are flexible.
- Intel: Standard and optimized shapes that use current-generation Intel processors. Both fixed and flexible Intel shapes are available.
Note:
If you select an AMD or Intel X9 flexible shape, the memory, network bandwidth, and the maximum theoretical IOPS scale proportionally. - Configure OCPU: Choose the number of
OCPUs you want to allocate to this instance. For AMD and Intel X9 flexible
shapes, you can choose the number of OCPUs by using the slider in the Number
of OCPUs per node field. You can select from a minimum of 1 OCPU to a
maximum of 64 OCPUs for AMD shape and a minimum of 1 OCPU to a maximum of 32
OCPUs for Intel X9 shape. The following resources scale proportionately to the
number of OCPUs you selected.
- Memory (GB): The amount of memory you want to
allocate to this instance.
For AMD and Intel X9 shapes, the memory will scale proportionally based on the number of OCPUs selected. For each OCPU, 16 GB of memory is allocated.
-
For AMD shape, a minimum of 16 GB and a maximum of 1024 GB of memory is allocated.
- For Intel X9 shape, a minimum of 16 GB and a maximum of 512 GB of memory is allocated.
-
- Network bandwidth (Gbps): The amount of network
bandwidth you want to allocate to this instance.
For AMD and Intel X9 shapes, the bandwidth will scale proportionally based on the number of OCPUs selected. For each OCPU, 1 Gbps of network bandwidth is allocated.
- For AMD shape, a minimum of 1 Gbps and a maximum of 40 Gbps of network bandwidth is allocated.
- For Intel X9 shape, a minimum of 1 Gbps and a maximum of 32 Gbps of network bandwidth is allocated.
- Theoretical max IOPS: The amount of input/output per
second (IOPS) you want to allocate to this instance. Theoretical max
IOPS is also dependent on the storage you choose.
For AMD and Intel X9 shapes, the theoretical max IOPS will scale proportionally based on the number of OCPUs selected. For each OCPU, 16K theoretical max IOPS is allocated.
- For AMD shape, a minimum of 16K and a maximum of 640K theoretical max IOPS is allocated.
- For Intel X9 shape, a minimum of 16K to a maximum of 512K theoretical max IOPS is allocated.
- Memory (GB): The amount of memory you want to
allocate to this instance.
- Click Select shape.
- Configure storage: To specify storage other than the default, click Change storage and select an available storage from the list.
- Choose storage management software:
Select one of the following:
- Oracle Grid Infrastructure to use Oracle Automatic Storage Management (recommended for production workloads)
- Logical Volume Manager to quickly provision your DB system using Logical Volume Manager storage management software.
Note:
The Available storage (GB) value you specify during provisioning determines the maximum total storage available through scaling. The total storage available for each choice is detailed in the Storage Scaling Considerations for Virtual Machine Databases Using Fast Provisioning topic in the About Virtual Machine DB Systems article. - In the Configure storage performance
section, in the Storage volume performance, select one of the following:
- Balanced for most workloads that require a good balance between performance and cost savings.
- Higher performance for large databases and workloads with high I/O requirement. It is the default performance level.
In the Available data storage (GB), select the amount of Block Storage in GB to allocate to the DB system. Available storage can be scaled up or down as needed after provisioning your DB system.
The read-only Recovery area storage (GB) field displays the amount of storage available for recovery log data (RECO storage). The recovery area storage is determined based on the storage selected. However, you can change the recovery area storage independently after provisioning. For more information on changing the recovery area storage, see Scale the DB System article.
The read-only Expected theoretical max IOPS for data storage displays the maximum theoretical IOPS that is achievable for storage you have selected.
- Click Save changes.
- Provide the following details in the Configure the DB system section.
- Total node count: The number of nodes in the DB system, which depends on the shape you select. You can specify either one or two nodes, except for VM.Standard2.1 and VM.Standard1.1, which are single-node DB systems.
- Oracle Database software edition: The database edition supported by the DB system. The database edition cannot be changed later.
- Total storage (GB): Read-only field. It displays the total amount of storage that will be used by the DB system, including storage required by the DB system software. The size of the backup determines the minimum value for available storage.
- Cluster name: Displays only for multi-node DB systems to allow you to specify the cluster to store the node.
- Theoretical max IOPS: Displays the
maximum IOPS that is supported for your instance. It is the minimum of the
network IOPS and storage IPOS you selected in the Configure Shape and
Configure storage sections.
Note:
Maximum theoretical IOPS is calculated based on database with 8K blocksize. - IOPS limiting factor: Displays either Storage or Network based on which the theoretical max IOPS is determined. It helps identify if you need to increase storage or increase the network bandwidth (by increasing the number of OCPUs proportionally) for your shape if more IOPS are required.
- Add SSH key: Add the public key portion
of each key pair you want to use for SSH access. Select on of the following
options:
- Generate SSH key pair: Use this option to create a new SSH key pair. Click both Save private key and Save public key when using this option. The private key is downloaded to your local machine, and should be stored in a safe location. You cannot download another copy of the private key generated during this operation after completing the operation.
- Upload SSH key files: Select this option to browse or drag and drop your existing public key (.pub) files.
- Paste SSH keys: Select this option to paste in individual public keys. To paste multiple keys, click + Another SSH key, and supply a single key for each entry.
- Choose a license type: The type of
license you want to use for the DB system. Your choice affects metering for
billing.
- License included means the cost of this Oracle Cloud Infrastructure Database service resource will include both the Oracle Database software licenses and the service.
- Bring Your Own License (BYOL) means you will use your organization's Oracle Database software licenses for this Oracle Cloud Infrastructure Database service resource. For more information, see Bring Your Own License.
- Provide the following details in the Specify the network information section.
- Virtual cloud network: The VCN in which to create the DB system. Click Change compartment to select a VCN in a different compartment.
-
Client subnet The subnet to which the DB system attaches. For both single-node and multi-node RAC DB systems, do not use a subnet that overlaps with 192.168.16.16/28, which is used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet causes the private interconnect to malfunction.
Click Change compartment to select a subnet in a different compartment.
-
Network security groups: Optionally, you can specify one or more network security groups (NSGs) for your DB system. NSGs function as virtual firewalls, allowing you to apply a set of ingress and egress security rules to your DB system. A maximum of five NSGs can be specified.
For more information, see Access and Security and Security Rules for the DB System.
Note:
If you choose a subnet with a security list, the security rules for the DB system will be a union of the rules in the security list and the NSGs.To use network security groups:- Check the Use network security groups to control traffic check box. Note that you must have a virtual cloud network selected to be able to assign NSGs to your DB system.
- Specify the NSG to use with the DB system. You might need to use more than one NSG. If you're not sure, contact your network administrator.
- To use additional NSGs, click + Another network security group.
- Hostname prefix: Your choice of host
name prefix for the DB system. The host name must begin with an alphabetic
character, and can contain only alphanumeric characters and hyphens (-). The
maximum number of characters allowed is 16.
Note:
The host name must be unique within the subnet. If it is not unique, the DB system will fail to provision. - Host domain name: The domain name for the DB system. If the selected subnet uses the Oracle-provided Internet and VCN Resolver for DNS name resolution, then this field displays the domain name for the subnet and it can't be changed. Otherwise, you can provide your choice of a domain name. Hyphens (-) are not permitted.
- Host and domain URL: Combines the host and domain names to display the fully qualified domain name (FQDN) for the database. The maximum length is 64 characters.
- Private IP address: Optionally, for non-RAC DB systems, you can define the IP address of the new DB system. This is useful in development contexts where you create and delete a DB system over and over, and you need each new iteration of the DB system to use the same IP address. If you specify an IP address that is currently in use within the subnet, the provisioning operation will fail with an error message regarding the invalid IP address.
-
Diagnostic collection: The diagnostics collection and notifications feature enables Oracle Cloud Operations and you to identify, investigate, track, and resolve guest VM issues quickly and effectively. Subscribe to events to get notified about resource state changes. You can enable or disable this feature at anytime.
By default the options are selected for enabling. However, you can choose to un-select the diagnostic collection check boxes if you do not require the diagnostic feature.- Enable diagnostic events: Enables and allows Oracle to collect and send fault notifications about critical, warning, and information events for you.
- Enable incident logs and trace collection: Enables and allows Oracle to receive event notifications and collect incident logs and traces for fault diagnosis and issue resolution.
Note:
- The Enable health monitoring diagnostics collection for Oracle Cloud operations viewing is not available for the Base Database Service.
- You are opting-in with the understanding that the list of events and log files can change in the future. You can opt-out of this feature at any time.
- Click Show advanced options to specify advanced options for the DB system and provide the following details.
- Fault domain: The fault domain(s) in which the DB system resides. You can choose which fault domain to use for your DB system. For multi-node RAC DB systems, you can specify which two fault domains to use. Oracle recommends that you place each node of a multi-node RAC DB system in a different fault domain. For more information on fault domains, see About Regions and Availability Domains.
- Time zone: The default time zone for the
DB system is UTC, but you can specify a different time zone. The time zone
options are those supported in both the
Java.util.TimeZone
class and the Oracle Linux operating system. For more information, see DB System Time Zone. The following options are available:- UTC: configures your DB system to use coordinated universal time.
- Browser-detected: The console displays the time zone detected by your browser for this option.
- Select another time zone: To manually specify a time zone, first make a choice using the Region or country selector to select a geographic region, then use the Time zone selector to select your desired time zone.
Tip:
If you want to set a time zone other than UTC or the browser-detected time zone, and if you do not see the time zone you want, try selecting "Miscellaneous" in the Region or country list. - Encryption: You can choose to use
encryption based on encryption keys that you manage. By default, the database is
configured using Oracle-managed encryption keys. To configure the database with
encryption based on encryption keys you manage:
- Select Use customer-managed keys. You must have a
valid encryption key in Oracle Cloud Infrastructure Vault service. For
more information, see Let security admins manage vaults, keys, and
secrets topic in Common
Policies.
Note:
You must use AES-256 encryption keys for your database. - Choose a Vault.
- Select a Master encryption key.
- To specify a key version other than the latest version of the selected key, check Choose the key version and enter the OCID of the key you want to use in the Key version OCID field.
- Select Use customer-managed keys. You must have a
valid encryption key in Oracle Cloud Infrastructure Vault service. For
more information, see Let security admins manage vaults, keys, and
secrets topic in Common
Policies.
- Tags: If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. If you are not sure whether to apply tags, skip this option (you can apply tags later) or ask your administrator. For more information about tagging, see Resource Tags.
- Click Next to advance to the Database information screen and provide the following information for the initial database.
- Database name: The name for the
database, also known as the
DB_NAME
. The database name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. - Database unique name suffix: Optional. The second portion of the database unique name. The complete database unique name is created by appending the database unique name suffix to the database name you specify.
- Database unique name: This read-only
field displays the complete database unique name
(
DB_UNIQUE_NAME
). The database unique name is a globally unique name for the database. Primary and standby databases in a Data Guard association can share the same database name, but must have different database unique names. -
Database image: Determines what Oracle Database version is used for the database. You can mix database versions on the DB system, but not editions. By default, the latest Oracle-published database software image is selected.
Click 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 Database software.
-
Custom database software images: These images are created by your organization and contain customized configurations of software updates and patches. Use the Select a compartment and Select a database version selectors to limit the list of custom database software images to a specific compartment or Oracle Database software major release version.
Note:
The custom database software image must be based on an Oracle Database release that meets the following criteria:- The release is currently supported by Oracle Cloud Infrastructure
- The release is supported by the hardware model you are provisioning
For more information on database software images, see Oracle Database Software Images.
After choosing a software image, click Select to return to the Create database dialog.
- PDB name: Not applicable to Oracle Database 11g (11.2.0.4). The name of the pluggable database. The PDB name must begin with an alphabetic character, and can contain a maximum of eight alphanumeric characters. The only special character permitted is the underscore ( _ ).
- In the Create administrator credentials
section, a database administrator named
sys
will be created with the password you supply. - Username:
sys
(This is a read-only field). - Password: Supply the password for this
user. The password must meet the following criteria:
- A strong password for SYS, SYSTEM, TDE wallet, and PDB Admin.
- The password must be 9 to 30 characters and contain at least two uppercase, two lowercase, two numeric, and two special characters.
- The special characters must be _, #, or -.
- The password must not contain the username (SYS, SYSTEM, and so on) or the word "oracle" either in forward or reversed order and regardless of casing.
- Confirm password: Re-enter the SYS password you specified.
-
Using a TDE wallet password password is optional. If you are using customer-managed encryption keys stored in a vault in your tenancy, the TDE wallet password is not applicable to your DB system. Use Show advanced options at the end of the Database Information section to configure customer-managed keys.
If you are using customer-managed keys, or if you want to specify a different TDE wallet password, uncheck the Use the administrator password for the TDE wallet box. If you are using customer-managed keys, leave the TDE password fields blank. To set the TDE wallet password manually, enter a password in the Enter TDE wallet password field, and then confirm by entering it into the Confirm TDE wallet password field.
- In the Configure database backups dialog, check or uncheck Enable automatic backups, as applicable. If you are enabling automatic backups, you can choose to configure Recovery Service or Object Storage as the Backup destination.
- If Recovery Service is selected as the Backup
destination, you can configure the following options:
-
Protection policy: You can choose from one of the preset protection policies or a custom policy. The system automatically deletes your backups at the end of your chosen protection policy recovery window.
The following retention periods are available for Recovery Service. The retention periods (in days) are defined in the Recovery Service protection policy.- Bronze (14 days)
- Silver (35 days) (default)
- Gold (65 days)
- Platinum (95 days)
- Custom (User defined protection policy)
-
Real-time data protection: Real-time protection is the continuous transfer of redo changes from a protected database to Recovery Service. This reduces data loss and provides a recovery point objective (RPO) near 0. This is an extra cost option.
-
Deletion options after database termination: You can use the following options to retain managed database backups after the database is terminated. These options can also help restore the database from backups in case of accidental or malicious damage to the database.
- Retain backups according to the retention period: When a database is terminated, the automatic database backups associated with the terminated database will be removed at the end of the specified retention period.
- Retain backups for 72 hours, then delete: When a database is terminated, the automatic database backups associated with the terminated database will be retained for 72 hours and then deleted. The backups are retained for 72 hours to safeguard against accidental deletion by the user.
- Scheduled day for initial backup: Choose a day of the week for the initial backup to begin.
- Scheduled time for initial backup (UTC): Choose a time for the initial backup to begin. The initial backup could start at any time or within the chosen two-hour scheduling window.
- Scheduled time for daily backup (UTC): Choose a time for the daily backup to begin. The daily backup could start at any time or within the chosen two-hour scheduling window.
- Take the first backup immediately: A full backup is an operating system backup of all datafiles and the control file that constitute an Oracle Database. A full backup should also include the parameter files associated with the database. You can take a database backup when the database is shut down or while the database is open. You should not normally take a backup after an instance failure or other unusual circumstances. If you choose to defer the initial backup, your database may not be recoverable in the event of a database failure.
-
- If Object Storage is selected as the Backup
destination, you can configure the following options:
-
Backup retention period: If you choose to enable automatic backups, you can choose a policy with one of the preset retention periods. The system automatically deletes your incremental backups at the end of your chosen retention period. You can change the backup retention period after provisioning.
The following retention periods are available for Object Storage.- 7 days
- 15 days
- 30 days (default)
- 45 days
- 60 days
- Scheduled day for full backup: Choose a day of the week for the initial and future full backups to begin.
- Scheduled time for full backup (UTC): Choose a time for the full backup to begin. The full backup could start at any time or within the chosen two-hour scheduling window.
- Scheduled time for incremental backup (UTC): Choose a time for the incremental backup to begin. The incremental backup could start at any time or within the chosen two-hour scheduling window.
- Take the first backup immediately: A full backup is an operating system backup of all datafiles and the control file that constitute an Oracle Database. A full backup should also include the parameter files associated with the database. You can take a database backup when the database is shut down or while the database is open. You should not normally take a backup after an instance failure or other unusual circumstances. If you choose to defer the initial backup, your database may not be recoverable in the event of a database failure.
-
- Click Show advanced options to specify advanced options for the database.
- In the Management tab, you can set the
following options:
- Character set: The character set for the database. The default is AL32UTF8.
- National character set: The national character set for the database. The default is AL16UTF16.
- In the Encryption tab, configure the
encryption key management option for your database. By default, the database is
configured using Oracle-managed encryption keys. To configure the database with
encryption based on encryption keys you manage:
- Select Use customer-managed keys. You must have a
valid encryption key in Oracle Cloud Infrastructure Vault service. For
more information, see Let security admins manage vaults, keys, and
secrets topic in Common
Policies.
Note:
You must use AES-256 encryption keys for your database. - Choose a Vault.
- Select a Master encryption key.
- To specify a key version other than the latest version of the selected key, check Choose the key version and enter the OCID of the key you want to use in the Key version OCID field.
- Select Use customer-managed keys. You must have a
valid encryption key in Oracle Cloud Infrastructure Vault service. For
more information, see Let security admins manage vaults, keys, and
secrets topic in Common
Policies.
- In the Tags tab, you can add free-form tags or defined tags to this resource. You must have permissions to use the tag namespace for defined tags. For information about using tags to manage your OCI resources, see Resource Tags.
- Click Create DB system. The DB system
appears in the list with a status of Provisioning. The DB system's icon changes
from yellow to green (or red to indicate errors).
After the DB system's icon turns green, with a status of Available, you can click the highlighted DB system name to display details about the DB system. Note the IP addresses. You'll need the private or public IP address, depending on network configuration, to connect to the DB system.
Create a DB System Using the Console
Copyright © 2022, 2023, Oracle and/or its affiliates.
For information about Oracle's commitment to accessibility, visit the Oracle Accessibility Program website at http://www.oracle.com/pls/topic/lookup?ctx=acc&id=docacc.
Access to Oracle Support
Oracle customers that have purchased support have access to electronic support through My Oracle Support. For information, visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=info or visit http://www.oracle.com/pls/topic/lookup?ctx=acc&id=trs if you are hearing impaired.