Dockerfile: how to create a key one Oracle database container?

The answer is: a dream
Here Insert Picture Description
Well, a joke. Although you can not use Dockerfile a key to give birth to a jump oracle baby, but the distance from achieving this dream is more than just two steps only. Let's look at the dream with me is how to achieve it.

Prepare for the next installation resources

oracle12c installation package: linuxx64_12201_database.zip
the Oracle cultivating the Chinese market for decades, really can not understand the recent decision of the Chinese Academy of side pot. Chinese mainland, although you did not pay to use oracle database products, but the user's money went to the sea. + weblogic oracle database middleware, which is how many fantastic combination of enterprises and institutions (money wayward) ah.
The latest version of the oracle has come to 19c, feel better fast, the speed of the previous iteration is not no so how fast. Overall, I give you only get to be an example 12c, chasing new to you.

First to a Dockerfile entrees

###########################################################
FROM centos:7
MAINTAINER watermelonbig <[email protected]>

RUN echo "root:YYtest2019" | chpasswd
RUN yum clean all; \
        rpm --rebuilddb; \
        yum install -y sudo curl which tar openssh-server openssh-clients rsync wget iproute net-tools sysstat lsof tcpdump telnet iputils lrzsz zip unzip kde-l10n-Chinese;\
        yum install -y binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33.i686 glibc glibc.i686 glibc-devel glibc-devel.i686 ksh libaio libaio.i686 libaio-devel libaio-devel.i686 libX11 libX11.i686 libXau libXau.i686 libXi libXi.i686 libXtst libXtst.i686 libgcc libgcc.i686 libstdc++ libstdc++.i686 libstdc++-devel libstdc++-devel.i686 libxcb libxcb.i686 make nfs-utils smartmontools unixODBC unixODBC-devel 
RUN groupadd -g 54321 oinstall;\
    groupadd -g 54322 dba;\
    groupadd -g 54323 oper;\
    useradd -u 54321 -g oinstall -G dba,oper oracle

RUN echo 'net.ipv6.conf.all.disable_ipv6 = 1' >> /etc/sysctl.conf;\
        echo 'net.ipv6.conf.default.disable_ipv6 = 1' >> /etc/sysctl.conf;\
        echo 'net.ipv4.ip_local_port_range = 9000 65000' >> /etc/sysctl.conf;\
        echo 'vm.swappiness = 10' >> /etc/sysctl.conf;\
        echo "session   required        /lib64/security/pam_limits.so" >> /etc/pam.d/login;\
        sed -i 's/UsePAM yes/UsePAM no/g' /etc/ssh/sshd_config;\
        sed -i '/UseDNS yes/s/.*/UseDNS no/g' /etc/ssh/sshd_config;\
        echo 'fs.file-max = 6815744' >> /etc/sysctl.conf;\
        echo 'kernel.sem = 250 32000 100 128' >> /etc/sysctl.conf;\
        echo 'kernel.shmmni = 4096' >> /etc/sysctl.conf;\
        echo 'kernel.shmall = 1073741824' >> /etc/sysctl.conf;\
        echo 'kernel.shmmax = 4398046511104' >> /etc/sysctl.conf;\
        echo 'kernel.panic_on_oops = 1' >> /etc/sysctl.conf;\
        echo 'net.core.rmem_default = 262144' >> /etc/sysctl.conf;\
        echo 'net.core.rmem_max = 4194304' >> /etc/sysctl.conf;\
        echo 'net.core.wmem_default = 262144' >> /etc/sysctl.conf;\
        echo 'net.core.wmem_max = 1048576' >> /etc/sysctl.conf;\
        echo 'net.ipv4.conf.all.rp_filter = 2' >> /etc/sysctl.conf;\
        echo 'net.ipv4.conf.default.rp_filter = 2' >> /etc/sysctl.conf;\
        echo 'fs.aio-max-nr = 1048576' >> /etc/sysctl.conf;\
        echo 'oracle   soft   nofile    1024' >> /etc/security/limits.conf;\
        echo 'oracle   hard   nofile    65536' >> /etc/security/limits.conf;\
        echo 'oracle   soft   nproc    16384' >> /etc/security/limits.conf;\
        echo 'oracle   hard   nproc    16384' >> /etc/security/limits.conf;\
        echo 'oracle   soft   stack    10240' >> /etc/security/limits.conf;\
        echo 'oracle   hard   stack    32768' >> /etc/security/limits.conf
		
