Skip to main content

Oracle 12c Grid Installation high level steps

Oracle 12c Grid and RAC Database Installation on Solaris 11.3



- set UDP and TCP kernel parameters
/usr/sbin/ndd -set /dev/tcp tcp_smallest_anon_port 9000
/usr/sbin/ndd -set /dev/tcp tcp_largest_anon_port 65500
/usr/sbin/ndd -set /dev/udp udp_smallest_anon_port 9000
/usr/sbin/ndd -set /dev/udp udp_largest_anon_port 65500

– add groups

/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/groupadd asmadmin
/usr/sbin/groupadd asmdba
/usr/sbin/groupadd asmoper

– add users

/usr/sbin/useradd -g oinstall -G asmadmin,asmdba,asmoper -d /export/home/grid -m grid
/usr/sbin/useradd -g oinstall -G dba,asmdba -d /export/home/oracle12 -m oracle

– change user passwords

passwd oracle
passwd grid

– add project

projadd group.oinstall

projmod -sK "project.max-shm-memory=(privileged,50G,deny)" group.oinstall
projmod -sK "process.max-sem-nsems=(priv,4096,deny)" group.oinstall
projmod -sK "project.max-shm-ids=(priv,1024,deny)" group.oinstall
projmod -sK "project.max-sem-ids=(priv,1024,deny)" group.oinstall

– check projects

projects -l

– create directories

mkdir -p /u01/app/oraInventory
chown -R grid:oinstall /u01/app/oraInventory
chmod -R 775 /u01/app/oraInventory

mkdir -p /u01/app/12.1.0/grid
chown -R grid:oinstall /u01/app/12.1.0/grid
chmod -R 775 /u01/app/12.1.0/grid

mkdir -p /u01/app/oracle
mkdir /u01/app/oracle/cfgtoollogs
chown -R oracle:oinstall /u01/app/oracle
chmod -R 775 /u01/app/oracle

mkdir -p /u01/app/oracle/product/12.1.0/dbhome
chown -R oracle:oinstall /u01/app/oracle/product/12.1.0/dbhome
chmod -R 775 /u01/app/oracle/product/12.1.0/dbhome


Format Disks

********************************************************

 

– to list all disks

root@solaris11:~# echo | format



– Change owner of the disks

chown grid:oinstall /dev/rdsk/c1d4s*
chown grid:oinstall /dev/rdsk/c1d5s*
chown grid:oinstall /dev/rdsk/c1d6s*
chown grid:oinstall /dev/rdsk/c1d7s*
chown grid:oinstall /dev/rdsk/c1d8s*
chown grid:oinstall /dev/rdsk/c1d9s*
chown grid:oinstall /dev/rdsk/c1d10s*
chown grid:oinstall /dev/rdsk/c1d11s*
chown grid:oinstall /dev/rdsk/c1d12s*
chown grid:oinstall /dev/rdsk/c1d13s*


– Give permission to the disks

chown 660 /dev/rdsk/c1d4s*
chown 660 /dev/rdsk/c1d5s*
chown 660 /dev/rdsk/c1d6s*
chown 660 /dev/rdsk/c1d7s*
chown 660 /dev/rdsk/c1d8s*
chown 660 /dev/rdsk/c1d9s*
chown 660 /dev/rdsk/c1d10s*
chown 660 /dev/rdsk/c1d11s*
chown 660 /dev/rdsk/c1d12s*
chown 660 /dev/rdsk/c1d13s*
Go to the Grid Software and 
export DISPLAY=:1
./runInstaller
Complete the remaining steps through the GUI tool and this will install the GI 

Comments

Popular posts from this blog

How to install Apache using Ansible

How to install Apache using Ansible Use the powerful ansible tool to install Apache on your local machine or you can install on any remote server as well. 1. Install Ansible Modules [root@dev02 ~]# yum install ansible* Oracle Linux 8 EPEL Packages for Development (x86_64)                                                                                                             1.5 kB/s | 2.5 kB     00:01 Oracle Linux 8 Gluster Appstream (x86_64)                                                                        ...

CLEARING an ADOP patching session

In some case adop prepare phase fails due to some issues and if you wish to apply any patch in hotpatch mode, it will fail with below errors [STATEMENT] There is already a session which is incomplete. Details are: [STATEMENT]     Session Id: 2 [STATEMENT]     Prepare phase status: R [STATEMENT]     Apply phase status: N [STATEMENT]     Cutover  phase status: N [STATEMENT]     Abort phase status: N [STATEMENT]     Session status: F [ERROR]     Cannot apply hotpatch as another online patching cycle is going on [ERROR]     Unrecoverable error occured. Exiting the current session. [STATEMENT] [START 2019/10/22 16:13:00] Unlocking sessions table [STATEMENT] [END   2019/10/22 16:13:00] Unlocking sessions table [STATEMENT] Log file: /adop_20191022_161221.log [STATEMENT] [START 2019/10/22 16:13:02] Unlocking sessions table [STATEMENT] [E...

RW-50010: Error: - script has returned an error: 2 (Executing cr9idata.pl) During R12.2 Installation on Oracle Linux 8

Problem Faced below error while Installing 12.2 on Linux 8. Unable to execute cr9idata.pl Executing cr9idata.pl Executing: perl /u01/oracle/DEV/12.1.0/nls/data/old/cr9idata.pl Unable to execute cr9idata.pl RW-50010: Error: - script has returned an error:   2 RW-50004: Error code received when running external process.  Check log file for details. Running Database Install Driver for DEV instance Solution: I have installed the following rpms: Install the following rpm  [root@dev02 DEV_dev2]# yum list perl-File-CheckTree* Available Packages perl-File-CheckTree.noarch                                                                         4.42-303.el8                                        ...