Create KVM DB System
post
/dbsystem
Create a new KVM DB System in Oracle Database Appliance using DbSystemCreateParams. Make sure Oracle Database Appliance KVM DB System Image is downloaded and the repository is updated with the image first.
Request
Supported Media Types
- application/json
Parameters to create a DB System
Root Schema : DbSystemCreateParams
Type:
Show Source
object
-
baseDb:
object DbSystemCreateBaseDbParams
-
database:
object DbSystemCreateDatabaseParams
-
dbHome:
object DbSystemCreateDbHomeParams
-
forced:
boolean
Whether or not to force the DB System create operation
-
grid:
object DbSystemCreateGridParams
-
network(required):
object DbSystemCreateNetworkParams
-
restoreDatabase:
object DbSystemCreateRestoreDatabaseParams
-
system(required):
object DbSystemCreateSystemParams
Nested Schema : DbSystemCreateBaseDbParams
Type:
Show Source
object
-
bootImageId:
string
ID of the DB System VM image artifact
-
bootOptions:
string
Boot options for DB System VM
-
bootstrapRpmId:
string
ID of the bootstrap RPM artifact
-
bootstrapScript:
string
Bootstrap script location within DB System VM
-
ccVersion:
string
ASM client cluster version
-
databag:
string
Databag to be placed inside DB System VM
-
sshKey:
string
SSH key for root user in the DB System VM
-
u01Size:
string
Size of the u01 vDisk, defaults to 100G
Nested Schema : DbSystemCreateDatabaseParams
Type:
Show Source
object
-
adminPassword(required):
string
Admin password of the database
-
characterSet:
object DbCharacterSet
-
dbClass(required):
string
Allowed Values:
[ "OLTP", "DSS", "IMDB" ]
Class of the database (OLTP|DSS|IMDB) -
dbStorage:
string
Allowed Values:
[ "ASM", "PMEM" ]
Storage type of the database (ASM|PMEM) - The default value is ASM -
domainName(required):
string
Domain name of the database
-
edition(required):
string
Allowed Values:
[ "SE", "EE" ]
Edition of the database (SE|EE) -
enableDbConsole:
boolean
Whether or not the database console is enabled
-
enableEEHA:
boolean
Whether or not to enable HA for EE SI database
-
enableFlashCache:
boolean
Whether or not enable flash cache
-
enableFlashStorage:
boolean
Whether or not enable flash storage
-
enableSEHA:
boolean
Whether or not to enable HA for SE for 19c and later SI database
-
enableTDE:
boolean
Whether or not enable TDE
-
enableUnifiedAuditing:
boolean
Whether or not enable unified auditing
-
isCdb:
boolean
Whether or not the database is CDB
-
level0BackupDay:
string
Allowed Values:
[ "monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday" ]
Backup day of the database (monday|tuesday|wednesday|thursday|friday|saturday|sunday) -
name(required):
string
Name of the database
-
pdbAdminUser:
string
Name of the PDB admin user
-
pdbName:
string
Name of the PDB
-
redundancy:
string
Redundancy of the database. If the diskgroup redundancy is FLEX, then database redundancy must be set to one of "HIGH" or "MIRROR", otherwise, can be null
-
rmanBackupPassword:
string
RMAN backup password of the database
-
role(required):
string
Allowed Values:
[ "PRIMARY", "STANDBY" ]
Role of the database (PRIMARY|STANDBY) -
shape(required):
string
Allowed Values:
[ "odb1s", "odb1", "odb2", "odb4", "odb6", "odb8", "odb10", "odb12", "odb16", "odb20", "odb24", "odb28", "odb32", "odb36", "odb42", "odb48", "odb56", "odb64" ]
Shape of the database (odb1s|odb1|odb2|odb4|odb6| odb8|odb10|odb12|odb16|odb20|odb24|odb28|odb32| odb36|odb42|odb48|odb56|odb64) -
targetNodeName:
string
Target node name of the database
-
tdePassword:
string
TDE password of the database
-
type(required):
string
Allowed Values:
[ "RAC", "RACOne", "SI" ]
Type of the database (RAC|RACOne|SI) -
uniqueName(required):
string
Unique name of the database
-
version(required):
string
Version of the database
Nested Schema : DbSystemCreateDbHomeParams
Type:
Show Source
object
-
edition:
string
Allowed Values:
[ "SE", "EE" ]
Edition of the database home (SE|EE) -
enableUnifiedAuditing:
boolean
Whether or not enable unified auditing
-
version(required):
string
Version of the database home
Nested Schema : DbSystemCreateGridParams
Type:
Show Source
object
-
enableAFD:
boolean
Whether or not AFD is enabled within DB system
-
language:
string
Language setting for the grid installation
-
version:
string
version of the grid home
Nested Schema : DbSystemCreateNetworkParams
Type:
Show Source
object
-
clusterInterconnect:
object DbSystemClusterInterconnect
-
dnsServers(required):
array dnsServers
DNS servers of the network
-
domainName(required):
string
Domain name of the network
-
nodes(required):
array nodes
-
ntpServers(required):
array ntpServers
NTP servers of the network
-
publicVNetwork:
string
Name of the public virtual network
-
scanIps:
array scanIps
SCAN IPs for the DB system database
-
scanName:
string
SCAN name for the DB system database
Nested Schema : DbSystemCreateRestoreDatabaseParams
Type:
Show Source
object
-
backupPasswords:
array backupPasswords
-
backupReportDetails(required):
object DbSystemCreateRestoreBackupReportDetails
Details of the backup report that must be used to restore the database within a new DB System
-
customization:
object DbSystemCreateRestoreBackupDatabaseCustomization
Database parameters that can be customized for restored database within a new DB System
-
enableForceDelete:
boolean
Deletes the filegroups, FRA and archived logs of database that is getting created from backup, if present
-
numberOfRmanChannels:
integer
Number of RMAN channel that must be used while creating the database from backup
-
sourceDetails(required):
object DbSystemCreateRestoreBackupSourceDetails
Details of the backup and its destination
-
sysPassword(required):
string
Admin password of the database.
-
tdePassword:
string
Password used for password protected software keystore
Nested Schema : DbSystemCreateSystemParams
Type:
Show Source
object
-
clusterName:
string
Cluster name to assign instead of autogenerated one
-
cpuPoolName:
string
Name of the shared DB System CPU Pool
-
customMemorySize:
string
Memory of the DB System
-
customRoleSeparation:
object DbSystemCreateRoleSeparationParams
-
diskGroup:
string
ASM disk group
-
enableRoleSeparation:
boolean
Whether or not to enable the role separation
-
failOver:
boolean
-
multiUserAccess:
object DbSystemCreateIdmParams
-
name(required):
string
Name of the DB System
-
redundancy:
string
Allowed Values:
[ "MIRROR", "HIGH" ]
Redundancy of the VM storage -
shape:
string
Shape of the DB System (odb2|odb4|odb6|odb8|odb10| odb12|odb16|odb20|odb24|odb28|odb32|odb36|odb42| odb48|odb56|odb64)
-
singleNode:
string
-
systemPassword(required):
string
Password for the DB System
-
timeZone(required):
string
Time zone of the DB System
-
useReservedCores:
boolean
Whether or not to use reserved CPU cores
Nested Schema : DbSystemClusterInterconnect
Type:
Show Source
object
-
gateway(required):
string
gateway address for Cluster Interconnect
-
interfaceName(required):
string
interface for Cluster Interconnect
-
subnet(required):
string
subnet mask for Cluster Interconnect
-
vlanId(required):
string
vlan id for the Cluster Interconnect
Nested Schema : DbSystemCreateNetworkNodeParams
Type:
Show Source
object
-
gateway(required):
string
Gateway of the DB system node
-
ipAddress(required):
string
IP address of the DB system node
-
name(required):
string
Name of the DB system node
-
netmask(required):
string
Netmask of the DB system node
-
number(required):
integer
Number of the DB system node
-
vipAddress:
string
Virtual IP address of the DB system node
-
vipName:
string
Virtual IP name of the DB system node
Nested Schema : backupPasswords
Type:
Show Source
array
-
Array of:
string
RMAN backup password used to encrypt backups
Nested Schema : DbSystemCreateRestoreBackupReportDetails
Type:
object
Details of the backup report that must be used to restore the database within a new DB System
Show Source
-
backupReport:
object BackupReport
-
backupReportId:
string
ODA resource ID of the backup report
-
backupReportPath:
string
Path of the backup report JSON file present in local Bare Metal
Nested Schema : DbSystemCreateRestoreBackupDatabaseCustomization
Type:
object
Database parameters that can be customized for restored database within a new DB System
Show Source
-
backupLocation:
string
Database backup location
-
dbClass:
string
Class of the database (OLTP|DSS|IMDB)
-
dbConsoleEnable:
boolean
Whether or not the database console is enabled
-
dbDomainName:
string
Domain name of the database
-
dbEdition:
string
Edition of the database (SE|EE)
-
dbName:
string
Name of the database
-
dbRedundancy:
string
Redundancy of the database
-
dbShape:
string
Shape of the database (odb1s|odb1|odb2|odb4|odb6| odb8|odb10|odb12|odb16|odb20|odb24|odb28|odb32| odb36|odb42|odb48|odb56|odb64)
-
dbType:
string
Type of the database (RAC|RACOne|SI)
-
dbUniqueName:
string
Unique name of the database
-
enableEEHA:
boolean
Enable HA for EE SI database
-
enableSEHA:
boolean
Enable HA for SE for 19c and later SI database
-
tdeFilesLocation:
string
TDE wallet backup location
Nested Schema : DbSystemCreateRestoreBackupSourceDetails
Type:
object
Details of the backup and its destination
Show Source
-
nfsDetails:
object DbSystemCreateRestoreBackupNfsDetails
Details to NFS location where backups are present
-
objectStoreDetails:
object DbSystemCreateRestoreBackupObjectStoreDetails
Details of the Object Store where backups are present
-
rmanBackupEncrypted:
boolean
Flag to indicate backups are encrypted by RMAN.
-
tdeEnabled:
boolean
Flag to indicate backups are encryted using TDE enabled
Nested Schema : BackupReport
Type:
Show Source
object
-
backupLocation:
string
-
backupLogLoc:
string
-
backupReportLogDetail:
string
-
backupType:
string
-
cfBackupHandle:
string
-
compressionAlgo:
string
The RMAN compression algorithm that the database is configured.
-
cpuPool:
string
Defines the CPU Pool name
-
createTime:
string(date-time)
-
dbConfigLoc:
string
-
dbDataSize:
string
-
dbId:
string
-
dbInfo:
object DbInfo
-
dbName:
string
-
dbRedoSize:
string
-
dbResId:
string
-
dbUniqueName:
string
-
id:
string
-
keepDays:
integer
-
keystoreType:
string
Type of keystore, which stores TDE Master Encryption Key. Either Software or OKV.
-
name:
string
display name for the resource
-
numberOfCores:
integer
Defines the number of cores
-
oraHomeVersion:
string
-
pitrSCN:
string
-
pitrTimeStamp:
string(date-time)
-
resetLogsSCN:
string
-
resetLogsTimeStamp:
string(date-time)
-
rmanBackupPieces:
string
-
spfBackupHandle:
string
-
sqlPatches:
string
-
state:
object ResourceState
-
tag:
string
-
tdeWalletLoc:
string
-
updatedTime:
string(date-time)
Nested Schema : ResourceState
Type:
Show Source
object
-
status:
string
Allowed Values:
[ "CREATING", "CONFIGURED", "UPDATING", "DELETING", "FAILED", "RUNNING", "ENABLED", "DISABLED", "STALE" ]
Nested Schema : DbSystemCreateRestoreBackupNfsDetails
Type:
object
Details to NFS location where backups are present
Show Source
-
serverIP(required):
string
IP address of the machine where NFS server location is available
-
serverLocation(required):
string
NFS server location
Nested Schema : DbSystemCreateRestoreBackupObjectStoreDetails
Type:
object
Details of the Object Store where backups are present
Show Source
-
endPointURL:
string
Object Store end point URL
-
objectStoreSwiftName(required):
string
Name of the Object Store Swift object
-
password:
string
Object Store password
-
tenantName:
string
Name of the Object Store tenancy
-
userName:
string
Object Store user name
Nested Schema : DbSystemCreateIdmParams
Type:
Show Source
object
-
configurations:
object DbSystemCreateIdmConfigurationsParams
-
isMultiUserAccessEnabled:
boolean
Set this flag to true to enable multi user access on this environment.
-
isMultiUserAccessPLEnabled:
boolean
Set this flag to true to enable passwordless multi user access on this environment.
-
userCredentials:
object DbSystemCreateIdmUserCredentialsParams
Nested Schema : DbSystemCreateGroupParams
Type:
Show Source
object
-
id(required):
integer
ID for the group
-
name(required):
string
Name for the group
-
role(required):
string
Role for the group
Nested Schema : DbSystemCreateUserParams
Type:
Show Source
object
-
id(required):
integer
ID for the user
-
name(required):
string
Name for the user
-
role(required):
string
Role for the user
Nested Schema : DbSystemCreateIdmConfigurationsParams
Type:
Show Source
object
-
dcsUserPasswdExpDurationInDays:
integer
Password expiry duration in days for DCS user
-
maxNumFailedLoginAttempts:
integer
Max number of failed login attempts allowed after which the user account gets locked
-
metadataStoreName:
string
Persistent Store for the IDM service provider
-
passwordResetDurationInMins:
integer
Time duration in minutes in which password needs to be reset for a locked account
-
providerName:
string
Name of the IDM service provider
-
tokenExpirationInMins:
integer
Auth Token expiration duration in minutes
Nested Schema : DbSystemCreateIdmUserCredentialsParams
Type:
Show Source
object
-
gridUserPasswd:
string
Password for the system user with gridUser role
-
odaadminUserPasswd:
string
Password for the system user with ODA-ADMINISTRATOR role
-
oracleUserPasswd:
string
Password for the system user with oracleUser role
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : KvmJob
Type:
Show Source
object
-
jobId:
string
-
jobReport:
object ServiceJobReport
Job Request Status
-
syncJob:
boolean
Nested Schema : ServiceJobReport
Type:
object
Job Request Status
Show Source
-
cpsMetadata:
string
-
createTimestamp:
string(date-time)
-
description:
string
-
jobId:
string
-
jobType:
string
-
message:
string
-
reports:
array reports
-
resourceList:
array resourceList
-
status:
string
Allowed Values:
[ "Created", "Scheduled", "Running", "Success", "Failure", "Retrying", "Waiting", "InternalError", "Reverting", "Reverted", "NodeDisconnectedFailure" ]
-
updatedTime:
string(date-time)
Nested Schema : resourceList
Type:
Show Source
array
-
Array of:
object JobResourceInfo
resource information
Nested Schema : TaskReport
Type:
Show Source
object
-
duration:
string
-
endTime:
string(date-time)
-
jobId:
string
-
nodeName:
string
-
parentTaskId:
string
-
reportLevel:
string
Allowed Values:
[ "Verbose", "Info", "Error" ]
-
startTime:
string(date-time)
-
status:
string
Allowed Values:
[ "Created", "Scheduled", "Running", "Success", "Failure", "Retrying", "Waiting", "InternalError", "Reverting", "Reverted", "NodeDisconnectedFailure", "Skipped" ]
-
tags:
array tags
-
taskDescription:
string
-
taskId:
string
-
taskName:
string
-
taskResult:
string
-
updatedTime:
string(date-time)
Nested Schema : JobResourceInfo
Type:
object
resource information
Show Source
-
jobId:
string
-
resourceId:
string
-
resourceNewType:
string
-
resourceType:
string
Allowed Values:
[ "Backup", "BackupConfig", "DB", "DbHome", "Grid", "Pdb", "Recovery", "Report", "Tde", "ObjectStoreSwift" ]
-
updatedTime:
string(date-time)
Default Response
An unexpected error has occurred