Professional Documents
Culture Documents
RonnyEgnersBlog
RonnyEgnersBlogaboutOracle,UNIXandEMC/LegatoNetworker
System configuration:
Hardware configuration
SWAP
Memory
See below for memory consumption with grid infrastructure installed: > 800 MB for
infrastructure processes
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 2/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
(see required packages for single database installation; this applies here as well
cause we will end up install a database in the end)
binutils-2.17.50.0.6
compat-libstdc++-33-3.2.3
compat-libstdc++-33-3.2.3 (32 bit)
elfutils-libelf-0.125
elfutils-libelf-devel-0.125
gcc-4.1.2, gcc-c++-4.1.2
glibc-2.5-24, glibc-2.5-24 (32 bit)
glibc-common-2.5
glibc-devel-2.5
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 3/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
On sample system with OEL 5.3 and default + development packages installed only
the following rpms were missing:
Shell Limits
/etc/security/limits.conf
SuSE only
vm.hugetlb_shm_group=<gid of osdba group>
kernel.sem
kernel.shmall
kernel.shmall = This parameter sets the total amount of shared memory pages that
can be used system wide. Hence, SHMALL should always be at least
ceil(shmmax/PAGE_SIZE). PAGE_SIZE is usually 4096 bytes unless you use Big Pages
or Huge Pages which supports the configuration of larger memory pages. (quoted
from: www.puschitz.com/TuningLinuxForOracle.shtml)
kernel.shmmax
kernel.shmmni
fs.file-max
fs.aio-max-nr
net.ipv4.ip_local_port_range
net.core.rmem_default
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 6/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
net.core.rmem_default
net.core.rmem_default = the default size in bytes of the receive buffer; mustbe set
at least to 262144
net.core.rmem_max
net.core.rmem_max = the maximum size in bytes of the receive buffer; must be set
at least to @4194304
net.core.wmem_default
net.core.wmem_default = the default size in bytes of the send buffer; must be set at
least to 262144
net.core.wmem_max
net.core.wmem_max = the maximum size in bytes of the send buffer; must be set at
least to 1048576
Networking
Basic facts
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 7/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.180.0
NETMASK=255.255.255.0
IPADDR=192.168.180.10
USERCTL=no
/etc/sysconfig/network-scripts/ifcfg-eth0 looks like:
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=yes
(Note: Add a second interface to achive real fault tolerance. for our testing
environment we use bonding to provide a consistent name schema)
The configuration for bond1 is not shown just alter interface names and IPs.
Configure NTP
Grid Infrastructure provides ntp-like time synchronization with ctss (cluster time
synchronization service) ctssd is provided in case connections to ntp servers are not
possible
ATTENTION: Set the -x flag if you use ntp to prevent ntp from stepping the clock in
/etc/sysconfig/ntpd!
start ntpq
enter opeer to see list of all peers
In our example two peers: host nb-next-egner and the local clock
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 9/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
SCAN
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 10/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
After installation we will find three listeners running from grid infrastructure home:
Connection to database RAC11P using SCAN would use this tnsnames entry:
RAC11P =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=rac-scan.regner.de)(PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=RAC11P))
)
RAC11P_old =
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=rac1-vip.regner.de)(PORT=1521))
(ADDRESS=(PROTOCOL=tcp)(HOST=rac2-vip.regner.de)(PORT=1521))
)
(CONNECT_DATA=(SERVICE_NAME=RAC11P))
)
RAC11P =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=rac-scan.regner.de)(PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=RAC11P)
(INSTANCE_NAME=RAC11P1))
)
Update [16th October 2009]: If you do not have a working DNS server available refer
here to set up your own,
Forward lookup
Reverse lookup
dig -x 192.168.180.6
dig -x 192.168.180.7
dig -x 192.168.180.8
Create Group
Note: For educational purposes we use only one group. In productive enviroments
there should be more groups to separate administrative duties.
Create User
mkdir -p /u01/app/11.2.0/grid
chown -R root:dba /u01
chmod -R 775 /u01
chown -R grid:dba /u01/app/11.2.0/grid
useradd -g dba -u 500 -d /u01/app/11.2.0/grid grid
passwd grid
Note: Oracle recommends different users for grid and database installation!
Make sure groupid and userid are the same on ALL nodes!
umask 022
if [ -t 0 ]; then
stty intr ^C
fi
Requirements
must be visible on all nodes
as always recommendation: SAME (stripe and mirror everything)
NFS
RAW disks (deprecated; read doucmentation!)
Oracle Clusterware binaries
NFS
Local disk
Oracle RAC binaries
ACFS
NFS
local disk
Oracle database files
ASM
NFS
RAW disks
Oracle recovery files
ASM
NFS
Install RPMs
oracleasmsupport
oracleasmlib
oracleasm-<kernel-version>
(see Sources for download locatio)
Configure ASM
/usr/sbin/oracleasm configure -i
init ASM
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 14/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
/usr/sbin/oracleasm init
In the following example disk /dev/sde (this is our iSCSI storage) does not contain a
partition at all we will create one
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 15/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 16/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
total =
[2 * ausize * disks]
+ [redundancy * (ausize * (nodes * (clients + 1) + 30) + (64 * nodes) + 533)]
[2 * 1 * 3]
+ [2 * (1 * (4 * (4 + 1)+ 30)+ (64 * 4)+ 533)]
= 1684 MB
use high redundancy for OCR and Voting disks the correct function of your
cluster depends on it!
use 5 disks with 10 GB each enough space for all files plus asm metadata plus
space for futher growth
Checklist
Storage visible
user and groups created
Kernel parameters configured
RPM Packages checked / installed
NTP working
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 17/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
DNS working
Connection (ping, ssh) between nodes working?
Backup available for rollback?
Installing
Start installation as user grid (on one node (here on node rac1))
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 18/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 19/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
The node the installer was started is already added by default; add here all other
nodes (in our case we added rac2)
Click on SSH Connectivity, enter username and password and click on Setup
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 20/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Select which interface is the public and which the private one
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 21/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Where to place OCR and Voting disk in our case we use ASM for everything
For storing OCR and Voting disk we need to create a data group; our first data group
is called DATA1 and consists of the four LUNs we prepared and labeled before
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 22/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
here we see the disk names we labeled the disks with again. We choose normal
redundancy which will create a mirror.
Specify passwords for ASM and ASMSNMP.. choose strong passwords if possible (i
was lazy and chose not that strong ones acceptable for educational purposes but
not in real productive scenarios)
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 23/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Grid Infrastructure can use IPMI for fencing VMWARE does not have IPMI
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 24/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Set Oracle Base and software (install) location software location must not be under
oracle base location else the installer throws an error saying so
Inventoriy location
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 25/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Make sure you fix every issue reported here (memory and swap size are limited on
virtual machine so this is not fixablebut should anyway)
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 26/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Ready..
Installing
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 27/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 28/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 29/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
FINISHED
Where to go now?
We just installed the Infrastructure needed for RAC, i.e. ASM and Clusterware
Install diagnostic utilities (strongly recommended)
OSWatcher
and RACDDT
Tune Kernel parameters (if not done before)
Create at least TWO more disk groups:
one for holding database files (i.e. datafiles and binary installation files)
one to be used as flashback recovery area
Backup current configuration
some ADVM (ASM Dynamic Volume Manager) and ACFS (ASM Cluster File system)
foundations can be found here
now we need to install a RAC database this is covered here and here
Pingback: Oracle 11 Release 2 Install Guide Install Oracle RAC Ronny Egner's Blog
sayantan
December12,2009at08:29
linux-w0sv:~/Desktop # ls /etc/sysconfig/network-scripts/
ls: cannot access /etc/sysconfig/network-scripts/: No such file or directory
linux-w0sv:~/Desktop # ls /etc/sysconfig/
SuSEfirewall2 dmraid named squid
SuSEfirewall2.d fetchmail network ssh
apache2 fonts-config news storage
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 31/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Ronny Egner
December12,2009at13:31
Yes there are differences between SuSE and OEL. The guide is specific to Oracle
Enterprise Linux. If you use SuSE you have to know the differences between SuSE
and RedHat/OEL. By the way: open SuSE is NOT certified for oracle at all. So you
will face problems.
sayantan
December12,2009at16:56
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 32/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
OCR needs a bareminimum ASM 840MB and voitng disk need bareminimum 1.4GB
ASM space.is it so?is it mandatory to have iscsi configured?
Ronny Egner
December14,2009at08:12
Ronny Egner
December14,2009at08:14
Regarding your iSCSI question: No, it is not required. For RAC you need some kind
of shared storage. iSCSI is a shared storage. You can also use SAN or even NFS
implementation. In my tests i use iSCSI because i do not have a SAN equipment
available.
sayantan
December12,2009at16:57
Ronny Egner
December14,2009at08:09
Aman....
January4,2010at21:32
Ronny,
I am facing some issues regarding the disk creation. I am using OEL5.3 X86_64 bit. I
did add a seperate hard disk on my VM installation. After that I created the
partitions over that newly added using FDISK. I could see the partitions. I installed
the correct ASMLIB driver and it got installed as well. But I tried to create the disk
using the asmlib, it raised error that the disk creation is failed. I am not sure what I
am missing? Please help me in getting it sorted out.
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 33/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Aman.
Ronny Egner
January5,2010at08:50
Hi Aman,
can you send me the following output (please reboot the system before doing so):
fdisk -l
What was the command you used to create/label the ASM disk?
Aman....
January5,2010at20:49
Hi Ronny,
Thanks for the reply. I have managed to create the disks but I am not able to see
them when I am installing the Grid Infrastructure. Here is my asmlib module and
disks status,
[root@localhost ~]# oracleasm listdisks
ASMDISK1
ASMDISK2
ASMDISK3
ASMDISK4
ASMDISK5
ASMDISK6
ASMDISK7
[root@localhost ~]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@localhost ~]#
I am not able to see the disks when I am running the installer of ?Grid
Infrastructure. I am not able to see the disks.
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 34/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Ronny Egner
January6,2010at08:48
Hi Aman,
i assume this is a cluster installation. Can you see all disks on all of your nodes?
One reason for this might be asmlib is looking at the wrong physical device names.
Are the device names /dev/sd? or something else like /dev/emcpower? ?
sayantan
February14,2010at07:43
hi
regards
Ronny Egner
February16,2010at09:04
sayantan
February14,2010at07:56
hi
i love to play with it lot.so i installed 11gr2 db version first.then i deleted the db orcl
using dbca.NOW i am trying to install RAC..if i install RAC and create a db or restore
a db from taking backup backup from a 10gR2 single instance db using rman.what
would be the case?
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 35/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
will this db use the all the fetures of RAC 11gR2 or it will be just a single instance db
by default OR do i really need to run rconfig? or whatelse.
plz suggest
Ronny Egner
February16,2010at08:58
Ronny Egner
February16,2010at09:01
The most simple step would be to create a database with DBCA. If you want to
migrate your data you have several options: Export/Import (either with Data Pump
or old exp/imp), Upgrade your 10g DB with DBUA and so on. Best would be to use
export/import if you have a small amount of data.
sayantan
February14,2010at08:09
hi
/etc/pam.d/login
/etc/pam.d/su
/etc/pam.d/sshd
/etc/pam.d/xdm
/etc/pam.d/gdm
/etc/pam.d/kde
regards
sayantan
February20,2010at17:42
@Ronny Egner
hi
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 36/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
ERROR:
User equivalence unavailable on all the specified nodes
Verification cannot proceed
Pre-check for cluster services setup was unsuccessful on all the nodes.
[oracle@rac-2 grid]$
regards
sayantan
February20,2010at17:44
@Ronny Egner
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 37/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
regards
Ronny Egner
February21,2010at17:46
Actually it is exported from a Netapp Filer. You have to read the docs on how to
export via iSCSI with openfiler.
Sayantan
February21,2010at21:44
@Ronny Egner
is SCSI / SAN mandatory?actually this SCSI and SAN disks looks hazy for me
Ronny Egner
February22,2010at08:51
iSCSI or even SAN is not mandatory. All you need is some kind of shared storage
(i.e. access must be possible from all nodes). The most simple way to do this is via
NFS.
sayantan
February22,2010at12:42
is it possible to mix NFS with ASM?i think so.can you show the way?
Ronny Egner
February22,2010at12:47
Dont get me wrong, but i feel but before tying GFS or ASM-over-NFS you should
install on plain NFS. This removes a lot of complexity.
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 38/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
sayantan
February22,2010at18:56
@Ronny Egner
Thanx.
NFS should be available to clusterware
how to offer it to clusterware?Thats why i wanted to mix it.
regards
Ronny Egner
February23,2010at08:52
1. Mount NFS with correct options (see install guide; they change from version to
version)
2. When being asked for OCR and Voting disk just enter /
sayantan
February22,2010at19:30
Ronny Egner
February23,2010at08:53
Node eviction means to fence out nodes from the cluster, to remove them in order
to ensure cluster stability and data security.
sayantan
February23,2010at16:25
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 39/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
i have JUST configure iscsi by tgtadm ie. without using netapp filer or openfiler now
for a node:
1)what if i offer a raw disk to iscsi will it be supported by 11gR2?do i offer it through
ext3?
regards
Ronny Egner
February24,2010at10:51
You basically exported your storage via iSCSI from one node. Thats fine. For a
cluster you need the SAME disks visible to ALL nodes in your cluster. So you need
to export your disks via iSCSI to all of your nodes.
Your current configuration lacks high availability. For learning thats fine.
You can offer a raw disk directly to the clusterware. But you have to offer at least
two disks (one disk OCR and one disk Voting disk).
Instead of using raw disks directly use ASM which is more flexible.
I dont understand the question. You have to export your disks via iSCSI to all of
your nodes.
The node exporting your storage is your single-point-of-failure.
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 40/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
sayantan
February23,2010at16:50
Ronny Egner
February24,2010at10:53
Sayantan
February24,2010at17:08
hi
how to export it? editing /etc/exports or using iscsi initiator in different node?
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 41/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
until you decide to write them. After that, of course, the previous
content wont be recoverable.
[root@rac-1 ~]#
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 42/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Ronny Egner
February26,2010at23:32
NFS exports are configured in /etc/exports. The way you are exporting iSCSI LUNs
depend on the software you are using. So without more information i cannot help
here.
Sayantan
February26,2010at16:35
Ronny Egner
February26,2010at23:28
king
April6,2010at08:58
problem is that i need to use a shell script of those command each time can i do it
on booting by editing /etc/exports?
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 43/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Ronny Egner
April14,2010at09:02
> problem is that i need to use a shell script of those command each time can i do
it on booting by editing /etc/exports?
Check if there is a script shipped with Red Hat in /etc/init.d if there is one all you
need to do is to activate it.
Because i needed some storage. I could have also chosen 2*40 GB or 4*15GB it
does depend on your requirements.
mogambo
April14,2010at16:12
>Because i needed some storage. I could have also chosen 2*40 GB or 4*15GB it
does depend on your requirements.
is it necessary that this storage should be exported by iscsi?whats the purpose of this
storage?is this for DB files?or for clusterware?
Ronny Egner
April14,2010at17:37
> is it necessary that this storage should be exported by iscsi?whats the purpose of
this storage?is this for DB files?or for clusterware?
For running a cluster you need some kind of shared storage for your database files
(datafiles, redo logs, archive log, control file) and for the voting disks and OCR.
There are several technologies available which offer this kind of shared storage:
iSCSI (as i used here), SAN or NFS.
mogambo
April15,2010at05:41
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 44/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
i have seen hunters page.but he did not made 2*30 GB on SCSI he just made ASM
volumes.is that enough?
Ronny Egner
April15,2010at07:37
The guide is based on the usage of ASM. ASM takes shared disks offered and
creates disk groups. These dis groups can be used to store data in. The iSCSI disks
are a type of shared shorage. The size depends on your requirements. For a short
test 2*30 GB were more than enough. For larger database you should use larger
disks. Make sure you read the ASM best practise guide before.
Sayantan
April15,2010at06:33
i suspect its not req bcz clusterware will bring them up?am i right?
Ronny Egner
April15,2010at07:35
You have two interfaces: one public (for host ip, all the scan IPs and the vip) and
one private interface. These two interfaces will be most likely bonded interfaces,
hence the name bond0 or bond1 and so on.
mogambo
April15,2010at06:44
Ronny Egner
April15,2010at07:32
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 45/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
No. /u01 is a local disk on each node. In /u01/app/grid the grid infrastructure is
installed. This has to be done on each node. Note that you *cannot* share the grid
installation among nodes.
Afterwards we created an ASM instance and used the iSCSI disks (= shared storage)
for that. By using ADVM and ACFS we created a shared disk for our database
installation and mounted it on /u01/app/oracle/product/11.2.0/ora10p (if i
remember the paths correctly).
mogambo
April15,2010at08:20
Ronny Egner
April15,2010at08:28
For configuring ASM you need some kind of disks because asm is basically a
volume manager which deals with disks. You need the shared storage (or disks as
you call them) at the grid infrastructure installation.
king
April15,2010at08:27
@Ronny Egner
Ronny Egner
April15,2010at08:46
Strange. Then i guess you have to write the init script yourself.
Sayantan
April15,2010at16:36
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 46/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
i have created the bond as shown by u.problem is that its not pinging to google via
my ADSL modem
what to do?
Ronny Egner
April16,2010at07:51
Sayantan
April24,2010at16:22
Ronny Egner
April26,2010at07:59
No. Slave means in terms of bonding: what *physical* interfaces consist the
interface of. So eth0 and eth2 might form bond0 while eth1 and eth3 form bond1.
king
April25,2010at06:31
hi
regards
Ronny Egner
April26,2010at08:00
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 47/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
You cannot name a network bond eth0 or eth1. These names are reserved for
physical devices. Note that for high availability you need at least two physical
interfaces per bond.
mangoboy
April25,2010at17:48
hi
how to create bond0 and bond1 for RAC installation between two nodes??
node1
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 48/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
[grid1@rac-1 ~]$
node2
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 49/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 50/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
[root@rac-2 ~]#
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.181.10
NETMASK=255.255.255.192
IPADDR=192.168.181.20
USERCTL=no
DEVICE=eth0
BOOTPROTO=none
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 51/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=yes
i am facing some error when i am installing clusterware bcz the interface names are
different in each node.and public and private ip NICs are in different order.
regards
Ronny Egner
April26,2010at08:05
Hi,
access to the internet requires some kind of default gateway and a dns server
configured (for resolving host names).
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.181.10
NETMASK=255.255.255.192
IPADDR=192.168.181.20
USERCTL=no
DEVICE=bond1
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.1.255
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 52/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
NETMASK=255.255.255.0
IPADDR=192.168.1.3
USERCTL=no
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=yes
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
USERCTL=yes
On Node 2:
DEVICE=bond0
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.181.11
NETMASK=255.255.255.192
IPADDR=192.168.181.20
USERCTL=no
DEVICE=bond1
BOOTPROTO=none
ONBOOT=yes
NETWORK=192.168.1.255
NETMASK=255.255.255.0
IPADDR=192.168.1.4
USERCTL=no
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=yes
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 53/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
DEVICE=eth2
BOOTPROTO=none
ONBOOT=yes
MASTER=bond1
SLAVE=yes
USERCTL=yes
Sayantan
April25,2010at19:41
@Ronny Egner
regards
Ronny Egner
April26,2010at07:58
Use netstat -n to check if there are any routes. In addition to that check if you can
ping a server on the internet.
Sayantan
April26,2010at12:04
INS-32012,INS-32012,INS-20702
Cause A call to cluster verification utility failed. Action Refer to the logs or contact
Oracle Support Services. Note for advanced users: Launch the installer by passing
the following flag -ignoreInternalDriverError.
Ronny Egner
April26,2010at12:59
I have never seen this error before. At what stage do you observe this problem?
What is the configuration?
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 54/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Sayantan
April26,2010at14:32
Ronny Egner
April26,2010at14:36
Sorry but step 12 of 16 does not mean anything to me. Please review your log
files for any errors. You can find them in the oraInstall\log directory.
Sayantan
April26,2010at14:35
this is without vmware installation.so 2gb ram 240gb hdd 4 lun each 10.5gb on ASM
shared by iscsi ie tgtadm.
Sayantan
April26,2010at15:45
@Ronny Egner
INFO: Checking specified location on remote nodes
INFO: size estimation for Completeinstall is 3017.24600315094
SEVERE: [FATAL] [INS-32012] Unable to create directory.
CAUSE: Either proper permissions were not granted to create the directory or there
was no space left in the volume.
ACTION: Check your permission on the selected directory or choose another
directory.
SEVERE: [FATAL] [INS-32012] Unable to create directory.
CAUSE: Either proper permissions were not granted to create the directory or there
was no space left in the volume.
ACTION: Check your permission on the selected directory or choose another
directory.
SEVERE: [FATAL] [INS-32052] Oracle base and Oracle home locations are same.
CAUSE: Oracle base and Oracle home locations were same.
ACTION: Oracle base and Oracle home locations cannot be same. Oracle
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 55/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
recommends installing Oracle software within the Oracle base directory. Adjust the
Oracle home or Oracle base accordingly.
SEVERE: [FATAL] [INS-32026] The Software Location specified should not be under
Oracle base location.
CAUSE: Grid Infrastructure for a Cluster installation will assign root ownership to all
parent directories of clusterware software location. As a result, all named directories
in the software location path will acquire root ownership. This may create problems
for subsequent installations into the same Oracle base.
ACTION: Specify software location outside of Oracle base.
SEVERE: [FATAL] [INS-20702] Unexpected internal driver error
CAUSE: A call to cluster verification utility failed.
ACTION: Refer to the logs or contact Oracle Support Services. Note for advanced
users: Launch the installer by passing the following flag -
ignoreInternalDriverError..
Refer associated stacktrace
#oracle.install.commons.util.exception.DefaultErrorAdvisor:1740
INFO: Advice is ABORT
INFO: Adding ExitStatus INVALID_USER_INPUT to the exit status set
INFO: Completed validating state
INFO: Terminating all background operations
INFO: Terminated all background operations
INFO: Transition aborted
INFO: Rolled back to state
INFO: Pause Oracle Grid Infrastructure
INFO: Resume Oracle Grid Infrastructure
INFO: Finding the most appropriate exit status for the current application
INFO: Exit Status is -2
INFO: Shutdown Oracle Grid Infrastructure
Ronny Egner
April29,2010at13:22
Reading the log file some line are most probably pointing to the error:
Sayantan
April26,2010at16:08
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 56/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Another thing i want to clarify do i need any separate interface to connect private
and vertual network?
Ronny Egner
April29,2010at13:23
You need two physical network interfaces. One for the interconnect and the other
for your public and virtual host IPs (including SCAN and VIP IPs).
Sayantan
April26,2010at16:21
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 57/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Ronny Egner
April29,2010at13:24
Fix the root:root permissions and i am wondering why i see numerical user IDs
instead of the owner.?
Anonymous
April26,2010at18:45
cluster configuration failed now i need to setup asmca netca etc by my own can you
give any pointer or link?
Ronny Egner
April29,2010at13:21
Once an assistant failed it is not suitable to run them manually. Check the error
logs, fix the problems and restart the installation is my recommendation,
Marija
May10,2010at11:29
Hi
Great blog!
Thank you for responding to my thread at technet forum. Thats where I got the URL
of your blog.
I have done a similar install, but I have used different groups for oracle and grid
users.
I had issues with privileges when writing to diag directory which I resolved by
having different ORACLE_BASE for grid and oracle user.
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 58/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
I am also not sure if running a listener as a grid user causes any issues. An issue that
I found so far is that users who are not oracle or grid cannot establish local BEQ
connections to an instance. I logged an SR for this, but Oracle support was unable to
help, I assume they just have a basic install where everything is installed as oracle so
they could not reproduce my problem.
I wander if it is worth installing as two separate users if the same team looks after
the grid infrastructure and RAC? I would like to know what do other people do. I did
not have a chance to talk to anyone who is actually using 11gR2 in production.
Thanks
Ronny Egner
May10,2010at16:34
Hi,
king
May13,2010at08:11
hi
how to install clusterware if the multipath is configure?will the ASM take care of
multi path??
regards
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 59/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Ronny Egner
May17,2010at11:08
king
May13,2010at08:46
Ronny Egner
May17,2010at11:03
sayantan
May13,2010at09:03
@Ronny Egner
ie. bcz i have to make equivalence user.so i deleted user . but their id is there
some permission and folder is not changed..
thx r
regards
mango
May23,2010at11:31
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-
US/RHEL510/pdf/DM_Multipath.pdf
Ronny Egner
May25,2010at09:45
Anonymous
May23,2010at15:14
what to do?
Device Checks for ASM This is a pre-check to verify if the specified devices meet the
requirements for configuration through the Oracle Universal Storage Manager
Configuration Assistant.
Check Failed on Nodes: [rac-2] Check Succeeded On Nodes: [rac-1]
Verification result of failed node: rac-2
Expected Value
:n/a
Actual Value
:n/a
List of errors:
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdb9 on node rac-2 Cause: Owner, group and permission
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 61/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdb8 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdb7 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdb6 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdb5 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdb4 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdb3 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdb2 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 62/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sda7 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sda6 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sda5 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdh on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sda4 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
PRVF-9994 : Owner, group, permission information could not be obtained for
device(s) /dev/sdg1 on node rac-2 Cause: Owner, group and permission
information could not be obtained for devices listed on the nodes listed. Action:
Ensure that the correct devices were specified and that they are created on the
indicated node. Make sure that the path exists and is accessible by the user.
Back to Top
Ronny Egner
May25,2010at09:47
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 63/64
20/04/2017 Oracle11gRelease2InstallGuideGridInfrastructureinstallationRonnyEgnersBlog
Jack Jack
August5,2010at20:17
@Anonymous
Hi, I encounter the same issue now. Would you please share the resolution to your
case?
gouthamk10
October25,2012at15:39
Hi Ronny Egner
i had gone through the doc.it is excellent.
1) question
do we need to create DNS server on rac node 1.i created on the separate node for my
rac 2 node cluster installation.
can you please give some information regarding this please.
thanks
goutham
Ronny Egner
October25,2012at15:43
Your DNS must not be on the RAC itself. Use the hopefully existing DNS server in
your company. If there is none install your own DNS server on another server.
http://blog.ronnyegnerconsulting.de/2009/09/14/oracle11grelease2installguide%E2%80%93gridinfrastructureinstallation/ 64/64