RAC安裝

aishu521發表於2012-07-11

使用VMWareRedHat Linux上安裝RAC

http://www.vmware.com/download/server/

VMware-server-1.0.6-91891.i386.rpm

 

/etc/hosts file must contain the following information.

127.0.0.1       localhost.localdomain   localhost

# Public

192.168.2.101   rac1.localdomain        rac1

192.168.2.102   rac2.localdomain        rac2

#Private

192.168.0.101   rac1-priv.localdomain   rac1-priv

192.168.0.102   rac2-priv.localdomain   rac2-priv

#Virtual

192.168.2.111   rac1-vip.localdomain    rac1-vip

192.168.2.112   rac2-vip.localdomain    rac2-vip

 

Create the new groups and users.

 

groupadd oinstall

groupadd dba

groupadd oper

 

useradd -g oinstall -G dba oracle

passwd oracleCreate the directories in which the Oracle software will be installed.

 

mkdir -p /u01/crs/oracle/product/10.2.0/crs

mkdir -p /u01/app/oracle/product/10.2.0/db_1

mkdir -p /u01/oradata

chown -R oracle.oinstall /u01

 

Create the /etc/hosts.equiv file as the root user.

 

touch /etc/hosts.equiv

chmod 600 /etc/hosts.equiv

chown root:root /etc/hosts.equiv

Edit the /etc/hosts.equiv file to include all the RAC nodes:

+rac1 oracle

+rac2 oracle

+rac1-priv oracle

+rac2-priv oracle

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/15187685/viewspace-735171/,如需轉載,請註明出處,否則將追究法律責任。