Advertisement

Monday, August 6, 2018

Oracle Database - Grid Infrastructure / RAC 18c Installation - Part 3/3

In this part we do the real installation. 
This assumes
1. You have setup your linux machine
2. Made a clone and changed the hostname
3. Assigned IP addresses to Public and private interfaces
4. Unzipped grid software in /u01/app/180/grid

Cluster Pre-install
1. Setup passwordless ssh between users
cd /u01/app/180/grid

[As root]
./sshUserSetup.sh -user root -hosts "rac18c01 rac18c02" -noPromptPassphrase -confirm -advanced

[As grid]

./sshUserSetup.sh -user grid -hosts "rac18c01 rac18c02" -noPromptPassphrase -confirm -advanced

2. run Cluster Verification and resolve issues if any 


./runcluvfy.sh stage -pre crsinst -n rac18c01,rac18c02 -verbose | tee /tmp/cluvfy.out

3. Start with Installation
[Next login using grid user]
cd /u01/app/180/grid/
./gridSetup.sh

Follow the Steps as in screenshots below -





















At this point run the root scripts and then press Okay 
Node 1 - rac18c01
/u01/app/oraInventory/orainstRoot.sh
/u01/app/180/grid/root.sh

Node 2 - rac18c02
/u01/app/oraInventory/orainstRoot.sh
/u01/app/180/grid/root.sh

Carefully notice the output of above. A detailed log is provided in the end.



Once okay is pressed, the installer resumes


This completes the installation of RAC 18c on Virtual box /any other Virtual Platform.




Run Post Cluvfy Script (this is also run by installer)

[grid@rac18c01 grid]$ ./runcluvfy.sh stage -post crsinst -n rac18c01,rac18c02 -verbose

Verifying Clock Synchronization ...PASSED
Verifying VIP Subnet configuration check ...PASSED
Verifying Network configuration consistency checks ...PASSED
Verifying File system mount options for path GI_HOME ...PASSED
Verifying Access control attributes for /var/tmp/.oracle ...PASSED
Verifying Access control attributes for %OCRCONFIGDIR%/maps ...PASSED

Post-check for cluster services setup was successful.

CVU operation performed:      stage -post crsinst
Date:                         Aug 08, 2018 03:50:14 PM
CVU home:                     /u01/app/180/grid/
User:                         grid


Root Scripts Log 