COPY ./linuxx64_12201_database.zip /opt/
COPY ./setEnv.sh /home/oracle/
COPY ./12cR2.rsp /opt/

RUN chown -R oracle:oinstall /home/oracle;\
    chmod u+x /home/oracle/setEnv.sh;\
    echo ". /home/oracle/setEnv.sh" >> /home/oracle/.bash_profile;\
    sed -i 's/LANG="en_US.UTF-8"/LANG="zh_CN.UTF-8"/g' /etc/locale.conf;\
    cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime;\
    chmod u+s /usr/sbin/lsof;\
    chmod u+s /usr/sbin/tcpdump

RUN ssh-keygen -t rsa -P "" -f /etc/ssh/ssh_host_rsa_key;\
        ssh-keygen -t dsa -P ""  -f /etc/ssh/ssh_host_dsa_key

ENV LANG=zh_CN.UTF-8
CMD ["/usr/sbin/sshd","-D"]

EXPOSE 1521 22

Basically did so a few things:

  • Mounting various basic kit dependencies;
  • Tuning system parameters for various beneficial Oracle;
  • Configuring the operating environment oracle user-related;
  • Copying the subsequent installation package installation requires a database, the silent installation configuration file and scripts;
  • Comes with an ssh server, help you set up under the root / YYtest2019 account;

Correct. This is all the work done during our Dockerfile generation container mirroring. It is still far from achieving the dream? Do not lose heart, has put those trivial details and messy configurations are packaged so that Dockerfile finished ah. From dream to achieve, differing only in two steps:

  • Install the database software
  • Create a database instance

These two steps are really heavyweight, but the good news has to pack them hand and foot, and basically you just need to brush Keguan script can while drinking tea while waiting for friends to spend oracle.

Dockerfile close look at the contents of the file above, we can see the total use of resources to the three documents:

  • An installation package is linuxx64_12201_database.zip
  • One is called setEnv.sh environment variable settings script
  • Another is called the silent installation configuration file used 12cR2.rsp the oracle

oracle12c silent installation package and installed into pre-configuration files to the system directory / opt. Script set environment variables, was placed under the home directory of the oracle.

Environment variable settings script setEnv.sh

# Oracle Settings
export TMP=/tmp
export TMPDIR=$TMP
export ORACLE_HOSTNAME=`hostname -s`
export ORACLE_UNQNAME=crdb1
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/12.2.0.1/db_1
export ORACLE_SID=crdb1
export PATH=/usr/sbin:/usr/local/bin:$PATH
export PATH=$ORACLE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib

oracle silent installation configuration file 12cR2.rsp

Too many of the contents of this file, throw me the most at the end of the article, to avoid causing interference to the normal reading.

Here are a few questions: Why did the zip installation package into a container image files go? Hold would be better, how to install the file after decompression effect put directly in the oracle continued Dockerfile also installed, the library also creates a good example.

I explain, welcomed the audience after watching themselves continue to try (to step on pit):

  • The oracle zip installation package size about 3GB, above Dockerfile container made out image file is greater than about 3.8GB. I am willing to accept this is a mirror image of the volume range. Not too great, but also help save a lot of things. Otherwise, create a business each container must manually upload a zip installation package.
  • Put its archive to the mirror, the better to put the installation file after a decompression of it? Found after comparison, which create mirrored container volume of about 8GB.
  • Continue Dockerfile where the oracle is also installed, the library also create a good example? Bad, very bad. First, get a large volume of serious, single-database software installation is complete perform this step, the volume of image files up to 15GB on up. Secondly, the creation of the database instance through the implementation of Dockerfile experience problems, can not be solved, not started. Even if you manage to get Dockerfile give birth to a healthy oracle database instance service came out, this time a container image file size will be very exaggerated, so that the loss of the meaning of existence of the mirror. Distribute a big mirror, or every time a docker build, are incredible.

So far, we continue to return to the topic.
After the kick in your own installation resources, go to a directory stack, perform docker build -t oracle12c-preinstall .create a container mirroring.

Use a mirror to create a container

