0% found this document useful (0 votes)
9 views2 pages

Oracle Grid Installation Guide

The document outlines the steps for preparing a server for Oracle installation, including installing prerequisite packages, creating user groups and users, setting passwords, disabling SELinux and firewall, and configuring kernel parameters. It also details the installation of Oracle ASM libraries, partitioning disks, configuring ASM, and running cluster verification. Finally, it emphasizes fixing any errors before proceeding with the installation of grid infrastructure and database software.

Uploaded by

kwakutse20
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Oracle Grid Installation Guide

The document outlines the steps for preparing a server for Oracle installation, including installing prerequisite packages, creating user groups and users, setting passwords, disabling SELinux and firewall, and configuring kernel parameters. It also details the installation of Oracle ASM libraries, partitioning disks, configuring ASM, and running cluster verification. Finally, it emphasizes fixing any errors before proceeding with the installation of grid infrastructure and database software.

Uploaded by

kwakutse20
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

1.

Install oracle prequisite packages for the servers


rpm -q binutils compat-db compat-libstdc++-33 glibc glibc-devel glibc-headers gcc
gcc-c++ libstdc++ gdbm make ksh elfutils-libelf sysstat libaio libaio-devel setarch
unixODBC libXp libXtst xorg-x11-utils --qf '%{name}.%{arch}\n'|sort

2. create groups and users

/usr/sbin/groupadd oinstall
/usr/sbin/groupadd -g 502 dba
/usr/sbin/groupadd -g 505 oper
/usr/sbin/groupadd –g 504 asmadmin
/usr/sbin/groupadd -g 506 asmdba
/usr/sbin/groupadd -g 507 asmoper

/usr/sbin/useradd -u 501 -g oinstall -G oinstall,asmadmin,asmoper,asmdba,dba grid


/usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba,oper oracle

[Link] password for grid and oracle user


passwd grid
passwd oraacle

4. disable selinux and firewall

5. set kernel parameters

Add the following lines to a file called "/etc/security/[Link]"


oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft stack 10240
oracle hard stack 32768
oracle hard memlock 134217728
oracle soft memlock 134217728

grid soft nofile 1024


grid hard nofile 65536
grid soft nproc 16384
grid hard nproc 16384
grid soft stack 10240
grid hard stack 32768
grid hard memlock 134217728
grid soft memlock 134217728

[Link] the following lines to the "/etc/sysctl.d/[Link]"

[Link]-max = 6815744
[Link] = 250 32000 100 128
[Link] = 4096
[Link] = 1073741824
[Link] = 4398046511104
kernel.panic_on_oops = 1
[Link].rmem_default = 262144
[Link].rmem_max = 4194304
[Link].wmem_default = 262144
[Link].wmem_max = 1048576
[Link].rp_filter = 2
[Link].rp_filter = 2
[Link]-max-nr = 1048576
net.ipv4.ip_local_port_range = 9000 65500

/sbin/sysctl -p

[Link] oracleasm libraries


rpm -ivh

[Link] and create partitions on your disks


fdisk

[Link] oracle asm library


oracleasm configure -i

9. create asm disks


oracleasm createdisk DATA1 /sdb1

10. add ips to host file

11. run cluster verify


./[Link] stage -pre crsinst -n hqcpctestsvr001,hqcpctestsvr002 -verbose
>/tmp/[Link]

12. fix all errors before you start with grid installtion

13. Installtion grid infrastructure

14. install database software and create database

You might also like