11gr2 rac 安装

1.服务进程
[[email protected] ~]#sh rc.sh
[[email protected] ~]# cat rc.sh
service bluetooth stop
service netfs stop
service ip6tables stop
chkconfig bluetooth off
chkconfig ip6tables off
chkconfig netfs off
chkconfig kudzu off
chkconfig nfs off
chkconfig smartd off
chkconfig cups off
chkconfig rhnsd off
chkconfig iptables off
chkconfig autofs off
chkconfig acpid off
chkconfig apmd off
rpm -e --nodeps sendmail

/etc/init.d/ntpd stop
mv /etc/sysconfig/ntpd /etc/sysconfig/ntpd_bak
chkconfig ntpd off

2.关闭防火墙
iptables –F
iptables –X
service iptables save

3.关闭selinux
sed -i ‘s/SELINUX/#SELINUX/g‘   /etc/selinux/config
echo "SELINUX=disabled">>  /etc/selinux/config
setenforce 0

4.补丁包查询

[[email protected] yum.repos.d]#
rpm -q --qf ‘%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n‘ binutils \
compat-libstdc++-33 \
elfutils-libelf \
elfutils-libelf-devel \
gcc \
gcc-c++ \
glibc \
glibc-common \
glibc-devel \
glibc-headers \
ksh \
libaio \
libaio-devel \
libgcc \
libstdc++ \
libstdc++-devel \
make \
sysstat \
unixODBC \
unixODBC-devel

安装补丁包

yum install  -y elfutils-libelf-devel  gcc gcc-c++ glibc-devel glibc-headers libaio-devel  libstdc++-devel  sysstat unixODBC  unixODBC-devel

4.
创建用户组:

/usr/sbin/groupadd -g 501 oinstall
/usr/sbin/groupadd -g 502 dba
/usr/sbin/groupadd -g 504 asmadmin
/usr/sbin/groupadd -g 506 asmdba
/usr/sbin/groupadd -g 507 asmoper
/usr/sbin/groupadd -g 508 oper
/usr/sbin/useradd -u 501 -g oinstall -G asmadmin,asmdba,asmoper,dba grid
/usr/sbin/useradd -u 502 -g oinstall -G dba,asmdba,oper oracle

mkdir -p /u01/app/grid
mkdir -p /u01/app/11.2.0/grid
mkdir -p /u01/app/oracle
mkdir -p /u01/app/oraInventory
chown -R oracle:oinstall /u01
chown -R grid:oinstall /u01/app/grid
chown -R grid:oinstall /u01/app/11.2.0
chown -R grid:oinstall /u01/app/oraInventory
chmod -R 775 /u01

5.设置账户密码
echo -n oracle|passwd --stdin grid
echo -n oracle|passwd --stdin oracle

kernel.shmmax = 1073741824--内存一半 1G内存=1024x1024x1024bit

6.
系统参数调整

sed -i ‘s/kernel.shmmax/#kernel.shmmax/g‘    /etc/sysctl.conf
sed -i ‘s/kernel.shmall/#kernel.shmall/g‘    /etc/sysctl.conf

cat >>/etc/sysctl.conf<<-EOF
kernel.shmmax = 1073741824
kernel.shmall = 4294967296
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.aio-max-nr = 1048576
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
EOF

7.
生效参数
sysctl -p

8.修改/etc/pam.d/login

cat >> /etc/pam.d/login <<EOF
session required pam_limits.so
EOF

9.Make the following changes to the default shell startup file, add the following lines to the /etc/profile file:

cat >>/etc/profile<<-EOF
if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
umask 022
fi
EOF

10.
predir.sh
#!/bin/bash
#Purpose:Create the necessary directory for oracle,grid users and change the authention to oracle,grid users.
#Usage:Log on as the superuser(‘root‘),and then execute the command:#./2predir.sh
#Author:lgl
echo "Now create the necessary directory for oracle,grid users and change the authention to oracle,grid users..."
mkdir -p /u01/app/grid
mkdir -p /u01/app/11.2.0/grid
mkdir -p /u01/app/oracle
mkdir -p /u01/app/oraInventory
chown -R oracle:oinstall /u01
chown -R grid:oinstall /u01/app/grid
chown -R grid:oinstall /u01/app/11.2.0
chown -R grid:oinstall /u01/app/oraInventory
chmod -R 775 /u01
echo "The necessary directory for oracle,grid users and change the authention to oracle,grid users has been finished"

11.rac01 grid环境变量设置

cat >> /home/grid/.bash_profile <<EOF
export TMP=/tmp;
export TMPDIR=\$TMP;
export ORACLE_HOSTNAME=rac01;
export ORACLE_SID=+ASM1;
export ORACLE_BASE=/u01/app/grid;
export ORACLE_HOME=/u01/app/11.2.0/grid;
export NLS_DATE_FORMAT="yy-mm-dd HH24:MI:SS";
export PATH=\$ORACLE_HOME/bin:\$PATH;
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;
EOF

rac01 grid环境变量

echo ‘export PS1="`/bin/hostname -s`-> "‘>> /home/grid/.bash_profile
echo "export TMP=/tmp">> /home/grid/.bash_profile 
echo ‘export TMPDIR=$TMP‘>>/home/grid/.bash_profile
echo "export ORACLE_SID=+ASM1">> /home/grid/.bash_profile
echo "export ORACLE_BASE=/u01/app/grid">> /home/grid/.bash_profile
echo "export ORACLE_HOME=/u01/app/11.2.0/grid">> /home/grid/.bash_profile
echo "export ORACLE_TERM=xterm">> /home/grid/.bash_profile
echo "export NLS_DATE_FORMAT=‘yyyy/mm/dd hh24:mi:ss‘" >> /home/grid/.bash_profile
echo ‘export TNS_ADMIN=$ORACLE_HOME/network/admin‘  >> /home/grid/.bash_profile
echo ‘export PATH=/usr/sbin:$PATH‘>> /home/grid/.bash_profile
echo ‘export PATH=$ORACLE_HOME/bin:$PATH‘>> /home/grid/.bash_profile
echo ‘export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib‘>> /home/grid/.bash_profile
echo ‘export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib‘>> /home/grid/.bash_profile
echo "export EDITOR=vi" >> /home/grid/.bash_profile
echo "export LANG=en_US" >> /home/grid/.bash_profile
echo "export NLS_LANG=american_america.AL32UTF8" >> /home/grid/.bash_profile
echo "umask 022">> /home/grid/.bash_profile

rac02 grid环境变量

echo ‘export PS1="`/bin/hostname -s`-> "‘>> /home/grid/.bash_profile
echo "export TMP=/tmp">> /home/grid/.bash_profile 
echo ‘export TMPDIR=$TMP‘>>/home/grid/.bash_profile
echo "export ORACLE_SID=+ASM2">> /home/grid/.bash_profile
echo "export ORACLE_BASE=/u01/app/grid">> /home/grid/.bash_profile
echo "export ORACLE_HOME=/u01/app/11.2.0/grid">> /home/grid/.bash_profile
echo "export ORACLE_TERM=xterm">> /home/grid/.bash_profile
echo "export NLS_DATE_FORMAT=‘yyyy/mm/dd hh24:mi:ss‘" >> /home/grid/.bash_profile
echo ‘export TNS_ADMIN=$ORACLE_HOME/network/admin‘  >> /home/grid/.bash_profile
echo ‘export PATH=/usr/sbin:$PATH‘>> /home/grid/.bash_profile
echo ‘export PATH=$ORACLE_HOME/bin:$PATH‘>> /home/grid/.bash_profile
echo ‘export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib‘>> /home/grid/.bash_profile
echo ‘export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib‘>> /home/grid/.bash_profile
echo "export EDITOR=vi" >> /home/grid/.bash_profile
echo "export LANG=en_US" >> /home/grid/.bash_profile
echo "export NLS_LANG=american_america.AL32UTF8" >> /home/grid/.bash_profile
echo "umask 022">> /home/grid/.bash_profile