Any method. Nothing less than the following two:

  • Creating a pure docker containers docker run
  • Creating a Pod containers kubectl create command on kubernetes platform

Note: oracle is a large house lady, living lavish used to, when you create a resource allocation of container to the people not stingy, especially memory. When the memory is not rich, it must carefully calculate how much next to the SGA memory available when creating a database instance. In the following example we offer is divided 16G memory, create a database instance, SGA maximum use of limited library 12GB.

Installation Resource Login container and finishing at

mkdir -p /u01/app/oracle/product/12.2.0.1/db_1
unzip -d /u01 /opt/linuxx64_12201_database.zip
rm -rf /opt/linuxx64_12201_database.zip
mv /opt/12cR2.rsp /u01
chown -R oracle:oinstall /u01
chmod  775 /u01

Explain why even bother to install files from the / opt to under / u01 move again. Because I'm using k8s platform ah, after the container restart occurs for any reason, what would result? Installation and configuration outside mirrors are all disappear. The only exception is the case of container to mount a data disk, the data stored in the data disk will not disappear. So, I must be to / u01 path container hung up data disks Well, do not want the night returned to liberation.

Oracle database software is installed in a container

We are speaking here is to install the software. Database software is installed, it does not mean that there is a database service to use. After just a mysql database installation, you have to execute create database command building a database of thing.

su - oracle -c "/u01/database/runInstaller -ignoreSysPrereqs -ignorePrereq -waitforcompletion -showProgress -silent -responseFile /u01/12cR2.rsp"
  • Script as the root user directly in the container above the brush just fine, such as how long depends on the completion of performance of your machine, is so headstrong

After the above operation is successful result, you will be prompted to use the root user proceeds with the following two commands:

/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/product/12.2.0.1/db_1/root.sh
  • So far, oracle database installed.

Create a database instance

Building a database

Still silent installation mode. Still directly use the root user to brush script, it is so capricious.

su - oracle -c "dbca -silent -createDatabase   -templateName /u01/app/oracle/product/12.2.0.1/db_1/assistants/dbca/templates/General_Purpose.dbc   -gdbname crdb1 -sid crdb1 -responseFile /u01/app/oracle/product/12.2.0.1/db_1/assistants/dbca/dbca.rsp   -characterSet AL32UTF8   -sysPassword testPasswd1   -systemPassword testPasswd1   -createAsContainerDatabase true   -numberOfPDBs 1   -pdbName pdb1   -pdbAdminPassword testPasswd1   -automaticMemoryManagement false   -totalMemory 12000   -ignorePreReqs"
  • Setting up a database administrator account for system / testPasswd1
  • -totalMemoryDefining the database instance the SGA memory space

Then, after about a cup of coffee time.

After the successful conclusion of the libraries already have, no network monitoring service, less access from the outside.

Create a listening service

Brush script to take root in a container:

su - oracle -c "netca -silent -responseFile /u01/database/response/netca.rsp"
  • Some people may wonder, why not switch to the oracle user, this much trouble. I just want to dry a root user in the end, cut to cut, I find it troublesome. And my follow-up may also create more oracle database container out, let me brush script now, let me go.

Under normal inspection services monitor whether, lsnrctl statusif the service instance is not available to display, press the following method to add instances registered listening:

Log database:

$sqlplus / as sysdba

Show service name:

SQL>show parameter service_names

Compulsory registration services:

SQL>alter system register;

View monitor status:

$lsnrctl status

Accessories: 12cR2.rsp

####################################################################
## Copyright(c) Oracle Corporation 1998,2017. 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. 
#-------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v12.2.0

#-------------------------------------------------------------------------------
# Specify the installation option.
# It can be one of the following:
#   - INSTALL_DB_SWONLY
#   - INSTALL_DB_AND_CONFIG
#   - UPGRADE_DB
#-------------------------------------------------------------------------------
oracle.install.option=INSTALL_DB_SWONLY

#-------------------------------------------------------------------------------
# Specify the Unix group to be set for the inventory directory.  
#-------------------------------------------------------------------------------
UNIX_GROUP_NAME=oinstall

