Professional Documents
Culture Documents
Version: <1.0>
mail:176140749@qq.com
(V2.0)
IT
PU
(w
ww
.i
t
pu
x.
co
m)
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
1 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
co
m)
1 Oracle11gR2 ..........................................................................................................4
1.1 ............................................................................................................................... 4
1.2 ................................................................................................................... 4
2 Oracle11gR2 ..........................................................................................................4
2.1 ....................................................................................................................... 4
2.2 ............................................................................................................................... 4
2.3 hosts ...............................................................................................................................6
2.4 ............................................................................................................................... 6
2.5 ............................................................................................................................... 7
2.6 ....................................................................................................................... 8
2.7 grid oracle ......................................................................................... 11
2.8 ..................................................................................................................... 14
2.9 ..................................................................................................................................... 15
2.10 Xmanager Linux.......................................................................................... 16
2.11 VNC Sever Linux........................................................................................ 18
2.11.1 VNC .................................................................................................... 18
2.11.2 VNC ............................................................................................................ 18
2.11.3 VNC ..................................................................19
2.11.4 VNC ............................................................................................................ 19
2.11.5 VNC KDE GNOME .......................................... 20
2.11.6 ...............................................................................................................21
2.11.7 VNC .................................................................................................21
2.11.8 VNC .................................................................................................21
3 11gR2 Grid Infrastructure ..................................................................................................... 23
3.1 ............................................................................................................................. 23
3.2 GRID.......................................................................................................................... 23
3.3 ................................................................................................. 25
3.4 SCAN..................................................................................................................................26
3.5 IP SSH .......................................................................................................... 27
3.6 ..................................................................................................................................... 27
3.7 asm..............................................................................................................28
3.8 asm .............................................................................................................................29
3.9 ......................................................................................................................... 30
3.10 ORACLE_BASE ORACLE_HOME.......................................................................... 30
3.11 ........................................................................................................................... 31
3.12 ................................................................................................................................... 32
3.13 orainstRoot.sh root.sh.................................................................. 32
3.14 ............................................................................................................... 38
4 ASM .................................................................................................................................. 39
5 ORACLE 11gR2 ....................................................................................................... 41
5.1 ............................................................................................................................. 41
5.2 , install database software only.................................................................... 42
5.3 ............................................................................................................................. 43
5.4 ............................................................................................................................. 44
5.5 ......................................................................................................................... 45
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
2 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
IT
PU
(w
ww
.i
t
pu
x.
co
m)
5.6 ..................................................................................................................................... 46
5.7 ..................................................................................................................................... 47
5.8 root.sh ....................................................................................... 48
6 Oracle 11gR2 .............................................................................................................49
6.1 dbca ........................................................................................................49
6.2 Create database............................................................................................................ 49
6.3 ..................................................................................................................... 50
6.4 Global Database NameSid Prefix.................................................................... 51
6.5 EM...................................................................................................................................... 51
6.6 Use the Same Password for all Accounts.....................................................................52
6.7 Automatic Storage Management (ASM)..................................................................... 52
6.8 ......................................................................................................................... 52
6.9 ......................................................................................................................... 53
6.10 ....................................................................................................................... 54
6.11 ....................................................................................................................... 55
6.12 ............................................................................................................... 56
6.13 ....................................................................................................................... 56
6.14 ....................................................................................................................... 56
6.15 ....................................................................................................................... 57
Version: <1.0>
mail:176140749@qq.com
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
3 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
1 Oracle11gR2
1.1
ASM
1.2
Oracle
linux_11gR2_database_1of2
linux_11gR2_database_2of2
linux_11gR2_grid
co
m)
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
pu
x.
2 Oracle11gR2
ww
.i
t
2.1
(w
2.2
LINUX AS 5.5 32
PU
IT
Supported Oracle Linux 6 and Red Hat Enterprise Linux 6 Distributions for x86-64
Supported Oracle Linux 5 and Red Hat Enterprise Linux 5 Distributions for x86-64
:core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
4 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
Release:
5.5
Codename:
Carthage
Description:
/mnt yum
[EL]
baseurl=file:///mnt/Server/
gpgcheck=0
enabled=1
ww
.i
t
pu
x.
co
m)
(w
PU
IT
5 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
ASMLIB oracle
oracleasm-2.6.18-194.el5-2.0.5-1.el5.i686.rpm
oracleasmlib-2.1.0.4-1.el5.i386.rpm
oracleasm-support-2.1.7-1.el5.i386.rpm
We've made a lot of changes, so it's worth doing a reboot of the VM at this point to make
ORACLE LINUX
yum install oracle-validated
LINUX
co
m)
pu
x.
2.3 hosts
/etc/hosts
ww
.i
t
IT
PU
(w
#public ip
192.168.10.211 rac1
192.168.10.212rac2
#priv ip
10.10.10.211 rac1prv
10.10.10.212rac2prv
#vip ip
192.168.10.213 rac1vip
192.168.10.214rac2vip
#scan ip
192.168.10.215 racscan
2.4
6 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
mkdir -p /oracle/app/grid
mkdir -p /oracle/app/11.2.0/grid
mkdir -p /oracle/app/oraInventory
co
m)
mkdir -p /oracle/app/oracle
pu
x.
ww
.i
t
passwd grid
passwd oracle
(w
oracle,grid ssh
PU
2.5
IT
Size
/dev/sda1
20G
4.1G
15G
1.9G
643M
1.3G
tmpfs
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
7 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
/dev/sdc1
38G
9.5G
27G
27% /oracle
/dev/sdb1
40G
9.0G
29G
24% /soft
Version: <1.0>
mail:176140749@qq.com
gid=501(oinstall)
uid=502(grid)
groups=501(oinstall),502(dba),503(oper),504(asmadmin),505(asmoper),506(asmdba)
pu
x.
2.6
co
m)
mkdir -p /oracle/app/oracle
chown -R oracle:oinstall /oracle/app/oracle
chmod -R 775 /oracle
mkdir -p /oracle/app/oraInventory
chown -R grid:oinstall /oracle/app/oraInventory
mkdir -p /oracle/app/grid
mkdir -p /oracle/app/12.1.0.1/grid
chown -R grid:oinstall /oracle
ww
.i
t
1/etc/security/limits.conf
soft
nproc
2047
hard
nproc
16384
grid
soft
nofile
1024
PU
grid
grid
hard
nofile
65536
oracle
soft
nproc
2047
oracle
hard
nproc
16384
oracle
soft
nofile
1024
oracle
hard
nofile
65536
IT
grid
(w
vi /etc/security/limits.conf
#ORACLE SETTING
2 SELINUX
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
8 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
SELINUX=permissive
SELINUX
setenforce 0
3 iptables
If you have the Linux firewall enabled, you will need to disable or configure it, as shown
co
m)
4/etc/pam.d/login
#ORACLE SETTING
required
pam_limits.so
(w
session
ww
.i
t
pu
x.
vi /etc/pam.d/login
5 sysctl.conf
# vi /etc/sysctl.conf
PU
#ORACLE SETTING
IT
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
9 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586
sysctl -p
6shm
/dev/shm
none
/dev/shm
tmpfs
defaults
/dev/shm
tmpfs
defaults,size=2048m
0 0
co
m)
none
/dev/shm 1GB/etc/fstab
0 0
size G size2G
# umount /dev/shm
(w
# mount -a
ww
.i
t
pu
x.
mount /dev/shm
"df -h"
PU
7 ntp
IT
gird (11gR2 )
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
10 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
su - grid
grid
co
m)
ww
.i
t
pu
x.
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG
(w
ulimit -p 16384
ulimit -n 65536
PU
else
IT
Fi
su - oracle
oracle
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
11 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
co
m)
CLASSPATH
export
pu
x.
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG
ww
.i
t
(w
ulimit -p 16384
ulimit -n 65536
else
umask 022
IT
PU
fi
fi
su - grid
grid
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
12 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
co
m)
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG
ulimit -p 16384
pu
x.
ww
.i
t
ulimit -n 65536
else
(w
fi
PU
fi
umask 022
IT
su - oracle
13 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
CLASSPATH
export
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib;
NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG
ulimit -p 16384
ulimit -n 65536
pu
x.
else
co
m)
fi
umask 022
(w
Fi
ww
.i
t
2.8
PU
IT
8GB
100%
2.9
1
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
14 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
DGDATA
/dev/sde
20GB
DGRECOVER /dev/sdf
10GB
spfile,
2 fdisk
configure
3 ASM
[root@rac1 rpmpage]# /etc/init.d/oracleasm
co
m)
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
The current values
pu
x.
ww
.i
t
(w
PU
IT
OK
3G
/dev/sdd
grid
size
ASM
Version: <1.0>
mail:176140749@qq.com
]
OK
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
15 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
OK
ARCH1
CRS1
DATA1
OK
ARCH1
CRS1
co
m)
DATA1
pu
x.
2.10
2.10 Xmanager Linux
Xstart Xbrowser
ww
.i
t
Linux /etc/X11/xdm/Xaccess
#*
(w
#
*
IT
PU
vi /etc/inittab
id:5:initdefault: // 5 5
id:5:respawn:/usr/sbin/gdm //
1/etc/gdm/custom.conf,
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
16 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
[daemon]
[security]
AllowRemoteRoot=true
[xdmcp]
Port=177
Enable=1
[gui]
[greeter]
[chooser]
[debug]
[servers]
custom.conf gdm.conf
co
m)
pu
x.
init 3
init 5
ww
.i
t
(w
Linux Oracle
PU
/etc/sysconfig/iptables ()
IT
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
17 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
VNC
2.11.1
VNC VNC
vnc-server-4.1.2-9.el5
[root@rac1 ~]#
VNC
2.11.2
vnc-server-4.1.2-9.el5.x86_64.rpm
co
m)
pu
x.
ww
.i
t
xauth:
Verify:
(w
Password:
IT
PU
.vnc /root/.vnc/passwd.vnc
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
18 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
BTW/root/.vnc/em12c:1.pid VNC
VNC
2.11.3
VNC
---- 5902
---- 5903
---- 5901
---- 5803
---- 5802
---- 5801
co
m)
Linux
pu
x.
ww
.i
t
2.11.4
VNC
(w
VNC Viewer
PU
IT
VNC
VNC viewer Server 144.194.192.183:1
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
19 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
2.11.5
Version: <1.0>
mail:176140749@qq.com
Shell
xstartup
#!/bin/sh
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
co
m)
pu
x.
twm &
ww
.i
t
(w
GNOME
vncserver
PU
IT
2.11.6
KDE GNOME
VNC
vncserver :1
vncserver :2
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
20 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
vncserver :3
1 root 2 oracle
VNCSERVERS=": :"
VNCSERVERS="1:root 2:oracle"
VNCSERVERARGS[1]="-geometry 1024x768"
VNCSERVERARGS[2]="-geometry 1024x768"
VNC
2.11.7
root oracle
co
m)
pu
x.
Verify:
ww
.i
t
[root@rac1 ~]#
VNC
(w
2.11.8
1 VNC
IT
PU
VNC/etc/sysconfig/vncservers
2:oracle
New 'em12c:2 (oracle)' desktop is em12c:2
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
21 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
OK
OK
OK
2 VNC
3 VNC
pu
x.
2:oracle
co
m)
ww
.i
t
(w
OK
PU
4 VNC
IT
ntsysv vncserver
chkconfig chkconfig
man
[root@rac1 ~]# chkconfig vncserver on
[root@rac1 ~]# chkconfig --list vncserver
vncserver
0:off
1:off
2:on
3:on
4:on
5:on
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
6:off
22 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
3.1
gird,database
3.2 GRID
root xhost+
su grid
IT
PU
(w
ww
.i
t
pu
x.
co
m)
cd /soft/grid/./runInstaller
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
23 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
IT
PU
(w
ww
.i
t
pu
x.
co
m)
Version: <1.0>
mail:176140749@qq.com
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
24 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
3.3
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
25 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
3.4 SCAN
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
26 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
co
m)
3.5 IP SSH
IT
PU
(w
ww
.i
t
pu
x.
3.6
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
27 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
co
m)
3.7 asm
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
28 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
3.8 asm
IT
PU
(w
ww
.i
t
pu
x.
co
m)
dbca ORACLE
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
29 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
co
m)
3.9
IT
PU
(w
ww
.i
t
pu
x.
3.10
3.10 ORACLE_BASE ORACLE_HOME
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
30 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
3.11
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
31 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
co
m)
3.12
3.12
IT
PU
(w
ww
.i
t
pu
x.
3.13
3.13 orainstRoot.sh root.sh
OK
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
32 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
co
m)
ww
.i
t
pu
x.
IT
PU
(w
33 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
pu
x.
co
m)
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'rac1'
CRS-2672: Attempting to start 'ora.mdnsd' on 'rac1'
CRS-2676: Start of 'ora.gipcd' on 'rac1' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'rac1'
CRS-2676: Start of 'ora.gpnpd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'rac1'
CRS-2676: Start of 'ora.cssdmonitor' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'rac1'
CRS-2672: Attempting to start 'ora.diskmon' on 'rac1'
CRS-2676: Start of 'ora.diskmon' on 'rac1' succeeded
CRS-2676: Start of 'ora.cssd' on 'rac1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'rac1'
CRS-2676: Start of 'ora.ctssd' on 'rac1' succeeded
Version: <1.0>
mail:176140749@qq.com
ww
.i
t
IT
PU
(w
34 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
ww
.i
t
pu
x.
co
m)
Version: <1.0>
mail:176140749@qq.com
(w
rac1
2012/02/27 14:06:28
/oracle/app/11.2.0/grid/cdata/rac1/backup_20120227_140628.olr
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
Updating inventory properties for clusterware
Starting Oracle Universal Installer...
Actual 2047 MB
Passed
IT
PU
35 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
co
m)
36 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Actual 2047 MB
Passed
IT
PU
(w
ww
.i
t
pu
x.
co
m)
Version: <1.0>
mail:176140749@qq.com
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
37 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
pu
x.
3.14
3.14
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
38 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
STATE_DETAILS
Started
Started
4 ASM
IT
PU
(w
ww
.i
t
pu
x.
co
m)
Version: <1.0>
mail:176140749@qq.com
asmca
su - grid
asmca
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
39 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
diskgroup
IT
PU
(w
ww
.i
t
pu
x.
co
m)
Version: <1.0>
mail:176140749@qq.com
40 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
co
m)
5 ORACLE 11gR2
5.1
pu
x.
xhost +
su - oracle
/soft/database/
ww
.i
t
cd
IT
PU
(w
./runInstaller
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
41 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
42 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
IT
PU
(w
ww
.i
t
5.3
pu
x.
co
m)
Version: <1.0>
mail:176140749@qq.com
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
43 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
5.4
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
44 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
5.5
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
45 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
5.6
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
46 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
5.7
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
47 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
co
m)
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
5.8 root.sh
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
48 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
6 Oracle 11gR2
6.1 dbca
xhost +
su - oracle
dbca
IT
PU
(w
ww
.i
t
pu
x.
co
m)
Create database
6.2 Create
database
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
49 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
IT
PU
(w
ww
.i
t
pu
x.
6.3
co
m)
Version: <1.0>
mail:176140749@qq.com
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
50 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
co
m)
racdb
IT
PU
(w
ww
.i
t
pu
x.
6.5 EM
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
51 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
pu
x.
co
m)
ORACLE
IT
PU
(w
ww
.i
t
6.8
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
52 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
co
m)
6.9
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
53 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
co
m)
6.10
6.10
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
54 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
co
m)
6.11
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
55 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
co
m)
6.12
6.12
IT
PU
(w
ww
.i
t
pu
x.
6.13
6.13
6.14
6.14
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
56 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Version: <1.0>
mail:176140749@qq.com
IT
PU
(w
ww
.i
t
pu
x.
co
m)
EXIT
6.15
6.15
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
57 58
Oracle RAC
RACLinux + Oracle 11g R2 RAC
:
ITPUX
):
:
ITPUX (
(http://www.itpux.com
http://www.itpux.com):
Host
rac1
rac1
rac1
rac1
rac1
rac2
rac2
rac2
rac2
rac2
rac1
rac1
rac2
rac1
rac1
rac2
IT
PU
(w
ww
.i
t
pu
x.
co
m)
Version: <1.0>
mail:176140749@qq.com
),
ITPUX ((http://www.itpux.com
http://www.itpux.com),
), IT
158277749 ,IT 1:199479729
199479729
Oracle 1:158277749
58 58