Oracle 12cR1 RAC 在VMware Workstation上安装(下)—静默安装

Oracle 12cR1 RAC 在VMware Workstation上安装(下)—静默安装

image

1.1  静默安装

1.1.1  静默安装grid

安装之前使用脚本进行校验,确保所有的failed选项都可以忽略。

./runcluvfy.sh stage -pre crsinst -n raclhr-12cR1-N1,raclhr-12cR1-N2 -fixup -verbose

 

1.1.1.1  新建/etc/oraInst.loc文件

2个节点上新建/etc/oraInst.loc文件中的内容如下:

inventory_loc=/u01/app/oraInventory

inst_group=oinstall

输入下面的命令在oraInst.loc文件上设置合适的拥有者,组和权限:

chown oracle:oinstall /etc/oraInst.loc

chmod 664 /etc/oraInst.loc

 

1.1.1.2  检查项

1、/u01/app/oraInventory必须为空

ls -l /u01/app/oraInventory/*

rm -rf /u01/app/oraInventory/*

否则报错:

[FATAL] [INS-32035] Unable to create a new central inventory directory : /u01/app/oraInventory.

   CAUSE: The central inventory location provided is not empty.

   ACTION: Please provide another location for the inventory, or clean up the current location.

 

2、INS-32040

[FATAL] [INS-32040] The central inventory location provided is not empty on remote nodes [raclhr-12cr1-n1].

   ACTION: Please provide another location for the inventory, or clean up the current location.

 

解决办法:

新建/etc/oraInst.loc文件中的内容如下:

inventory_loc=/u01/app/oraInventory

inst_group=oinstall

输入下面的命令在oraInst.loc文件上设置合适的拥有者,组和权限:

chown oracle:oinstall /etc/oraInst.loc

chmod 664 /etc/oraInst.loc

1.1.1.3  开始安装

wpsBEAA.tmp

静默脚本:

./runInstaller -silent  -force -noconfig -IgnoreSysPreReqs -ignorePrereq  -showProgress \

INVENTORY_LOCATION=/u01/app/oraInventory \

SELECTED_LANGUAGES=en \

ORACLE_BASE=/u01/app/grid \

ORACLE_HOME=/u01/app/12.1.0/grid \

oracle.install.asm.OSDBA=asmdba \

oracle.install.asm.OSOPER=asmoper \

oracle.install.asm.OSASM=asmadmin \

oracle.install.crs.config.storageOption=ASM_STORAGE \

oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=EXTERNAL \

oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=EXTERNAL \

oracle.install.crs.config.useIPMI=false \

oracle.install.asm.diskGroup.name=OCR \

oracle.install.asm.diskGroup.redundancy=EXTERNAL \

oracle.installer.autoupdates.option=SKIP_UPDATES \

oracle.install.crs.config.gpnp.scanPort=1521 \

oracle.install.crs.config.gpnp.configureGNS=false \

oracle.install.crs.config.autoConfigureClusterNodeVIP=false \

oracle.install.option=CRS_CONFIG \

oracle.install.crs.config.ClusterType=STANDARD \

oracle.install.asm.SYSASMPassword=lhr \

oracle.install.asm.monitorPassword=lhr \

oracle.install.config.managementOption=NONE \

oracle.install.crs.config.ignoreDownNodes=false \

oracle.install.asm.diskGroup.diskDiscoveryString=/dev/asm-disk* \

oracle.install.asm.diskGroup.disks=/dev/asm-diskc \

oracle.install.crs.config.gpnp.scanName=raclhr-12cR1-scan \

oracle.install.crs.config.clusterName=raclhr-cluster \

oracle.install.crs.config.clusterNodes=raclhr-12cr1-n1:raclhr-12cr1-n1-vip,raclhr-12cr1-n2:raclhr-12cr1-n2-vip \

oracle.install.crs.config.networkInterfaceList=eth0:192.168.59.0:1,eth1:192.168.2.0:2 \

ORACLE_HOSTNAME=raclhr-12cR1-N1

 

 

 

命令行模式执行静默安装,注意复制脚本的时候最后不能多加回车符号,当前窗口不要执行其他内容。\”后不能有空格。开始执行有点慢,需要修改的地方我已经用黄色背景标注了。若有其他错误可以采用-debug模式获取更多信息。

[grid@raclhr-12cR1-N1 grid]$

[grid@raclhr-12cR1-N1 grid]$ ./runInstaller -silent  -force -noconfig -IgnoreSysPreReqs -ignorePrereq  -showProgress \

> INVENTORY_LOCATION=/u01/app/oraInventory \

> SELECTED_LANGUAGES=en \

> ORACLE_BASE=/u01/app/grid \

> ORACLE_HOME=/u01/app/12.1.0/grid \

> oracle.install.asm.OSDBA=asmdba \

> oracle.install.asm.OSOPER=asmoper \

> oracle.install.asm.OSASM=asmadmin \

> oracle.install.crs.config.storageOption=ASM_STORAGE \

> oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=EXTERNAL \

> oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=EXTERNAL \

> oracle.install.crs.config.useIPMI=false \

> oracle.install.asm.diskGroup.name=OCR \

> oracle.install.asm.diskGroup.redundancy=EXTERNAL \

> oracle.installer.autoupdates.option=SKIP_UPDATES \

> oracle.install.crs.config.gpnp.scanPort=1521 \

> oracle.install.crs.config.gpnp.configureGNS=false \

> oracle.install.crs.config.autoConfigureClusterNodeVIP=false \

> oracle.install.option=CRS_CONFIG \

> oracle.install.crs.config.ClusterType=STANDARD \

> oracle.install.asm.SYSASMPassword=lhr \

> oracle.install.asm.monitorPassword=lhr \

> oracle.install.config.managementOption=NONE \

> oracle.install.crs.config.ignoreDownNodes=false \

> oracle.install.asm.diskGroup.diskDiscoveryString=/dev/asm* \

> oracle.install.asm.diskGroup.disks=/dev/asm-diskc \

> oracle.install.crs.config.gpnp.scanName=raclhr-12cR1-scan \

> oracle.install.crs.config.clusterName=raclhr-cluster \

> oracle.install.crs.config.clusterNodes=raclhr-12cr1-n1:raclhr-12cr1-n1-vip,raclhr-12cr1-n2:raclhr-12cr1-n2-vip \

> oracle.install.crs.config.networkInterfaceList=eth0:192.168.59.0:1,eth1:192.168.2.0:2 \

> ORACLE_HOSTNAME=raclhr-12cR1-N1

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than 415 MB.   Actual 2296 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 2047 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-01-17_03-43-37PM. Please wait ...[grid@raclhr-12cR1-N1 grid]$

[grid@raclhr-12cR1-N1 grid]$

[grid@raclhr-12cR1-N1 grid]$ [WARNING] [INS-30011] The SYS password entered does not conform to the Oracle recommended standards.

   CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].

   ACTION: Provide a password that conforms to the Oracle recommended standards.

[WARNING] [INS-30011] The ASMSNMP password entered does not conform to the Oracle recommended standards.

   CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].

   ACTION: Provide a password that conforms to the Oracle recommended standards.

[FATAL] [INS-32040] The central inventory location provided is not empty on remote nodes [raclhr-12cr1-n1].

   ACTION: Please provide another location for the inventory, or clean up the current location.

A log of this session is currently saved as: /tmp/OraInstall2017-01-17_03-43-37PM/installActions2017-01-17_03-43-37PM.log. Oracle recommends that if you want to keep this log, you should move it from the temporary location.

 

[grid@raclhr-12cR1-N1 grid]$

[grid@raclhr-12cR1-N1 grid]$

[grid@raclhr-12cR1-N1 grid]$

[grid@raclhr-12cR1-N1 grid]$

[grid@raclhr-12cR1-N1 grid]$

[grid@raclhr-12cR1-N1 grid]$ ./runInstaller -silent  -force -noconfig -IgnoreSysPreReqs -ignorePrereq  -showProgress \

> INVENTORY_LOCATION=/u01/app/oraInventory \

> SELECTED_LANGUAGES=en \

> ORACLE_BASE=/u01/app/grid \

> ORACLE_HOME=/u01/app/12.1.0/grid \

> oracle.install.asm.OSDBA=asmdba \

> oracle.install.asm.OSOPER=asmoper \

> oracle.install.asm.OSASM=asmadmin \

> oracle.install.crs.config.storageOption=ASM_STORAGE \

> oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=EXTERNAL \

> oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=EXTERNAL \

> oracle.install.crs.config.useIPMI=false \

> oracle.install.asm.diskGroup.name=OCR \

> oracle.install.asm.diskGroup.redundancy=EXTERNAL \

> oracle.installer.autoupdates.option=SKIP_UPDATES \

> oracle.install.crs.config.gpnp.scanPort=1521 \

> oracle.install.crs.config.gpnp.configureGNS=false \

> oracle.install.crs.config.autoConfigureClusterNodeVIP=false \

> oracle.install.option=CRS_CONFIG \

> oracle.install.crs.config.ClusterType=STANDARD \

> oracle.install.asm.SYSASMPassword=lhr \

> oracle.install.asm.monitorPassword=lhr \

> oracle.install.config.managementOption=NONE \

> oracle.install.crs.config.ignoreDownNodes=false \

> oracle.install.asm.diskGroup.diskDiscoveryString=/dev/asm* \

> oracle.install.asm.diskGroup.disks=/dev/asm-diskc \

> oracle.install.crs.config.gpnp.scanName=raclhr-12cR1-scan \

> oracle.install.crs.config.clusterName=raclhr-cluster \

> oracle.install.crs.config.clusterNodes=raclhr-12cr1-n1:raclhr-12cr1-n1-vip,raclhr-12cr1-n2:raclhr-12cr1-n2-vip \

> oracle.install.crs.config.networkInterfaceList=eth0:192.168.59.0:1,eth1:192.168.2.0:2 \

> ORACLE_HOSTNAME=raclhr-12cR1-N1

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than 415 MB.   Actual 2296 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 2047 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-01-17_03-47-29PM. Please wait ...[grid@raclhr-12cR1-N1 grid]$ [WARNING] [INS-30011] The SYS password entered does not conform to the Oracle recommended standards.

   CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].

   ACTION: Provide a password that conforms to the Oracle recommended standards.

[WARNING] [INS-30011] The ASMSNMP password entered does not conform to the Oracle recommended standards.

   CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9].

   ACTION: Provide a password that conforms to the Oracle recommended standards.

You can find the log of this install session at:

/u01/app/oraInventory/logs/installActions2017-01-17_03-47-29PM.log

 

Prepare in progress.

..................................................   7% Done.

 

Prepare successful.

 

Copy files in progress.

..................................................   14% Done.

..................................................   19% Done.

..................................................   25% Done.

..................................................   30% Done.

..................................................   35% Done.

..................................................   40% Done.

....................

Copy files successful.

 

Link binaries in progress.

..........

Link binaries successful.

..................................................   51% Done.

 

Setup files in progress.

 

Setup files successful.

..................................................   56% Done.

 

Setup Inventory in progress.

 

Setup Inventory successful.

..................................................   62% Done.

 

Finish Setup successful.

 

Perform remote operations in progress.

 

Perform remote operations successful.

..................................................   68% Done.

 

Saving Cluster Inventory in progress.

..................................................   73% Done.

 

Saving Cluster Inventory successful.

The installation of Oracle Grid Infrastructure 12c was successful.

Please check '/u01/app/oraInventory/logs/silentInstall2017-01-17_03-47-29PM.log' for more details.

 

Setup Oracle Base in progress.

 

Setup Oracle Base successful.

..................................................   82% Done.

 

Prepare for configuration steps in progress.

 

Prepare for configuration steps successful.

..........

Update Inventory in progress.

 

Update Inventory successful.

..................................................   95% Done.

 

As a root user, execute the following script(s):

        1. /u01/app/12.1.0/grid/root.sh

 

Execute /u01/app/12.1.0/grid/root.sh on the following nodes:

[raclhr-12cR1-N1, raclhr-12cr1-n2]

 

Run the script on the local node first. After successful completion, you can start the script in parallel on all other nodes.

 

..................................................   100% Done.

Successfully Setup Software.

As install user, execute the following script to complete the configuration.

        1. /u01/app/12.1.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=<response_file>

 

        Note:

        1. This script must be run on the same host from where installer was run.

        2. This script needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation).

 

 

根据提示,首先在2个节点上执行root.sh脚本,然后执行在执行静默安装的节点上执行configToolAllCommands脚本,这个是12c新增的。

一、 root.sh脚本

root.sh脚本日志地址:$ORACLE_HOME/cfgtoollogs/crsconfig/rootcrs_raclhr-12cr1-n1_2017-01-17_05-14-37PM.log

root用户在节点1执行root.sh脚本:

[root@raclhr-12cR1-N1 ~]# /u01/app/12.1.0/grid/root.sh

Check /u01/app/12.1.0/grid/install/root_raclhr-12cR1-N1_2017-01-17_16-14-23.log for the output of root script

 

 

 

 

 

在执行脚本的过程中,可以执行命令 crsctl stat res -t -init来查看执行过程。再开一个窗口,查看日志:

[root@raclhr-12cR1-N1 ~]# tail -f  /u01/app/12.1.0/grid/install/root_raclhr-12cR1-N1_2017-01-17_16-14-23.log

Performing root user operation.

 

The following environment variables are set as:

    ORACLE_OWNER= grid

    ORACLE_HOME=  /u01/app/12.1.0/grid

   Copying dbhome to /usr/local/bin ...

   Copying oraenv to /usr/local/bin ...

   Copying coraenv to /usr/local/bin ...

 

 

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /u01/app/12.1.0/grid/crs/install/crsconfig_params

2017/01/17 16:14:25 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.

 

2017/01/17 16:14:49 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

 

2017/01/17 16:14:50 CLSRSC-363: User ignored prerequisites during installation

 

OLR initialization - successful

  root wallet

  root wallet cert

  root cert export

  peer wallet

  profile reader wallet

  pa wallet

  peer wallet keys

  pa wallet keys

  peer cert request

  pa cert request

  peer cert

  pa cert

  peer root cert TP

  profile reader root cert TP

  pa root cert TP

  peer pa cert TP

  pa peer cert TP

  profile reader pa cert TP

  profile reader peer cert TP

  peer user cert

  pa user cert

2017/01/17 16:15:26 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf'

 

CRS-4133: Oracle High Availability Services has been stopped.

CRS-4123: Oracle High Availability Services has been started.

CRS-4133: Oracle High Availability Services has been stopped.

CRS-4123: Oracle High Availability Services has been started.

CRS-2672: Attempting to start 'ora.evmd' on 'raclhr-12cr1-n1'

CRS-2672: Attempting to start 'ora.mdnsd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.evmd' on 'raclhr-12cr1-n1' succeeded

CRS-2676: Start of 'ora.mdnsd' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.gpnpd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.gpnpd' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'raclhr-12cr1-n1'

CRS-2672: Attempting to start 'ora.gipcd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.cssdmonitor' on 'raclhr-12cr1-n1' succeeded

CRS-2676: Start of 'ora.gipcd' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.cssd' on 'raclhr-12cr1-n1'

CRS-2672: Attempting to start 'ora.diskmon' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.diskmon' on 'raclhr-12cr1-n1' succeeded

CRS-2676: Start of 'ora.cssd' on 'raclhr-12cr1-n1' succeeded

 

ASM created and started successfully.

 

Disk Group OCR created successfully.

 

CRS-2672: Attempting to start 'ora.crf' on 'raclhr-12cr1-n1'

CRS-2672: Attempting to start 'ora.storage' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.storage' on 'raclhr-12cr1-n1' succeeded

CRS-2676: Start of 'ora.crf' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.crsd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.crsd' on 'raclhr-12cr1-n1' succeeded

CRS-4256: Updating the profile

Successful addition of voting disk e349e92fe5c84f30bf7efc450b43a810.

Successfully replaced voting disk group with +OCR.

CRS-4256: Updating the profile

CRS-4266: Voting file(s) successfully replaced

##  STATE    File Universal Id                File Name Disk group

--  -----    -----------------                --------- ---------

1. ONLINE   e349e92fe5c84f30bf7efc450b43a810 (/dev/asm-diskc) [OCR]

Located 1 voting disk(s).

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'raclhr-12cr1-n1'

CRS-2673: Attempting to stop 'ora.crsd' on 'raclhr-12cr1-n1'

CRS-2677: Stop of 'ora.crsd' on 'raclhr-12cr1-n1' succeeded

CRS-2673: Attempting to stop 'ora.storage' on 'raclhr-12cr1-n1'

CRS-2673: Attempting to stop 'ora.mdnsd' on 'raclhr-12cr1-n1'

CRS-2673: Attempting to stop 'ora.gpnpd' on 'raclhr-12cr1-n1'

CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'raclhr-12cr1-n1'

CRS-2677: Stop of 'ora.storage' on 'raclhr-12cr1-n1' succeeded

CRS-2677: Stop of 'ora.drivers.acfs' on 'raclhr-12cr1-n1' succeeded

CRS-2673: Attempting to stop 'ora.crf' on 'raclhr-12cr1-n1'

CRS-2673: Attempting to stop 'ora.ctssd' on 'raclhr-12cr1-n1'

CRS-2673: Attempting to stop 'ora.evmd' on 'raclhr-12cr1-n1'

CRS-2673: Attempting to stop 'ora.asm' on 'raclhr-12cr1-n1'

CRS-2677: Stop of 'ora.mdnsd' on 'raclhr-12cr1-n1' succeeded

CRS-2677: Stop of 'ora.gpnpd' on 'raclhr-12cr1-n1' succeeded

CRS-2677: Stop of 'ora.evmd' on 'raclhr-12cr1-n1' succeeded

CRS-2677: Stop of 'ora.crf' on 'raclhr-12cr1-n1' succeeded

CRS-2677: Stop of 'ora.ctssd' on 'raclhr-12cr1-n1' succeeded

CRS-2677: Stop of 'ora.asm' on 'raclhr-12cr1-n1' succeeded

CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'raclhr-12cr1-n1'

CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'raclhr-12cr1-n1' succeeded

CRS-2673: Attempting to stop 'ora.cssd' on 'raclhr-12cr1-n1'

CRS-2677: Stop of 'ora.cssd' on 'raclhr-12cr1-n1' succeeded

CRS-2673: Attempting to stop 'ora.gipcd' on 'raclhr-12cr1-n1'

CRS-2677: Stop of 'ora.gipcd' on 'raclhr-12cr1-n1' succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'raclhr-12cr1-n1' has completed

CRS-4133: Oracle High Availability Services has been stopped.

CRS-4123: Starting Oracle High Availability Services-managed resources

CRS-2672: Attempting to start 'ora.mdnsd' on 'raclhr-12cr1-n1'

CRS-2672: Attempting to start 'ora.evmd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.mdnsd' on 'raclhr-12cr1-n1' succeeded

CRS-2676: Start of 'ora.evmd' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.gpnpd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.gpnpd' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.gipcd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.gipcd' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.cssdmonitor' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.cssd' on 'raclhr-12cr1-n1'

CRS-2672: Attempting to start 'ora.diskmon' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.diskmon' on 'raclhr-12cr1-n1' succeeded

CRS-2676: Start of 'ora.cssd' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'raclhr-12cr1-n1'

CRS-2672: Attempting to start 'ora.ctssd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.ctssd' on 'raclhr-12cr1-n1' succeeded

CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.asm' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.asm' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.storage' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.storage' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.crf' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.crf' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.crsd' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.crsd' on 'raclhr-12cr1-n1' succeeded

CRS-6023: Starting Oracle Cluster Ready Services-managed resources

CRS-6017: Processing resource auto-start for servers: raclhr-12cr1-n1

CRS-6016: Resource auto-start has completed for server raclhr-12cr1-n1

CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources

CRS-4123: Oracle High Availability Services has been started.

2017/01/17 16:20:36 CLSRSC-343: Successfully started Oracle Clusterware stack

 

CRS-2672: Attempting to start 'ora.asm' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.asm' on 'raclhr-12cr1-n1' succeeded

CRS-2672: Attempting to start 'ora.OCR.dg' on 'raclhr-12cr1-n1'

CRS-2676: Start of 'ora.OCR.dg' on 'raclhr-12cr1-n1' succeeded

2017/01/17 16:21:45 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

 

 

 

节点2上执行:

[root@raclhr-12cR1-N2 ~]# /u01/app/12.1.0/grid/root.sh

Check /u01/app/12.1.0/grid/install/root_raclhr-12cR1-N2_2017-01-17_16-23-08.log for the output of root script

 

 

 

 

 

重开一个窗口并查看日志:

[grid@raclhr-12cR1-N2 ~]$ tail -2000f  /u01/app/12.1.0/grid/install/root_raclhr-12cR1-N2_2017-01-17_16-23-08.log

Performing root user operation.

 

The following environment variables are set as:

    ORACLE_OWNER= grid

    ORACLE_HOME=  /u01/app/12.1.0/grid

   Copying dbhome to /usr/local/bin ...

   Copying oraenv to /usr/local/bin ...

   Copying coraenv to /usr/local/bin ...

 

 

Creating /etc/oratab file...

Entries will be added to the /etc/oratab file as needed by

Database Configuration Assistant when a database is created

Finished running generic part of root script.

Now product-specific root actions will be performed.

Using configuration parameter file: /u01/app/12.1.0/grid/crs/install/crsconfig_params

2017/01/17 16:23:11 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.

 

2017/01/17 16:23:53 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.

 

2017/01/17 16:23:54 CLSRSC-363: User ignored prerequisites during installation

 

OLR initialization - successful

2017/01/17 16:25:13 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.conf'

 

CRS-4133: Oracle High Availability Services has been stopped.

CRS-4123: Oracle High Availability Services has been started.

CRS-4133: Oracle High Availability Services has been stopped.

CRS-4123: Oracle High Availability Services has been started.

CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'raclhr-12cr1-n2'

CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'raclhr-12cr1-n2'

CRS-2677: Stop of 'ora.drivers.acfs' on 'raclhr-12cr1-n2' succeeded

CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'raclhr-12cr1-n2' has completed

CRS-4133: Oracle High Availability Services has been stopped.

CRS-4123: Starting Oracle High Availability Services-managed resources

CRS-2672: Attempting to start 'ora.mdnsd' on 'raclhr-12cr1-n2'

CRS-2672: Attempting to start 'ora.evmd' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.mdnsd' on 'raclhr-12cr1-n2' succeeded

CRS-2676: Start of 'ora.evmd' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.gpnpd' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.gpnpd' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.gipcd' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.gipcd' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.cssdmonitor' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.cssdmonitor' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.cssd' on 'raclhr-12cr1-n2'

CRS-2672: Attempting to start 'ora.diskmon' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.diskmon' on 'raclhr-12cr1-n2' succeeded

CRS-2676: Start of 'ora.cssd' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'raclhr-12cr1-n2'

CRS-2672: Attempting to start 'ora.ctssd' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.ctssd' on 'raclhr-12cr1-n2' succeeded

CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.asm' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.asm' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.storage' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.storage' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.crf' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.crf' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.crsd' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.crsd' on 'raclhr-12cr1-n2' succeeded

CRS-6017: Processing resource auto-start for servers: raclhr-12cr1-n2

CRS-2672: Attempting to start 'ora.net1.network' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.net1.network' on 'raclhr-12cr1-n2' succeeded

CRS-2672: Attempting to start 'ora.ons' on 'raclhr-12cr1-n2'

CRS-2676: Start of 'ora.ons' on 'raclhr-12cr1-n2' succeeded

CRS-6016: Resource auto-start has completed for server raclhr-12cr1-n2

CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources

CRS-4123: Oracle High Availability Services has been started.

2017/01/17 16:29:01 CLSRSC-343: Successfully started Oracle Clusterware stack

 

2017/01/17 16:29:17 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

 

 

 

校验:

[grid@raclhr-12cR1-N1 admin]$ crsctl stat res -t

--------------------------------------------------------------------------------

Name           Target  State        Server                   State details      

--------------------------------------------------------------------------------

Local Resources

--------------------------------------------------------------------------------

ora.LISTENER.lsnr

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.OCR.dg

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.asm

               ONLINE  ONLINE       raclhr-12cr1-n1          Started,STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          Started,STABLE

ora.net1.network

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.ons

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

--------------------------------------------------------------------------------

Cluster Resources

--------------------------------------------------------------------------------

ora.LISTENER_SCAN1.lsnr

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.MGMTLSNR

      1        OFFLINE OFFLINE                               STABLE

ora.cvu

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.oc4j

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.raclhr-12cr1-n1.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.raclhr-12cr1-n2.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.scan1.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

--------------------------------------------------------------------------------

[grid@raclhr-12cR1-N1 admin]$

 

 

二、 configToolAllCommands脚本

关于该部分可参考:http://blog.itpub.net/26736162/viewspace-2129161/。该脚本执行完毕会创建一个sid为-MGMTDBgdbName_mgmtdb的单实例容器数据库(从日志可以找到相关命令:/u01/app/12.1.0/grid/bin/dbca  -silent -createDatabase -createAsContainerDatabase true -templateName MGMTSeed_Database.dbc -sid -MGMTDB -gdbName _mgmtdb -storageType ASM -diskGroupName OCR -datafileJarLocation /u01/app/12.1.0/grid/assistants/dbca/templates -characterset AL32UTF8 -autoGeneratePasswords -skipUserTemplateCheck   -oui_internal)该数据库属于grid用户。

/u01/app/12.1.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=/home/grid/cfgrsp.properties

 

根据官方文档内容,安装GRID可以配置如下的信息:

oracle.assistants.asm|S_ASMPASSWORD=password

oracle.assistants.asm|S_ASMMONITORPASSWORD=password

oracle.crs|S_BMCPASSWORD=password

 

grid用户在节点1上执行(准确来说应该在执行静默安装的节点上执行,且节点2上不需要执行):

[grid@raclhr-12cR1-N1 ~]$ more  /home/grid/cfgrsp.properties

oracle.assistants.asm|S_ASMPASSWORD=lhr

oracle.assistants.asm|S_ASMMONITORPASSWORD=lhr

oracle.crs|S_BMCPASSWORD=lhr

[grid@raclhr-12cR1-N1 ~]$ /u01/app/12.1.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=/home/grid/cfgrsp.properties

[grid@raclhr-12cR1-N1 admin]$ /u01/app/12.1.0/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=/home/grid/cfgrsp.properties

Setting the invPtrLoc to /u01/app/12.1.0/grid/oraInst.loc

 

perform - mode is starting for action: configure

 

Jan 17, 2017 5:29:39 PM oracle.install.driver.oui.UpdateNodelistJob call

INFO: UpdateNodelist data:

Jan 17, 2017 5:29:39 PM oracle.install.driver.oui.UpdateNodelistJob call

INFO: oracle.installer.oui_loc:/u01/app/12.1.0/grid/oui

Jan 17, 2017 5:29:39 PM oracle.install.driver.oui.UpdateNodelistJob call

INFO: oracle.installer.jre_loc:/u01/app/12.1.0/grid/jdk/jre

Jan 17, 2017 5:29:39 PM oracle.install.driver.oui.UpdateNodelistJob call

INFO: oracle.installer.doNotUpdateNodeList:true

Jan 17, 2017 5:29:39 PM oracle.install.driver.oui.UpdateNodelistJob call

INFO: oracle.installer.rootOwnedHome:

Jan 17, 2017 5:29:39 PM oracle.install.driver.oui.UpdateNodelistJob call

INFO: OracleHomeToUpdate:/u01/app/12.1.0/grid;isCRS:true;isCFS:false;isLocal:false

Jan 17, 2017 5:29:39 PM oracle.install.driver.oui.UpdateNodelistJob call

INFO: From map: Hosts:[raclhr-12cr1-n1, raclhr-12cr1-n2] => Nodelist:[raclhr-12cr1-n1, raclhr-12cr1-n2]

Jan 17, 2017 5:29:39 PM oracle.install.driver.oui.UpdateNodelistJob call

INFO: Before calling api: Hosts:[raclhr-12cr1-n1, raclhr-12cr1-n2] => Nodelist:[raclhr-12cr1-n1, raclhr-12cr1-n2], update localnode? true

Jan 17, 2017 5:30:31 PM oracle.install.config.common.NetCAInternalPlugIn invoke

INFO: NetCAInternalPlugIn: ... adding </ouiinternal>

Jan 17, 2017 5:30:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn invoke

INFO: Executing NETCA

Jan 17, 2017 5:30:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn invoke

INFO: Command /u01/app/12.1.0/grid/bin/netca /orahome /u01/app/12.1.0/grid /orahnam OraGI12Home1 /instype typical /inscomp client,oraclenet,javavm,server,ano /insprtcl tcp /cfg local /authadp NO_VALUE /responseFile /u01/app/12.1.0/grid/network/install/netca_typ.rsp /silent  /silent   /ouiinternal 

Jan 17, 2017 5:30:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn.handleProcess() entered.

Jan 17, 2017 5:30:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: getting configAssistantParmas.

Jan 17, 2017 5:30:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: checking secretArguments.

Jan 17, 2017 5:30:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: No arguments to pass to stdin

Jan 17, 2017 5:30:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: starting read loop.

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: End of argument passing to stdin

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Parsing command line arguments:

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Parsing command line arguments:

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "orahome" = /u01/app/12.1.0/grid

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "orahome" = /u01/app/12.1.0/grid

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "orahnam" = OraGI12Home1

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "orahnam" = OraGI12Home1

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "instype" = typical

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "instype" = typical

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "inscomp" = client,oraclenet,javavm,server,ano

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "inscomp" = client,oraclenet,javavm,server,ano

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "insprtcl" = tcp

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "insprtcl" = tcp

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "cfg" = local

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "cfg" = local

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "authadp" = NO_VALUE

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "authadp" = NO_VALUE

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "responsefile" = /u01/app/12.1.0/grid/network/install/netca_typ.rsp

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "responsefile" = /u01/app/12.1.0/grid/network/install/netca_typ.rsp

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "silent" = true

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "silent" = true

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "silent" = true

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "silent" = true

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:     Parameter "ouiinternal" = true

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:     Parameter "ouiinternal" = true

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Done parsing command line arguments.

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Done parsing command line arguments.

Jan 17, 2017 5:30:35 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:37 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Oracle Net Services Configuration:

Jan 17, 2017 5:30:37 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Oracle Net Services Configuration:

Jan 17, 2017 5:30:37 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Profile configuration complete.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Profile configuration complete.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Profile configuration complete.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Profile configuration complete.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Listener "LISTENER" already exists.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Listener "LISTENER" already exists.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Oracle Net Services configuration successful. The exit code is 0

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Oracle Net Services configuration successful. The exit code is 0

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn invoke

INFO: Executing ASMCA

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn invoke

INFO: Command /u01/app/12.1.0/grid/bin/asmca -silent -postConfigureASM -oui_internal 

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn.handleProcess() entered.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: getting configAssistantParmas.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: checking secretArguments.

Jan 17, 2017 5:30:39 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: starting read loop.

Jan 17, 2017 5:30:44 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: SYS_PASSWORD_PROMPT

Jan 17, 2017 5:30:44 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Processing: SYS_PASSWORD_PROMPT for argument tag -sysAsmPassword

Jan 17, 2017 5:30:44 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: ASMSNMP_PASSWORD_PROMPT

Jan 17, 2017 5:30:44 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Processing: ASMSNMP_PASSWORD_PROMPT for argument tag -asmMonitorPassword

Jan 17, 2017 5:30:44 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: End of argument passing to stdin

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:3 Total args:2

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: PostConfiguration completed successfully

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: PostConfiguration completed successfully

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:3 Total args:2

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read:

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line:

Jan 17, 2017 5:30:47 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:3 Total args:2

Jan 17, 2017 5:30:48 PM oracle.install.config.crs.MgmtDBCDBInternalPlugIn invoke

INFO: MgmtDBCDBInternalPlugin: ... adding </oui_internal>

Jan 17, 2017 5:30:48 PM oracle.install.driver.oui.config.GenericInternalPlugIn invoke

INFO: Executing MGMTDBCDB

Jan 17, 2017 5:30:48 PM oracle.install.driver.oui.config.GenericInternalPlugIn invoke

INFO: Command /u01/app/12.1.0/grid/bin/dbca  -silent -createDatabase -createAsContainerDatabase true -templateName MGMTSeed_Database.dbc -sid -MGMTDB -gdbName _mgmtdb -storageType ASM -diskGroupName OCR -datafileJarLocation /u01/app/12.1.0/grid/assistants/dbca/templates -characterset AL32UTF8 -autoGeneratePasswords -skipUserTemplateCheck   -oui_internal

Jan 17, 2017 5:30:48 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn.handleProcess() entered.

Jan 17, 2017 5:30:48 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: getting configAssistantParmas.

Jan 17, 2017 5:30:48 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: checking secretArguments.

Jan 17, 2017 5:30:48 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: No arguments to pass to stdin

Jan 17, 2017 5:30:48 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: starting read loop.

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Cleaning up failed steps

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Cleaning up failed steps

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: End of argument passing to stdin

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 5% complete

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 5% complete

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Registering database with Oracle Grid Infrastructure

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Registering database with Oracle Grid Infrastructure

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 11% complete

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 11% complete

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Copying database files

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Copying database files

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 12% complete

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 12% complete

Jan 17, 2017 5:30:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:31:10 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 14% complete

Jan 17, 2017 5:31:10 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 14% complete

Jan 17, 2017 5:31:10 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:31:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 21% complete

Jan 17, 2017 5:31:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 21% complete

Jan 17, 2017 5:31:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:31:21 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 27% complete

Jan 17, 2017 5:31:21 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 27% complete

Jan 17, 2017 5:31:21 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:31:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 34% complete

Jan 17, 2017 5:31:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 34% complete

Jan 17, 2017 5:31:31 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:31:41 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 41% complete

Jan 17, 2017 5:31:41 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 41% complete

Jan 17, 2017 5:31:41 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:32:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 44% complete

Jan 17, 2017 5:32:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 44% complete

Jan 17, 2017 5:32:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:32:12 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Creating and starting Oracle instance

Jan 17, 2017 5:32:12 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Creating and starting Oracle instance

Jan 17, 2017 5:32:12 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:32:49 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 46% complete

Jan 17, 2017 5:32:49 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 46% complete

Jan 17, 2017 5:32:49 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:33:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 51% complete

Jan 17, 2017 5:33:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 51% complete

Jan 17, 2017 5:33:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:33:45 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 52% complete

Jan 17, 2017 5:33:45 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 52% complete

Jan 17, 2017 5:33:45 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:33:59 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 53% complete

Jan 17, 2017 5:33:59 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 53% complete

Jan 17, 2017 5:33:59 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:34:55 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 58% complete

Jan 17, 2017 5:34:55 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 58% complete

Jan 17, 2017 5:34:55 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:34:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 62% complete

Jan 17, 2017 5:34:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 62% complete

Jan 17, 2017 5:34:56 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:36:09 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 63% complete

Jan 17, 2017 5:36:09 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 63% complete

Jan 17, 2017 5:36:09 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 66% complete

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 66% complete

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Completing Database Creation

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Completing Database Creation

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 70% complete

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 70% complete

Jan 17, 2017 5:36:11 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:36:13 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 80% complete

Jan 17, 2017 5:36:13 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 80% complete

Jan 17, 2017 5:36:13 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:39:15 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 90% complete

Jan 17, 2017 5:39:15 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 90% complete

Jan 17, 2017 5:39:15 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:39:15 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 100% complete

Jan 17, 2017 5:39:15 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 100% complete

Jan 17, 2017 5:39:15 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:39:16 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Look at the log file "/u01/app/grid/cfgtoollogs/dbca/_mgmtdb/_mgmtdb0.log" for further details.

Jan 17, 2017 5:39:16 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Look at the log file "/u01/app/grid/cfgtoollogs/dbca/_mgmtdb/_mgmtdb0.log" for further details.

Jan 17, 2017 5:39:16 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:39:17 PM oracle.install.config.crs.MgmtDBPDBInternalPlugIn invoke

INFO: MgmtDBPDBInternalPlugin: ... adding </oui_internal>

Jan 17, 2017 5:39:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn invoke

INFO: Executing MGMTDBPDB

Jan 17, 2017 5:39:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn invoke

INFO: Command /u01/app/12.1.0/grid/bin/dbca  -silent -createPluggableDatabase -sourceDB -MGMTDB -pdbName raclhr_cluster -createPDBFrom RMANBACKUP -PDBBackUpfile /u01/app/12.1.0/grid/assistants/dbca/templates/mgmtseed_pdb.dfb -PDBMetadataFile /u01/app/12.1.0/grid/assistants/dbca/templates/mgmtseed_pdb.xml -createAsClone true -internalSkipGIHomeCheck -oui_internal

Jan 17, 2017 5:39:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn.handleProcess() entered.

Jan 17, 2017 5:39:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: getting configAssistantParmas.

Jan 17, 2017 5:39:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: checking secretArguments.

Jan 17, 2017 5:39:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: No arguments to pass to stdin

Jan 17, 2017 5:39:17 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: ... GenericInternalPlugIn: starting read loop.

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Creating Pluggable Database

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Creating Pluggable Database

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: End of argument passing to stdin

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 4% complete

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 4% complete

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 12% complete

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 12% complete

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 21% complete

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 21% complete

Jan 17, 2017 5:39:38 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:40:46 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 38% complete

Jan 17, 2017 5:40:46 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 38% complete

Jan 17, 2017 5:40:46 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:40:52 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 55% complete

Jan 17, 2017 5:40:52 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 55% complete

Jan 17, 2017 5:40:52 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:41:08 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 85% complete

Jan 17, 2017 5:41:08 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 85% complete

Jan 17, 2017 5:41:08 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:41:08 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Completing Pluggable Database Creation

Jan 17, 2017 5:41:08 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Completing Pluggable Database Creation

Jan 17, 2017 5:41:08 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:42:04 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: 100% complete

Jan 17, 2017 5:42:04 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: 100% complete

Jan 17, 2017 5:42:04 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

Jan 17, 2017 5:42:04 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Read: Look at the log file "/u01/app/grid/cfgtoollogs/dbca/_mgmtdb/raclhr_cluster/_mgmtdb.log" for further details.

Jan 17, 2017 5:42:04 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

WARNING: Skipping line: Look at the log file "/u01/app/grid/cfgtoollogs/dbca/_mgmtdb/raclhr_cluster/_mgmtdb.log" for further details.

Jan 17, 2017 5:42:04 PM oracle.install.driver.oui.config.GenericInternalPlugIn handleProcess

INFO: Exceeded the number of arguments passed to stdin. CurrentCount:1 Total args:0

 

perform - mode finished for action: configure

 

You can see the log file: /u01/app/12.1.0/grid/cfgtoollogs/oui/configActions2017-01-17_05-29-38-PM.log

[grid@raclhr-12cR1-N1 admin]$

[grid@raclhr-12cR1-N1 admin]$

 

 

 

创建-MGMTDB容器库的日志路径:

[root@raclhr-12cR1-N1 crsconfig]# cd /u01/app/grid/cfgtoollogs/dbca/

[root@raclhr-12cR1-N1 dbca]# ll

total 8

drwxr-x--- 2 grid oinstall 4096 Jan 17 17:32 _mgmtdb

-rw-r----- 1 grid oinstall  545 Jan 17 17:33 silent.log_2017-01-17_05-30-51-PM

[root@raclhr-12cR1-N1 dbca]#

 

 

该脚本执行完毕后:

[grid@raclhr-12cR1-N1 admin]$ crsctl stat res -t

--------------------------------------------------------------------------------

Name           Target  State        Server                   State details      

--------------------------------------------------------------------------------

Local Resources

--------------------------------------------------------------------------------

ora.LISTENER.lsnr

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.OCR.dg

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.asm

               ONLINE  ONLINE       raclhr-12cr1-n1          Started,STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          Started,STABLE

ora.net1.network

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.ons

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

--------------------------------------------------------------------------------

Cluster Resources

--------------------------------------------------------------------------------

ora.LISTENER_SCAN1.lsnr

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.MGMTLSNR

      1        ONLINE  ONLINE       raclhr-12cr1-n1          169.254.20.104 192.1

                                                             68.2.100,STABLE

ora.cvu

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.mgmtdb

      1        ONLINE  ONLINE       raclhr-12cr1-n1          Open,STABLE

ora.oc4j

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.raclhr-12cr1-n1.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.raclhr-12cr1-n2.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.scan1.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

--------------------------------------------------------------------------------

[grid@raclhr-12cR1-N1 admin]$

 

 

1.1.2  静默安装database

首先通过如下的命令进行检查环境配置:

/soft/grid/runcluvfy.sh stage -pre dbinst -n  raclhr-12cR1-N1,raclhr-12cR1-N2 -verbose -fixup

 

1.1.2.1  静默安装DB软件

./runInstaller -silent  -force -noconfig -IgnoreSysPreReqs -ignorePrereq  -showProgress \

oracle.install.option=INSTALL_DB_SWONLY \

DECLINE_SECURITY_UPDATES=true \

UNIX_GROUP_NAME=oinstall \

INVENTORY_LOCATION=/u01/app/oraInventory \

SELECTED_LANGUAGES=en \

oracle.install.db.InstallEdition=EE \

oracle.install.db.isCustomInstall=false \

oracle.install.db.EEOptionsSelection=false \

oracle.install.db.DBA_GROUP=dba \

oracle.install.db.OPER_GROUP=asmoper \

oracle.install.db.isRACOneInstall=false \

oracle.install.db.BACKUPDBA_GROUP=dba \

oracle.install.db.DGDBA_GROUP=dba \

oracle.install.db.KMDBA_GROUP=dba \

oracle.install.db.rac.serverpoolCardinality=0 \

oracle.install.db.ConfigureAsContainerDB=false \

oracle.install.db.config.starterdb.memoryOption=false \

oracle.install.db.config.starterdb.installExampleSchemas=true \

oracle.install.db.config.starterdb.managementOption=DEFAULT \

oracle.install.db.config.starterdb.enableRecovery=false \

oracle.install.db.config.starterdb.type=GENERAL_PURPOSE \

SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \

oracle.installer.autoupdates.option=SKIP_UPDATES \

ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1 \

ORACLE_BASE=/u01/app/oracle \

oracle.install.db.CLUSTER_NODES=raclhr-12cr1-n1,raclhr-12cr1-n2 \

ORACLE_HOSTNAME=raclhr-12cR1-N1

命令行模式执行静默安装,注意复制脚本的时候最后不能多加回车符号,当前窗口不要执行其他内容。\”后不能有空格。开始执行有点慢,需要修改的地方我已经用黄色背景标注了。若有其他错误可以采用-debug模式获取更多信息。

[oracle@raclhr-12cR1-N1 ~]$ cd /soft/database/

[oracle@raclhr-12cR1-N1 database]$ ll

total 72

drwxr-xr-x  4 root root  4096 Jan 16 17:04 install

-rwxr-xr-x  1 root root 34132 Jul 11  2014 readme.html

drwxrwxr-x  2 root root  4096 Jul  7  2014 response

drwxr-xr-x  2 root root  4096 Jul  7  2014 rpm

-rwxr-xr-x  1 root root  8533 Jul  7  2014 runInstaller

drwxrwxr-x  2 root root  4096 Jul  7  2014 sshsetup

drwxr-xr-x 14 root root  4096 Jul  7  2014 stage

-rwxr-xr-x  1 root root   500 Feb  7  2013 welcome.html

[oracle@raclhr-12cR1-N1 database]$ ./runInstaller -silent  -force -noconfig -IgnoreSysPreReqs -ignorePrereq  -showProgress \

> oracle.install.option=INSTALL_DB_SWONLY \

> DECLINE_SECURITY_UPDATES=true \

> UNIX_GROUP_NAME=oinstall \

> INVENTORY_LOCATION=/u01/app/oraInventory \

> SELECTED_LANGUAGES=en \

> oracle.install.db.InstallEdition=EE \

> oracle.install.db.isCustomInstall=false \

> oracle.install.db.EEOptionsSelection=false \

> oracle.install.db.DBA_GROUP=dba \

> oracle.install.db.OPER_GROUP=asmoper \

> oracle.install.db.isRACOneInstall=false \

> oracle.install.db.BACKUPDBA_GROUP=dba \

> oracle.install.db.DGDBA_GROUP=dba \

> oracle.install.db.KMDBA_GROUP=dba \

> oracle.install.db.rac.serverpoolCardinality=0 \

> oracle.install.db.ConfigureAsContainerDB=false \

> oracle.install.db.config.starterdb.memoryOption=false \

> oracle.install.db.config.starterdb.installExampleSchemas=true \

> oracle.install.db.config.starterdb.managementOption=DEFAULT \

> oracle.install.db.config.starterdb.enableRecovery=false \

> oracle.install.db.config.starterdb.type=GENERAL_PURPOSE \

> SECURITY_UPDATES_VIA_MYORACLESUPPORT=false \

> oracle.installer.autoupdates.option=SKIP_UPDATES \

> ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1 \

> ORACLE_BASE=/u01/app/oracle \

> oracle.install.db.CLUSTER_NODES=raclhr-12cr1-n1,raclhr-12cr1-n2 \

> ORACLE_HOSTNAME=raclhr-12cR1-N1

Starting Oracle Universal Installer...

 

Checking Temp space: must be greater than 500 MB.   Actual 2287 MB    Passed

Checking swap space: must be greater than 150 MB.   Actual 1785 MB    Passed

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2017-01-17_09-38-20PM. Please wait ...[oracle@raclhr-12cR1-N1 database]$

[oracle@raclhr-12cR1-N1 database]$

[oracle@raclhr-12cR1-N1 database]$

[oracle@raclhr-12cR1-N1 database]$

[oracle@raclhr-12cR1-N1 database]$ You can find the log of this install session at:

/u01/app/oraInventory/logs/installActions2017-01-17_09-38-20PM.log

 

Prepare in progress.

..................................................   8% Done.

 

Prepare successful.

 

Copy files in progress.

..................................................   13% Done.

..................................................   18% Done.

..................................................   23% Done.

..................................................   28% Done.

..................................................   33% Done.

..................................................   38% Done.

..................................................   43% Done.

..........

Copy files successful.

 

Link binaries in progress.

..........

Link binaries successful.

..................................................   53% Done.

 

Setup files in progress.

 

Setup files successful.

..................................................   59% Done.

 

Setup Inventory in progress.

 

Setup Inventory successful.

..................................................   65% Done.

 

Finish Setup successful.

 

Perform remote operations in progress.

 

Perform remote operations successful.

..................................................   72% Done.

 

Saving Cluster Inventory in progress.

..........

Saving Cluster Inventory successful.

The installation of Oracle Database 12c was successful.

Please check '/u01/app/oraInventory/logs/silentInstall2017-01-17_09-38-20PM.log' for more details.

 

Setup Oracle Base in progress.

 

Setup Oracle Base successful.

..................................................   86% Done.

 

Update Inventory in progress.

 

Update Inventory successful.

..................................................   95% Done.

 

As a root user, execute the following script(s):

        1. /u01/app/oracle/product/12.1.0/dbhome_1/root.sh

 

Execute /u01/app/oracle/product/12.1.0/dbhome_1/root.sh on the following nodes:

[raclhr-12cr1-n1, raclhr-12cr1-n2]

 

 

..................................................   100% Done.

Successfully Setup Software.

As install user, execute the following script to complete the configuration.

        1. /u01/app/oracle/product/12.1.0/dbhome_1/cfgtoollogs/configToolAllCommands RESPONSE_FILE=<response_file>

 

        Note:

        1. This script must be run on the same host from where installer was run.

        2. This script needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation).

 

 

 

节点1和节点2依次执行root.sh

[root@raclhr-12cR1-N1 ~]# /u01/app/oracle/product/12.1.0/dbhome_1/root.sh

Check /u01/app/oracle/product/12.1.0/dbhome_1/install/root_raclhr-12cR1-N1_2017-01-17_22-18-12.log for the output of root script

[root@raclhr-12cR1-N1 ~]#

 

 

 

1.2  建立磁盘组

创建DATA和FRA磁盘组:

CREATE DISKGROUP DATA external redundancy DISK '/dev/asm-diskd' ATTRIBUTE 'compatible.rdbms' = '12.1', 'compatible.asm' = '12.1';

CREATE DISKGROUP FRA external redundancy DISK '/dev/asm-diske' ATTRIBUTE 'compatible.rdbms' = '12.1', 'compatible.asm' = '12.1';

 

[grid@raclhr-12cR1-N1 ~]$ sqlplus / as sysasm

 

SQL*Plus: Release 12.1.0.2.0 Production on Tue Jan 17 22:41:42 2017

 

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

 

 

Connected to:

Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production

With the Real Application Clusters and Automatic Storage Management options

 

SQL> CREATE DISKGROUP DATA external redundancy DISK '/dev/asm-diskd' ATTRIBUTE 'compatible.rdbms' = '12.1', 'compatible.asm' = '12.1';

 

Diskgroup created.

 

SQL> CREATE DISKGROUP FRA external redundancy DISK '/dev/asm-diske' ATTRIBUTE 'compatible.rdbms' = '12.1', 'compatible.asm' = '12.1';

 

Diskgroup created.

 

SQL>

 

 

 

1.3  dbca静默方式建库

dbca -silent -createDatabase -templateName General_Purpose.dbc -responseFile NO_VALUE \

-gdbname lhrrac  -sid lhrrac \

-createAsContainerDatabase false \

-sysPassword lhr -systemPassword lhr -serviceUserPassword lhr \

-datafileDestination 'DATA/' -recoveryAreaDestination 'FRA/' \

-storageType ASM -asmsnmpPassword oracle  -diskGroupName 'DATA' \

-characterset ZHS16GBK -nationalCharacterSet AL16UTF16 \

-sampleSchema true \

-memoryPercentage 30 \

-databaseType OLTP  \

-emConfiguration NONE  \

-nodeinfo raclhr-12cR1-N1,raclhr-12cR1-N2

 

 

 

[oracle@raclhr-12cR1-N1 dbca]$ crsctl stat res -t

--------------------------------------------------------------------------------

Name           Target  State        Server                   State details      

--------------------------------------------------------------------------------

Local Resources

--------------------------------------------------------------------------------

ora.DATA.dg

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.FRA.dg

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.LISTENER.lsnr

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.OCR.dg

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.asm

               ONLINE  ONLINE       raclhr-12cr1-n1          Started,STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          Started,STABLE

ora.net1.network

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.ons

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

--------------------------------------------------------------------------------

Cluster Resources

--------------------------------------------------------------------------------

ora.LISTENER_SCAN1.lsnr

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.MGMTLSNR

      1        ONLINE  ONLINE       raclhr-12cr1-n1          169.254.20.104 192.1

                                                             68.2.100,STABLE

ora.cvu

      1        ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.lhrrac.db

      1        OFFLINE OFFLINE                               STABLE

      2        OFFLINE OFFLINE                               STABLE

ora.mgmtdb

      1        ONLINE  ONLINE       raclhr-12cr1-n1          Open,STABLE

ora.oc4j

      1        ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.raclhr-12cr1-n1.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.raclhr-12cr1-n2.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.scan1.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

--------------------------------------------------------------------------------

[oracle@raclhr-12cR1-N1 oradata]$ dbca -silent -createDatabase -templateName General_Purpose.dbc -responseFile NO_VALUE \

> -gdbname lhrrac  -sid lhrrac \

> -createAsContainerDatabase false \

> -sysPassword lhr -systemPassword lhr -serviceUserPassword lhr \

> -datafileDestination 'DATA/' -recoveryAreaDestination 'FRA/' \

> -storageType ASM -asmsnmpPassword oracle  -diskGroupName 'DATA' \

> -characterset ZHS16GBK -nationalCharacterSet AL16UTF16 \

> -sampleSchema true \

> -memoryPercentage 30 \

> -databaseType OLTP  \

> -emConfiguration NONE  \

> -nodeinfo raclhr-12cR1-N1,raclhr-12cR1-N2

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

48% complete

49% complete

52% complete

Creating cluster database views

54% complete

72% complete

Completing Database Creation

75% complete

78% complete

87% complete

96% complete

100% complete

Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/lhrrac/lhrrac.log" for further details.

 

[grid@raclhr-12cR1-N2 ~]$ crsctl stat res -t

--------------------------------------------------------------------------------

Name           Target  State        Server State details

--------------------------------------------------------------------------------

Local Resources

--------------------------------------------------------------------------------

ora.DATA.dg

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.FRA.dg

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.LISTENER.lsnr

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.OCR.dg

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.asm

               ONLINE  ONLINE       raclhr-12cr1-n1          Started,STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          Started,STABLE

ora.net1.network

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.ons

               ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

               ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

--------------------------------------------------------------------------------

Cluster Resources

--------------------------------------------------------------------------------

ora.LISTENER_SCAN1.lsnr

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.MGMTLSNR

      1        ONLINE  ONLINE       raclhr-12cr1-n1          169.254.20.104 192.

       68.2.100,STABLE

ora.cvu

      1        ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.lhrrac.db

      1        ONLINE  ONLINE       raclhr-12cr1-n1          Open,STABLE

      2        ONLINE  ONLINE       raclhr-12cr1-n2          Open,STABLE

ora.mgmtdb

      1        ONLINE  ONLINE       raclhr-12cr1-n1          Open,STABLE

ora.oc4j

      1        ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.raclhr-12cr1-n1.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

ora.raclhr-12cr1-n2.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n2          STABLE

ora.scan1.vip

      1        ONLINE  ONLINE       raclhr-12cr1-n1          STABLE

--------------------------------------------------------------------------------

[root@raclhr-12cR1-N1 ~]# srvctl config database -d lhrrac

Database unique name: lhrrac

Database name: lhrrac

Oracle home: /u01/app/oracle/product/12.1.0/dbhome_1

Oracle user: oracle

Spfile: +DATA/LHRRAC/PARAMETERFILE/spfile.274.933551487

Password file: +DATA/LHRRAC/PASSWORD/pwdlhrrac.256.933550441

Domain:

Start options: open

Stop options: immediate

Database role: PRIMARY

Management policy: AUTOMATIC

Server pools:

Disk Groups: DATA

Mount point paths:

Services:

Type: RAC

Start concurrency:

Stop concurrency:

OSDBA group: dba

OSOPER group: asmoper

Database instances: lhrrac1,lhrrac2

Configured nodes: raclhr-12cr1-n1,raclhr-12cr1-n2

Database is administrator managed

[root@raclhr-12cR1-N1 ~]# srvctl status database -d lhrrac

Instance lhrrac1 is running on node raclhr-12cr1-n1

Instance lhrrac2 is running on node raclhr-12cr1-n2

[root@raclhr-12cR1-N1 ~]# srvctl status listener

Listener LISTENER is enabled

Listener LISTENER is running on node(s): raclhr-12cr1-n2,raclhr-12cr1-n1

[root@raclhr-12cR1-N1 ~]#

 

 

1.4  其它配置

1.4.1  sqlplus提示符设置

编辑$ORACLE_HOME/sqlplus/admin/glogin.sql

set linesize 9999 pagesize 9999

set sqlprompt "_USER'@'_CONNECT_IDENTIFIER> "

 

最后,安装好的虚拟机可用于测试12c的功能,小麦苗会将安装好的12c的环境上传到云盘。

About Me

...............................................................................................................................

本文作者:小麦苗,只专注于数据库的技术,更注重技术的运用

本文在itpubhttp://blog.itpub.net/26736162)、博客园http://www.cnblogs.com/lhrbest和个人微信公众号(xiaomaimiaolhr)上有同步更新

本文itpub地址:http://blog.itpub.net/26736162/viewspace-2132773/

本文博客园地址:http://www.cnblogs.com/lhrbest/p/6337516.html

本文pdf小麦苗云盘地址:http://blog.itpub.net/26736162/viewspace-1624453/

● QQ群:230161599     微信群:私聊

联系我请加QQ好友(642808185),注明添加缘由

2017-01-12 08:00 ~ 2016-01-21 24:00农行完成

文章内容来源于小麦苗的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解

版权所有,欢迎分享本文,转载请保留出处

...............................................................................................................................

拿起手机使用微信客户端扫描下边的左边图片来关注小麦苗的微信公众号:xiaomaimiaolhr,扫描右边的二维码加入小麦苗的QQ群,学习最实用的数据库技术。

   DBA笔试面试讲解

posted @ 2017-01-21 18:42  DB宝  阅读(9761)  评论(0编辑  收藏  举报