#-------------------------------------------------------------------------------
# Specify the location which holds the inventory files.
# This is an optional parameter if installing on
# Windows based Operating System.
#-------------------------------------------------------------------------------
INVENTORY_LOCATION=/u01/app/oraInventory
#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Home. 
#-------------------------------------------------------------------------------
ORACLE_HOME=/u01/app/oracle/product/12.2.0.1/db_1

#-------------------------------------------------------------------------------
# Specify the complete path of the Oracle Base. 
#-------------------------------------------------------------------------------
ORACLE_BASE=/u01/app/oracle

#-------------------------------------------------------------------------------
# Specify the installation edition of the component.                     
#                                                             
# The value should contain only one of these choices.  
#   - EE     : Enterprise Edition 
#   - SE2     : Standard Edition 2


#-------------------------------------------------------------------------------

oracle.install.db.InstallEdition=EE
###############################################################################
#                                                                             #
# PRIVILEGED OPERATING SYSTEM GROUPS                                          #
# ------------------------------------------                                  #
# Provide values for the OS groups to which SYSDBA and SYSOPER privileges     #
# needs to be granted. If the install is being performed as a member of the   #
# group "dba", then that will be used unless specified otherwise below.       #
#                                                                             #
# The value to be specified for OSDBA and OSOPER group is only for UNIX based #
# Operating System.                                                           #
#                                                                             #
###############################################################################

#------------------------------------------------------------------------------
# The OSDBA_GROUP is the OS group which is to be granted SYSDBA privileges.
#-------------------------------------------------------------------------------
oracle.install.db.OSDBA_GROUP=dba

#------------------------------------------------------------------------------
# The OSOPER_GROUP is the OS group which is to be granted SYSOPER privileges.
# The value to be specified for OSOPER group is optional.
#------------------------------------------------------------------------------
oracle.install.db.OSOPER_GROUP=dba

#------------------------------------------------------------------------------
# The OSBACKUPDBA_GROUP is the OS group which is to be granted SYSBACKUP privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSBACKUPDBA_GROUP=dba

#------------------------------------------------------------------------------
# The OSDGDBA_GROUP is the OS group which is to be granted SYSDG privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSDGDBA_GROUP=dba

#------------------------------------------------------------------------------
# The OSKMDBA_GROUP is the OS group which is to be granted SYSKM privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSKMDBA_GROUP=dba

#------------------------------------------------------------------------------
# The OSRACDBA_GROUP is the OS group which is to be granted SYSRAC privileges.
#------------------------------------------------------------------------------
oracle.install.db.OSRACDBA_GROUP=dba

###############################################################################
#                                                                             #
#                               Grid Options                                  #
#                                                                             #
###############################################################################
#------------------------------------------------------------------------------
# Specify the type of Real Application Cluster Database
# 
#   - ADMIN_MANAGED: Admin-Managed
#   - POLICY_MANAGED: Policy-Managed
# 
# If left unspecified, default will be ADMIN_MANAGED 
#------------------------------------------------------------------------------
oracle.install.db.rac.configurationType=

#------------------------------------------------------------------------------
# Value is required only if RAC database type is ADMIN_MANAGED
# 
# Specify the cluster node names selected during the installation.
# Leaving it blank will result in install on local server only (Single Instance)
# 
# Example : oracle.install.db.CLUSTER_NODES=node1,node2
#------------------------------------------------------------------------------
oracle.install.db.CLUSTER_NODES=

#------------------------------------------------------------------------------
# This variable is used to enable or disable RAC One Node install.
#
#   - true  : Value of RAC One Node service name is used.
#   - false : Value of RAC One Node service name is not used.
#
# If left blank, it will be assumed to be false.
#------------------------------------------------------------------------------
oracle.install.db.isRACOneInstall=

#------------------------------------------------------------------------------
# Value is required only if oracle.install.db.isRACOneInstall is true.
# 
# Specify the name for RAC One Node Service
#------------------------------------------------------------------------------
oracle.install.db.racOneServiceName=

#------------------------------------------------------------------------------
# Value is required only if RAC database type is POLICY_MANAGED
# 
# Specify a name for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolName=pool1
#------------------------------------------------------------------------------
oracle.install.db.rac.serverpoolName=

