티스토리 뷰
샘플로 orcl라는 데이터베이스를 생성한다. 템플릿은 오라클에서 범용 외에도 DW용 샘플 템플릿을 제공한다. 아래는 커맨드 라인 파라미터로 설치하는 예시이다. 사일런트 모드로 생성하는 방법도 OUI를 통한 오라클 데이터베이스 소프트웨어 설치와 유사하게 리스폰스 파일을 사용하거나 커맨드 라인에 동일한 내용을 명시적으로 입력해서 명령하는 두 가지 방법이 존재한다.
[oracle@enp0s3 ~]$ dbca -silent -createDatabase -templateName General_Purpose.dbc -gdbName orcl -sid orcl -sysPassword yourpassword -systemPassword yourpassword -emConfiguration NONE -datafileDestination /u01/app/oracle/oradata -storageType FS -characterSet AL32UTF8
[WARNING] [DBT-06208] 입력한 'SYS(S)' 비밀번호가 Oracle 권장 표준을 준수하지 않습니다.
원인:
a. 입력한 비밀번호는 8자 이상이어야 하고 대문자, 소문자 및 숫자 [0-9]를 각각 하나 이상씩 포 함하는 것이 좋습니다.
b. 입력한 비밀번호는 Oracle이 비밀번호로 사용을 권장하지 않는 키워드입니다.
작업: 강력한 비밀번호를 지정하십시오. 필요한 경우 Oracle 설명서에서 지침을 참조하십시오.
[WARNING] [DBT-06208] 입력한 'SYSTEM' 비밀번호가 Oracle 권장 표준을 준수하지 않습니다.
원인:
a. 입력한 비밀번호는 8자 이상이어야 하고 대문자, 소문자 및 숫자 [0-9]를 각각 하나 이상씩 포 함하는 것이 좋습니다.
b. 입력한 비밀번호는 Oracle이 비밀번호로 사용을 권장하지 않는 키워드입니다.
작업: 강력한 비밀번호를 지정하십시오. 필요한 경우 Oracle 설명서에서 지침을 참조하십시오.
DB 작업 준비
10% 완료
데이터베이스 파일 복사 중
40% 완료
Oracle 인스턴스 생성 및 시작 중
42% 완료
46% 완료
50% 완료
54% 완료
60% 완료
데이터베이스 생성 완료 중
66% 완료
69% 완료
70% 완료
사후 구성 작업 실행 중
100% 완료
데이터베이스 생성이 완료되었습니다. 자세한 내용은 다음의 로그 파일에서 확인하십시오.
/u01/app/oracle/cfgtoollogs/dbca/orcl
데이터베이스 정보:
전역 데이터베이스 이름:orcl
SID(시스템 식별자):orcl
자세한 내용은 로그 파일 "/u01/app/oracle/cfgtoollogs/dbca/orcl/orcl.log"을(를) 참조하십시오 .
이렇게 생성한 데이터베이스를 효과적으로 관리하려면 여러 환경 변수를 설정하는 것이 좋다. Oracle에서 제공하는 스크립트 oraenv는 이러한 변수를 자동으로 설정하는 가장 좋은 방법이다. oraenv 스크립트는 /usr/local/bin에 설치되며 /etc에 있는 oratab 파일에서 값을 가져온다. oratab 파일에는 일반적으로 각 데이터베이스에 대한 항목이 포함되어 있지만 구성에 따라서 아직 데이터베이스가 설정되어 있지 않을 수 있다. oraenv 스크립트를 사용하려면 oratab 파일에 항목을 설정해야 한다.
oracle 사용자는 vi 또는 다른 텍스트 편집기를 사용하여 oratab 파일을 편집할 수 있다. oratab 파일의 각 줄에는 콜론으로 구분된 세 개의 요소가 있다. 첫 번째 요소는 SID이고 두 번째 요소는 해당 SID에 대한 오라클 홈 디렉터리를 나타내며 세 번째 요소는 dbstart/dbshut 명령으로 데이터베이스를 시작 및 중지해야 하는지 여부를 나타낸다.
[oracle@enp0s3 ~]$ cat /etc/oratab | grep -i orcl
orcl:/u01/app/oracle/product/19.0.0/dbhome_1:N
Oracle 데이터베이스가 작동 중인지 확인하려면 PMON 프로세스를 확인한다. PMON(프로세스 모니터) 프로세스는 다른 모든 백그라운드 프로세스를 확인한다. 그런 다음 추가 조사를 위해 데이터베이스의 alert_<SID>.log를 확인해야 한다.
[oracle@enp0s3 ~]$ ps -ef | grep pmon
oracle 6085 1 0 11:01 ? 00:00:00 ora_pmon_orcl
oracle 7171 2156 0 11:14 pts/1 00:00:00 grep --color=auto pmon
oraenv 명령은 $ORACLE_HOME이 액세스할 데이터베이스의 SID를 묻는 메시지를 표시한다. 그리고 이제 dbhome 유틸리티를 사용하여 $ORACLE_HOME이 올바른지 확인할 수 있다.
[oracle@enp0s3 ~]$ . oraenv
ORACLE_SID = [orcl] ? orcl
The Oracle base remains unchanged with value /u01/app/oracle
[oracle@enp0s3 templates]$ dbhome
/u01/app/oracle/product/19.0.0/dbhome_1
SQL*Plus를 통해 데이터베이스에 접속하여, 파라미터를 확인하고 설치 확인 작업을 수행할 수 있다.
[oracle@enp0s3 ~]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Wed Nov 17 11:14:50 2021
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle. All rights reserved.
Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.3.0.0.0
SQL> select name,open_mode,cdb from v$database;
NAME OPEN_MODE CDB
--------- -------------------- ---
ORCL READ WRITE NO
SQL> show con_name
CON_NAME
------------------------------
orcl
SQL> archive log list
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination /u01/app/oracle/product/19.0.0/dbhome_1/dbs/arch
Oldest online log sequence 3
Current log sequence 5
SQL> select name from v$datafile;
NAME
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/ORCL/system01.dbf
/u01/app/oracle/oradata/ORCL/sysaux01.dbf
/u01/app/oracle/oradata/ORCL/undotbs01.dbf
/u01/app/oracle/oradata/ORCL/users01.dbf
SQL> select name from v$datafile union select name from v$tempfile;
NAME
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/ORCL/sysaux01.dbf
/u01/app/oracle/oradata/ORCL/system01.dbf
/u01/app/oracle/oradata/ORCL/temp01.dbf
/u01/app/oracle/oradata/ORCL/undotbs01.dbf
/u01/app/oracle/oradata/ORCL/users01.dbf
다음은 리스폰스 파일을 사용하여 데이터베이스를 생성하는 방법이다. 우선 리스폰스 파일 디렉터리로 변경하여 리스폰스 파일을 복사한다. 디렉토리 위치는 ORACLE_HOME/assistans/dbca이다.
[oracle@enp0s3 dbca]$ cp dbca.rsp dbca.rsp.bkp
[oracle@enp0s3 dbca]$ ls -la
합계 64
drwxr-xr-x. 5 oracle oinstall 82 11월 18 09:52 .
drwxr-xr-x. 9 oracle oinstall 93 4월 17 2019 ..
-rw-r-----. 1 oracle oinstall 25502 4월 6 2019 dbca.rsp
-rw-r-----. 1 oracle oinstall 25502 11월 18 09:52 dbca.rsp.bkp
drwxr-xr-x. 2 oracle oinstall 4096 4월 17 2019 doc
drwxr-xr-x. 2 oracle oinstall 41 4월 17 2019 jlib
drwxr-xr-x. 2 oracle oinstall 4096 11월 18 08:53 templates
vi나 vim 편집기로 파일을 열어 리스폰스 파일 내 (최소한인) Mandatory부분만 다음과 같이 수정했다.
#-----------------------------------------------------------------------------
# Name : gdbName
# Datatype : String
# Description : Global database name of the database
# Valid values : <db_name>.<db_domain> - when database domain isn't NULL
# <db_name> - when database domain is NULL
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
gdbName=orcl
#-----------------------------------------------------------------------------
# Name : templateName
# Datatype : String
# Description : Name of the template
# Valid values : Template file name
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
templateName=
#-----------------------------------------------------------------------------
# Name : sysPassword
# Datatype : String
# Description : Password for SYS user
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
sysPassword=
#-----------------------------------------------------------------------------
# Name : systemPassword
# Datatype : String
# Description : Password for SYSTEM user
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
systemPassword=
명령은 다음과 같다. 이 때 패스워드는 리스폰스 파일에 입력하지 않았더라도 커맨드 라인에 프롬프트가 떠서 입력할 수 있게 해 준다.
[oracle@enp0s3 dbca]$ dbca -silent -createDatabase -responseFile dbca.rsp
SYS 사용자 비밀번호 입력:
SYSTEM 사용자 비밀번호 입력:
[WARNING] [DBT-06208] 입력한 'SYS(S)' 비밀번호가 Oracle 권장 표준을 준수하지 않습니다.
원인:
a. 입력한 비밀번호는 8자 이상이어야 하고 대문자, 소문자 및 숫자 [0-9]를 각각 하나 이상씩 포함하는 것이 좋습니다.
b. 입력한 비밀번호는 Oracle이 비밀번호로 사용을 권장하지 않는 키워드입니다.
작업: 강력한 비밀번호를 지정하십시오. 필요한 경우 Oracle 설명서에서 지침을 참조하십시오.
[WARNING] [DBT-06208] 입력한 'SYSTEM' 비밀번호가 Oracle 권장 표준을 준수하지 않습니다.
원인:
a. 입력한 비밀번호는 8자 이상이어야 하고 대문자, 소문자 및 숫자 [0-9]를 각각 하나 이상씩 포함하는 것이 좋습니다.
b. 입력한 비밀번호는 Oracle이 비밀번호로 사용을 권장하지 않는 키워드입니다.
작업: 강력한 비밀번호를 지정하십시오. 필요한 경우 Oracle 설명서에서 지침을 참조하십시오.
DB 작업 준비
10% 완료
데이터베이스 파일 복사 중
40% 완료
Oracle 인스턴스 생성 및 시작 중
42% 완료
46% 완료
50% 완료
54% 완료
60% 완료
데이터베이스 생성 완료 중
66% 완료
69% 완료
70% 완료
사후 구성 작업 실행 중
100% 완료
데이터베이스 생성이 완료되었습니다. 자세한 내용은 다음의 로그 파일에서 확인하십시오.
/u01/app/oracle/cfgtoollogs/dbca/orcl
데이터베이스 정보:
전역 데이터베이스 이름:orcl
SID(시스템 식별자):orcl
자세한 내용은 로그 파일 "/u01/app/oracle/cfgtoollogs/dbca/orcl/orcl2.log"을(를) 참조하십시오.
이상 내용은 설치 및 검증에 관한 내용이고 아래는 사용한 명령과 파일 디렉토리 위치, 파일 내용에 대한 설명이다.
사일런트 모드 사용 샘플 예제에서 템플릿을 사용했는데 General_Purpose.dbc 템플릿 파일 위치는 ORACLE_HOME/assistants/dbca/templates이고, 해당 디렉토리에는 범용, DW용 템플릿 외에도 시드 데이터베이스, pdbseed 템플릿 등이 존재한다.
[oracle@enp0s3 templates]$ ls -la
합계 370968
drwxr-xr-x. 2 oracle oinstall 4096 11월 12 10:58 .
drwxr-xr-x. 5 oracle oinstall 62 11월 12 11:14 ..
-rw-r-----. 1 oracle oinstall 4888 4월 17 2019 Data_Warehouse.dbc
-rw-r-----. 1 oracle oinstall 4768 4월 17 2019 General_Purpose.dbc
-rw-r-----. 1 oracle oinstall 10772 4월 6 2019 New_Database.dbt
-rw-r-----. 1 oracle oinstall 18726912 4월 17 2019 Seed_Database.ctl
-rw-r-----. 1 oracle oinstall 274554880 4월 17 2019 Seed_Database.dfb
-rw-r-----. 1 oracle oinstall 86548480 4월 17 2019 pdbseed.dfb
-rw-r-----. 1 oracle oinstall 6611 4월 17 2019 pdbseed.xml
이 중 General_Purpose.dbc의 내용은 다음과 같다.
<?xml version = '1.0'?>
<DatabaseTemplate name="General Purpose" description=" " version="19.0.0.0.0">
<CommonAttributes>
<option name="OMS" value="true" includeInPDBs="true"/>
<option name="JSERVER" value="true" includeInPDBs="true"/>
<option name="SPATIAL" value="true" includeInPDBs="true"/>
<option name="IMEDIA" value="true" includeInPDBs="true"/>
<option name="ORACLE_TEXT" value="true" includeInPDBs="true">
<tablespace id="SYSAUX"/>
</option>
<option name="SAMPLE_SCHEMA" value="false" includeInPDBs="false"/>
<option name="CWMLITE" value="true" includeInPDBs="true">
<tablespace id="SYSAUX"/>
</option>
<option name="APEX" value="false" includeInPDBs="false"/>
<option name="DV" value="true" includeInPDBs="true"/>
</CommonAttributes>
<Variables/>
<CustomScripts Execute="false"/>
<InitParamAttributes>
<InitParams>
<initParam name="db_name" value=""/>
<initParam name="dispatchers" value="(PROTOCOL=TCP) (SERVICE={SID}XDB)"/>
<initParam name="audit_file_dest" value="{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/adump"/>
<initParam name="compatible" value="19.0.0"/>
<initParam name="remote_login_passwordfile" value="EXCLUSIVE"/>
<initParam name="undo_tablespace" value="UNDOTBS1"/>
<initParam name="control_files" value="("{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/control01.ctl", "{ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME}/control02.ctl")"/>
<initParam name="diagnostic_dest" value="{ORACLE_BASE}"/>
<initParam name="audit_trail" value="db"/>
<initParam name="db_block_size" value="8" unit="KB"/>
<initParam name="open_cursors" value="300"/>
</InitParams>
<MiscParams>
<databaseType>MULTIPURPOSE</databaseType>
<maxUserConn>20</maxUserConn>
<percentageMemTOSGA>40</percentageMemTOSGA>
<customSGA>false</customSGA>
<dataVaultEnabled>false</dataVaultEnabled>
<archiveLogMode>false</archiveLogMode>
<initParamFileName>{ORACLE_BASE}/admin/{DB_UNIQUE_NAME}/pfile/init.ora</initParamFileName>
</MiscParams>
<SPfile useSPFile="true">{ORACLE_HOME}/dbs/spfile{SID}.ora</SPfile>
</InitParamAttributes>
<StorageAttributes>
<DataFiles>
<Location>{ORACLE_HOME}/assistants/dbca/templates/Seed_Database.dfb</Location>
<SourceDBName cdb="true">seeddata</SourceDBName>
<Name id="3" Tablespace="SYSAUX" Contents="PERMANENT" Size="400" autoextend="true" blocksize="8192" con_id="1">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/sysaux01.dbf</Name>
<Name id="1" Tablespace="SYSTEM" Contents="PERMANENT" Size="880" autoextend="true" blocksize="8192" con_id="1">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/system01.dbf</Name>
<Name id="4" Tablespace="UNDOTBS1" Contents="UNDO" Size="25" autoextend="true" blocksize="8192" con_id="1">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/undotbs01.dbf</Name>
<Name id="7" Tablespace="USERS" Contents="PERMANENT" Size="5" autoextend="true" blocksize="8192" con_id="1">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/users01.dbf</Name>
</DataFiles>
<TempFiles>
<Name id="1" Tablespace="TEMP" Contents="TEMPORARY" Size="20" con_id="1">{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/temp01.dbf</Name>
</TempFiles>
<ControlfileAttributes id="Controlfile">
<maxDatafiles>100</maxDatafiles>
<maxLogfiles>16</maxLogfiles>
<maxLogMembers>3</maxLogMembers>
<maxLogHistory>1</maxLogHistory>
<maxInstances>8</maxInstances>
<image name="control01.ctl" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
<image name="control02.ctl" filepath="{ORACLE_BASE}/fast_recovery_area/{DB_UNIQUE_NAME}/"/>
</ControlfileAttributes>
<RedoLogGroupAttributes id="1">
<reuse>false</reuse>
<fileSize unit="KB">204800</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="redo01.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
</RedoLogGroupAttributes>
<RedoLogGroupAttributes id="2">
<reuse>false</reuse>
<fileSize unit="KB">204800</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="redo02.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
</RedoLogGroupAttributes>
<RedoLogGroupAttributes id="3">
<reuse>false</reuse>
<fileSize unit="KB">204800</fileSize>
<Thread>1</Thread>
<member ordinal="0" memberName="redo03.log" filepath="{ORACLE_BASE}/oradata/{DB_UNIQUE_NAME}/"/>
</RedoLogGroupAttributes>
</StorageAttributes>
</DatabaseTemplate>
oraenv 스크립트는 위에서 얘기했듯 /usr/local/bin에 설치되며 /etc에 있는 oratab 파일에서 값을 가져온다. oraenv 스크립트 내용은 다음과 같다.
#!/bin/sh
#
# $Header: buildtools/scripts/oraenv.sh /linuxamd64/6 2017/09/13 18:41:05 poosrini Exp $ oraenv.sh.pp Copyr (c) 1991 Oracle
#
# Copyright (c) 1991, 2017, Oracle and/or its affiliates. All rights reserved.
#
# This routine is used to condition a Bourne shell user's environment
# for access to an ORACLE database. It should be installed in
# the system local bin directory.
#
# The user will be prompted for the database SID, unless the variable
# ORAENV_ASK is set to NO, in which case the current value of ORACLE_SID
# is used.
# An asterisk '*' can be used to refer to the NULL SID.
#
# 'dbhome' is called to locate ORACLE_HOME for the SID. If
# ORACLE_HOME cannot be located, the user will be prompted for it also.
# The following environment variables are set:
#
# ORACLE_SID Oracle system identifier
# ORACLE_HOME Top level directory of the Oracle system hierarchy
# PATH Old ORACLE_HOME/bin removed, new one added
# ORACLE_BASE Top level directory for storing data files and
# diagnostic information.
#
# usage: . oraenv
#
# NOTE: Due to constraints of the shell in regard to environment
# ----- variables, the command MUST be prefaced with ".". If it
# is not, then no permanent change in the user's environment
# can take place.
#
#####################################
#
# process aruments
#
SILENT='';
if [ $# -gt 0 ]; then
for arg in $@
do
if [ "$arg" = "-s" ]; then
SILENT='true'
fi
done
fi
case ${ORACLE_TRACE:-""} in
T) set -x ;;
esac
#
# Determine how to suppress newline with echo command.
#
N=
C=
if echo "\c" | grep c >/dev/null 2>&1; then
N='-n'
else
C='\c'
fi
#
# Set minimum environment variables
#
# ensure that OLDHOME is non-null
if [ ${ORACLE_HOME:-0} = 0 ]; then
OLDHOME=$PATH
else
OLDHOME=$ORACLE_HOME
fi
case ${ORAENV_ASK:-""} in #ORAENV_ASK suppresses prompt when set
NO) NEWSID="$ORACLE_SID" ;;
*) case "$ORACLE_SID" in
"") ORASID=$LOGNAME ;;
*) ORASID=$ORACLE_SID ;;
esac
echo $N "ORACLE_SID = [$ORASID] ? $C"
read NEWSID
case "$NEWSID" in
"") ORACLE_SID="$ORASID" ;;
*) ORACLE_SID="$NEWSID" ;;
esac ;;
esac
export ORACLE_SID
ORAHOME=`dbhome "$ORACLE_SID"`
case $? in
0) ORACLE_HOME=$ORAHOME ;;
*) echo $N "ORACLE_HOME = [$ORAHOME] ? $C"
read NEWHOME
case "$NEWHOME" in
"") ORACLE_HOME=$ORAHOME ;;
*) ORACLE_HOME=$NEWHOME ;;
esac ;;
esac
export ORACLE_HOME
#
# Reset LD_LIBRARY_PATH
#
case ${LD_LIBRARY_PATH:-""} in
*$OLDHOME/lib*) LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | \
sed "s;$OLDHOME/lib;$ORACLE_HOME/lib;g"` ;;
*$ORACLE_HOME/lib*) ;;
"") LD_LIBRARY_PATH=$ORACLE_HOME/lib ;;
*) LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH ;;
esac
export LD_LIBRARY_PATH
#
# Put new ORACLE_HOME in path and remove old one
#
case "$OLDHOME" in
"") OLDHOME=$PATH ;; #This makes it so that null OLDHOME can't match
esac #anything in next case statement
case "$PATH" in
*$OLDHOME/bin*) PATH=`echo $PATH | \
sed "s;$OLDHOME/bin;$ORACLE_HOME/bin;g"` ;;
*$ORACLE_HOME/bin*) ;;
*:) PATH=${PATH}$ORACLE_HOME/bin: ;;
"") PATH=$ORACLE_HOME/bin ;;
*) PATH=$PATH:$ORACLE_HOME/bin ;;
esac
export PATH
# Locate "osh" and exec it if found
ULIMIT=`LANG=C ulimit 2>/dev/null`
if [ $? = 0 -a "$ULIMIT" != "unlimited" ] ; then
if [ "$ULIMIT" -lt 2113674 ] ; then
if [ -f $ORACLE_HOME/bin/osh ] ; then
exec $ORACLE_HOME/bin/osh
else
for D in `echo $PATH | tr : " "`
do
if [ -f $D/osh ] ; then
exec $D/osh
fi
done
fi
fi
fi
#set the value of ORACLE_BASE in the environment.
#
# Use the orabase executable from the corresponding ORACLE_HOME, since
# the ORACLE_BASE of different ORACLE_HOMEs can be different.
#
# If orabase can not determine a value then oraenv returns with either ORACLE_BASE
# as it was or set ORACLE_BASE to $ORACLE_HOME if it was not set earlier.
#
#
# The existing value of ORACLE_BASE is used to inform the user if the orabase
# determines the value of ORACLE_BASE. In case, oraenv can not determine a
# value then the user is informed with the previous ORACLE_BASE or with the
# $ORACLE_HOME.
ORABASE_EXEC=$ORACLE_HOME/bin/orabase
if [ ${ORACLE_BASE:-"x"} != "x" ]; then
OLD_ORACLE_BASE=$ORACLE_BASE
unset ORACLE_BASE
export ORACLE_BASE
else
OLD_ORACLE_BASE=""
fi
if [ -r $ORACLE_HOME/install/orabasetab ]; then
if [ -f $ORABASE_EXEC ]; then
if [ -x $ORABASE_EXEC ]; then
ORACLE_BASE=`$ORABASE_EXEC`
# did we have a previous value for ORACLE_BASE
if [ ${OLD_ORACLE_BASE:-"x"} != "x" ]; then
if [ $OLD_ORACLE_BASE != $ORACLE_BASE ]; then
if [ "$SILENT" != "true" ]; then
echo "The Oracle base has been changed from $OLD_ORACLE_BASE to $ORACLE_BASE"
fi
else
if [ "$SILENT" != "true" ]; then
echo "The Oracle base remains unchanged with value $OLD_ORACLE_BASE"
fi
fi
else
if [ "$SILENT" != "true" ]; then
echo "The Oracle base has been set to $ORACLE_BASE"
fi
fi
export ORACLE_BASE
else
if [ "$SILENT" != "true" ]; then
echo "The $ORACLE_HOME/bin/orabase binary does not have execute privilege"
echo "for the current user, $USER. Rerun the script after changing"
echo "the permission of the mentioned executable."
echo "You can set ORACLE_BASE manually if it is required."
fi
fi
else
if [ "$SILENT" != "true" ]; then
echo "The $ORACLE_HOME/bin/orabase binary does not exist"
echo "You can set ORACLE_BASE manually if it is required."
fi
fi
else
if [ "$SILENT" != "true" ]; then
echo "ORACLE_BASE environment variable is not being set since this"
echo "information is not available for the current user ID $USER."
echo "You can set ORACLE_BASE manually if it is required."
fi
fi
if [ ${ORACLE_BASE:-"x"} = "x" ]; then
if [ "$SILENT" != "true" ]; then
echo "Resetting ORACLE_BASE to its previous value or ORACLE_HOME";
fi
if [ "$OLD_ORACLE_BASE" != "" ]; then
ORACLE_BASE=$OLD_ORACLE_BASE ;
if [ "$SILENT" != "true" ]; then
echo "The Oracle base remains unchanged with value $OLD_ORACLE_BASE";
fi
else
ORACLE_BASE=$ORACLE_HOME ;
if [ "$SILENT" != "true" ]; then
echo "The Oracle base has been set to $ORACLE_HOME";
fi
fi
export ORACLE_BASE ;
fi
#
# Install any "custom" code here
#
/etc/oratab 파일은 다음과 같다. 각 필드 구분자는 콜론이고, 아래 예시에서 세 번째 필드는 dbstart 유틸리티에 데이터베이스가 시스템 부팅 시 "Y"로 불러오도록 하거나 또는 "N"으로 나타나서는 안 된다는 것을 나타낸다.
#
# This file is used by ORACLE utilities. It is created by root.sh
# and updated by either Database Configuration Assistant while creating
# a database or ASM Configuration Assistant while creating ASM instance.
# A colon, ':', is used as the field terminator. A new line terminates
# the entry. Lines beginning with a pound sign, '#', are comments.
#
# Entries are of the form:
# $ORACLE_SID:$ORACLE_HOME:<N|Y>:
#
# The first and second fields are the system identifier and home
# directory of the database respectively. The third field indicates
# to the dbstart utility that the database should , "Y", or should not,
# "N", be brought up at system boot time.
#
# Multiple entries with the same $ORACLE_SID are not allowed.
#
#
orcl:/u01/app/oracle/product/19.0.0/dbhome_1:N
DBCA 리스폰스 파일은 ORACLE_HOME/assistants/dbca/dbca.rsp에 위치하고 있다.
##############################################################################
## ##
## DBCA response file ##
## ------------------ ##
## Copyright(c) Oracle Corporation 1998,2019. All rights reserved. ##
## ##
## Specify values for the variables listed below to customize ##
## your installation. ##
## ##
## Each variable is associated with a comment. The comment ##
## can help to populate the variables with the appropriate ##
## values. ##
## ##
## IMPORTANT NOTE: This file contains plain text passwords and ##
## should be secured to have read permission only by oracle user ##
## or db administrator who owns this installation. ##
##############################################################################
#-------------------------------------------------------------------------------
# Do not change the following system generated value.
#-------------------------------------------------------------------------------
responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v19.0.0
#-----------------------------------------------------------------------------
# Name : gdbName
# Datatype : String
# Description : Global database name of the database
# Valid values : <db_name>.<db_domain> - when database domain isn't NULL
# <db_name> - when database domain is NULL
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
gdbName=
#-----------------------------------------------------------------------------
# Name : sid
# Datatype : String
# Description : System identifier (SID) of the database
# Valid values : Check Oracle19c Administrator's Guide
# Default value : <db_name> specified in GDBNAME
# Mandatory : No
#-----------------------------------------------------------------------------
sid=
#-----------------------------------------------------------------------------
# Name : databaseConfigType
# Datatype : String
# Description : database conf type as Single Instance, Real Application Cluster or Real Application Cluster One Nodes database
# Valid values : SI\RAC\RACONENODE
# Default value : SI
# Mandatory : No
#-----------------------------------------------------------------------------
databaseConfigType=
#-----------------------------------------------------------------------------
# Name : RACOneNodeServiceName
# Datatype : String
# Description : Service is required by application to connect to RAC One
# Node Database
# Valid values : Service Name
# Default value : None
# Mandatory : No [required in case DATABASECONFTYPE is set to RACONENODE ]
#-----------------------------------------------------------------------------
RACOneNodeServiceName=
#-----------------------------------------------------------------------------
# Name : policyManaged
# Datatype : Boolean
# Description : Set to true if Database is policy managed and
# set to false if Database is admin managed
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#-----------------------------------------------------------------------------
policyManaged=
#-----------------------------------------------------------------------------
# Name : createServerPool
# Datatype : Boolean
# Description : Set to true if new server pool need to be created for database
# if this option is specified then the newly created database
# will use this newly created serverpool.
# Multiple serverpoolname can not be specified for database
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#-----------------------------------------------------------------------------
createServerPool=
#-----------------------------------------------------------------------------
# Name : serverPoolName
# Datatype : String
# Description : Only one serverpool name need to be specified
# if Create Server Pool option is specified.
# Comma-separated list of Serverpool names if db need to use
# multiple Server pool
# Valid values : ServerPool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#-----------------------------------------------------------------------------
serverPoolName=
#-----------------------------------------------------------------------------
# Name : cardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#-----------------------------------------------------------------------------
cardinality=
#-----------------------------------------------------------------------------
# Name : force
# Datatype : Boolean
# Description : Set to true if new server pool need to be created by force
# if this option is specified then the newly created serverpool
# will be assigned server even if no free servers are available.
# This may affect already running database.
# This flag can be specified for Admin managed as well as policy managed db.
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#-----------------------------------------------------------------------------
force=
#-----------------------------------------------------------------------------
# Name : pqPoolName
# Datatype : String
# Description : Only one serverpool name needs to be specified
# if create server pool option is specified.
# Comma-separated list of serverpool names if use
# server pool. This is required to
# create Parallel Query (PQ) database. Applicable to Big Cluster
# Valid values : Parallel Query (PQ) pool name
# Default value : None
# Mandatory : No [required in case of RAC service centric database]
#-----------------------------------------------------------------------------
pqPoolName=
#-----------------------------------------------------------------------------
# Name : pqCardinality
# Datatype : Number
# Description : Specify Cardinality for create server pool operation.
# Applicable to Big Cluster
# Valid values : any positive Integer value
# Default value : Number of qualified nodes on cluster
# Mandatory : No [Required when a new serverpool need to be created]
#-----------------------------------------------------------------------------
pqCardinality=
#-----------------------------------------------------------------------------
# Name : createAsContainerDatabase
# Datatype : boolean
# Description : flag to create database as container database
# Valid values : Check Oracle19c Administrator's Guide
# Default value : false
# Mandatory : No
#-----------------------------------------------------------------------------
createAsContainerDatabase=
#-----------------------------------------------------------------------------
# Name : numberOfPDBs
# Datatype : Number
# Description : Specify the number of pdb to be created
# Valid values : 0 to 4094
# Default value : 0
# Mandatory : No
#-----------------------------------------------------------------------------
numberOfPDBs=
#-----------------------------------------------------------------------------
# Name : pdbName
# Datatype : String
# Description : Specify the pdbname/pdbanme prefix if one or more pdb need to be created
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : No
#-----------------------------------------------------------------------------
pdbName=
#-----------------------------------------------------------------------------
# Name : useLocalUndoForPDBs
# Datatype : boolean
# Description : Flag to create local undo tablespace for all PDB's.
# Valid values : TRUE\FALSE
# Default value : TRUE
# Mandatory : No
#-----------------------------------------------------------------------------
useLocalUndoForPDBs=
#-----------------------------------------------------------------------------
# Name : pdbAdminPassword
# Datatype : String
# Description : PDB Administrator user password
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : No
#-----------------------------------------------------------------------------
pdbAdminPassword=
#-----------------------------------------------------------------------------
# Name : nodelist
# Datatype : String
# Description : Comma-separated list of cluster nodes
# Valid values : Cluster node names
# Default value : None
# Mandatory : No (Yes for RAC database-centric database )
#-----------------------------------------------------------------------------
nodelist=
#-----------------------------------------------------------------------------
# Name : templateName
# Datatype : String
# Description : Name of the template
# Valid values : Template file name
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
templateName=
#-----------------------------------------------------------------------------
# Name : sysPassword
# Datatype : String
# Description : Password for SYS user
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
sysPassword=
#-----------------------------------------------------------------------------
# Name : systemPassword
# Datatype : String
# Description : Password for SYSTEM user
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : Yes
#-----------------------------------------------------------------------------
systemPassword=
#-----------------------------------------------------------------------------
# Name : oracleHomeUserPassword
# Datatype : String
# Description : Password for Windows Service user
# Default value : None
# Mandatory : If Oracle home is installed with windows service user
#-----------------------------------------------------------------------------
oracleHomeUserPassword=
#-----------------------------------------------------------------------------
# Name : emConfiguration
# Datatype : String
# Description : Enterprise Manager Configuration Type
# Valid values : CENTRAL|DBEXPRESS|BOTH|NONE
# Default value : NONE
# Mandatory : No
#-----------------------------------------------------------------------------
emConfiguration=
#-----------------------------------------------------------------------------
# Name : emExpressPort
# Datatype : Number
# Description : Enterprise Manager Configuration Type
# Valid values : Check Oracle19c Administrator's Guide
# Default value : NONE
# Mandatory : No, will be picked up from DBEXPRESS_HTTPS_PORT env variable
# or auto generates a free port between 5500 and 5599
#-----------------------------------------------------------------------------
emExpressPort=5500
#-----------------------------------------------------------------------------
# Name : runCVUChecks
# Datatype : Boolean
# Description : Specify whether to run Cluster Verification Utility checks
# periodically in Cluster environment
# Valid values : TRUE\FALSE
# Default value : FALSE
# Mandatory : No
#-----------------------------------------------------------------------------
runCVUChecks=
#-----------------------------------------------------------------------------
# Name : dbsnmpPassword
# Datatype : String
# Description : Password for DBSNMP user
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : Yes, if emConfiguration is specified or
# the value of runCVUChecks is TRUE
#-----------------------------------------------------------------------------
dbsnmpPassword=
#-----------------------------------------------------------------------------
# Name : omsHost
# Datatype : String
# Description : EM management server host name
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#-----------------------------------------------------------------------------
omsHost=
#-----------------------------------------------------------------------------
# Name : omsPort
# Datatype : Number
# Description : EM management server port number
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#-----------------------------------------------------------------------------
omsPort=
#-----------------------------------------------------------------------------
# Name : emUser
# Datatype : String
# Description : EM Admin username to add or modify targets
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#-----------------------------------------------------------------------------
emUser=
#-----------------------------------------------------------------------------
# Name : emPassword
# Datatype : String
# Description : EM Admin user password
# Default value : None
# Mandatory : Yes, if CENTRAL is specified for emConfiguration
#-----------------------------------------------------------------------------
emPassword=
#-----------------------------------------------------------------------------
# Name : dvConfiguration
# Datatype : Boolean
# Description : Specify "True" to configure and enable Oracle Database vault
# Valid values : True/False
# Default value : False
# Mandatory : No
#-----------------------------------------------------------------------------
dvConfiguration=
#-----------------------------------------------------------------------------
# Name : dvUserName
# Datatype : String
# Description : DataVault Owner
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#-----------------------------------------------------------------------------
dvUserName=
#-----------------------------------------------------------------------------
# Name : dvUserPassword
# Datatype : String
# Description : Password for DataVault Owner
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : Yes, if DataVault option is chosen
#-----------------------------------------------------------------------------
dvUserPassword=
#-----------------------------------------------------------------------------
# Name : dvAccountManagerName
# Datatype : String
# Description : DataVault Account Manager
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : No
#-----------------------------------------------------------------------------
dvAccountManagerName=
#-----------------------------------------------------------------------------
# Name : dvAccountManagerPassword
# Datatype : String
# Description : Password for DataVault Account Manager
# Valid values : Check Oracle19c Administrator's Guide
# Default value : None
# Mandatory : No
#-----------------------------------------------------------------------------
dvAccountManagerPassword=
#-----------------------------------------------------------------------------
# Name : olsConfiguration
# Datatype : Boolean
# Description : Specify "True" to configure and enable Oracle Label Security
# Valid values : True/False
# Default value : False
# Mandatory : No
#-----------------------------------------------------------------------------
olsConfiguration=
#-----------------------------------------------------------------------------
# Name : datafileJarLocation
# Datatype : String
# Description : Location of the data file jar
# Valid values : Directory containing compressed datafile jar
# Default value : None
# Mandatory : No
#-----------------------------------------------------------------------------
datafileJarLocation=
#-----------------------------------------------------------------------------
# Name : datafileDestination
# Datatype : String
# Description : Location of the data file's
# Valid values : Directory for all the database files
# Default value : $ORACLE_BASE/oradata
# Mandatory : No
#-----------------------------------------------------------------------------
datafileDestination=
#-----------------------------------------------------------------------------
# Name : recoveryAreaDestination
# Datatype : String
# Description : Location of the data file's
# Valid values : Recovery Area location
# Default value : $ORACLE_BASE/flash_recovery_area
# Mandatory : No
#-----------------------------------------------------------------------------
recoveryAreaDestination=
#-----------------------------------------------------------------------------
# Name : storageType
# Datatype : String
# Description : Specifies the storage on which the database is to be created
# Valid values : FS (CFS for RAC), ASM
# Default value : FS
# Mandatory : No
#-----------------------------------------------------------------------------
storageType=
#-----------------------------------------------------------------------------
# Name : diskGroupName
# Datatype : String
# Description : Specifies the disk group name for the storage
# Default value : DATA
# Mandatory : No
#-----------------------------------------------------------------------------
diskGroupName=
#-----------------------------------------------------------------------------
# Name : asmsnmpPassword
# Datatype : String
# Description : Password for ASM Monitoring
# Default value : None
# Mandatory : No
#-----------------------------------------------------------------------------
asmsnmpPassword=
#-----------------------------------------------------------------------------
# Name : recoveryGroupName
# Datatype : String
# Description : Specifies the disk group name for the recovery area
# Default value : RECOVERY
# Mandatory : No
#-----------------------------------------------------------------------------
recoveryGroupName=
#-----------------------------------------------------------------------------
# Name : characterSet
# Datatype : String
# Description : Character set of the database
# Valid values : Check Oracle19c National Language Support Guide
# Default value : "US7ASCII"
# Mandatory : NO
#-----------------------------------------------------------------------------
characterSet=
#-----------------------------------------------------------------------------
# Name : nationalCharacterSet
# Datatype : String
# Description : National Character set of the database
# Valid values : "UTF8" or "AL16UTF16". For details, check Oracle19c National Language Support Guide
# Default value : "AL16UTF16"
# Mandatory : No
#-----------------------------------------------------------------------------
nationalCharacterSet=
#-----------------------------------------------------------------------------
# Name : registerWithDirService
# Datatype : Boolean
# Description : Specifies whether to register with Directory Service.
# Valid values : TRUE \ FALSE
# Default value : FALSE
# Mandatory : No
#-----------------------------------------------------------------------------
registerWithDirService=
#-----------------------------------------------------------------------------
# Name : dirServiceUserName
# Datatype : String
# Description : Specifies the name of the directory service user
# Mandatory : YES, if the value of registerWithDirService is TRUE
#-----------------------------------------------------------------------------
dirServiceUserName=
#-----------------------------------------------------------------------------
# Name : dirServicePassword
# Datatype : String
# Description : The password of the directory service user.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#-----------------------------------------------------------------------------
dirServicePassword=
#-----------------------------------------------------------------------------
# Name : walletPassword
# Datatype : String
# Description : The password for wallet to created or modified.
# You can also specify the password at the command prompt instead of here.
# Mandatory : YES, if the value of registerWithDirService is TRUE
#-----------------------------------------------------------------------------
walletPassword=
#-----------------------------------------------------------------------------
# Name : listeners
# Datatype : String
# Description : Specifies list of listeners to register the database with.
# By default the database is configured for all the listeners specified in the
# $ORACLE_HOME/network/admin/listener.ora
# Valid values : The list should be comma separated like "listener1,listener2".
# Mandatory : NO
#-----------------------------------------------------------------------------
listeners=
#-----------------------------------------------------------------------------
# Name : variablesFile
# Datatype : String
# Description : Location of the file containing variable value pair
# Valid values : A valid file-system file. The variable value pair format in this file
# is <variable>=<value>. Each pair should be in a new line.
# Default value : None
# Mandatory : NO
#-----------------------------------------------------------------------------
variablesFile=
#-----------------------------------------------------------------------------
# Name : variables
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides variables defined in variablefile and templates
# Default value : None
# Mandatory : NO
#-----------------------------------------------------------------------------
variables=
#-----------------------------------------------------------------------------
# Name : initParams
# Datatype : String
# Description : comma separated list of name=value pairs. Overrides initialization parameters defined in templates
# Default value : None
# Mandatory : NO
#-----------------------------------------------------------------------------
initParams=
#-----------------------------------------------------------------------------
# Name : sampleSchema
# Datatype : Boolean
# Description : Specifies whether or not to add the Sample Schemas to your database
# Valid values : TRUE \ FALSE
# Default value : FASLE
# Mandatory : No
#-----------------------------------------------------------------------------
sampleSchema=
#-----------------------------------------------------------------------------
# Name : memoryPercentage
# Datatype : String
# Description : percentage of physical memory for Oracle
# Default value : None
# Mandatory : NO
#-----------------------------------------------------------------------------
memoryPercentage=
#-----------------------------------------------------------------------------
# Name : databaseType
# Datatype : String
# Description : used for memory distribution when memoryPercentage specified
# Valid values : MULTIPURPOSE|DATA_WAREHOUSING|OLTP
# Default value : MULTIPURPOSE
# Mandatory : NO
#-----------------------------------------------------------------------------
databaseType=
#-----------------------------------------------------------------------------
# Name : automaticMemoryManagement
# Datatype : Boolean
# Description : flag to indicate Automatic Memory Management is used
# Valid values : TRUE/FALSE
# Default value : TRUE
# Mandatory : NO
#-----------------------------------------------------------------------------
automaticMemoryManagement=
#-----------------------------------------------------------------------------
# Name : totalMemory
# Datatype : String
# Description : total memory in MB to allocate to Oracle
# Valid values :
# Default value :
# Mandatory : NO
#-----------------------------------------------------------------------------
totalMemory=
[oracle@enp0s3 templates]$ dbca -silent -createDatabase 이렇게만 입력하면 파라미터가 부족하다는 알림이 뜨고 생성이 진행되지 않는다. 이때 프롬프트에 찍힌 파라미터를 보고 어떤 것을 사용할 수 있는지 참고할 수 있다.
[INS-04008] 명령행에서 부적합한 조합의 인수가 전달되었습니다. -createDatabase 인수에 대해 하나 이상의 필수 종속 인수가 전달되지 않았습니다.
-createDatabase - 데이터베이스를 생성하는 명령입니다.
-responseFile | (-gdbName,-templateName)
-responseFile - <응답 파일의 전체 경로>
-gdbName <전역 데이터베이스 이름>
-templateName <DB 생성을 위해 기본 위치 또는 전체 템플리트 경로의 기존 템플리트를 지정하거나 템플리트 생성을 위해 새 템플리트 이름을 입력하십시오.>
[-useWalletForDBCredentials <true | false> 전자 지갑에서 데이터베이스 인증서를 로드하려면 true를 지정하십시오.]
-dbCredentialsWalletLocation <전자 지갑 파일이 포함된 디렉토리의 경로>
[-dbCredentialsWalletPassword <자동 로그인이 사용 안함으로 설정된 전자 지갑을 열기 위한 비밀번호>]
[-characterSet <데이터베이스의 문자 집합>]
[-dvConfiguration <true | false> Database Vault를 구성하고 사용으로 설정하려면 true를 지정합니다.]
-dvUserName <Database Vault 소유자 사용자 이름 지정>
-dvUserPassword <Database Vault 소유자 비밀번호 지정>
[-dvAccountManagerPassword <Database Vault 계정 관리자 비밀번호 지정>]
[-dvAccountManagerName <별도의 Database Vault 계정 관리자 지정>]
[-datafileDestination <모든 데이터베이스 파일에 대한 대상 디렉토리>]
[-datafileJarLocation <데이터베이스 생성 시 데이터 파일 백업의 절대 경로 전달, 템플리트 생성 시 압축 형식으로 데이터 파일을 저장할 디렉토리 전달>]
[-runCVUChecks <RAC 데이터베이스에서 클러스터 확인 유틸리티 검사를 정기적으로 실행하려면 "true"를 지정하십시오.>]
[-sid <데이터베이스 시스템 식별자>]
[-redoLogFileSize <각 리두 로그 파일의 크기(MB)>]
[-registerWithDirService <true | false>]
-dirServiceUserName <디렉토리 서비스에 대한 사용자 이름>
[-databaseCN <데이터베이스 공통 이름>]
[-dirServiceCertificatePath <데이터베이스와 디렉토리 서비스 간에 SSL을 구성할 때 사용할 인증서 파일의 경로>]
[-dirServicePassword <디렉토리 서비스에 대한 비밀번호>]
[-dirServiceUser <Active Directory 구성의 경우 SamAccountName>]
[-ldapDirectoryAccessType <PASSWORD | SSL>]
[-useSYSAuthForLDAPAccess <true | false>]
[-walletPassword <데이터베이스 전자 지갑에 대한 비밀번호>]
[-systemPassword <SYSTEM 사용자 비밀번호>]
[-nodelist <콤마로 구분된 데이터베이스 노드 이름>]
[-oracleHomeUserPassword <Oracle 홈 사용자 비밀번호 지정>]
[-sysPassword <SYS 사용자 비밀번호>]
[-enableArchive <true | false> 아카이브를 사용으로 설정하려면 true를 지정합니다.]
[-archiveLogMode <AUTO|MANUAL, 기본값은 자동 아카이브입니다.>]
[-archiveLogDest <콤마로 구분된 아카이브 로그 대상을 지정하십시오. 아카이브 로그 대상이 지정되지 않은 경우 아카이브 로그 파일에 빠른 복구 영역 위치가 사용됩니다.>]
[-memoryMgmtType <AUTO|AUTO_SGA|CUSTOM_SGA>]
[-variables <위치 변수에 대한 콤마로 구분된 이름=값 쌍 목록>]
[-listeners <데이터베이스를 구성할 때 사용할 수 있는 리스너의 콤마로 구분된 목록>]
[-olsConfiguration <true | false> Oracle Label Security를 구성하고 사용으로 설정하려면 true를 지정합니다.]
[-configureWithOID 이 플래그는 OID와 함께 Oracle Label Security를 구성합니다.]
[-createAsContainerDatabase <true | false>]
[-pdbName <플러그인할 수 있는 데이터베이스 이름>]
[-numberOfPDBs <생성될 플러그인할 수 있는 데이터베이스 수입니다. 기본값은 0입니다.>]
[-pdbStorageMAXSizeInMB <value>]
[-pdbStorageMAXTempSizeInMB <value>]
[-useLocalUndoForPDBs <true | false> PDB에 대한 로컬 실행 취소 테이블스페이스를 사용 안함으로 설정하려면 false를 지정합니다.]
[-pdbAdminPassword <PDB 관리자 사용자 비밀번호로, 새 PDB를 생성할 때만 필요합니다.>]
[-pdbOptions <사용/사용 안함으로 설정할 데이터베이스 옵션과 함께 콤마로 구분된 이름:값 쌍 목록입니다. 예: JSERVER:true,DV:false>]
[-recoveryAreaDestination <모든 복구 파일의 대상 디렉토리입니다. 빠른 복구 영역을 사용 안함으로 설정하려면 "NONE"을 지정하십시오.>]
[-recoveryAreaSize <빠른 복구 영역 크기(MB)>]
[-createListener <데이터베이스를 등록할 새 리스너를 생성하십시오. LISTENER_NAME:PORT 형식으로 지정하십시오.>]
[-useOMF <true | false> Oracle-Managed Files를 사용하려면 true를 지정하십시오.]
[-memoryPercentage | -totalMemory]
[-memoryPercentage <Oracle 데이터베이스의 물리적 메모리 백분율>]
[-totalMemory <Oracle에 대해 할당된 메모리(MB)>]
[-dbOptions <사용/사용 안함으로 설정할 데이터베이스 옵션과 함께 콤마로 구분된 이름:값 쌍 목록입니다. 예: JSERVER:true,DV:false>]
[-sampleSchema <true | false>]
[-variablesFile <템플리트의 위치 변수에 대한 이름=값 쌍의 파일 이름>]
[-customScripts <DB 생성 이후 실행해야 할 콤마로 구분된 SQL 스크립트 목록입니다. 스크립트는 나열된 순서대로 실행됩니다.>]
[-databaseType <MULTIPURPOSE | DATA_WAREHOUSING | OLTP>]
[-oracleHomeUserName <Oracle 홈 사용자 이름 지정>]
[-initParams <콤마로 구분된 이름=값 쌍 목록>]
[-initParamsEscapeChar <특정 initParam에 값이 여러 개인 경우 콤마에 대한 이스케이프 문자를 지정합니다. 이스케이프 문자를 지정하지 않으면 백슬래시가 기본 이스케이프 문자로 사용됩니다.>]
[-policyManaged | -adminManaged]
[-policyManaged <정책 관리 데이터베이스로. 기본 옵션은 관리자 관리 데이터베이스입니다.>]
-serverPoolName <서버 풀 생성의 경우 단일 서버 풀 이름을 지정하고, 기존 서버 풀의 경우 콤마로 구분된 목록을 지정하십시오.>
[-pqPoolName <value>]
[-createServerPool <데이터베이스에서 사용할 새 서버 풀을 생성합니다.>]
[-pqPoolName <value>]
[-forceServerPoolCreation <사용 가능한 적절한 서버가 없는 경우 강제로 서버 풀을 생성합니다. 이로 인해 이미 실행 모드인 데이터베이스가 영향을 받을 수 있습니다.>]
[-pqCardinality <value>]
[-cardinality <생성될 새 서버 풀의 기수를 지정합니다. 기본값은 정규화 노드 수입니다.>]
[-adminManaged <관리자 관리 데이터베이스로. 기본 옵션입니다.>]
[-nationalCharacterSet <데이터베이스의 국가별 문자 집합>]
[-storageType < FS | ASM >]
-datafileDestination <모든 데이터베이스 파일에 대한 대상 디렉토리>
[-asmsnmpPassword <ASM 모니터링을 위한 ASMSNMP 비밀번호>]
[-databaseConfigType <SINGLE | RAC | RACONENODE>]
[-RACOneNodeServiceName <RAC One Node 데이터베이스에 대해 생성할 서비스의 서비스 이름입니다. 이 옵션은 databaseConfigType이 RACONENODE인 경우 필수입니다.>]
[-emConfiguration <DBEXPRESS | CENTRAL | BOTH | NONE>]
[-dbsnmpPassword <DBSNMP 사용자 비밀번호>]
[-emPassword <EM 관리 사용자 비밀번호>]
[-emUser <대상을 추가하거나 수정하기 위한 EM 관리 사용자 이름>]
[-emExpressPort <EM Database Express 포트 번호로, 일반적으로 createDatabase 중 사용됩니다.>]
[-omsHost <EM 관리 서버 호스트 이름>]
[-omsPort <EM 관리 서버 포트 번호>]
[-emExpressPortAsGlobalPort <value>]