##################################################
How to install Grid Infrastructure for Oracle 12c
##################################################
=================================================
Step 1. Download Grid Infrastructure software
=================================================
[oracle@dbtrmrk tmp]$ ll
total 1906440
drwxr-xr-x 3 oracle oinstall 4096 Apr 30 05:39 CVU_12.1.0.1.0_oracle
drwxr-xr-x 2 oracle oinstall 4096 May 4 03:54 grid_1201
-rw-r--r-- 1 oracle oinstall 1750478910 May 10 2014 linuxamd64_12c_grid_1of2.zip
-rw-r--r-- 1 oracle oinstall 201673595 May 10 2014 linuxamd64_12c_grid_2of2.zip
=================================================
Step 2. Unzip Grid Infrastructure software
=================================================
[oracle@dbtrmrk tmp]$ unzip linuxamd64_12c_grid_1of2.zip -d /tmp/grid_1201/
[oracle@dbtrmrk tmp]$ unzip linuxamd64_12c_grid_2of2.zip -d /tmp/grid_1201/
=================================================
Step 3. Create Dir for Grid Infrastructure Home
=================================================
[root@dbtrmrk tmp]# mkdir /u10
[root@dbtrmrk tmp]# chown -R oracle:oinstall /u10
[root@dbtrmrk tmp]# su - oracle
[oracle@dbtrmrk ~]$ mkdir -p /u10/app/gridbase/product/grid/12gR1
===============================================================
Step 4. Set ORACLE_HOME and ORACLE_BASE for Grid Infrastructure
===============================================================
/u10/app/gridbase/product/grid/12gR1
[oracle@dbtrmrk 12gR1]$ export ORACLE_BASE=/u10/app/gridbase
[oracle@dbtrmrk 12gR1]$ export ORACLE_HOME=/u10/app/gridbase/product/grid/12gR1
[oracle@dbtrmrk 12gR1]$ cd /tmp/grid_1201/grid/response/
=====================================================
Step 5. Prepare Response File for Grid Infrastructure
=====================================================
[oracle@dbtrmrk response]$ cat grid.rsp
#------------------------------------------------------------------------------
# Do not change the following system generated value.
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v12.1.0
ORACLE_HOSTNAME=dbtrmrk.localdomain
INVENTORY_LOCATION=/u01/app/oraInventory
SELECTED_LANGUAGES=en
oracle.install.option=CRS_SWONLY
ORACLE_BASE=/u10/app/gridbase
ORACLE_HOME=/u10/app/gridbase/product/grid/12gR1
oracle.install.asm.OSDBA=dba
oracle.install.asm.OSOPER=oinstall
oracle.install.asm.OSASM=dba
oracle.install.crs.config.ClusterType=STANDARD
oracle.install.crs.config.gpnp.configureGNS=true
oracle.install.crs.config.autoConfigureClusterNodeVIP=true
oracle.install.crs.config.gpnp.gnsOption=CREATE_NEW_GNS
oracle.install.crs.managementdb.configure=true
oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
oracle.install.crs.config.useIPMI=false
oracle.install.crs.config.ignoreDownNodes=false
oracle.installer.autoupdates.option=SKIP_UPDATES
PROXY_PORT=0
==============================================================
Step 7. Run Installer for Grid Infrastructure Software install
==============================================================
[oracle@dbtrmrk grid]$ ./runInstaller -silent -responseFile /tmp/grid_1201/grid/response/grid.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 12558 MB Passed
Checking swap space: must be greater than 150 MB. Actual 3999 MB Passed
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2014-05-04_10-30-56AM.log
The installation of Oracle Grid Infrastructure 12c was successful.
As a root user, execute the following script(s):
1. /u10/app/gridbase/product/grid/12gR1/root.sh
=====================================================
Step 8. Run script as root for Grid Infrastructure
=====================================================
[root@dbtrmrk tmp]# /u10/app/gridbase/product/grid/12gR1/root.sh
Check /u10/app/gridbase/product/grid/12gR1/install/root_dbtrmrk.localdomain_2014-05-04_10-44-03.log for the output of root script
[root@dbtrmrk tmp]# cat /u10/app/gridbase/product/grid/12gR1/install/root_dbtrmrk.localdomain_2014-05-04_10-44-03.log
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u10/app/gridbase/product/grid/12gR1
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
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.
To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u10/app/gridbase/product/grid/12gR1/perl/bin/perl -I/u10/app/gridbase/product/grid/12gR1/perl/lib -I/u10/app/gridbase/product/grid/12gR1/crs/install /u10/app/gridbase/product/grid/12gR1/crs/install/roothas.pl
To configure Grid Infrastructure for a Cluster execute the following command as oracle user:
/u10/app/gridbase/product/grid/12gR1/crs/config/config.sh
This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media.
=============================================================
Step 9. Run script as Oracle to confiture Grid Infrastructure
=============================================================
[root@dbtrmrk tmp]# /u10/app/gridbase/product/grid/12gR1/perl/bin/perl -I/u10/app/gridbase/product/grid/12gR1/perl/lib -I/u10/app/gridbase/product/grid/12gR1/crs/install /u10/app/gridbase/product/grid/12gR1/crs/install/roothas.pl
Using configuration parameter file: /u10/app/gridbase/product/grid/12gR1/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node dbtrmrk successfully pinned.
2014/05/04 11:09:27 CLSRSC-327: Successfully configured Oracle Grid Infrastructure for a Standalone Server
===============================================================
Step 10. Verify Successfull installation of Grid Infrastructure
===============================================================
[root@dbtrmrk tmp]# //u10/app/gridbase/product/grid/12gR1/bin/crsctl check has
CRS-4638: Oracle High Availability Services is online
[oracle@dbtrmrk grid]$$ORACLE_HOME/bin/asmca
ASM Created and Started Successfully.
Disk Group DGDATA created successfully.
SQL> select instance_name,host_name,status from v$instance;
INSTANCE_NAME HOST_NAME STATUS
---------------- ---------------------------------------------------------------- ------------
+ASM dbtrmrk.localdomain STARTED
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED NORMAL N 512 4096 1048576 4076 3944 1019 1462 0 N DGDATA/
Note: I have created DGDATA with NORMAL REDUNDANCY
Enjoy.....Abid Malik
How to install Grid Infrastructure for Oracle 12c
##################################################
=================================================
Step 1. Download Grid Infrastructure software
=================================================
[oracle@dbtrmrk tmp]$ ll
total 1906440
drwxr-xr-x 3 oracle oinstall 4096 Apr 30 05:39 CVU_12.1.0.1.0_oracle
drwxr-xr-x 2 oracle oinstall 4096 May 4 03:54 grid_1201
-rw-r--r-- 1 oracle oinstall 1750478910 May 10 2014 linuxamd64_12c_grid_1of2.zip
-rw-r--r-- 1 oracle oinstall 201673595 May 10 2014 linuxamd64_12c_grid_2of2.zip
=================================================
Step 2. Unzip Grid Infrastructure software
=================================================
[oracle@dbtrmrk tmp]$ unzip linuxamd64_12c_grid_1of2.zip -d /tmp/grid_1201/
[oracle@dbtrmrk tmp]$ unzip linuxamd64_12c_grid_2of2.zip -d /tmp/grid_1201/
=================================================
Step 3. Create Dir for Grid Infrastructure Home
=================================================
[root@dbtrmrk tmp]# mkdir /u10
[root@dbtrmrk tmp]# chown -R oracle:oinstall /u10
[root@dbtrmrk tmp]# su - oracle
[oracle@dbtrmrk ~]$ mkdir -p /u10/app/gridbase/product/grid/12gR1
===============================================================
Step 4. Set ORACLE_HOME and ORACLE_BASE for Grid Infrastructure
===============================================================
/u10/app/gridbase/product/grid/12gR1
[oracle@dbtrmrk 12gR1]$ export ORACLE_BASE=/u10/app/gridbase
[oracle@dbtrmrk 12gR1]$ export ORACLE_HOME=/u10/app/gridbase/product/grid/12gR1
[oracle@dbtrmrk 12gR1]$ cd /tmp/grid_1201/grid/response/
=====================================================
Step 5. Prepare Response File for Grid Infrastructure
=====================================================
[oracle@dbtrmrk response]$ cat grid.rsp
#------------------------------------------------------------------------------
# Do not change the following system generated value.
#------------------------------------------------------------------------------
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v12.1.0
ORACLE_HOSTNAME=dbtrmrk.localdomain
INVENTORY_LOCATION=/u01/app/oraInventory
SELECTED_LANGUAGES=en
oracle.install.option=CRS_SWONLY
ORACLE_BASE=/u10/app/gridbase
ORACLE_HOME=/u10/app/gridbase/product/grid/12gR1
oracle.install.asm.OSDBA=dba
oracle.install.asm.OSOPER=oinstall
oracle.install.asm.OSASM=dba
oracle.install.crs.config.ClusterType=STANDARD
oracle.install.crs.config.gpnp.configureGNS=true
oracle.install.crs.config.autoConfigureClusterNodeVIP=true
oracle.install.crs.config.gpnp.gnsOption=CREATE_NEW_GNS
oracle.install.crs.managementdb.configure=true
oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations=
oracle.install.crs.config.sharedFileSystemStorage.votingDiskRedundancy=NORMAL
oracle.install.crs.config.sharedFileSystemStorage.ocrLocations=
oracle.install.crs.config.sharedFileSystemStorage.ocrRedundancy=NORMAL
oracle.install.crs.config.useIPMI=false
oracle.install.crs.config.ignoreDownNodes=false
oracle.installer.autoupdates.option=SKIP_UPDATES
PROXY_PORT=0
==============================================================
Step 7. Run Installer for Grid Infrastructure Software install
==============================================================
[oracle@dbtrmrk grid]$ ./runInstaller -silent -responseFile /tmp/grid_1201/grid/response/grid.rsp
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 12558 MB Passed
Checking swap space: must be greater than 150 MB. Actual 3999 MB Passed
You can find the log of this install session at:
/u01/app/oraInventory/logs/installActions2014-05-04_10-30-56AM.log
The installation of Oracle Grid Infrastructure 12c was successful.
As a root user, execute the following script(s):
1. /u10/app/gridbase/product/grid/12gR1/root.sh
=====================================================
Step 8. Run script as root for Grid Infrastructure
=====================================================
[root@dbtrmrk tmp]# /u10/app/gridbase/product/grid/12gR1/root.sh
Check /u10/app/gridbase/product/grid/12gR1/install/root_dbtrmrk.localdomain_2014-05-04_10-44-03.log for the output of root script
[root@dbtrmrk tmp]# cat /u10/app/gridbase/product/grid/12gR1/install/root_dbtrmrk.localdomain_2014-05-04_10-44-03.log
Performing root user operation for Oracle 12c
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u10/app/gridbase/product/grid/12gR1
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
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.
To configure Grid Infrastructure for a Stand-Alone Server run the following command as the root user:
/u10/app/gridbase/product/grid/12gR1/perl/bin/perl -I/u10/app/gridbase/product/grid/12gR1/perl/lib -I/u10/app/gridbase/product/grid/12gR1/crs/install /u10/app/gridbase/product/grid/12gR1/crs/install/roothas.pl
To configure Grid Infrastructure for a Cluster execute the following command as oracle user:
/u10/app/gridbase/product/grid/12gR1/crs/config/config.sh
This command launches the Grid Infrastructure Configuration Wizard. The wizard also supports silent operation, and the parameters can be passed through the response file that is available in the installation media.
=============================================================
Step 9. Run script as Oracle to confiture Grid Infrastructure
=============================================================
[root@dbtrmrk tmp]# /u10/app/gridbase/product/grid/12gR1/perl/bin/perl -I/u10/app/gridbase/product/grid/12gR1/perl/lib -I/u10/app/gridbase/product/grid/12gR1/crs/install /u10/app/gridbase/product/grid/12gR1/crs/install/roothas.pl
Using configuration parameter file: /u10/app/gridbase/product/grid/12gR1/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node dbtrmrk successfully pinned.
2014/05/04 11:09:27 CLSRSC-327: Successfully configured Oracle Grid Infrastructure for a Standalone Server
===============================================================
Step 10. Verify Successfull installation of Grid Infrastructure
===============================================================
[root@dbtrmrk tmp]# //u10/app/gridbase/product/grid/12gR1/bin/crsctl check has
CRS-4638: Oracle High Availability Services is online
[oracle@dbtrmrk grid]$$ORACLE_HOME/bin/asmca
ASM Created and Started Successfully.
Disk Group DGDATA created successfully.
SQL> select instance_name,host_name,status from v$instance;
INSTANCE_NAME HOST_NAME STATUS
---------------- ---------------------------------------------------------------- ------------
+ASM dbtrmrk.localdomain STARTED
ASMCMD> lsdg
State Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name
MOUNTED NORMAL N 512 4096 1048576 4076 3944 1019 1462 0 N DGDATA/
Note: I have created DGDATA with NORMAL REDUNDANCY
Enjoy.....Abid Malik
No comments:
Post a Comment