1. Create a group
2. Create a grid user
3. Install gride infrastructure software with Grid
4. Run root. Sh.
[[Email protected] softdb] #/u01/APP/11.2.0/GRID/root. Sh
Padding Ming root user operation for Oracle 11g
The following environment variables are set:
Oracle_owner = Grid
ORACLE_HOME =/u01/APP/11.2.0/Grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the/etc/oratab file as needed
Database Configuration assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be saved med.
To configure grid infrastructure for a stand-alone server run the following command as the root user:
/U01/APP/11.2.0/GRID/perl/bin/perl-I/u01/APP/11.2.0/GRID/perl/lib-I/u01/APP/11.2.0/GRID/CRS /install/u01/APP/11.2.0/GRID/CRS/install/roothas. PL
To configure grid infrastructure for a cluster execute the following command:
/U01/APP/11.2.0/GRID/CRS/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.
Execute the script according to the above prompt.
[[Email protected] softdb] #/u01/APP/11.2.0/GRID/perl/bin/perl-I/u01/APP/11.2.0/GRID/perl/lib-I/u01 /APP/11.2.0/GRID/CRS/install/u01/APP/11.2.0/GRID/CRS/install/roothas. PL
Using configuration parameter file:/u01/APP/11.2.0/GRID/CRS/install/crsconfig_params
Creating trace directory
User ignored prerequisites during installation
Local add Mode
Creating OCR keys for user 'grid', 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 ora11g successfully pinned.
Adding clusterware entries to inittab
Ora11g 2014/07/10 12:09:13/u01/APP/11.2.0/GRID/CDATA/ora11g/backup_20140710_120913.olr
Successfully configured Oracle grid infrastructure for a standalone Server
[[Email protected] softdb] #
5. Create an ASM instance again using asmca. Remember to select the disk when creating the instance.
[[Email protected] softdb] # ps-Ef | grep pmon
Root 8960 4400 0 00:00:00 pts/2 grep pmon
[[Email protected] softdb] # ps-Ef | grep pmon
Grid 9341 1 0 :14? 00:00:00 asm_pmon _ + ASM
Root 9446 4400 0 00:00:00 pts/2 grep pmon
11g add ASM