rac01 oracle 环境变量

cat >> /home/oracle/.bash_profile <<EOF
export TMP=/tmp;
export TMPDIR=\$TMP;
export ORACLE_HOSTNAME=rac01;
export ORACLE_BASE=/u01/app/oracle;
export ORACLE_HOME=\$ORACLE_BASE/product/11.2.0/db_1;
export ORACLE_UNQNAME=rac;
export ORACLE_SID=rac1;
export ORACLE_TERM=xterm;
export PATH=/usr/sbin:\$PATH;
export PATH=\$ORACLE_HOME/bin:\$PATH;
export LD_LIBRARY_PATH=\$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=\$ORACLE_HOME/JRE:\$ORACLE_HOME/jlib:\$ORACLE_HOME/rdbms/jlib;  
export NLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS";
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;
EOF

rac02 oracle 环境变量

cat >> /home/oracle/.bash_profile <<EOF
export TMP=/tmp;
export TMPDIR=\$TMP;
export ORACLE_HOSTNAME=rac02;
export ORACLE_BASE=/u01/app/oracle;
export ORACLE_HOME=\$ORACLE_BASE/product/11.2.0/db_1;
export ORACLE_UNQNAME=rac;
export ORACLE_SID=rac2;
export ORACLE_TERM=xterm;
export PATH=/usr/sbin:\$PATH;
export PATH=\$ORACLE_HOME/bin:\$PATH;
export LD_LIBRARY_PATH=\$ORACLE_HOME/lib:/lib:/usr/lib;
export CLASSPATH=\$ORACLE_HOME/JRE:\$ORACLE_HOME/jlib:\$ORACLE_HOME/rdbms/jlib;  
export NLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS";
export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;
EOF

12.修改/etc/security/limits.conf
cat >> /etc/security/limits.conf <<EOF
grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536

oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
EOF

13.下载asm组件安装
http://www.oracle.com/technetwork/topics/linux/index-101839.html

[[email protected] ~]# ls
anaconda-ks.cfg  install.log  install.log.syslog  oracleasm-2.6.18-371.el5-2.0.5-1.el5.x86_64.rpm  oracleasmlib-2.0.4-1.el5.x86_64.rpm  oracleasm-support-2.1.8-1.el5.x86_64.rpm

rpm -ivh oracleasm-support-2.1.8-1.el5.x86_64.rpm
rpm -ivh oracleasm-2.6.18-371.el5-2.0.5-1.el5.x86_64.rpm
rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm

14.ASM磁盘创建ASMDATA01、ASMDATA01、OCR_VOTE01、OCR_VOTE02
   
/usr/sbin/oracleasm createdisk ASMDATA01 /dev/sdb1
/usr/sbin/oracleasm createdisk ASMDATA02 /dev/sdc1
/usr/sbin/oracleasm createdisk OCR_VOTE01 /dev/sdd1
/usr/sbin/oracleasm createdisk OCR_VOTE02 /dev/sde1
 
[[email protected] sysconfig]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[[email protected] sysconfig]# oracleasm listdisks
ASMDATA01
ASMDATA02
OCR_VOTE01
OCR_VOTE02

删除命令
[[email protected] sysconfig]# oracleasm deletedisk OCR_VOTE01
Clearing disk header: done
Dropping disk: done
[[email protected] sysconfig]# oracleasm deletedisk OCR_VOTE02
Clearing disk header: done
Dropping disk: done

配置ssh等效性  其实就是将双方的公共IP都写入 authorized_keys文件
su - grid
ssh-keygen  -t dsa
ssh-keygen  -t rsa
cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys
ssh rac01 cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys
ssh rac02 cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys

