oracle 10g rac安装过程中所需

简介:
/etc/init.d/oracleasm createdisk mmvol1 /dev/sdd5
/etc/init.d/oracleasm createdisk mmvol2 /dev/sdd6
/etc/init.d/oracleasm createdisk mmvol3 /dev/sdd7

/etc/sysconfig/rawdevices
raw /dev/raw/raw11  /dev/sdd1
raw /dev/raw/raw12  /dev/sdd2
chown oracle:oinstall /dev/raw/raw11
chmod 664 /dev/raw/raw11
chown oracle:oinstall /dev/raw/raw12
chmod 664 /dev/raw/raw12
racdb6.lilianwang.com
racdb6-heart.lilianwang.com
racdb6-vip.lilianwang.com

The installer has detected that your Cluster Ready Services (CRS) installation is distributed across the following nodes:
 racdb5
 racdb6
Because the software consists of local identical copies distributed across each of the nodes in the cluster, it is possible to patch your CRS installation in a rolling manner, one node at a time.
To complete the installation of this patchset, you must perform the following tasks on each node:
 1. Log in as the root user.
 2. As the root user, perform the following tasks:
  a. Shutdown the CRS daemons by issuing the following command:
    /lloracle/app/oracle/product/10.2/crs/bin/crsctl stop crs
  b. Run the shell script located at:
    /lloracle/app/oracle/product/10.2/crs/install/root102.sh
   This script will automatically start the CRS daemons on the
   patched node upon completion.
 3. After completing this procedure, proceed to the next node and repeat.

The following J2EE Applications have been deployed and are accessible at the URLs listed below.
 
192.168.1.55      racdb6.lilianwang.com racdb6 
192.168.1.155      racdb6-vip.lilianwang.com racdb6-vip 
172.16.1.55     racdb6-heart.lilianwang.com racdb6-heart

192.168.1.54      racdb5.lilianwang.com racdb5
192.168.1.154      racdb5-vip.lilianwang.com racdb5-vip
172.16.1.54     racdb5-heart.lilianwang.com racdb5-heart
echo "/sbin/modprobe hangcheck-timer" >> /etc/rc.local
echo "options hangcheck-timer hangcheck_tick=30 hangcheck_margin=180" >> /etc/modprobe.conf
 
cat >> /etc/security/limits.conf <<EOF
oracle soft   nofile 65536
oracle hard   nofile 65536
oracle soft   nproc 16384
oracle hard   nproc 16384
EOF
 
cat >> /etc/pam.d/login <<EOF
session    required     /lib/security/pam_limits.so
EOF
 
kernel.shmall = 2097152
kernel.shmmax = 8589934592
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 262144
 
chown oracle:oinstall /dev/raw/raw11
chmod 664 /dev/raw/raw11
chown oracle:oinstall /dev/raw/raw12
chmod 664 /dev/raw/raw12

groupadd -g 1001 oinstall
groupadd -g 1002 dba
useradd -u 500  -g oinstall -G dba oracle
passwd oracle
mkdir -p /llrac/app/oracle/product/10.2/db_1
mkdir -p /llrac/app/oracle/product/10.2/crs
chown  -R oracle.oinstall  /llrac/app/

export ORACLE_BASE=/llrac/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2/db_1
export ORA_CRS_HOME=$ORACLE_BASE/product/10.2/crs
export ORACLE_SID=racdbll5
export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME/rdbms/lib
export PATH=.:$PATH:$ORACLE_HOME/bin:$ORA_CRS_HOME/bin:$ORACLE_HOME/OPatch
export CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/network/jlib
export CLASSPATH=$CLASSPATH:$ORACLE_HOME/rdbms/jlib/$CLASSPATH
NLS_LANG=AMERICAN_AMERICA.zhs16gbk;export NLS_LANG
 
 
raw11        4G
raw12        4G
datastore1     80G
      80G
      80g
archstore1     60G
      60G
      60G









本文转自 jxwpx 51CTO博客,原文链接:http://blog.51cto.com/jxwpx/269846,如需转载请自行联系原作者
目录
相关文章
|
2月前
|
Oracle 关系型数据库 Linux
linux8安装oracle 11g遇到的问题记录
Oracle 11g在Linux 8上安装时会遇到link编译环节的问题。官方建议忽略安装中的链接错误,安装完成后应用DBPSU 11.2.0.4.240716补丁及一次性补丁33991024,再重新编译二进制文件,并配置监听器和数据库。但因11g已退出服务期,这些补丁需付费获取。网上信息显示22年1月的PSU补丁也可解决问题,找到该补丁后按常规方式打补丁即可。如有需求或疑问可咨询我。
103 20
|
5月前
|
存储 Oracle 关系型数据库
|
5月前
|
Oracle 关系型数据库 网络安全
Oracle 19c 安装教程学习
Oracle 19c 安装教程学习
238 2
|
7月前
|
机器学习/深度学习 Oracle 关系型数据库
Oracle 19c单机一键安装脚本分享
Oracle 19c单机一键安装脚本分享
373 2
|
7月前
|
运维 Oracle 前端开发
Oracle 11g RAC集群日常运维命令总结
Oracle 11g RAC集群日常运维命令总结
161 2
|
8月前
|
SQL Oracle 关系型数据库
MySQL、SQL Server和Oracle数据库安装部署教程
数据库的安装部署教程因不同的数据库管理系统(DBMS)而异,以下将以MySQL、SQL Server和Oracle为例,分别概述其安装部署的基本步骤。请注意,由于软件版本和操作系统的不同,具体步骤可能会有所变化。
647 3
|
8月前
|
存储 负载均衡 Oracle
|
7月前
|
Oracle 关系型数据库
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
分布式锁设计问题之Oracle RAC保证多个节点写入内存Page的一致性如何解决
100 0
|
8月前
|
存储 Oracle 关系型数据库

推荐镜像

更多