#------------------------------------------------------------------------------
# Value is required only if RAC database type is POLICY_MANAGED
# 
# Specify a number as cardinality for the new Server pool that will be configured
# Example : oracle.install.db.rac.serverpoolCardinality=2
#------------------------------------------------------------------------------
oracle.install.db.rac.serverpoolCardinality=

###############################################################################
#                                                                             #
#                        Database Configuration Options                       #
#                                                                             #
###############################################################################

#-------------------------------------------------------------------------------
# Specify the type of database to create.
# It can be one of the following:
#   - GENERAL_PURPOSE                       
#   - DATA_WAREHOUSE 
# GENERAL_PURPOSE: A starter database designed for general purpose use or transaction-heavy applications.
# DATA_WAREHOUSE : A starter database optimized for data warehousing applications.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.type=

#-------------------------------------------------------------------------------
# Specify the Starter Database Global Database Name. 
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.globalDBName=

#-------------------------------------------------------------------------------
# Specify the Starter Database SID.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.SID=

#-------------------------------------------------------------------------------
# Specify whether the database should be configured as a Container database.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.ConfigureAsContainerDB=

#-------------------------------------------------------------------------------
# Specify the  Pluggable Database name for the pluggable database in Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.PDBName=

#-------------------------------------------------------------------------------
# Specify the Starter Database character set.
#                                               
#  One of the following
#  AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,
#  EE8MSWIN1250, NE8ISO8859P10, NEE8ISO8859P4, BLT8MSWIN1257,
#  BLT8ISO8859P13, CL8ISO8859P5, CL8MSWIN1251, AR8ISO8859P6,
#  AR8MSWIN1256, EL8ISO8859P7, EL8MSWIN1253, IW8ISO8859P8,
#  IW8MSWIN1255, JA16EUC, JA16EUCTILDE, JA16SJIS, JA16SJISTILDE,
#  KO16MSWIN949, ZHS16GBK, TH8TISASCII, ZHT32EUC, ZHT16MSWIN950,
#  ZHT16HKSCS, WE8ISO8859P9, TR8MSWIN1254, VN8MSWIN1258
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.characterSet=

#------------------------------------------------------------------------------
# This variable should be set to true if Automatic Memory Management 
# in Database is desired.
# If Automatic Memory Management is not desired, and memory allocation
# is to be done manually, then set it to false.
#------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryOption=

#-------------------------------------------------------------------------------
# Specify the total memory allocation for the database. Value(in MB) should be
# at least 256 MB, and should not exceed the total physical memory available 
# on the system.
# Example: oracle.install.db.config.starterdb.memoryLimit=512
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.memoryLimit=

#-------------------------------------------------------------------------------
# This variable controls whether to load Example Schemas onto
# the starter database or not.
# The value can be either "true" or "false". If left blank it will be assumed
# to be "false".
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.installExampleSchemas=

###############################################################################
#                                                                             #
# Passwords can be supplied for the following four schemas in the	      #
# starter database:      						      #
#   SYS                                                                       #
#   SYSTEM                                                                    #
#   DBSNMP (used by Enterprise Manager)                                       #
#                                                                             #
# Same password can be used for all accounts (not recommended) 		      #
# or different passwords for each account can be provided (recommended)       #
#                                                                             #
###############################################################################

#------------------------------------------------------------------------------
# This variable holds the password that is to be used for all schemas in the
# starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.ALL=

#-------------------------------------------------------------------------------
# Specify the SYS password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYS=

#-------------------------------------------------------------------------------
# Specify the SYSTEM password for the starter database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.SYSTEM=

#-------------------------------------------------------------------------------
# Specify the DBSNMP password for the starter database.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.DBSNMP=

#-------------------------------------------------------------------------------
# Specify the PDBADMIN password required for creation of Pluggable Database in the Container Database.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.password.PDBADMIN=

#-------------------------------------------------------------------------------
# Specify the management option to use for managing the database.
# Options are:
# 1. CLOUD_CONTROL - If you want to manage your database with Enterprise Manager Cloud Control along with Database Express.
# 2. DEFAULT   -If you want to manage your database using the default Database Express option.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.managementOption=

#-------------------------------------------------------------------------------
# Specify the OMS host to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsHost=

#-------------------------------------------------------------------------------
# Specify the OMS port to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.omsPort=

#-------------------------------------------------------------------------------
# Specify the EM Admin user name to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminUser=