su - oracle
ssh-keygen  -t dsa
ssh-keygen  -t rsa
cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys
ssh rac01 cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys
ssh rac02 cat ~/.ssh/*.pub >> ~/.ssh/authorized_keys
  
  
  
ssh rac01 date
ssh rac02 date
ssh rac01-pvt date
ssh rac02-pvt date
 
 
 检查安装grid
 
 [[email protected] grid]$  ./runcluvfy.sh  stage -pre crsinst -n rac01,rac02 -verbose

Performing pre-checks for cluster services setup

Checking node reachability...

Check: Node reachability from node "rac01"
  Destination Node                      Reachable?             
  ------------------------------------  ------------------------
  rac02                                 yes                    
  rac01                                 yes                    
Result: Node reachability check passed from node "rac01"

Checking user equivalence...

Check: User equivalence for user "grid"
  Node Name                             Status                 
  ------------------------------------  ------------------------
  rac02                                 passed                 
  rac01                                 passed                 
Result: User equivalence check passed for user "grid"

Checking node connectivity...

Checking hosts config file...
  Node Name                             Status                 
  ------------------------------------  ------------------------
  rac02                                 passed                 
  rac01                                 passed

Verification of the hosts config file successful

Interface information for node "rac02"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU  
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 eth0   172.168.1.224   172.168.1.0     0.0.0.0         172.168.1.1     08:00:27:7D:9E:11 1500 
 eth1   172.168.2.224   172.168.2.0     0.0.0.0         172.168.1.1     08:00:27:9B:B7:05 1500

Interface information for node "rac01"
 Name   IP Address      Subnet          Gateway         Def. Gateway    HW Address        MTU  
 ------ --------------- --------------- --------------- --------------- ----------------- ------
 eth0   172.168.1.223   172.168.1.0     0.0.0.0         172.168.1.1     08:00:27:E3:46:34 1500 
 eth1   172.168.2.223   172.168.2.0     0.0.0.0         172.168.1.1     08:00:27:A6:12:F1 1500

Check: Node connectivity of subnet "172.168.1.0"
  Source                          Destination                     Connected?     
  ------------------------------  ------------------------------  ----------------
  rac02[172.168.1.224]            rac01[172.168.1.223]            yes            
Result: Node connectivity passed for subnet "172.168.1.0" with node(s) rac02,rac01

Check: TCP connectivity of subnet "172.168.1.0"
  Source                          Destination                     Connected?     
  ------------------------------  ------------------------------  ----------------
  rac01:172.168.1.223             rac02:172.168.1.224             passed         
Result: TCP connectivity check passed for subnet "172.168.1.0"

Check: Node connectivity of subnet "172.168.2.0"
  Source                          Destination                     Connected?     
  ------------------------------  ------------------------------  ----------------
  rac02[172.168.2.224]            rac01[172.168.2.223]            yes            
Result: Node connectivity passed for subnet "172.168.2.0" with node(s) rac02,rac01

Check: TCP connectivity of subnet "172.168.2.0"
  Source                          Destination                     Connected?     
  ------------------------------  ------------------------------  ----------------
  rac01:172.168.2.223             rac02:172.168.2.224             passed         
Result: TCP connectivity check passed for subnet "172.168.2.0"

Interfaces found on subnet "172.168.1.0" that are likely candidates for VIP are:
rac02 eth0:172.168.1.224
rac01 eth0:172.168.1.223

Interfaces found on subnet "172.168.2.0" that are likely candidates for VIP are:
rac02 eth1:172.168.2.224
rac01 eth1:172.168.2.223

WARNING:
Could not find a suitable set of interfaces for the private interconnect
Checking subnet mask consistency...
Subnet mask consistency check passed for subnet "172.168.1.0".
Subnet mask consistency check passed for subnet "172.168.2.0".
Subnet mask consistency check passed.

Result: Node connectivity check passed

Checking multicast communication...

Checking subnet "172.168.1.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "172.168.1.0" for multicast communication with multicast group "230.0.1.0" passed.

Checking subnet "172.168.2.0" for multicast communication with multicast group "230.0.1.0"...
Check of subnet "172.168.2.0" for multicast communication with multicast group "230.0.1.0" passed.

Check of multicast communication passed.

Checking ASMLib configuration.
  Node Name                             Status                 
  ------------------------------------  ------------------------
  rac02                                 passed                 
  rac01                                 passed                 
Result: Check for ASMLib configuration passed.

Check: Total memory
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         1.9634GB (2058764.0KB)    1.5GB (1572864.0KB)       passed   
  rac01         1.9634GB (2058764.0KB)    1.5GB (1572864.0KB)       passed   
Result: Total memory check passed

Check: Available memory
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         1.8526GB (1942644.0KB)    50MB (51200.0KB)          passed   
  rac01         1.7694GB (1855344.0KB)    50MB (51200.0KB)          passed   
Result: Available memory check passed

Check: Swap space
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         3.9987GB (4192956.0KB)    2.9451GB (3088146.0KB)    passed   
  rac01         3.9987GB (4192956.0KB)    2.9451GB (3088146.0KB)    passed   
Result: Swap space check passed

Check: Free disk space for "rac02:/tmp"
  Path              Node Name     Mount point   Available     Required      Status     
  ----------------  ------------  ------------  ------------  ------------  ------------
  /tmp              rac02         /             42.2139GB     1GB           passed     
Result: Free disk space check passed for "rac02:/tmp"

Check: Free disk space for "rac01:/tmp"
  Path              Node Name     Mount point   Available     Required      Status     
  ----------------  ------------  ------------  ------------  ------------  ------------
  /tmp              rac01         /             36.3492GB     1GB           passed     
Result: Free disk space check passed for "rac01:/tmp"

Check: User existence for "grid"
  Node Name     Status                    Comment                
  ------------  ------------------------  ------------------------
  rac02         passed                    exists(501)            
  rac01         passed                    exists(501)

Checking for multiple users with UID value 501
Result: Check for multiple users with UID value 501 passed
Result: User existence check passed for "grid"

Check: Group existence for "oinstall"
  Node Name     Status                    Comment                
  ------------  ------------------------  ------------------------
  rac02         passed                    exists                 
  rac01         passed                    exists                 
Result: Group existence check passed for "oinstall"

Check: Group existence for "dba"
  Node Name     Status                    Comment                
  ------------  ------------------------  ------------------------
  rac02         passed                    exists                 
  rac01         passed                    exists                 
Result: Group existence check passed for "dba"

Check: Membership of user "grid" in group "oinstall" [as Primary]
  Node Name         User Exists   Group Exists  User in Group  Primary       Status     
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             yes           yes           yes           yes           passed     
  rac01             yes           yes           yes           yes           passed     
Result: Membership check for user "grid" in group "oinstall" [as Primary] passed

Check: Membership of user "grid" in group "dba"
  Node Name         User Exists   Group Exists  User in Group  Status         
  ----------------  ------------  ------------  ------------  ----------------
  rac02             yes           yes           yes           passed         
  rac01             yes           yes           yes           passed         
Result: Membership check for user "grid" in group "dba" passed

Check: Run level
  Node Name     run level                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         5                         3,5                       passed   
  rac01         5                         3,5                       passed   
Result: Run level check passed

Check: Hard limits for "maximum open file descriptors"
  Node Name         Type          Available     Required      Status         
  ----------------  ------------  ------------  ------------  ----------------
  rac02             hard          65536         65536         passed         
  rac01             hard          65536         65536         passed         
Result: Hard limits check passed for "maximum open file descriptors"

Check: Soft limits for "maximum open file descriptors"
  Node Name         Type          Available     Required      Status         
  ----------------  ------------  ------------  ------------  ----------------
  rac02             soft          1024          1024          passed         
  rac01             soft          1024          1024          passed         
Result: Soft limits check passed for "maximum open file descriptors"

Check: Hard limits for "maximum user processes"
  Node Name         Type          Available     Required      Status         
  ----------------  ------------  ------------  ------------  ----------------
  rac02             hard          16384         16384         passed         
  rac01             hard          16384         16384         passed         
Result: Hard limits check passed for "maximum user processes"

Check: Soft limits for "maximum user processes"
  Node Name         Type          Available     Required      Status         
  ----------------  ------------  ------------  ------------  ----------------
  rac02             soft          2047          2047          passed         
  rac01             soft          2047          2047          passed         
Result: Soft limits check passed for "maximum user processes"

Check: System architecture
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         x86_64                    x86_64                    passed   
  rac01         x86_64                    x86_64                    passed   
Result: System architecture check passed

Check: Kernel version
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         2.6.18-371.el5            2.6.18                    passed   
  rac01         2.6.18-371.el5            2.6.18                    passed   
Result: Kernel version check passed

Check: Kernel parameter for "semmsl"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             250           250           250           passed         
  rac01             250           250           250           passed         
Result: Kernel parameter check passed for "semmsl"

Check: Kernel parameter for "semmns"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             32000         32000         32000         passed         
  rac01             32000         32000         32000         passed         
Result: Kernel parameter check passed for "semmns"

Check: Kernel parameter for "semopm"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             100           100           100           passed         
  rac01             100           100           100           passed         
Result: Kernel parameter check passed for "semopm"

Check: Kernel parameter for "semmni"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             128           128           128           passed         
  rac01             128           128           128           passed         
Result: Kernel parameter check passed for "semmni"

Check: Kernel parameter for "shmmax"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             1073741824    1073741824    1054087168    passed         
  rac01             1073741824    1073741824    1054087168    passed         
Result: Kernel parameter check passed for "shmmax"

Check: Kernel parameter for "shmmni"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             4096          4096          4096          passed         
  rac01             4096          4096          4096          passed         
Result: Kernel parameter check passed for "shmmni"

Check: Kernel parameter for "shmall"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             4294967296    4294967296    2097152       passed         
  rac01             4294967296    4294967296    2097152       passed         
Result: Kernel parameter check passed for "shmall"

Check: Kernel parameter for "file-max"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             6553600       6553600       6815744       failed        Current value incorrect. Configured value incorrect.
  rac01             6553600       6553600       6815744       failed        Current value incorrect. Configured value incorrect.
Result: Kernel parameter check failed for "file-max"

Check: Kernel parameter for "ip_local_port_range"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed         
  rac01             between 9000.0 & 65500.0  between 9000.0 & 65500.0  between 9000.0 & 65500.0  passed         
Result: Kernel parameter check passed for "ip_local_port_range"

Check: Kernel parameter for "rmem_default"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             262144        262144        262144        passed         
  rac01             262144        262144        262144        passed         
Result: Kernel parameter check passed for "rmem_default"

Check: Kernel parameter for "rmem_max"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             4194304       4194304       4194304       passed         
  rac01             4194304       4194304       4194304       passed         
Result: Kernel parameter check passed for "rmem_max"

Check: Kernel parameter for "wmem_default"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             262144        262144        262144        passed         
  rac01             262144        262144        262144        passed         
Result: Kernel parameter check passed for "wmem_default"

Check: Kernel parameter for "wmem_max"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             131071        unknown       1048576       failed        Current value incorrect. Configured value unknown.
  rac01             1048576       1048576       1048576       passed         
Result: Kernel parameter check failed for "wmem_max"

Check: Kernel parameter for "aio-max-nr"
  Node Name         Current       Configured    Required      Status        Comment    
  ----------------  ------------  ------------  ------------  ------------  ------------
  rac02             65536         unknown       1048576       failed        Current value incorrect. Configured value unknown.
  rac01             65536         unknown       1048576       failed        Current value incorrect. Configured value unknown.
Result: Kernel parameter check failed for "aio-max-nr"

Check: Package existence for "make"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         make-3.81-3.el5           make-3.81                 passed   
  rac01         make-3.81-3.el5           make-3.81                 passed   
Result: Package existence check passed for "make"

Check: Package existence for "binutils"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         binutils-2.17.50.0.6-26.el5  binutils-2.17.50.0.6      passed   
  rac01         binutils-2.17.50.0.6-26.el5  binutils-2.17.50.0.6      passed   
Result: Package existence check passed for "binutils"

Check: Package existence for "gcc(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         gcc(x86_64)-4.1.2-54.el5  gcc(x86_64)-4.1.2         passed   
  rac01         gcc(x86_64)-4.1.2-54.el5  gcc(x86_64)-4.1.2         passed   
Result: Package existence check passed for "gcc(x86_64)"

Check: Package existence for "libaio(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         libaio(x86_64)-0.3.106-5  libaio(x86_64)-0.3.106    passed   
  rac01         libaio(x86_64)-0.3.106-5  libaio(x86_64)-0.3.106    passed   
Result: Package existence check passed for "libaio(x86_64)"

Check: Package existence for "glibc(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         glibc(x86_64)-2.5-118     glibc(x86_64)-2.5-24      passed   
  rac01         glibc(x86_64)-2.5-118     glibc(x86_64)-2.5-24      passed   
Result: Package existence check passed for "glibc(x86_64)"

Check: Package existence for "compat-libstdc++-33(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         compat-libstdc++-33(x86_64)-3.2.3-61  compat-libstdc++-33(x86_64)-3.2.3  passed   
  rac01         compat-libstdc++-33(x86_64)-3.2.3-61  compat-libstdc++-33(x86_64)-3.2.3  passed   
Result: Package existence check passed for "compat-libstdc++-33(x86_64)"

Check: Package existence for "elfutils-libelf(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         elfutils-libelf(x86_64)-0.137-3.el5  elfutils-libelf(x86_64)-0.125  passed   
  rac01         elfutils-libelf(x86_64)-0.137-3.el5  elfutils-libelf(x86_64)-0.125  passed   
Result: Package existence check passed for "elfutils-libelf(x86_64)"

Check: Package existence for "elfutils-libelf-devel"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         elfutils-libelf-devel-0.137-3.el5  elfutils-libelf-devel-0.125  passed   
  rac01         elfutils-libelf-devel-0.137-3.el5  elfutils-libelf-devel-0.125  passed

WARNING:
PRVF-7584 : Multiple versions of package "elfutils-libelf-devel" found on node rac02: elfutils-libelf-devel(x86_64)-0.137-3.el5,elfutils-libelf-devel(i386)-0.137-3.el5

WARNING:
PRVF-7584 : Multiple versions of package "elfutils-libelf-devel" found on node rac01: elfutils-libelf-devel(x86_64)-0.137-3.el5,elfutils-libelf-devel(i386)-0.137-3.el5
Result: Package existence check passed for "elfutils-libelf-devel"

Check: Package existence for "glibc-common"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         glibc-common-2.5-118      glibc-common-2.5          passed   
  rac01         glibc-common-2.5-118      glibc-common-2.5          passed   
Result: Package existence check passed for "glibc-common"

Check: Package existence for "glibc-devel(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         glibc-devel(x86_64)-2.5-118  glibc-devel(x86_64)-2.5   passed   
  rac01         glibc-devel(x86_64)-2.5-118  glibc-devel(x86_64)-2.5   passed   
Result: Package existence check passed for "glibc-devel(x86_64)"

Check: Package existence for "glibc-headers"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         glibc-headers-2.5-118     glibc-headers-2.5         passed   
  rac01         glibc-headers-2.5-118     glibc-headers-2.5         passed   
Result: Package existence check passed for "glibc-headers"

Check: Package existence for "gcc-c++(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         gcc-c++(x86_64)-4.1.2-54.el5  gcc-c++(x86_64)-4.1.2     passed   
  rac01         gcc-c++(x86_64)-4.1.2-54.el5  gcc-c++(x86_64)-4.1.2     passed   
Result: Package existence check passed for "gcc-c++(x86_64)"

Check: Package existence for "libaio-devel(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         libaio-devel(x86_64)-0.3.106-5  libaio-devel(x86_64)-0.3.106  passed   
  rac01         libaio-devel(x86_64)-0.3.106-5  libaio-devel(x86_64)-0.3.106  passed   
Result: Package existence check passed for "libaio-devel(x86_64)"

Check: Package existence for "libgcc(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         libgcc(x86_64)-4.1.2-54.el5  libgcc(x86_64)-4.1.2      passed   
  rac01         libgcc(x86_64)-4.1.2-54.el5  libgcc(x86_64)-4.1.2      passed   
Result: Package existence check passed for "libgcc(x86_64)"

Check: Package existence for "libstdc++(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         libstdc++(x86_64)-4.1.2-54.el5  libstdc++(x86_64)-4.1.2   passed   
  rac01         libstdc++(x86_64)-4.1.2-54.el5  libstdc++(x86_64)-4.1.2   passed   
Result: Package existence check passed for "libstdc++(x86_64)"

Check: Package existence for "libstdc++-devel(x86_64)"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         libstdc++-devel(x86_64)-4.1.2-54.el5  libstdc++-devel(x86_64)-4.1.2  passed   
  rac01         libstdc++-devel(x86_64)-4.1.2-54.el5  libstdc++-devel(x86_64)-4.1.2  passed   
Result: Package existence check passed for "libstdc++-devel(x86_64)"

Check: Package existence for "sysstat"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         sysstat-7.0.2-12.el5      sysstat-7.0.2             passed   
  rac01         sysstat-7.0.2-12.el5      sysstat-7.0.2             passed   
Result: Package existence check passed for "sysstat"

Check: Package existence for "ksh"
  Node Name     Available                 Required                  Status   
  ------------  ------------------------  ------------------------  ----------
  rac02         ksh-20100621-18.el5       ksh-20060214              passed   
  rac01         ksh-20100621-18.el5       ksh-20060214              passed   
Result: Package existence check passed for "ksh"

Checking for multiple users with UID value 0
Result: Check for multiple users with UID value 0 passed

Check: Current group ID
Result: Current group ID check passed

Starting check for consistency of primary group of root user
  Node Name                             Status                 
  ------------------------------------  ------------------------
  rac02                                 passed                 
  rac01                                 passed

Check for consistency of root user‘s primary group passed

Starting Clock synchronization checks using Network Time Protocol(NTP)...

NTP Configuration file check started...
The NTP configuration file "/etc/ntp.conf" is available on all nodes
NTP Configuration file check passed

Checking daemon liveness...

Check: Liveness for "ntpd"
  Node Name                             Running?               
  ------------------------------------  ------------------------
  rac02                                 yes                    
  rac01                                 yes                    
Result: Liveness check passed for "ntpd"
Check for NTP daemon or service alive passed on all nodes

Checking NTP daemon command line for slewing option "-x"
Check: NTP daemon command line
  Node Name                             Slewing Option Set?    
  ------------------------------------  ------------------------
  rac02                                 no                     
  rac01                                 no                     
Result:
NTP daemon slewing option check failed on some nodes
PRVF-5436 : The NTP daemon running on one or more nodes lacks the slewing option "-x"
Result: Clock synchronization check using Network Time Protocol(NTP) failed

Checking Core file name pattern consistency...
Core file name pattern consistency check passed.

Checking to make sure user "grid" is not in "root" group
  Node Name     Status                    Comment                
  ------------  ------------------------  ------------------------
  rac02         passed                    does not exist         
  rac01         passed                    does not exist         
Result: User "grid" is not part of "root" group. Check passed

Check default user file creation mask
  Node Name     Available                 Required                  Comment  
  ------------  ------------------------  ------------------------  ----------
  rac02         0022                      0022                      passed   
  rac01         0022                      0022                      passed   
Result: Default user file creation mask check passed
Checking consistency of file "/etc/resolv.conf" across nodes

Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
File "/etc/resolv.conf" does not have both domain and search entries defined
Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
domain entry in file "/etc/resolv.conf" is consistent across nodes
Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
search entry in file "/etc/resolv.conf" is consistent across nodes
Checking DNS response time for an unreachable node
  Node Name                             Status                 
  ------------------------------------  ------------------------
  rac02                                 passed                 
  rac01                                 passed                 
The DNS response time for an unreachable node is within acceptable limit on all nodes

File "/etc/resolv.conf" is consistent across nodes

Check: Time zone consistency
Result: Time zone consistency check passed

Pre-check for cluster services setup was unsuccessful on all the nodes.
[[email protected] grid]$ exit
logout
[[email protected] ~]# vim /etc/resolv.conf
[[email protected]rac01 ~]# vim /etc/hosts
[[email protected] ~]# su - grid
[[email protected] ~]$ cd /u01/soft/
 
 
 
 [[email protected] app]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[[email protected] app]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
Installing Trace File Analyzer
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  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 Clusterware entries to inittab
CRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘rac01‘
CRS-2676: Start of ‘ora.mdnsd‘ on ‘rac01‘ succeeded
CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘rac01‘
CRS-2676: Start of ‘ora.gpnpd‘ on ‘rac01‘ succeeded
CRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘rac01‘
CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘rac01‘
CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘rac01‘ succeeded
CRS-2676: Start of ‘ora.gipcd‘ on ‘rac01‘ succeeded
CRS-2672: Attempting to start ‘ora.cssd‘ on ‘rac01‘
CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘rac01‘
CRS-2676: Start of ‘ora.diskmon‘ on ‘rac01‘ succeeded
CRS-2676: Start of ‘ora.cssd‘ on ‘rac01‘ succeeded

ASM created and started successfully.

Disk Group GRIDDG created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user ‘root‘, privgrp ‘root‘..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 58ffce130c494f69bfe04972b220521b.
Successfully replaced voting disk group with +GRIDDG.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   58ffce130c494f69bfe04972b220521b (ORCL:OCR_VOTE01) [GRIDDG]
Located 1 voting disk(s).
CRS-2672: Attempting to start ‘ora.GRIDDG.dg‘ on ‘rac01‘
CRS-2676: Start of ‘ora.GRIDDG.dg‘ on ‘rac01‘ succeeded
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

[ro[email protected] grid]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.
[[email protected] grid]# /u01/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
   Copying dbhome to /usr/local/bin ...
   Copying oraenv to /usr/local/bin ...
   Copying coraenv to /usr/local/bin ...

Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node rac01, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
[[email protected] grid]#

[[email protected] sysconfig]# oracleasm deletedisk OCR_VOTE01
Clearing disk header: done
Dropping disk: done
[[email protected] sysconfig]# oracleasm deletedisk OCR_VOTE02
Clearing disk header: done
Dropping disk: done

[[email protected] sysconfig]# oracleasm createdisk OCR_VOTE01 /dev/sdd
Device "/dev/sdd" is not a partition
[[email protected] sysconfig]# oracleasm createdisk OCR_VOTE01 /dev/sdd1
Writing disk header: done
Instantiating disk: done
[[email protected] sysconfig]# oracleasm createdisk OCR_VOTE02 /dev/sde1
Writing disk header: done
Instantiating disk: done
[[email protected] sysconfig]# oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
[[email protected] sysconfig]# oracleasm listdisks
ASMDATA01
ASMDATA02
OCR_VOTE01
OCR_VOTE02

[[email protected] bin]# ./crsctl start crs

[[email protected] bin]# ./crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
[[email protected] bin]# pwd
/u01/app/11.2.0/grid/bin

Opatch 替换

[[email protected] db_1]# su - grid
[[email protected] ~]$ /u01/app/11.2.0/grid/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/11.2.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/11.2.0/grid/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2015-01-23_16-03-17PM_1.log

Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-01-23_16-03-17PM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.

There are no Interim patches installed in this Oracle Home.

Rac system comprising of multiple nodes
  Local node = rac02
  Remote node = rac01

--------------------------------------------------------------------------------

OPatch succeeded.

[[email protected] soft]# su - grid
[[email protected] ~]$ /u01/app/11.2.0/grid/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/11.2.0/grid
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/11.2.0/grid/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/opatch2015-01-26_10-32-58AM_1.log

Lsinventory Output file location : /u01/app/11.2.0/grid/cfgtoollogs/opatch/lsinv/lsinventory2015-01-26_10-32-58AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Grid Infrastructure 11g                                       11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.

Interim patches (3) :

Patch  19121552     : applied on Mon Jan 26 09:33:00 CST 2015
Unique Patch ID:  18065664
Patch description:  "ACFS PATCH SET UPDATE : 11.2.0.4.4 (19121552)"
   Created on 6 Oct 2014, 03:48:39 hrs PST8PDT
   Bugs fixed:
     16318126, 18155334, 17172303, 17376318, 17203009, 17503605, 17636008
     18143006, 17363999, 17721778, 17611362, 17164243, 17428148, 17070158
     17475946, 17699423, 17488768

Patch  19121549     : applied on Mon Jan 26 09:28:36 CST 2015
Unique Patch ID:  18065664
Patch description:  "OCW Patch Set Update : 11.2.0.4.4 (19121549)"
   Created on 6 Oct 2014, 03:27:01 hrs PST8PDT
   Bugs fixed:
     18328800, 18691572, 14525998, 18187697, 18348155, 17516024, 17387214
     17750548, 17617807, 17551223, 14671408, 14207615, 18272135, 18180541
     17292250, 17378618, 17500165, 18875012, 18464784, 17065496, 18848125
     13991403, 17955615, 14693336, 17273020, 17238586, 17089344, 17405605
     17531342, 17155238, 17159489, 18053580, 16543190, 17039197, 16317771
     17947785, 10052729, 16281493, 18346135, 17481314, 18199185, 18399991
     18024089, 18428146, 18352845, 18352846, 17391726, 18414137, 17001914
     17927970, 14378120, 16346413, 17305100, 15832129, 15986647, 16901346
     18068871, 17985714, 18536826, 16206997, 18752378, 16876500, 16429265
     18343490, 18336452, 16613232, 17273003, 19276791, 12928658, 18226143
     17172091, 18229842, 18053631, 16867761, 18231837, 15869775, 17483479
     18729166, 17405302, 15920201, 18709496

Patch  19121551     : applied on Mon Jan 26 09:24:08 CST 2015
Unique Patch ID:  17949166
Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"
   Created on 6 Oct 2014, 10:07:57 hrs PST8PDT
Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"
Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"
   Bugs fixed:
     17288409, 17205719, 17811429, 17754782, 17726838, 13364795, 17311728
     17284817, 17441661, 13645875, 18199537, 16992075, 16542886, 17446237
     14565184, 17071721, 17610798, 17375354, 17449815, 17397545, 19463897
     18230522, 17235750, 16360112, 13866822, 17982555, 17478514, 12905058
     14338435, 13944971, 16929165, 12747740, 17546973, 14054676, 17088068
     18264060, 17343514, 17016369, 17042658, 14602788, 14657740, 17332800
     19211724, 13951456, 16315398, 17186905, 18744139, 16850630, 17437634
     19049453, 18673304, 17883081, 18641419, 17296856, 18262334, 17006183
     18277454, 17232014, 16855292, 10136473, 17705023, 17865671, 18554871
     19121551, 17588480, 17551709, 17344412, 17842825, 18681862, 17390160
     13955826, 13609098, 18139690, 17501491, 17239687, 17752121, 17299889
     17602269, 18673325, 17313525, 17242746, 19544839, 17600719, 18191164
     17571306, 19466309, 17951233, 18094246, 17165204, 17011832, 17040527
     16785708, 16180763, 17477958, 17174582, 17465741, 18522509, 17323222
     19463893, 16875449, 16524926, 17237521, 17596908, 17811438, 17811447
     18031668, 16912439, 16494615, 18061914, 17545847, 17082359, 19554106
     17614134, 17341326, 17891946, 19458377, 17716305, 17752995, 16392068
     19271443, 17767676, 17614227, 17040764, 17381384, 18973907, 18673342
     14084247, 17389192, 17006570, 17612828, 17721717, 13853126, 18203837
     17390431, 17570240, 14245531, 16043574, 16863422, 19727057, 17468141
     17786518, 17037130, 17267114, 18203838, 16198143, 16956380, 17478145
     14829250, 17394950, 17027426, 16268425, 18247991, 19584068, 14458214
     18436307, 17265217, 13498382, 16692232, 17786278, 17227277, 16042673
     16314254, 17443671, 16228604, 16837842, 17393683, 17787259, 18009564
     15861775, 16399083, 18018515, 16472716, 17050888, 14010183, 17325413
     16613964, 17080436, 17036973, 17761775, 16721594, 18280813, 15979965
     18203835, 17297939, 16731148, 17811456, 14133975, 17385178, 17586955
     16450169, 17655634, 9756271, 17892268, 17648596, 16220077, 16069901
     11733603, 16285691, 17587063, 18180390, 17393915, 18096714, 17238511
     17824637, 14285317, 19289642, 14764829, 18328509, 17622427, 16943711
     17346671, 18996843, 14852021, 17783588, 16618694, 17672719, 17546761

Rac system comprising of multiple nodes
  Local node = rac02
  Remote node = rac01

--------------------------------------------------------------------------------

rac01 grid 补丁安装

[[email protected] soft]$ cd 19380115/
[[email protected] 19380115]$ ls
19121549  19121551  19121552  bundle.xml  PatchSearch.xml  README.html  README.txt
[[email protected] 19380115]$ id           
uid=501(grid) gid=501(oinstall) groups=501(oinstall),502(dba),504(asmadmin),506(asmdba),507(asmoper)
[[email protected] 19380115]$ cd ~
[[email protected] ~]$ cd
.bash_history  .bash_logout   .bash_profile  .bashrc        .emacs         grid.sh        .mozilla/      oradiag_grid/  .ssh/          .viminfo       .vnc/          .Xauthority
[[email protected] ~]$ /u01/app/11.2.0/grid/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/soft/ocm.rsp
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  Y
The OCM configuration response file (/u01/soft/ocm.rsp) was successfully created.
[[email protected] ~]$ chmod 775 /u01/soft/ocm.rsp
[[email protected] ~]$

[[email protected] soft]# /u01/app/11.2.0/grid/OPatch/opatch auto /u01/soft/19380115/ -ocmrf /u01/soft/ocm.rsp -oh /u01/app/11.2.0/grid
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /u01/soft -patchn 19380115 -ocmrf /u01/soft/ocm.rsp -oh /u01/app/11.2.0/grid -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2015-01-23_16-20-15.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/11.2.0/grid/cfgtoollogs/opatchauto2015-01-23_16-20-15.report.log

2015-01-23 16:20:15: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Stopping CRS...
Stopped CRS successfully

patch /u01/soft/19380115/19121551  apply successful for home  /u01/app/11.2.0/grid
patch /u01/soft/19380115/19121549  apply successful for home  /u01/app/11.2.0/grid
patch /u01/soft/19380115/19121552  apply successful for home  /u01/app/11.2.0/grid

Starting CRS...
Installing Trace File Analyzer
CRS-4123: Oracle High Availability Services has been started.

opatch auto succeeded.

rac01  oracle 补丁安装

[[email protected] soft]$ id
uid=502(oracle) gid=501(oinstall) groups=501(oinstall),502(dba),504(asmadmin),506(asmdba)
[[email protected] soft]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/soft/oracle.rsp
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  Y
The OCM configuration response file (/u01/soft/oracle.rsp) was successfully created.
[[email protected] soft]$ chmod 775 /u01/soft/oracle.rsp
[[email protected] soft]$ /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch auto /u01/soft/19380115/ -ocmrf /u01/soft/oracle.rsp -oh /u01/app/oracle/product/11.2.0/db_1
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/OPatch/crs/patch11203.pl -patchdir /u01/soft -patchn 19380115 -ocmrf /u01/soft/oracle.rsp -oh /u01/app/oracle/product/11.2.0/db_1 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params
Can‘t locate strict.pm in @INC (@INC contains: /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0/x86_64-linux-thread-multi /u01/app/11.2.0/grid/perl/lib/site_perl/5.10.0 /u01/app/11.2.0/grid/perl/lib/site_perl .) at /u01/app/oracle/product/11.2.0/db_1/OPatch/crs/patch11203.pl line 167.
BEGIN failed--compilation aborted at /u01/app/oracle/product/11.2.0/db_1/OPatch/crs/patch11203.pl line 167.
[[email protected] soft]$ exit
logout
[[email protected] ~]# /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch auto /u01/soft/19380115/ -ocmrf /u01/soft/oracle.rsp -oh /u01/app/oracle/product/11.2.0/db_1

查看补丁前版本号:11.2.0.3.6

[[email protected] 19380115]# su - oracle
[[email protected] ~]$ /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2015-01-26_10-38-22AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2015-01-26_10-38-22AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Database 11g                                                  11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.

Interim patches (2) :

Patch  19121549     : applied on Mon Jan 26 10:35:27 CST 2015
Unique Patch ID:  18065664
Patch description:  "OCW Patch Set Update : 11.2.0.4.4 (19121549)"
   Created on 6 Oct 2014, 03:26:54 hrs PST8PDT
   Bugs fixed:
     18328800, 18691572, 14525998, 18187697, 18348155, 17516024, 17387214
     17750548, 17617807, 17551223, 14671408, 14207615, 18272135, 18180541
     17292250, 17378618, 17500165, 18875012, 18464784, 17065496, 18848125
     13991403, 17955615, 14693336, 17273020, 17238586, 17089344, 17405605
     17531342, 17155238, 17159489, 18053580, 16543190, 17039197, 16317771
     17947785, 10052729, 16281493, 18346135, 17481314, 18199185, 18399991
     18024089, 18428146, 18352845, 18352846, 17391726, 18414137, 17001914
     17927970, 14378120, 16346413, 17305100, 15832129, 15986647, 16901346
     18068871, 17985714, 18536826, 16206997, 18752378, 16876500, 16429265
     18343490, 18336452, 16613232, 17273003, 19276791, 12928658, 18226143
     17172091, 18229842, 18053631, 16867761, 18231837, 15869775, 17483479
     18729166, 17405302, 15920201, 18709496

Patch  19121551     : applied on Mon Jan 26 10:27:42 CST 2015
Unique Patch ID:  17949166
Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"
   Created on 6 Oct 2014, 10:07:57 hrs PST8PDT
Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"
Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"
   Bugs fixed:
     17288409, 17205719, 17811429, 17754782, 17726838, 13364795, 17311728
     17284817, 17441661, 13645875, 18199537, 16992075, 16542886, 17446237
     14565184, 17071721, 17610798, 17375354, 17449815, 17397545, 19463897
     18230522, 17235750, 16360112, 13866822, 17982555, 17478514, 12905058
     14338435, 13944971, 16929165, 12747740, 17546973, 14054676, 17088068
     18264060, 17343514, 17016369, 17042658, 14602788, 14657740, 17332800
     19211724, 13951456, 16315398, 17186905, 18744139, 16850630, 17437634
     19049453, 18673304, 17883081, 18641419, 17296856, 18262334, 17006183
     18277454, 17232014, 16855292, 10136473, 17705023, 17865671, 18554871
     19121551, 17588480, 17551709, 17344412, 17842825, 18681862, 17390160
     13955826, 13609098, 18139690, 17501491, 17239687, 17752121, 17299889
     17602269, 18673325, 17313525, 17242746, 19544839, 17600719, 18191164
     17571306, 19466309, 17951233, 18094246, 17165204, 17011832, 17040527
     16785708, 16180763, 17477958, 17174582, 17465741, 18522509, 17323222
     19463893, 16875449, 16524926, 17237521, 17596908, 17811438, 17811447
     18031668, 16912439, 16494615, 18061914, 17545847, 17082359, 19554106
     17614134, 17341326, 17891946, 19458377, 17716305, 17752995, 16392068
     19271443, 17767676, 17614227, 17040764, 17381384, 18973907, 18673342
     14084247, 17389192, 17006570, 17612828, 17721717, 13853126, 18203837
     17390431, 17570240, 14245531, 16043574, 16863422, 19727057, 17468141
     17786518, 17037130, 17267114, 18203838, 16198143, 16956380, 17478145
     14829250, 17394950, 17027426, 16268425, 18247991, 19584068, 14458214
     18436307, 17265217, 13498382, 16692232, 17786278, 17227277, 16042673
     16314254, 17443671, 16228604, 16837842, 17393683, 17787259, 18009564
     15861775, 16399083, 18018515, 16472716, 17050888, 14010183, 17325413
     16613964, 17080436, 17036973, 17761775, 16721594, 18280813, 15979965
     18203835, 17297939, 16731148, 17811456, 14133975, 17385178, 17586955
     16450169, 17655634, 9756271, 17892268, 17648596, 16220077, 16069901
     11733603, 16285691, 17587063, 18180390, 17393915, 18096714, 17238511
     17824637, 14285317, 19289642, 14764829, 18328509, 17622427, 16943711
     17346671, 18996843, 14852021, 17783588, 16618694, 17672719, 17546761

Rac system comprising of multiple nodes
  Local node = rac01
  Remote node = rac02

--------------------------------------------------------------------------------

OPatch succeeded.

第二台PSU补丁安装

生成rsp自动文件

[[email protected] ~]$ $ORACLE_HOME/OPatch/ocm/bin/emocmrsp -no_banner -output /u01/soft/oracle.rsp
Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]:  Y
Unable to open /u01/soft/oracle.rsp for writing.
[[email protected] ~]$ chmod 775 /u01/soft/oracle.rsp

[[email protected] soft]# mv /tmp/oracle.rsp ./
[[email protected] soft]# ll
total 586444
drwxr-xr-x 5 grid   oinstall      4096 Oct 11 10:04 19380115
-rwxrwxr-x 1 grid   oinstall       621 Jan 26 09:17 ocm.rsp
drwxr-xr-x 8 grid   oinstall      4096 Dec 14  2013 OPatch
-rw-r--r-- 1 oracle oinstall       623 Jan 26 10:44 oracle.rsp
-rwxrwxr-x 1 grid   oinstall 566877769 Jan 26 09:06 p19380115_112040_Linux-x86-64.zip
-rwxrwxr-x 1 grid   oinstall  33020933 Jan 23 15:54 p6880880_11.2.0.3.6_112000_LINUX.zip
-rw-rw-r-- 1 grid   oinstall      2186 Oct 15 02:54 PatchSearch.xml

关闭EM
$ <ORACLE_HOME>/bin/emctl stop dbconsole
[[email protected] 19380115]# su - grid
[[email protected] ~]$ srvctl stop database -d rac

关闭数据库实例
su - grid
$srvctl stop database -d rac

开始打补丁注意文件夹权限

[[email protected] soft]# /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch auto /u01/soft/19380115/ -ocmrf /u01/soft/oracle.rsp -oh /u01/app/oracle/product/11.2.0/db_1
Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/oracle/product/11.2.0/db_1/OPatch/crs/patch11203.pl -patchdir /u01/soft -patchn 19380115 -ocmrf /u01/soft/oracle.rsp -oh /u01/app/oracle/product/11.2.0/db_1 -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params

This is the main log file: /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2015-01-26_10-45-07.log

This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
/u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatchauto2015-01-26_10-45-07.report.log

2015-01-26 10:45:07: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params

Stopping RAC /u01/app/oracle/product/11.2.0/db_1 ...
Stopped RAC /u01/app/oracle/product/11.2.0/db_1 successfully

patch /u01/soft/19380115/19121551  apply successful for home  /u01/app/oracle/product/11.2.0/db_1
patch /u01/soft/19380115/19121549/custom/server/19121549  apply successful for home  /u01/app/oracle/product/11.2.0/db_1

Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...
Started RAC /u01/app/oracle/product/11.2.0/db_1 successfully

opatch auto succeeded.

查看打完补丁后状态
[[email protected] soft]# su - oracle
[[email protected] ~]$ /u01/app/oracle/product/11.2.0/db_1/OPatch/opatch lsinventory
Oracle Interim Patch Installer version 11.2.0.3.6
Copyright (c) 2013, Oracle Corporation.  All rights reserved.

Oracle Home       : /u01/app/oracle/product/11.2.0/db_1
Central Inventory : /u01/app/oraInventory
   from           : /u01/app/oracle/product/11.2.0/db_1/oraInst.loc
OPatch version    : 11.2.0.3.6
OUI version       : 11.2.0.4.0
Log file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2015-01-26_10-58-39AM_1.log

Lsinventory Output file location : /u01/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/lsinv/lsinventory2015-01-26_10-58-39AM.txt

--------------------------------------------------------------------------------
Installed Top-level Products (1):

Oracle Database 11g                                                  11.2.0.4.0
There are 1 product(s) installed in this Oracle Home.

Interim patches (2) :

Patch  19121549     : applied on Mon Jan 26 10:55:28 CST 2015
Unique Patch ID:  18065664
Patch description:  "OCW Patch Set Update : 11.2.0.4.4 (19121549)"
   Created on 6 Oct 2014, 03:26:54 hrs PST8PDT
   Bugs fixed:
     18328800, 18691572, 14525998, 18187697, 18348155, 17516024, 17387214
     17750548, 17617807, 17551223, 14671408, 14207615, 18272135, 18180541
     17292250, 17378618, 17500165, 18875012, 18464784, 17065496, 18848125
     13991403, 17955615, 14693336, 17273020, 17238586, 17089344, 17405605
     17531342, 17155238, 17159489, 18053580, 16543190, 17039197, 16317771
     17947785, 10052729, 16281493, 18346135, 17481314, 18199185, 18399991
     18024089, 18428146, 18352845, 18352846, 17391726, 18414137, 17001914
     17927970, 14378120, 16346413, 17305100, 15832129, 15986647, 16901346
     18068871, 17985714, 18536826, 16206997, 18752378, 16876500, 16429265
     18343490, 18336452, 16613232, 17273003, 19276791, 12928658, 18226143
     17172091, 18229842, 18053631, 16867761, 18231837, 15869775, 17483479
     18729166, 17405302, 15920201, 18709496

Patch  19121551     : applied on Mon Jan 26 10:48:02 CST 2015
Unique Patch ID:  17949166
Patch description:  "Database Patch Set Update : 11.2.0.4.4 (19121551)"
   Created on 6 Oct 2014, 10:07:57 hrs PST8PDT
Sub-patch  18522509; "Database Patch Set Update : 11.2.0.4.3 (18522509)"
Sub-patch  18031668; "Database Patch Set Update : 11.2.0.4.2 (18031668)"
Sub-patch  17478514; "Database Patch Set Update : 11.2.0.4.1 (17478514)"
   Bugs fixed:
     17288409, 17205719, 17811429, 17754782, 17726838, 13364795, 17311728
     17284817, 17441661, 13645875, 18199537, 16992075, 16542886, 17446237
     14565184, 17071721, 17610798, 17375354, 17449815, 17397545, 19463897
     18230522, 17235750, 16360112, 13866822, 17982555, 17478514, 12905058
     14338435, 13944971, 16929165, 12747740, 17546973, 14054676, 17088068
     18264060, 17343514, 17016369, 17042658, 14602788, 14657740, 17332800
     19211724, 13951456, 16315398, 17186905, 18744139, 16850630, 17437634
     19049453, 18673304, 17883081, 18641419, 17296856, 18262334, 17006183
     18277454, 17232014, 16855292, 10136473, 17705023, 17865671, 18554871
     19121551, 17588480, 17551709, 17344412, 17842825, 18681862, 17390160
     13955826, 13609098, 18139690, 17501491, 17239687, 17752121, 17299889
     17602269, 18673325, 17313525, 17242746, 19544839, 17600719, 18191164
     17571306, 19466309, 17951233, 18094246, 17165204, 17011832, 17040527
     16785708, 16180763, 17477958, 17174582, 17465741, 18522509, 17323222
     19463893, 16875449, 16524926, 17237521, 17596908, 17811438, 17811447
     18031668, 16912439, 16494615, 18061914, 17545847, 17082359, 19554106
     17614134, 17341326, 17891946, 19458377, 17716305, 17752995, 16392068
     19271443, 17767676, 17614227, 17040764, 17381384, 18973907, 18673342
     14084247, 17389192, 17006570, 17612828, 17721717, 13853126, 18203837
     17390431, 17570240, 14245531, 16043574, 16863422, 19727057, 17468141
     17786518, 17037130, 17267114, 18203838, 16198143, 16956380, 17478145
     14829250, 17394950, 17027426, 16268425, 18247991, 19584068, 14458214
     18436307, 17265217, 13498382, 16692232, 17786278, 17227277, 16042673
     16314254, 17443671, 16228604, 16837842, 17393683, 17787259, 18009564
     15861775, 16399083, 18018515, 16472716, 17050888, 14010183, 17325413
     16613964, 17080436, 17036973, 17761775, 16721594, 18280813, 15979965
     18203835, 17297939, 16731148, 17811456, 14133975, 17385178, 17586955
     16450169, 17655634, 9756271, 17892268, 17648596, 16220077, 16069901
     11733603, 16285691, 17587063, 18180390, 17393915, 18096714, 17238511
     17824637, 14285317, 19289642, 14764829, 18328509, 17622427, 16943711
     17346671, 18996843, 14852021, 17783588, 16618694, 17672719, 17546761

Rac system comprising of multiple nodes
  Local node = rac02
  Remote node = rac01

--------------------------------------------------------------------------------

OPatch succeeded.

数据库升级
1.开启em
[[email protected] soft]# su - oracle
[[email protected] ~]$ $ORACLE_HOME/bin/emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.4.0
Copyright (c) 1996, 2013 Oracle Corporation.  All rights reserved.
https://rac01:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control ..............

2.开启数据库
su - grid
srvctl start database -d rac

create spfile=‘+DATADG/RAC/spfilerac.ora‘ from pfile=‘/tmp/piflerac.ora‘;
create pfile=‘/tmp/piflerac.ora‘ from spfile;

时间: 2024-08-29 01:19:44

11gr2 rac 安装的相关文章

Oracle 11gR2 RAC 安装Grid Infrastructure错误

Oracle 11gR2 RAC 安装Grid Infrastructure错误 系统环境: 操作系统:RedHat EL5 Cluster: Oracle GI(Grid Infrastructure) Oracle:  Oracle 11.2.0.1.0 如图所示:RAC 系统架构   对于Oracle 11G构建RAC首先需要构建GI(Grid Infrastructure)的架构 错误现象: 报:node2 检测用户信任关系错误,node2安装目录不可访问! 手工检测,node2与nod

Redhat 5.8 ORACLE 11gR2 RAC安装文档2-grid安装

3.安装Grid 3.1.安装rpm包 两个节点都要安装,以节点1为例 [[email protected] yum.repos.d]# yum install compat-libstdc++-33 ksh gcc gcc-c++ libgomp elfutils-libelf-devel glibc-devel glibc-headers libaio-devel libstdc++-devel sysstat unixODBC unixODBC-devel –y -----.. Compl

11gr2 RAC安装INS-35354问题一例

转自:http://www.askmaclean.com/archives/11gr2-rac安装ins-35354问题一例.html 今天在安装一套11.2.0.2 RAC数据库时出现了INS-35354的问题: 因为之前已经成功安装了11.2.0.2的GI,而且Cluster的一切状态都正常,出现这错误都少有点意外: [[email protected] ~]$ crsctl check crs CRS-4638: Oracle High Availability Services is o

Redhat 5.8 ORACLE 11gR2 RAC安装文档4-grid 安装验证

验证安装?在两节点上都要操作,以grid用户操作 1.检查CRS状态 [[email protected] ~]# su - grid [[email protected] ~]$ crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is

Oracle 11gR2 RAC 新特性说明

最近接触了一下Oracle 11g R2 的RAC,发现变化很大. 所以在自己动手做实验之前还是先研究下它的新特性比较好. 一.    官网介绍 先看一下Oracle 的官网文档里对RAC 新特性的一点说明. Oracle Database 11g Release 2 (11.2.0.2) New Features in Oracle RAC http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/whatsnew.htm#CHDJ

【Oracle RAC】Linux系统Oracle11gR2 RAC安装配置详细过程V3.1(图文并茂)

2 Oracle11gR2 RAC数据库安装准备工作2.1 安装环境介绍2.2 数据库安装软件下载3 Oracle11gR2 RAC数据库安装环境配置3.1 安装主机或虚拟机3.2 安装操作系统3.3 hosts文件配置3.4 添加组与用户3.5 添加文件系统3.6 修改操作系统参数3.7 禁止NTP3.8 配置grid和oracle用户的环境变量3.9 配置SSH信任关系3.10 调整页面交换空间3.11 配置磁盘4 安装11gR2 Grid Infrastructure组件4.1 解压安装文

【Oracle RAC】Linux系统Oracle12c RAC安装配置详细记录过程V2.0(图文并茂)

[Oracle RAC]Linux系统Oracle12c RAC安装配置详细过程V2.0(图文并茂) 2 Oracle12c RAC数据库安装准备工作2.1 安装环境介绍2.2 数据库安装软件下载3 Oracle12c RAC数据库安装环境配置3.1 安装主机或虚拟机3.2 安装操作系统3.3 hosts文件配置3.4 添加组与用户3.5 添加文件系统3.6 修改操作系统参数3.7 禁止NTP3.8 配置grid和oracle用户的环境变量3.9 配置SSH信任关系3.10 调整页面交换空间3.

Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误

Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误 系统环境: 操作系统: RedHat  EL55     Oracle :     Oracle 11gR2 Grid +  Oracle 1.错误现象 [[email protected] install]# /u01/11.2.0/grid/root.shRunning Oracle 11g root.sh script... The following environment variables are 

11G RAC安装运行ASMCA遇到的小问题:ASMCA detected pre 11gR2 ASM, but it does not have a local instance configure

问题描述: 11G RAC安装时,GI已经安装完成,各服务状态正常,运行ASMCA时出错(ASM实例状态都是正常的). 提示是:ASMCA detected pre 11gR2 ASM, but it does not have a local instance configure on this node;具体信息看下图. 解决办法是:重新注册资源,,我是重启了OS,或者也可能重启CRS了,重启后查看各服务状态正常,重新运行ASMCA时正常,问题解决