标签:dbca
1、静默文件
[oracle@odb07 ~]$ cat create_template_db.rsp [GENERAL] RESPONSEFILE_VERSION = "12.1.0" OPERATION_TYPE = "createTemplateFromDB" [createTemplateFromDB] SOURCEDB = "rhndb" SYSDBAUSERNAME = "system" SYSDBAPASSWORD = "abcABC12" TEMPLATENAME = "rhn_db_12c"
2、静默创建
[oracle@odb07 ~]$ dbca -silent -responseFile /home/oracle/create_template_db.rsp Creating a template from the database 10% complete 20% complete 30% complete 40% complete 50% complete 60% complete 70% complete 80% complete 90% complete 100% complete Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/silent.log_2016-07-11_04-54-15-PM" for further details.
以上命令执行完成后,会在$ORACLE_HOME/assistants/dbca/templates下生成rhn_db_12c.dbt文件。后续批量创建db可以使用此模板。当然也可以根据实际需求对此模板进行手工编辑。
本文出自 “candon123” 博客,谢绝转载!
Create Oracle 12c Template Database In Silent
标签:dbca
原文地址:http://candon123.blog.51cto.com/704299/1825489