#-------------------------------------------------------------------------------
# Specify the EM Admin password to use to connect to Cloud Control.
# Applicable only when oracle.install.db.config.starterdb.managementOption=CLOUD_CONTROL
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.emAdminPassword=

###############################################################################
#                                                                             #
# SPECIFY RECOVERY OPTIONS                                 	              #
# ------------------------------------		                              #
# Recovery options for the database can be mentioned using the entries below  #
#                                                                             #
###############################################################################

#------------------------------------------------------------------------------
# This variable is to be set to false if database recovery is not required. Else 
# this can be set to true.
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.enableRecovery=

#-------------------------------------------------------------------------------
# Specify the type of storage to use for the database.
# It can be one of the following:
#   - FILE_SYSTEM_STORAGE
#   - ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.storageType=

#-------------------------------------------------------------------------------
# Specify the database file location which is a directory for datafiles, control
# files, redo logs.         
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE 
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.dataLocation=

#-------------------------------------------------------------------------------
# Specify the recovery location.
#
# Applicable only when oracle.install.db.config.starterdb.storage=FILE_SYSTEM_STORAGE 
#-------------------------------------------------------------------------------
oracle.install.db.config.starterdb.fileSystemStorage.recoveryLocation=

#-------------------------------------------------------------------------------
# Specify the existing ASM disk groups to be used for storage.
#
# Applicable only when oracle.install.db.config.starterdb.storageType=ASM_STORAGE
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.diskGroup=

#-------------------------------------------------------------------------------
# Specify the password for ASMSNMP user of the ASM instance.                 
#
# Applicable only when oracle.install.db.config.starterdb.storage=ASM_STORAGE 
#-------------------------------------------------------------------------------
oracle.install.db.config.asm.ASMSNMPPassword=

#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username.
#
#  Example   : [email protected]
#------------------------------------------------------------------------------
MYORACLESUPPORT_USERNAME=

#------------------------------------------------------------------------------
# Specify the My Oracle Support Account Username password.
#
# Example    : MYORACLESUPPORT_PASSWORD=password
#------------------------------------------------------------------------------
MYORACLESUPPORT_PASSWORD=

#------------------------------------------------------------------------------
# Specify whether to enable the user to set the password for
# My Oracle Support credentials. The value can be either true or false.
# If left blank it will be assumed to be false.
#
# Example    : SECURITY_UPDATES_VIA_MYORACLESUPPORT=true
#------------------------------------------------------------------------------
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false

#------------------------------------------------------------------------------
# Specify whether user doesn't want to configure Security Updates.
# The value for this variable should be true if you don't want to configure
# Security Updates, false otherwise.
#
# The value can be either true or false. If left blank it will be assumed
# to be true.
#
# Example    : DECLINE_SECURITY_UPDATES=false
#------------------------------------------------------------------------------
DECLINE_SECURITY_UPDATES=true

#------------------------------------------------------------------------------
# Specify the Proxy server name. Length should be greater than zero.
#
# Example    : PROXY_HOST=proxy.domain.com 
#------------------------------------------------------------------------------
PROXY_HOST=

#------------------------------------------------------------------------------
# Specify the proxy port number. Should be Numeric and at least 2 chars.
#
# Example    : PROXY_PORT=25
#------------------------------------------------------------------------------
PROXY_PORT=

#------------------------------------------------------------------------------
# Specify the proxy user name. Leave PROXY_USER and PROXY_PWD
# blank if your proxy server requires no authentication.
#
# Example    : PROXY_USER=username
#------------------------------------------------------------------------------
PROXY_USER=

#------------------------------------------------------------------------------
# Specify the proxy password. Leave PROXY_USER and PROXY_PWD  
# blank if your proxy server requires no authentication.
#
# Example    : PROXY_PWD=password
#------------------------------------------------------------------------------
PROXY_PWD=

#------------------------------------------------------------------------------
# Specify the Oracle Support Hub URL. 
# 
# Example    : COLLECTOR_SUPPORTHUB_URL=https://orasupporthub.company.com:8080/
#------------------------------------------------------------------------------
COLLECTOR_SUPPORTHUB_URL=

Guess you like

Origin blog.csdn.net/watermelonbig/article/details/90708891