- 论坛徽章:
- 0
|
Install 3-nodes Oracle 10g RAC on Solaris X64 step by step
nodes information
10.198.90.132 SunOS sxrtfs01 5.10 Generic_127112-05 i86pc i386 i86pc
10.198.90.133 SunOS sxrtfs02 5.10 Generic_127112-05 i86pc i386 i86pc
10.198.90.134 SunOS sxrtfs03 5.10 Generic_120012-14 i86pc i386 i86pc
CAUTION:
The hostname can not use Capital characters. you'd better use lowercase characters.
1)upload oracle RAC related installation files
10201_clusterware_solx86_64.zip
10201_database_solx86_64.zip
ftp the 2 files to sxrtfs01
2)pre-install procedures , on every node
a. create oracle group and user
++++
groupadd -g 100 oinstall
groupadd -g 101 dba
mkdir -p /export/home
useradd -u 200 -g oinstall -G dba -s /usr/bin/bash -d /export/home/oracle -m oracle
id -a oracle
passwd oracle
+++++
b. check 'nobody' user and see if the user exist
# id -a nobody
c. setting IP address for oracle RAC
Oracle RAC needs 3 IP address
1. public IP
2. Virtual IP
3. Private IP
/etc/hosts (the same on every node)
# public ip for oracle rac
10.198.90.132 sxrtfs01
10.198.90.133 sxrtfs02
10.198.90.134 sxrtfs03
# virtual ip for oracle rac
10.198.91.240 sxrtfs01-vip
10.198.91.241 sxrtfs02-vip
10.198.91.242 sxrtfs03-vip
# private ip for oracle rac
200.100.0.1 sxrtfs01-priv
200.100.0.2 sxrtfs02-priv
200.100.0.3 sxrtfs03-priv
take node sxrtfs01 for example.
ifconfig e1000g0:1 plumb
ifconfig e1000g0:1 10.198.91.240 netmask 255.255.248.0 up
ifconfig e1000g2 plumb
ifconfig e1000g2 200.100.0.1 netmask 255.255.255.0 up
-bash-3.00# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.198.90.132 netmask fffff800 broadcast 10.198.95.255
ether 0:14:4f:1f:e7:a4
e1000g0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 10.198.91.240 netmask fffff800 broadcast 10.198.95.255
e1000g2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 200.100.0.1 netmask ffffff00 broadcast 200.100.0.255
ether 0:14:4f:1f:e7:a6
-bash-3.00#
//on node sxrtfs02
ifconfig e1000g0:1 plumb
ifconfig e1000g0:1 10.198.91.241 netmask 255.255.248.0 up
ifconfig e1000g2 plumb
ifconfig e1000g2 200.100.0.2 netmask 255.255.255.0 up
//on node sxrtfs03
ifconfig e1000g0:1 plumb
ifconfig e1000g0:1 10.198.91.242 netmask 255.255.248.0 up
ifconfig e1000g2 plumb
ifconfig e1000g2 200.100.0.3 netmask 255.255.255.0 up
on node sxrtfs01
-bash-3.00# more /etc/hostname.*
::::::::::::::
/etc/hostname.e1000g0
::::::::::::::
sxrtfs01
::::::::::::::
::::::::::::::
/etc/hostname.e1000g2
::::::::::::::
sxrtfs01-priv
//no need /etc/hostname.e1000g0:1
d. open rsh for oracle user on each node
#su - oracle
$ vi .rhosts
+
e. create install directories and setting permission (on each node)
+++++
mkdir /opt/app
mkdir -p /opt/app
mkdir -p /opt/app/crs
mkdir -p /opt/app/crs/crshome
mkdir -p /opt/app/oraInventory
mkdir -p /opt/app/oracle
mkdir -p /opt/app/oracle/orahome
chown -R oracle:oinstall /opt/app
chmod -R 775 /opt/app
+++++ |
|