修改原响应文件
[oracle@primary1 database]$ cd response/
[oracle@primary1 response]$ ls
dbca.rsp db_install.rsp netca.rsp
[oracle@primary1 response]$ vi dbca.rsp
默认即可
数据库类型内存占比按需选择
运行静默创建实例脚本
[oracle@primary1 response]$ dbca -silent -createDatabase -responseFile /software/database/response/dbca.rsp
Copying database files
1% complete
3% complete
9% complete
15% complete
21% complete
27% complete
30% complete
Creating and starting Oracle instance
32% complete
36% complete
40% complete
44% complete
45% complete
48% complete
50% complete
Creating cluster database views
52% complete
70% complete
Completing Database Creation
73% complete
76% complete
85% complete
94% complete
100% complete
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/orcl12c/orcl12c.log" for further details.
[oracle@primary1 response]$
查看数据库实例创建日志
[root@primary1 ~]# su - oracle
[oracle@primary1 ~]$ tail -f /u01/app/oracle/cfgtoollogs/dbca/orcl12c/orcl12c.log
DBCA_PROGRESS : 73%
DBCA_PROGRESS : 76%
DBCA_PROGRESS : 85%
DBCA_PROGRESS : 94%
DBCA_PROGRESS : 100%
Database creation complete. For details check the logfiles at:
/u01/app/oracle/cfgtoollogs/dbca/orcl12c.
Database Information:
Global Database Name:orcl12c.us.oracle.com
System Identifier(SID) Prefix:racpm