What does orainstRoot.sh
perform?
1.
It creates the inventory pointer file
(/etc/oraInst.loc)
2.
It Changes groupname of the oraInventory
directory to oinstall group.
The log is from first node.
[root@RAC1 grid]# sh
/grid/app/oraInventory/orainstRoot.sh
Changing permissions of
/grid/app/oraInventory.
Adding read,write
permissions for group.
Removing
read,write,execute permissions for world.
Changing groupname of
/grid/app/oraInventory to oinstall.
The execution of the
script is complete.
[root@RAC1 grid]#
|
What
does Root.sh perform?
1.
It will set the environment variable for
ORACLE_HOME and ORACLE_OWNER
2.
Copy dbhome, oraenv, coraenv to /usr/local/bin
3.
Creates the /etc/oratab file
4.
Verify the super user privileges for the user.
5.
Creating the trace directory
6.
Creates OCR keys for the 'root' user
7.
Adding clusterware Daemon information to
inittab file
8.
Starts Oracle High Availability service
Daemon(OHASD) service
9.
Start the clusterware
daemons(gipcd, mdnsd, gpnpd, cssmonitor, cssd, diskmon,ctssd etc)
10.
Creates and configures an ASM instance and ASM disk
group will be created.
11.
Creates required ASM disk groups, if ASM is being
used to put OCR and voting files.
12.
It Configures the OCR and voting disks (only on the
first node)
13.
Starts up the Cluster Ready Service Daemon (CRSD)
process
14.
updating the profile by adding voting disk
15.
It Puts the voting disk on the ASM disk group ,if
ASM type is selected.
16.
It Displays voting disk details
17.
Attempting to stop and start the cluster resources(crsd,asm,
ctssd,cssmonitor, cssd,gpnpd, gipcd etc)
18.
updates the OLR files
19.
Installs the cvuqdisk-1.0.7-1 package
20.
Configure Oracle Grid Infrastructure for Cluster
21.
Updating inventory properties for clusterware
22.
Starts the Oracle universal Installer
23.
Check the swapspace and make sure we have enough space
24.
Completes with the UpdateNodeList success operation.
The log is from first
node:-
[root@RAC1 grid]# pwd /grid/app/11.2.0/grid [root@RAC1 grid]# sh root.sh Running Oracle 11g root.sh script... The following environment variables are set
as: ORACLE_OWNER= oracle ORACLE_HOME=
/grid/app/11.2.0/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.sh
script. Now product-specific root actions will be
performed. 2015-10-04 17:08:18: Parsing the host name 2015-10-04 17:08:18: Checking for super user
privileges 2015-10-04 17:08:18: User has super user
privileges Using configuration parameter file:
/grid/app/11.2.0/grid/crs/install/crsconfig_params Creating trace directory LOCAL ADD MODE Creating OCR keys for user 'root', privgrp
'root'.. Operation 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 Adding daemon to inittab CRS-4123: Oracle High Availability Services
has been started. ohasd is starting ADVM/ACFS is not supported on
oraclelinux-release-6Server-0.0.5.x86_64 CRS-2672: Attempting to start 'ora.gipcd' on
'rac1' CRS-2672: Attempting to start 'ora.mdnsd' on
'rac1' CRS-2676: Start of 'ora.gipcd' on 'rac1'
succeeded CRS-2676: Start of 'ora.mdnsd' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.gpnpd' on
'rac1' CRS-2676: Start of 'ora.gpnpd' on 'rac1'
succeeded CRS-2672: Attempting to start
'ora.cssdmonitor' on 'rac1' CRS-2676: Start of 'ora.cssdmonitor' on
'rac1' succeeded CRS-2672: Attempting to start 'ora.cssd' on
'rac1' CRS-2672: Attempting to start 'ora.diskmon'
on 'rac1' CRS-2676: Start of 'ora.diskmon' on 'rac1'
succeeded CRS-2676: Start of 'ora.cssd' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.ctssd' on
'rac1' CRS-2676: Start of 'ora.ctssd' on 'rac1'
succeeded ASM created and started successfully. DiskGroup DATA created successfully. clscfg: -install mode specified Successfully accumulated necessary OCR keys. Creating OCR keys for user 'root', privgrp
'root'.. Operation successful. CRS-2672: Attempting to start 'ora.crsd' on
'rac1' CRS-2676: Start of 'ora.crsd' on 'rac1'
succeeded CRS-4256: Updating the profile Successful addition of voting disk
5df60344ce984fd3bf6a36825778db82. Successfully replaced voting disk group with
+DATA. CRS-4256: Updating the profile CRS-4266: Voting file(s) successfully
replaced ## STATE File Universal
Id File Name Disk
group -- -----
-----------------
--------- --------- 1. ONLINE
5df60344ce984fd3bf6a36825778db82 (ORCL:DISK1) [DATA] Located 1 voting disk(s). CRS-2673: Attempting to stop 'ora.crsd' on
'rac1' CRS-2677: Stop of 'ora.crsd' on 'rac1'
succeeded CRS-2673: Attempting to stop 'ora.asm' on
'rac1' CRS-2677: Stop of 'ora.asm' on 'rac1'
succeeded CRS-2673: Attempting to stop 'ora.ctssd' on
'rac1' CRS-2677: Stop of 'ora.ctssd' on 'rac1'
succeeded CRS-2673: Attempting to stop
'ora.cssdmonitor' on 'rac1' CRS-2677: Stop of 'ora.cssdmonitor' on
'rac1' succeeded CRS-2673: Attempting to stop 'ora.cssd' on
'rac1' CRS-2677: Stop of 'ora.cssd' on 'rac1'
succeeded CRS-2673: Attempting to stop 'ora.gpnpd' on
'rac1' CRS-2677: Stop of 'ora.gpnpd' on 'rac1'
succeeded CRS-2673: Attempting to stop 'ora.gipcd' on
'rac1' CRS-2677: Stop of 'ora.gipcd' on 'rac1'
succeeded CRS-2673: Attempting to stop 'ora.mdnsd' on
'rac1' CRS-2677: Stop of 'ora.mdnsd' on 'rac1' succeeded CRS-2672: Attempting to start 'ora.mdnsd' on
'rac1' CRS-2676: Start of 'ora.mdnsd' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.gipcd' on
'rac1' CRS-2676: Start of 'ora.gipcd' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.gpnpd' on
'rac1' CRS-2676: Start of 'ora.gpnpd' on 'rac1'
succeeded CRS-2672: Attempting to start
'ora.cssdmonitor' on 'rac1' CRS-2676: Start of 'ora.cssdmonitor' on
'rac1' succeeded CRS-2672: Attempting to start 'ora.cssd' on
'rac1' CRS-2672: Attempting to start 'ora.diskmon'
on 'rac1' CRS-2676: Start of 'ora.diskmon' on 'rac1'
succeeded CRS-2676: Start of 'ora.cssd' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.ctssd' on
'rac1' CRS-2676: Start of 'ora.ctssd' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.asm' on
'rac1' CRS-2676: Start of 'ora.asm' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.crsd' on
'rac1' CRS-2676: Start of 'ora.crsd' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.evmd' on
'rac1' CRS-2676: Start of 'ora.evmd' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.asm' on
'rac1' CRS-2676: Start of 'ora.asm' on 'rac1'
succeeded CRS-2672: Attempting to start 'ora.DATA.dg'
on 'rac1' CRS-2676: Start of 'ora.DATA.dg' on 'rac1'
succeeded rac1 2015/10/04 17:13:29
/grid/app/11.2.0/grid/cdata/rac1/backup_20151004_171329.olr Preparing packages for installation... cvuqdisk-1.0.7-1 Configure Oracle Grid Infrastructure for a
Cluster ... succeeded Updating inventory properties for
clusterware Starting Oracle Universal Installer... Checking swap space: must be greater than
500 MB. Actual 3998 MB Passed The inventory pointer is located at
/etc/oraInst.loc The inventory is located at /grid/app/oraInventory 'UpdateNodeList' was successful. [root@RAC1 grid]#
|
The log for root.sh from second node.
[root@RAC2 grid]# sh root.sh Running Oracle 11g root.sh script... The following environment variables are set
as: ORACLE_OWNER= oracle ORACLE_HOME=
/grid/app/11.2.0/grid Enter the full pathname of the local bin
directory: [/usr/local/bin]: The file "dbhome" already exists
in /usr/local/bin. Overwrite it? (y/n) [n]: The file "oraenv" already exists
in /usr/local/bin. Overwrite it? (y/n) [n]: The file "coraenv" already exists
in /usr/local/bin. Overwrite it? (y/n) [n]: 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.sh
script. Now product-specific root actions will be
performed. 2015-10-04 19:46:01: Parsing the host name 2015-10-04 19:46:01: Checking for super user
privileges 2015-10-04 19:46:01: User has super user
privileges Using configuration parameter file:
/grid/app/11.2.0/grid/crs/install/crsconfig_
params LOCAL ADD MODE Creating OCR keys for user 'root', privgrp
'root'.. Operation successful. Adding daemon to inittab CRS-4123: Oracle High Availability Services
has been started. ohasd is starting ADVM/ACFS is not supported on
oraclelinux-release-6Server-0.0.5.x86_64 CRS-4402: The CSS daemon was started in exclusive
mode but found an active CSS daemon on
node rac1, number 1, and is terminating An active cluster was found during exclusive
startup, restarting to join the cluster CRS-2672: Attempting to start 'ora.mdnsd' on
'rac2' CRS-2676: Start of 'ora.mdnsd' on 'rac2'
succeeded CRS-2672: Attempting to start 'ora.gipcd' on
'rac2' CRS-2676: Start of 'ora.gipcd' on 'rac2'
succeeded CRS-2672: Attempting to start 'ora.gpnpd' on
'rac2' CRS-2676: Start of 'ora.gpnpd' on 'rac2'
succeeded CRS-2672: Attempting to start
'ora.cssdmonitor' on 'rac2' CRS-2676: Start of 'ora.cssdmonitor' on
'rac2' succeeded CRS-2672: Attempting to start 'ora.cssd' on
'rac2' CRS-2672: Attempting to start 'ora.diskmon'
on 'rac2' CRS-2676: Start of 'ora.diskmon' on 'rac2'
succeeded CRS-2676: Start of 'ora.cssd' on 'rac2'
succeeded CRS-2672: Attempting to start 'ora.ctssd' on
'rac2' CRS-2676: Start of 'ora.ctssd' on 'rac2'
succeeded CRS-2672: Attempting to start 'ora.asm' on
'rac2' CRS-2676: Start of 'ora.asm' on 'rac2'
succeeded CRS-2672: Attempting to start 'ora.crsd' on
'rac2' CRS-2676: Start of 'ora.crsd' on 'rac2'
succeeded CRS-2672: Attempting to start 'ora.evmd' on
'rac2' CRS-2676: Start of 'ora.evmd' on 'rac2'
succeeded rac2 2015/10/04 19:48:17
/grid/app/11.2.0/grid/cdata/rac2/backup_20151004_194817
.olr Preparing packages for installation... cvuqdisk-1.0.7-1 Configure Oracle Grid Infrastructure for a
Cluster ... succeeded Updating inventory properties for
clusterware Starting Oracle Universal Installer... Checking swap space: must be greater than
500 MB. Actual 3999 MB Passed The inventory pointer is located at
/etc/oraInst.loc The inventory is located at
/grid/app/oraInventory [root@RAC2 grid]#
|
Enjoy
reading!
No comments:
Post a Comment