[root@rac18c01 ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[root@rac18c01 ~]# /u01/app/180/grid/root.sh
Performing root user operation.

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/180/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   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.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/180/grid/crs/install/crsconfig_params
The log of current session can be found at:
  /u01/app/grid/crsdata/rac18c01/crsconfig/rootcrs_rac18c01_2018-08-06_03-32-03AM.log
2018/08/06 03:32:12 CLSRSC-594: Executing installation step 1 of 20: 'SetupTFA'.
2018/08/06 03:32:12 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2018/08/06 03:32:38 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2018/08/06 03:32:38 CLSRSC-594: Executing installation step 2 of 20: 'ValidateEnv'.
2018/08/06 03:32:38 CLSRSC-594: Executing installation step 3 of 20: 'CheckFirstNode'.
2018/08/06 03:32:40 CLSRSC-594: Executing installation step 4 of 20: 'GenSiteGUIDs'.
2018/08/06 03:32:41 CLSRSC-594: Executing installation step 5 of 20: 'SaveParamFile'.
2018/08/06 03:32:47 CLSRSC-594: Executing installation step 6 of 20: 'SetupOSD'.
2018/08/06 03:32:47 CLSRSC-594: Executing installation step 7 of 20: 'CheckCRSConfig'.
2018/08/06 03:32:47 CLSRSC-594: Executing installation step 8 of 20: 'SetupLocalGPNP'.
2018/08/06 03:33:10 CLSRSC-594: Executing installation step 9 of 20: 'CreateRootCert'.
2018/08/06 03:33:14 CLSRSC-594: Executing installation step 10 of 20: 'ConfigOLR'.
2018/08/06 03:33:21 CLSRSC-594: Executing installation step 11 of 20: 'ConfigCHMOS'.
2018/08/06 03:33:22 CLSRSC-594: Executing installation step 12 of 20: 'CreateOHASD'.
2018/08/06 03:33:27 CLSRSC-594: Executing installation step 13 of 20: 'ConfigOHASD'.
2018/08/06 03:33:27 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2018/08/06 03:33:54 CLSRSC-594: Executing installation step 14 of 20: 'InstallAFD'.
2018/08/06 03:33:59 CLSRSC-594: Executing installation step 15 of 20: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac18c01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac18c01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2018/08/06 03:34:40 CLSRSC-594: Executing installation step 16 of 20: 'InstallKA'.
2018/08/06 03:34:45 CLSRSC-594: Executing installation step 17 of 20: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac18c01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac18c01' has completed
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 'rac18c01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac18c01'
CRS-2676: Start of 'ora.mdnsd' on 'rac18c01' succeeded
CRS-2676: Start of 'ora.evmd' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac18c01'
CRS-2676: Start of 'ora.gpnpd' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac18c01'
CRS-2672: Attempting to start 'ora.gipcd' on 'rac18c01'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac18c01' succeeded
CRS-2676: Start of 'ora.gipcd' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac18c01'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac18c01'
CRS-2676: Start of 'ora.diskmon' on 'rac18c01' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac18c01' succeeded

[INFO] [DBT-30001] Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-180806AM033515.log for details.


2018/08/06 03:36:04 CLSRSC-482: Running command: '/u01/app/180/grid/bin/ocrconfig -upgrade grid oinstall'
CRS-2672: Attempting to start 'ora.crf' on 'rac18c01'
CRS-2672: Attempting to start 'ora.storage' on 'rac18c01'
CRS-2676: Start of 'ora.storage' on 'rac18c01' succeeded
CRS-2676: Start of 'ora.crf' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac18c01'
CRS-2676: Start of 'ora.crsd' on 'rac18c01' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 259b1fbf13834f2cbfc150db1ab902d5.
Successful addition of voting disk 2df1d7ab83ee4ffdbf15d3a9cca5dd5e.
Successful addition of voting disk 114c8ffc3d414fe0bf3f93c5a7f2e663.
Successfully replaced voting disk group with +OCR_VOTE.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   259b1fbf13834f2cbfc150db1ab902d5 (/dev/oracleasm/disks/OCR_VOTE1) [OCR_VOTE]
 2. ONLINE   2df1d7ab83ee4ffdbf15d3a9cca5dd5e (/dev/oracleasm/disks/OCR_VOTE2) [OCR_VOTE]
 3. ONLINE   114c8ffc3d414fe0bf3f93c5a7f2e663 (/dev/oracleasm/disks/OCR_VOTE3) [OCR_VOTE]
Located 3 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'rac18c01'
CRS-2673: Attempting to stop 'ora.crsd' on 'rac18c01'
CRS-2677: Stop of 'ora.crsd' on 'rac18c01' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'rac18c01'
CRS-2673: Attempting to stop 'ora.crf' on 'rac18c01'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'rac18c01'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'rac18c01'
CRS-2677: Stop of 'ora.crf' on 'rac18c01' succeeded
CRS-2677: Stop of 'ora.storage' on 'rac18c01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'rac18c01'
CRS-2677: Stop of 'ora.drivers.acfs' on 'rac18c01' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'rac18c01' succeeded
CRS-2677: Stop of 'ora.asm' on 'rac18c01' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'rac18c01'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'rac18c01' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'rac18c01'
CRS-2673: Attempting to stop 'ora.evmd' on 'rac18c01'
CRS-2677: Stop of 'ora.ctssd' on 'rac18c01' succeeded
CRS-2677: Stop of 'ora.evmd' on 'rac18c01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'rac18c01'
CRS-2677: Stop of 'ora.cssd' on 'rac18c01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'rac18c01'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'rac18c01'
CRS-2677: Stop of 'ora.gpnpd' on 'rac18c01' succeeded
CRS-2677: Stop of 'ora.gipcd' on 'rac18c01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'rac18c01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2018/08/06 03:37:26 CLSRSC-594: Executing installation step 18 of 20: 'StartCluster'.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.evmd' on 'rac18c01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac18c01'
CRS-2676: Start of 'ora.mdnsd' on 'rac18c01' succeeded
CRS-2676: Start of 'ora.evmd' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac18c01'
CRS-2676: Start of 'ora.gpnpd' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'rac18c01'
CRS-2676: Start of 'ora.gipcd' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'rac18c01'
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac18c01'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac18c01'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac18c01'
CRS-2676: Start of 'ora.diskmon' on 'rac18c01' succeeded
CRS-2676: Start of 'ora.crf' on 'rac18c01' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'rac18c01'
CRS-2672: Attempting to start 'ora.ctssd' on 'rac18c01'
CRS-2676: Start of 'ora.ctssd' on 'rac18c01' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac18c01'
CRS-2676: Start of 'ora.asm' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'rac18c01'
CRS-2676: Start of 'ora.storage' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'rac18c01'
CRS-2676: Start of 'ora.crsd' on 'rac18c01' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: rac18c01
CRS-6016: Resource auto-start has completed for server rac18c01
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2018/08/06 03:39:40 CLSRSC-343: Successfully started Oracle Clusterware stack
2018/08/06 03:39:41 CLSRSC-594: Executing installation step 19 of 20: 'ConfigNode'.
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'rac18c01'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'rac18c01'
CRS-2676: Start of 'ora.asm' on 'rac18c01' succeeded
CRS-2672: Attempting to start 'ora.OCR_VOTE.dg' on 'rac18c01'
CRS-2676: Start of 'ora.OCR_VOTE.dg' on 'rac18c01' succeeded
2018/08/06 03:41:13 CLSRSC-594: Executing installation step 20 of 20: 'PostConfig'.
2018/08/06 03:42:18 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

No comments:
Write comments