Oracle 12cR1 RAC 在VMware Workstation上安裝(下)—靜默安裝
Oracle 12cR1 RAC 在VMware Workstation上安裝(下)—靜默安裝
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 開始安裝
靜默指令碼:
./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為-MGMTDB,gdbName為_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
...............................................................................................................................
● 本文作者:小麥苗,只專注於資料庫的技術,更注重技術的運用
● 本文在itpub(http://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群,學習最實用的資料庫技術。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2132773/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- rac靜默安裝
- 【靜默】在RHEL 6.5上靜默安裝Oracle 18cOracle
- Oracle靜默安裝Oracle
- Oracle Linux 7.1 靜默安裝Oracle 18c RACOracleLinux
- vmware workstation 下安裝ubuntuUbuntu
- 安裝 VMware workstation
- RedHat上靜默安裝Oracle11gRedhatOracle
- VMware Workstation解除安裝
- 安裝Vmware Workstation 16
- 靜默方式安裝、升級oracle(一): 安裝oracle軟體Oracle
- oracle 19C 靜默安裝Oracle
- 靜默安裝oracle時報錯Oracle
- centos 7.4靜默安裝oracle 19.3CentOSOracle
- Linux下靜默安裝OraceLinux
- Oracle 19C的下載和安裝部署(圖形安裝和靜默安裝)Oracle
- Linux 安裝 VMware Workstation ProLinux
- VMware Workstation 17安裝教程:安裝系統
- Oracle Linux 7.1 靜默安裝Weblogic 12.2.1.3OracleLinuxWeb
- 靜默安裝19C RAC的指令碼指令碼
- 在 VMware workstation 安裝 CentOS 虛擬機器CentOS虛擬機
- vmware workstation 14 pro安裝方法
- VMware Workstation 的安裝和使用
- 如何在 Ubuntu 安裝 VMware Workstation ?Ubuntu
- Linux下利用指令碼靜默安裝Oracle11GLinux指令碼Oracle
- CentOS 7.2靜默安裝Oracle11gCentOSOracle
- redhat7.2靜默安裝Oracle11.2.0.4RedhatOracle
- CentOS 7.5靜默安裝Oracle 11gCentOSOracle
- linux7 靜默安裝 11GR2 RACLinux
- VMware Workstation安裝+徹底解除安裝教程(Windows版)Windows
- VMware workstation pro 16 下載安裝Ubuntu18.04Ubuntu
- 靜默安裝Oracle11g資料庫Oracle資料庫
- 靜默方式安裝oracle 11g 完整攻略Oracle
- oracle11g客戶端靜默安裝Oracle客戶端
- 靜默安裝Oracle資料庫11gOracle資料庫
- Solaris下Oracle RAC 11.2.0.4 安裝方法Oracle
- 在 Linux 上安裝 VMware 工具Linux
- 【配置上線】靜默安裝資料庫Oracle 11gR2資料庫Oracle
- oracle11g在linux7的靜默安裝指令碼OracleLinux指令碼
- VMware Workstation Pro15.0安裝圖解圖解