Documente Academic
Documente Profesional
Documente Cultură
127.0.0.1 localhost
10.0.0.76 lab6 – Private IP address and node name for the iSCSI target
200.200.200.81 lab1-vip
200.200.200.82 lab2-vip Virtual IP addresses and virtual hostnames
Edit the NTP configuration in the /etc/sysconfig/ntpd file to add the -x flag, which
prevents the time from being adjusted backward. Means if the local clock time is in the
future by 600 seconds relative to the time server than the local clock time is not
adjusted. Restart the network time protocol daemon after you complete this task:
1
6. Size the Shared Memory File System /dev/shm in the /etc/fstab file to support
Automatic Memory Management. By default, it is configured to be half the size of the
system memory. Add the size=2048m option to the entry for /dev/shm in the /etc/fstab
file.
1. asmadmin
OSASM group
The Oracle ASM group
This is a required group
Use SQL to connect to the ASM instance as SYSASM
Provides storage administration privilege
Permits mounting and dismounting disk groups, and other storage administration tasks
Does not provide access privileges on the RDBMS instance
2. asmdba
OSDBA group
The ASM DBA group
Use SQL to connect to the ASM instance as SYSDBA
Granted read and write access to files managed by the ASM
3. asmoper
OSOPER group
The ASM operator group
Use SQL to connect to the ASM instance as SYSOPER
Provides the ASM instance administrative privileges, including starting up and stopping the ASM
instance
2
8. Create the operating system users:
#useradd –g oinstall –G asmadmin, asmdba, asmoper grid (software owner for the
Oracle Grid Infrastructure / Cluster Owner)
#useradd –g oinstall –G asmdba, dba, oper oracle (software owner for the Oracle
Database / Database Owner)
9. Specify the password for the grid user and for the oracle user.
10. Edit the /etc/security/limits.conf file to set the resource limits for the grid user and for
the oracle user.
11. Create the Oracle base directory path for the Oracle Grid Infrastructure:
#mkdir –p /u01/app/grid
12. Create the Oracle base directory path for the Oracle database software:
#mkdir –p /u01/app/oracle
13. Assign the ownership of the /u01/app directory to the grid user and the oinstall group:
14. Assign the ownership of the /u01/app/oracle directory to the oracle user and the
oinstall group:
16. Assign the ownership of the /softwares directory to the grid user and the oinstall group:
3
18.Edit the /home/grid/.bashrc file to set environment variables for the grid user:
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/11.2.0/grid
export ORACLE_SID=+ASM1
export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin
19.Edit the /home/oracle/.bashrc file to set environment variables for the oracle user:
export ORACLE_BASE=/u01/app/oracle
export GRID_HOME=/u01/app/11.2.0/grid
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
export ORACLE_UNQNAME=orcl
export ORACLE_SID=orcl1
export PATH=$PATH:$HOME/bin:$GRID_HOME/bin:$ORACLE_HOME/bin
It is a storage transport protocol that moves I/O traffic over a TCP/IP connection.
It can be used to transmit data over Local Area Networks (LANs), Wide Area
Networks (WANs), or the Internet.
The node on which iSCSI storage device is located is called iSCSI target (server) and
other nodes that are allowed to access this storage device are called iSCSI initiators
(clients).
#fdisk –l
25.Create the following disk partitions in the /dev/sdb iSCSI storage device using the fdisk
command:
#partprobe
#/usr/sbin/oracleasm configure –i
#/usr/sbin/oracleasm init
5
30. Mark a disk as an ASM disk:
#/usr/sbin/oracleasm listdisks
32. Enter the following command on each node of the cluster to make ASM disks available:
# usr/sbin/oracleasm scandisks
#/usr/sbin/oracleasm listdisks
Before the actual installation starts, the Cluster Verification Utility (CVU) automatically
checks that all components required for a successful installation of the Oracle
Clusterware and RAC database are installed and configured correctly. By default, the
CVU performs shared storage accessibility checks for the iSCSI storage device. For that,
it requires root privilege to gather information about the iSCSI storage device. The
cvqdisk package contains the mechanism to gather information about the iSCSI storage
device as the root user. This package is applicable on Linux platform only.