TA的每日心情 | 开心 2023-8-9 11:05 |
---|
|
- dbca -silent -createDuplicateDB \
- -gdbName chicago \
- -sid boston \
- -sysPassword welcome1 \
- -primaryDBConnectionString exa503:1521/chicago \
- -createAsStandby \
- -dbUniqueName boston \
- –initParams \
- db_create_file_dest=+DATAC1,\
- db_recovery_file_dest=+RECOC1,\
- local_listener=”boston_local_listener”
复制代码- [oracle@vm2 dbs]$ dbca -silent -createDuplicateDB -gdbName ora19 -sid ora19 -sysPassword oracle -primaryDBConnectionString vm1:1519/ora19 -createAsStandby -dbUniqueName ora19b
- Prepare for db operation
- 22% complete
- Listener config step
- 44% complete
- Auxiliary instance creation
- 67% complete
- RMAN duplicate
- 89% complete
- Post duplicate database operations
- 100% complete
- Look at the log file "/app/oracle/db/cfgtoollogs/dbca/ora19b/ora19b.log" for further details.
复制代码- $ dbca -silent -help
- Usage: dbca [<flag>] [<command> <option>]
- Following are the possible flags:
- -help
- -contextId <RAC | SI>
- -ignorePreReqs - Ignore prerequisite checks for current operation.
- -ignorePrereqFailure - Ignore all prerequisites failures.
- -silent - This flag allows you to carry on configuration in silent mode.
- -<command>
- Following are the possible commands:
- -addInstance - Command to Add an instance to an admin managed cluster database.
- -configureDatabase - Command to Configure a database.
- -configurePluggableDatabase - Command to Configure a pluggable database.
- -createCloneTemplate - Command to Create a clone template from an existing database.
- -createDatabase - Command to Create a database.
- -createDuplicateDB - Command to Duplicate a database.
- -createPluggableDatabase - Command to Create a pluggable database.
- -createTemplateFromDB - Command to Create a template from an existing database.
- -createTemplateFromTemplate - Command to Create a template from an existing template.
- -deleteDatabase - Command to Delete a database.
- -deleteInstance - Command to Delete an instance from an admin managed cluster database.
- -deletePluggableDatabase - Command to Delete a pluggable database.
- -deleteTemplate - Command to delete a template.
- -executePrereqs - Command to execute prerequisite checks.
- -generateScripts - Command to Generate scripts which can be used to create database.
- -relocatePDB - Command to Relocate a pluggable database.
- -unplugDatabase - Command to Unplug a pluggable database.
- $ dbca -help -silent
- Usage: dbca [<flag>] [<command> <option>]
- Following are the possible flags:
- -help
- -contextId <RAC | SI>
- -ignorePreReqs - Ignore prerequisite checks for current operation.
- -ignorePrereqFailure - Ignore all prerequisites failures.
- -silent - This flag allows you to carry on configuration in silent mode.
- -<command>
- Following are the possible commands:
- -addInstance - Command to Add an instance to an admin managed cluster database.
- -configureDatabase - Command to Configure a database.
- -configurePluggableDatabase - Command to Configure a pluggable database.
- -createCloneTemplate - Command to Create a clone template from an existing database.
- -createDatabase - Command to Create a database.
- -createDuplicateDB - Command to Duplicate a database.
- -createPluggableDatabase - Command to Create a pluggable database.
- -createTemplateFromDB - Command to Create a template from an existing database.
- -createTemplateFromTemplate - Command to Create a template from an existing template.
- -deleteDatabase - Command to Delete a database.
- -deleteInstance - Command to Delete an instance from an admin managed cluster database.
- -deletePluggableDatabase - Command to Delete a pluggable database.
- -deleteTemplate - Command to delete a template.
- -executePrereqs - Command to execute prerequisite checks.
- -generateScripts - Command to Generate scripts which can be used to create database.
- -relocatePDB - Command to Relocate a pluggable database.
- -unplugDatabase - Command to Unplug a pluggable database.
- $ dbca -help -addInstance
- -addInstance - Command to Add an instance to an admin managed cluster database.
- -gdbName <Global database name>
- -nodeName <Node name of the new instance that has to be added or existing instance that has to be removed>
- [-updateDirService <true | false>]
- -dirServicePassword <Password for directory service>
- -dirServiceUserName <User name for directory service>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-instanceName <Name of an Instance to add or delete>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- $ dbca -help -configureDatabase
- -configureDatabase - Command to Configure a database.
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-olsConfiguration <true | false> Specify true to configure and enable Oracle Label Security.]
- [-configureWithOID This flag configures Oracle Label Security with OID.]
- [-moveDatabaseFiles <Move database files from one storage location to other. For example ASM to FS, FS to ASM>]
- -datafileDestination <Destination directory for all database files>
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-initParams <Comma separated list of name=value pairs>]
- [-initParamsEscapeChar <Specify escape character for comma when a specific initParam has multiple values.If the escape character is not specified backslash is the default escape character>]
- [-recoveryAreaDestination <Destination directory for all recovery files. Specify "NONE" for disabling Fast Recovery Area>]
- [-recoveryAreaSize <Fast Recovery Area Size in MB>]
- [-useOMF <true | false> Specify true to use Oracle-Managed Files.]
- [-recoveryAreaSize <Fast Recovery Area Size in MB>]
- [-configureOracleR <Configure Oracle R in the database.>]
- [-oracleRConfigTablespace <Specify the tablespace to be used for Oracle R configuration. For example SYSAUX>]
- [-dvConfiguration <true | false> Specify true to configure and enable database vault.]
- -dvUserName <Specify database vault owner user name>
- -dvUserPassword <Specify database vault owner password>
- [-dvAccountManagerPassword <Specify database vault account manager password>]
- [-dvAccountManagerName <Specify separate database vault account manager>]
- [-registerWithDirService | -unregisterWithDirService | -regenerateDBPassword]
- [-registerWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-databaseCN <Database common name>]
- [-dirServiceCertificatePath <Path to the certificate file to use when configuring SSL between database and directory service>]
- [-dirServicePassword <Password for directory service>]
- [-dirServiceUser <SamAccountName in case of configuring Active Directory>]
- [-ldapDirectoryAccessType <PASSWORD | SSL>]
- [-useSYSAuthForLDAPAccess <true | false>]
- [-walletPassword <Password for database wallet>]
- [-unregisterWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-dirServicePassword <Password for directory service>]
- [-walletPassword <Password for database wallet>]
- [-regenerateDBPassword <true | false>]
- [-addDBOption <Specify any of the following DB Options as a comma separated list: JSERVER | ORACLE_TEXT | IMEDIA | CWMLITE | SPATIAL | OMS | APEX | DV>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- $ dbca -help -configurePluggableDatabase
- -configurePluggableDatabase - Command to Configure a pluggable database.
- -pdbName <Pluggable database name>
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-olsConfiguration <true | false> Specify true to configure and enable Oracle Label Security.]
- [-configureWithOID This flag configures Oracle Label Security with OID.]
- [-lbacsysPassword <LBACSYS user Password is required for configuring OLS with directory service>]
- [-configureOracleR <Configure Oracle R in the database.>]
- [-oracleRConfigTablespace <Specify the tablespace to be used for Oracle R configuration. For example SYSAUX>]
- [-dvConfiguration <true | false> Specify true to configure and enable database vault.]
- -dvUserName <Specify database vault owner user name>
- -dvUserPassword <Specify database vault owner password>
- [-dvAccountManagerPassword <Specify database vault account manager password>]
- [-dvAccountManagerName <Specify separate database vault account manager>]
- [-registerWithDirService | -unregisterWithDirService | -regenerateDBPassword]
- [-registerWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-dirServiceUser <SamAccountName in case of configuring Active Directory>]
- [-dirServicePassword <Password for directory service>]
- [-databaseCN <Database common name>]
- [-dirServiceCertificatePath <Path to the certificate file to use when configuring SSL between database and directory service>]
- [-walletPassword <Password for database wallet>]
- [-unregisterWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-dirServicePassword <Password for directory service>]
- [-walletPassword <Password for database wallet>]
- [-regenerateDBPassword <true | false>]
- $ dbca -help -createCloneTemplate
- -createCloneTemplate - Command to Create a clone template from an existing database.
- -sourceSID | -sourceDB
- -sourceSID <Database unique name for RAC database and SID for Single Instance database>
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- -templateName <Specify an existing template in default location or the complete template path for DB Creation or provide a new template name for template creation>
- [-promptForWalletPassword - Prompt for wallet password.]
- [-rmanParallelism <Parallelism value>]
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-maxBackupSetSizeInMB <Maximum backup set size in MB>]
- [-compressBackup <true | false> Specify true to compress the backup.]
- [-dataFileBackup <true | false> When "false" is passed create clone template without data file backup. Default value is true.]
- [-datafileJarLocation <For database creation, pass the absolute path of the datafile backup and for template creation, pass the directory to place the datafile backup>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-maintainFileLocations <true | false>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- [-walletPassword <Password for database wallet>]
- $ dbca -help -createDatabase
- -createDatabase - Command to Create a database.
- -responseFile | (-gdbName,-templateName)
- -responseFile - <Fully qualified path for a response file>
- -gdbName <Global database name>
- -templateName <Specify an existing template in default location or the complete template path for DB Creation or provide a new template name for template creation>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-characterSet <Character set for the database>]
- [-dvConfiguration <true | false> Specify true to configure and enable database vault.]
- -dvUserName <Specify database vault owner user name>
- -dvUserPassword <Specify database vault owner password>
- [-dvAccountManagerPassword <Specify database vault account manager password>]
- [-dvAccountManagerName <Specify separate database vault account manager>]
- [-datafileDestination <Destination directory for all database files>]
- [-datafileJarLocation <For database creation, pass the absolute path of the datafile backup and for template creation, pass the directory to place the datafile backup>]
- [-runCVUChecks <Specify "true" in order to run Cluster Verification Utility checks periodically for RAC databases.>]
- [-sid <Database system identifier>]
- [-redoLogFileSize <Size of each redo log file in MB>]
- [-registerWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-databaseCN <Database common name>]
- [-dirServiceCertificatePath <Path to the certificate file to use when configuring SSL between database and directory service>]
- [-dirServicePassword <Password for directory service>]
- [-dirServiceUser <SamAccountName in case of configuring Active Directory>]
- [-ldapDirectoryAccessType <PASSWORD | SSL>]
- [-useSYSAuthForLDAPAccess <true | false>]
- [-walletPassword <Password for database wallet>]
- [-systemPassword <SYSTEM user password>]
- [-nodelist <Node names separated by comma for the database>]
- [-oracleHomeUserPassword <Specify Oracle Home User Password>]
- [-sysPassword <SYS user password>]
- [-enableArchive <true | false> Specify true to enable archive>]
- [-archiveLogMode <AUTO|MANUAL , the default is Automatic archiving>]
- [-archiveLogDest <Specify archive log destinations separated by comma. If archive log destination is not specified, fast recovery area location will be used for archive log files.>]
- [-memoryMgmtType <AUTO|AUTO_SGA|CUSTOM_SGA>]
- [-variables <Comma separated list of name=value pairs of location variables>]
- [-listeners <A comma separated list of listeners that the database can be configured with>]
- [-olsConfiguration <true | false> Specify true to configure and enable Oracle Label Security.]
- [-configureWithOID This flag configures Oracle Label Security with OID.]
- [-createAsContainerDatabase <true | false>]
- [-pdbName <Pluggable database name>]
- [-numberOfPDBs <Number of pluggable databases to be created, default is 0>]
- [-pdbStorageMAXSizeInMB <value>]
- [-pdbStorageMAXTempSizeInMB <value>]
- [-useLocalUndoForPDBs <true | false> Specify false to disable local undo tablespace for PDBs.]
- [-pdbAdminPassword <PDB Administrator user Password, required only while creating new PDB>]
- [-pdbOptions <A comma separated list of name:value pairs with database options to enable/disable. For example JSERVER:true,DV:false>]
- [-recoveryAreaDestination <Destination directory for all recovery files. Specify "NONE" for disabling Fast Recovery Area>]
- [-recoveryAreaSize <Fast Recovery Area Size in MB>]
- [-createListener <Create a new listener to register your database. Specify in format, LISTENER_NAME:PORT>]
- [-useOMF <true | false> Specify true to use Oracle-Managed Files.]
- [-memoryPercentage | -totalMemory]
- [-memoryPercentage <Percentage of physical memory for oracle database>]
- [-totalMemory <Memory allocated for Oracle in MB>]
- [-dbOptions <A comma separated list of name:value pairs with database options to enable/disable. For example JSERVER:true,DV:false>]
- [-sampleSchema <true | false>]
- [-variablesFile <File name of the name=value pairs for location variables in the template>]
- [-customScripts <A comma separated list of SQL scripts which needs to be run post db creation.The scripts are run in order they are listed>]
- [-databaseType <MULTIPURPOSE | DATA_WAREHOUSING | OLTP>]
- [-oracleHomeUserName <Specify Oracle Home User Name>]
- [-initParams <Comma separated list of name=value pairs>]
- [-initParamsEscapeChar <Specify escape character for comma when a specific initParam has multiple values.If the escape character is not specified backslash is the default escape character>]
- [-policyManaged | -adminManaged]
- [-policyManaged <Policy managed database, default option is Admin managed database>]
- -serverPoolName <Specify the single server pool name in case of create server pool or comma separated list in case of existing server pools>
- [-pqPoolName <value>]
- [-createServerPool <Create a new server pool, which will be used by the database>]
- [-pqPoolName <value>]
- [-forceServerPoolCreation <To create server pool by force when adequate free servers are not available. This may affect the database which is already in running mode>]
- [-pqCardinality <value>]
- [-cardinality <Specify the cardinality of the new server pool that is to be created, default is the number of qualified nodes>]
- [-adminManaged <Admin managed database, this is default option>]
- [-nationalCharacterSet <National character set for the database>]
- [-storageType < FS | ASM >]
- -datafileDestination <Destination directory for all database files>
- [-asmsnmpPassword <ASMSNMP password for ASM monitoring>]
- [-databaseConfigType <SINGLE | RAC | RACONENODE>]
- [-RACOneNodeServiceName <Service name for the service to be created for RAC One Node database. This option is mandatory when the databaseConfigType is RACONENODE>]
- [-emConfiguration <DBEXPRESS | CENTRAL | BOTH | NONE>]
- [-dbsnmpPassword <DBSNMP user password>]
- [-emPassword <EM Admin user password>]
- [-emUser <EM Admin username to add or modify targets>]
- [-emExpressPort <EM database express port number. Generally used during createDatabase>]
- [-omsHost <EM management server host name>]
- [-omsPort <EM management server port number>]
- [-emExpressPortAsGlobalPort <value>]
- $ dbca -help -createDuplicateDB
- -createDuplicateDB - Command to Duplicate a database.
- -gdbName <Global database name>
- -primaryDBConnectionString <EZCONNECT string to connect to primary database for example "host:port/servicename">
- -sid <Database system identifier>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-initParams <Comma separated list of name=value pairs>]
- [-initParamsEscapeChar <Specify escape character for comma when a specific initParam has multiple values.If the escape character is not specified backslash is the default escape character>]
- [-policyManaged | -adminManaged]
- [-policyManaged <Policy managed database, default option is Admin managed database>]
- -serverPoolName <Specify the single server pool name in case of create server pool or comma separated list in case of existing server pools>
- [-pqPoolName <value>]
- [-createServerPool <Create a new server pool, which will be used by the database>]
- [-pqPoolName <value>]
- [-forceServerPoolCreation <To create server pool by force when adequate free servers are not available. This may affect the database which is already in running mode>]
- [-pqCardinality <value>]
- [-cardinality <Specify the cardinality of the new server pool that is to be created, default is the number of qualified nodes>]
- [-adminManaged <Admin managed database, this is default option>]
- [-datafileDestination <Destination directory for all database files>]
- [-nodelist <Node names separated by comma for the database>]
- [-databaseConfigType <SINGLE | RAC | RACONENODE>]
- [-RACOneNodeServiceName <Service name for the service to be created for RAC One Node database. This option is mandatory when the databaseConfigType is RACONENODE>]
- [-createAsStandby <Option to create a standby database>]
- [-dbUniqueName <db_unique_name for standby db>]
- [-customScripts <A comma separated list of SQL scripts which needs to be run post db creation.The scripts are run in order they are listed>]
- $ dbca -help -createPluggableDatabase
- -createPluggableDatabase - Command to Create a pluggable database.
- -pdbName <Pluggable database name>
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-pdbStorageMAXSizeInMB <value>]
- [-useMetaDataFileLocation <true | false> Specify true if datafile path defined in metadata file within PDB archive file is to be used while extracting datafiles.]
- [-dvConfiguration <true | false> Specify true to configure and enable database vault.]
- -dvUserName <Specify database vault owner user name>
- -dvUserPassword <Specify database vault owner password>
- [-dvAccountManagerPassword <Specify database vault account manager password>]
- [-dvAccountManagerName <Specify separate database vault account manager>]
- [-pdbStorageMAXTempSizeInMB <value>]
- [-createAsClone <true | false> Create PDB as clone. When "true" is passed a new PDB GUID is generated for the plugged PDB]
- [-createUserTableSpace <true | false> Specify true if a default user tablespace need to be created in new PDB.]
- [-pdbUseMultipleBackup <value>]
- [-customScripts <A comma separated list of SQL scripts which needs to be run post db creation.The scripts are run in order they are listed>]
- [-createPDBFrom <DEFAULT | FILEARCHIVE | RMANBACKUP | USINGXML | PDB>]
- [-createNewPDBAdminUser <Specify this argument if a new PDB Administrator user needs to be created after plugging in PDB from Archive or File Set>]
- [-fileNameConvert <This clause specifies how to generate names of files>]
- [-pdbAdminUserName <PDB Administrator user name, required only while creating new PDB>]
- [-sourceFileNameConvert <This clause specifies how to locate files listed in PDB XML metadata file>]
- [-pdbStorageMAXSizeInMB <value>]
- [-pdbStorageMAXTempSizeInMB <value>]
- [-workArea <Specify a location which can be used to unzip PDB archive files (required when createPDBFrom is FILEARCHIVE)>]
- [-sourcePDB <value>]
- [-copyPDBFiles <true | false> Specify true if PDB datafiles need to be copied]
- [-pdbArchiveFile <Absolute file path and name for PDB Archive file. Optional field during CreatePluggableDatabase/UnplugDatabase>]
- [-pdbBackUpfile <Absolute file path and name for PDB backup file, required when archive type is RMAN (specify comma separated paths if there are multiple backups when creating PDB).>]
- [-pdbMetadataFile <Absolute file path and name for PDB metadata file, required when archive type is RMAN or NONE. Optional field during CreatePluggableDatabase/UnplugDatabase>]
- [-pdbAdminPassword <PDB Administrator user Password, required only while creating new PDB>]
- [-registerWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-dirServiceUser <SamAccountName in case of configuring Active Directory>]
- [-dirServicePassword <Password for directory service>]
- [-databaseCN <Database common name>]
- [-dirServiceCertificatePath <Path to the certificate file to use when configuring SSL between database and directory service>]
- [-walletPassword <Password for database wallet>]
- [-lbacsysPassword <LBACSYS user Password is required for configuring OLS with directory service>]
- [-createFromRemotePDB <Create a pluggable database from Remote PDB clone operation.>]
- -remotePDBName <Name of the pluggable database to clone/relocate>
- -dbLinkUsername <Common user of a remote CDB, used by database link to connect to remote CDB.>
- -remoteDBConnString <EZCONNECT string to connect to Source database for example "host:port/servicename">
- [-remoteDBSYSDBAUserName <User name with SYSDBA privileges of remote database>]
- [-dbLinkUserPassword <Common user password of a remote CDB, used by database link to connect to remote CDB.>]
- [-remoteDBSYSDBAUserPassword <Password for remoteDBSYSDBAUserName user of remote database.>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- [-pdbDatafileDestination <PDB datafile area>]
- $ dbca -help -createTemplateFromDB
- -createTemplateFromDB - Command to Create a template from an existing database.
- -templateName <Specify an existing template in default location or the complete template path for DB Creation or provide a new template name for template creation>
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-connectionString <EZCONNECT string to connect to remote database for example "host:port/servicename">]
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-maintainFileLocations <true | false>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- $ dbca -help -createTemplateFromTemplate
- -createTemplateFromTemplate - Command to Create a template from an existing template.
- -sourceTemplateName <Name of an existing template in default location or the complete template path>
- -templateName <Specify an existing template in default location or the complete template path for DB Creation or provide a new template name for template creation>
- [-variables <Comma separated list of name=value pairs of location variables>]
- [-characterSet <Character set for the database>]
- [-recoveryAreaDestination <Destination directory for all recovery files. Specify "NONE" for disabling Fast Recovery Area>]
- [-recoveryAreaSize <Fast Recovery Area Size in MB>]
- [-datafileDestination <Destination directory for all database files>]
- [-useOMF <true | false> Specify true to use Oracle-Managed Files.]
- [-datafileJarLocation <For database creation, pass the absolute path of the datafile backup and for template creation, pass the directory to place the datafile backup>]
- [-memoryPercentage | -totalMemory]
- [-memoryPercentage <Percentage of physical memory for oracle database>]
- [-totalMemory <Memory allocated for Oracle in MB>]
- [-dbOptions <A comma separated list of name:value pairs with database options to enable/disable. For example JSERVER:true,DV:false>]
- [-variablesFile <File name of the name=value pairs for location variables in the template>]
- [-redoLogFileSize <Size of each redo log file in MB>]
- [-initParams <Comma separated list of name=value pairs>]
- [-initParamsEscapeChar <Specify escape character for comma when a specific initParam has multiple values.If the escape character is not specified backslash is the default escape character>]
- [-nationalCharacterSet <National character set for the database>]
- [-storageType < FS | ASM >]
- -datafileDestination <Destination directory for all database files>
- [-asmsnmpPassword <ASMSNMP password for ASM monitoring>]
- [-enableArchive <true | false> Specify true to enable archive>]
- [-archiveLogMode <AUTO|MANUAL , the default is Automatic archiving>]
- [-archiveLogDest <Specify archive log destinations separated by comma. If archive log destination is not specified, fast recovery area location will be used for archive log files.>]
- [-memoryMgmtType <AUTO|AUTO_SGA|CUSTOM_SGA>]
- $ dbca -help -deleteDatabase
- -deleteDatabase - Command to Delete a database.
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-unregisterWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-dirServicePassword <Password for directory service>]
- [-walletPassword <Password for database wallet>]
- [-deRegisterEMCloudControl ]
- -emUser <EM Admin username to add or modify targets>
- -omsHost <EM management server host name>
- -omsPort <EM management server port number>
- [-emPassword <EM Admin user password>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-forceArchiveLogDeletion <To delete archive logs of a database>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- [-sid <Database system identifier>]
- $ dbca -help -deleteInstance
- -deleteInstance - Command to Delete an instance from an admin managed cluster database.
- -gdbName <Global database name>
- -instanceName <Name of an Instance to add or delete>
- [-nodeName <Node name of the new instance that has to be added or existing instance that has to be removed>]
- [-updateDirService <true | false>]
- -dirServicePassword <Password for directory service>
- -dirServiceUserName <User name for directory service>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- $ dbca -silent -deletePluggableDatabase
- [INS-04008] Invalid combination of arguments passed from command line. One or more mandatory dependent arguments are not passed for the argument: -deletePluggableDatabase
- -deletePluggableDatabase - Command to Delete a pluggable database.
- -pdbName <Pluggable database name>
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- $ dbca -help -deletePluggableDatabase
- -deletePluggableDatabase - Command to Delete a pluggable database.
- -pdbName <Pluggable database name>
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- $ dbca -help -deleteTemplate
- -deleteTemplate - Command to delete a template.
- -templateName <Specify an existing template in default location or the complete template path for DB Creation or provide a new template name for template creation>
- $ dbca -help -executePrereqs
- -executePrereqs - Command to execute prerequisite checks.
- -databaseConfigType <SINGLE | RAC | RACONENODE>
- [-RACOneNodeServiceName <Service name for the service to be created for RAC One Node database. This option is mandatory when the databaseConfigType is RACONENODE>]
- [-nodelist <Node names separated by comma for the database>]
- $ dbca -help -generateScripts
- -generateScripts - Command to Generate scripts which can be used to create database.
- -gdbName <Global database name>
- -templateName <Specify an existing template in default location or the complete template path for DB Creation or provide a new template name for template creation>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-characterSet <Character set for the database>]
- [-dvConfiguration <true | false> Specify true to configure and enable database vault.]
- -dvUserName <Specify database vault owner user name>
- -dvUserPassword <Specify database vault owner password>
- [-dvAccountManagerPassword <Specify database vault account manager password>]
- [-dvAccountManagerName <Specify separate database vault account manager>]
- [-scriptDest <Destination for all the scriptfiles>]
- [-datafileDestination <Destination directory for all database files>]
- [-datafileJarLocation <For database creation, pass the absolute path of the datafile backup and for template creation, pass the directory to place the datafile backup>]
- [-runCVUChecks <Specify "true" in order to run Cluster Verification Utility checks periodically for RAC databases.>]
- [-sid <Database system identifier>]
- [-redoLogFileSize <Size of each redo log file in MB>]
- [-registerWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-databaseCN <Database common name>]
- [-dirServiceCertificatePath <Path to the certificate file to use when configuring SSL between database and directory service>]
- [-dirServicePassword <Password for directory service>]
- [-dirServiceUser <SamAccountName in case of configuring Active Directory>]
- [-ldapDirectoryAccessType <PASSWORD | SSL>]
- [-useSYSAuthForLDAPAccess <true | false>]
- [-walletPassword <Password for database wallet>]
- [-systemPassword <SYSTEM user password>]
- [-nodelist <Node names separated by comma for the database>]
- [-sysPassword <SYS user password>]
- [-enableArchive <true | false> Specify true to enable archive>]
- [-archiveLogMode <AUTO|MANUAL , the default is Automatic archiving>]
- [-archiveLogDest <Specify archive log destinations separated by comma. If archive log destination is not specified, fast recovery area location will be used for archive log files.>]
- [-memoryMgmtType <AUTO|AUTO_SGA|CUSTOM_SGA>]
- [-responseFile - <Fully qualified path for a response file>]
- [-variables <Comma separated list of name=value pairs of location variables>]
- [-listeners <A comma separated list of listeners that the database can be configured with>]
- [-olsConfiguration <true | false> Specify true to configure and enable Oracle Label Security.]
- [-configureWithOID This flag configures Oracle Label Security with OID.]
- [-createAsContainerDatabase <true | false>]
- [-pdbName <Pluggable database name>]
- [-numberOfPDBs <Number of pluggable databases to be created, default is 0>]
- [-pdbStorageMAXSizeInMB <value>]
- [-pdbStorageMAXTempSizeInMB <value>]
- [-useLocalUndoForPDBs <true | false> Specify false to disable local undo tablespace for PDBs.]
- [-pdbAdminPassword <PDB Administrator user Password, required only while creating new PDB>]
- [-pdbOptions <A comma separated list of name:value pairs with database options to enable/disable. For example JSERVER:true,DV:false>]
- [-recoveryAreaDestination <Destination directory for all recovery files. Specify "NONE" for disabling Fast Recovery Area>]
- [-recoveryAreaSize <Fast Recovery Area Size in MB>]
- [-createListener <Create a new listener to register your database. Specify in format, LISTENER_NAME:PORT>]
- [-useOMF <true | false> Specify true to use Oracle-Managed Files.]
- [-memoryPercentage | -totalMemory]
- [-memoryPercentage <Percentage of physical memory for oracle database>]
- [-totalMemory <Memory allocated for Oracle in MB>]
- [-sampleSchema <true | false>]
- [-variablesFile <File name of the name=value pairs for location variables in the template>]
- [-customScripts <A comma separated list of SQL scripts which needs to be run post db creation.The scripts are run in order they are listed>]
- [-databaseType <MULTIPURPOSE | DATA_WAREHOUSING | OLTP>]
- [-initParams <Comma separated list of name=value pairs>]
- [-initParamsEscapeChar <Specify escape character for comma when a specific initParam has multiple values.If the escape character is not specified backslash is the default escape character>]
- [-policyManaged | -adminManaged]
- [-policyManaged <Policy managed database, default option is Admin managed database>]
- -serverPoolName <Specify the single server pool name in case of create server pool or comma separated list in case of existing server pools>
- [-pqPoolName <value>]
- [-createServerPool <Create a new server pool, which will be used by the database>]
- [-pqPoolName <value>]
- [-forceServerPoolCreation <To create server pool by force when adequate free servers are not available. This may affect the database which is already in running mode>]
- [-pqCardinality <value>]
- [-cardinality <Specify the cardinality of the new server pool that is to be created, default is the number of qualified nodes>]
- [-adminManaged <Admin managed database, this is default option>]
- [-nationalCharacterSet <National character set for the database>]
- [-storageType < FS | ASM >]
- -datafileDestination <Destination directory for all database files>
- [-asmsnmpPassword <ASMSNMP password for ASM monitoring>]
- [-databaseConfigType <SINGLE | RAC | RACONENODE>]
- [-RACOneNodeServiceName <Service name for the service to be created for RAC One Node database. This option is mandatory when the databaseConfigType is RACONENODE>]
- [-emConfiguration <DBEXPRESS | CENTRAL | BOTH | NONE>]
- [-dbsnmpPassword <DBSNMP user password>]
- [-emPassword <EM Admin user password>]
- [-emUser <EM Admin username to add or modify targets>]
- [-emExpressPort <EM database express port number. Generally used during createDatabase>]
- [-omsHost <EM management server host name>]
- [-omsPort <EM management server port number>]
- [-emExpressPortAsGlobalPort <value>]
- $ dbca -help -relocatePDB
- -relocatePDB - Command to Relocate a pluggable database.
- -remotePDBName <Name of the pluggable database to clone/relocate>
- -pdbName <Pluggable database name>
- -dbLinkUsername <Common user of a remote CDB, used by database link to connect to remote CDB.>
- -remoteDBConnString <EZCONNECT string to connect to Source database for example "host:port/servicename">
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- [-remoteDBSYSDBAUserName <User name with SYSDBA privileges of remote database>]
- [-dbLinkUserPassword <Common user password of a remote CDB, used by database link to connect to remote CDB.>]
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-remoteDBSYSDBAUserPassword <Password for remoteDBSYSDBAUserName user of remote database.>]
- [-sysDBAUserName <User name with SYSDBA privileges>]
- [-sysDBAPassword <Password for sysDBAUserName user name>]
- $ dbca -help -unplugDatabase
- -unplugDatabase - Command to Unplug a pluggable database.
- -archiveType <TAR | RMAN | NONE> Optional field during UnplugDatabase.
- [-rmanParallelism <Parallelism value>]
- [-maxBackupSetSizeInMB <Maximum backup set size in MB>]
- [-pdbArchiveFile <Absolute file path and name for PDB Archive file. Optional field during CreatePluggableDatabase/UnplugDatabase>]
- [-pdbBackUpfile <Absolute file path and name for PDB backup file, required when archive type is RMAN (specify comma separated paths if there are multiple backups when creating PDB).>]
- [-pdbMetadataFile <Absolute file path and name for PDB metadata file, required when archive type is RMAN or NONE. Optional field during CreatePluggableDatabase/UnplugDatabase>]
- -sourceDB <Database unique name for RAC database or SID for Single Instance database>
- -pdbName <Pluggable database name>
- [-useWalletForDBCredentials <true | false> Specify true to load database credentials from wallet]
- -dbCredentialsWalletLocation <Path of the directory containing the wallet files>
- [-dbCredentialsWalletPassword <Password to open wallet with auto login disabled>]
- [-unregisterWithDirService <true | false>]
- -dirServiceUserName <User name for directory service>
- [-dirServicePassword <Password for directory service>]
- [-walletPassword <Password for database wallet>]
复制代码
|
|