CRS RAC silent installation
Here is a detailed steps on configuring CRS for a RAC machine on 11.2.0.1 version in silent node.
Environment:
2 node RAC: 10gnode1 and 10gnode2
OS: Linux 32 bit
Attached is the response file (CRS_INSTALL.RSP) that is found in the Grid Infrastructure zip file. Unzip the GI software and the response file is located under the “grid/response” directory. The response file needs to be filled in with all the relevant values (ORACLE_HOME path, group that owns the grid, cluster name, scan configuration details, network configuration details of the nodes, Storage (File system / ASM), if ASM then diskgroup name, disk path, disk string). Please refer the file CRS_INSTALL.RSP for the values set.
As oracle user (grid owner), run the below command. Here I’ve used the “ignore prerqs” option as the prerequisite check NTP had a problem which can be ignored in my case. Better option would be to first run the below command without the “ignore” option, check the prerequsites and fix them before proceeding.
cd <GRID_SOFTWARE_Directory>
./runInstaller -silent -ignoreSysPrereqs -ignorePrereq /u02/11201_soft/crs_install.rsp
[oracle@10gnode1 grid]$ ./runInstaller -silent -ignoreSysPrereqs -responseFile /u02/11201_soft/crs_install.rsp Starting Oracle Universal Installer... Checking Temp space: must be greater than 80 MB. Actual 24921 MB Passed Checking swap space: must be greater than 150 MB. Actual 10001 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2014-07-28_10-58-44AM. Please wait ...[oracle@10gnode1 grid]$ You can find the log of this install session at: /u01/app/oraInventory/logs/installActions2014-07-28_10-58-44AM.log(Refer the attachment for detailed view). The following configuration scripts need to be executed as the "root" user. #!/bin/sh #Root scripts to run /u01/app/11.2.0/grid1/root.sh To execute the configuration scripts: 1. Open a terminal window 2. Log in as "root" 3. Run the scripts 4. Return to this window and hit "Enter" key to continue Configuration assistants have not been run. This can happen for following reasons - either root.sh is to be run before config or Oracle Universal Installer was invoked with the -noConfig option. "/u01/app/11.2.0/grid1/cfgtoollogs/configToolAllCommands" script contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same. Successfully Setup Software.
From the above log, it can be noticed that the install log can be found at “/u01/app/oraInventory/logs/installActions2014-07-28_10-58-44AM.log”. I’ve uploaded this log here installActions2014-07-28_10-58-44AM.log
As root user, run the root.sh script on node1 (10gnode1) followed by node2 (10gnode2). Refer log “root_10gnode1.mydomain_2014-07-28_11-50-00.log” for root.sh o/p on 10gnode1 and log “root_10gnode2.mydomain_2014-07-28_11-57-05.log” for root.sh o/p on 10gnode2.
Root.sh on 10gnode1: root_10gnode1.mydomain_2014-07-28_11-50-00.log
[root@10gnode1 ~]# /u01/app/11.2.0/grid1/root.sh Check /u01/app/11.2.0/grid1/install/root_10gnode1.mydomain_2014-07-28_11-50-00.log for the output of root script [root@10gnode1 ~]#
Root.sh on 10gnode2: root_10gnode2.mydomain_2014-07-28_11-57-05.log
[root@10gnode2 ~]# /u01/app/11.2.0/grid1/root.sh Check /u01/app/11.2.0/grid1/install/root_10gnode2.mydomain_2014-07-28_11-57-05.log for the output of root script [root@10gnode2 ~]#
Verify if CRS is online on both the nodes.
[oracle@10gnode1 ~]$ /u01/app/11.2.0/grid1/bin/crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online
[oracle@10gnode2 ~]$ /u01/app/11.2.0/grid1/bin/crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online [oracle@10gnode2 ~]$
Here we go !!
COPYRIGHT
© Shivananda Rao P, 2012 to 2018. Unauthorized use and/or duplication of this material without express and written permission from this blog’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to Shivananda Rao and http://www.shivanandarao-oracle.com with appropriate and specific direction to the original content.
DISCLAIMER
The views expressed here are my own and do not necessarily reflect the views of any other individual, business entity, or organization. The views expressed by visitors on this blog are theirs solely and may not reflect mine.
Leave a Reply