数据库RAC添加新节点的操作步骤(门户数据库PDSDB)(2)
ssh ftpds_priv3 date ssh ftpds_priv4 date
7.修改核心参数
vi /etc/sysctl.conf
# Controls the maximum shared segment size, in bytes kernel.shmmax = 68719476736
# Controls the maximum number of shared memory segments, in pages kernel.shmall = 4294967296 kernel.core_uses_pid = 1 kernel.panic = 1
fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65000
# For 11g, recommended value for file-max is 6815744
# For 10g, uncomment 'fs.file-max 327679', comment other entries for this parameter and re-run sysctl -p
# fs.file-max:327679
kernel.msgmni = 2878
kernel.sem = 250 32000 100 142
kernel.shmmni = 4096
net.core.rmem_default = 1048576
# For 11g, recommended value for net.core.rmem_max is 4194304 net.core.rmem_max = 4194304
# For 10g, uncomment 'net.core.rmem_max 2097152', comment other entries for this parameter and re-run sysctl -p
# net.core.rmem_max=2097152 net.core.wmem_default = 262144
# For 11g, recommended value for wmem_max is 1048576
net.core.wmem_max = 1048576
# For 10g, uncomment 'net.core.wmem_max 262144', comment other entries for this parameter and re-run sysctl -p
# net.core.wmem_max:262144
fs.aio-max-nr = 3145728
# For 11g, recommended value for ip_local_port_range is 9000 65500
# For 10g, uncomment 'net.ipv4.ip_local_port_range 1024 65000', comment other entries for this parameter and re-run sysctl -p
# net.ipv4.ip_local_port_range:1024 65000 sysctl -p 立刻生效
vi /etc/security/limits.conf
oracle soft nproc 2047
oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536
vi /etc/pam.d/login
session required pam_limits.so
vi /etc/rc.d/rc.local
/sbin/modprobehangcheck_timer
设置hangcheck内核模块参数: vi /etc/modprobe.conf
optionshangcheck-timer hangcheck_tick=30 hangcheck_margin=180 设置hangcheck内核模块开机加载 vi /etc/rc.d/rc.local
/sbin/modprobehangcheck-timer
要立即加载模块,执行: modprobe -v hangcheck-timer
检查加载情况:
[root@zhh1 ~]# lsmod | grephangcheck_timer
hangcheck_timer 5593 0
8.安装ASM包,配置ASM,并搜索ASM
--在rac3上安装ASMLibs, tools, support 三个rpm文件 # rpm -ivh *.rpm --nodeps --force
-- 运行 /etc/init.d/oracleasm configure 回答 oracle , dba, y, y 就可以了
vi /usr/local/sbin/oraraw.sh
#####
# Oracle Cluster Registry (OCR) devices ##### chownroot:oinstall /dev/mapper/ocr
chmod 660 /dev/mapper/*
raw /dev/raw/raw1 /dev/mapper/ocr sleep 2
chownroot:oinstall /dev/raw/raw1 chmod 660 /dev/raw/raw1
#####
# Oracle Cluster Voting disks
#####
chownoracle:oinstall /dev/mapper/vtdsk
raw /dev/raw/raw2 /dev/mapper/vtdsk sleep 2
chownoracle:oinstall /dev/raw/raw2
chownoracle:oinstall /dev/mapper/arch chownoracle:oinstall /dev/mapper/data* chownoracle:oinstall /dev/mapper/redo*
9.安装CRS
cd /apps/software/clusterware/cluvfy
./cluvfy stage -post hwos -n BJ-FT-1F-120-11,BJ-FT-1F-120-13
./cluvfy stage -post hwos -n BJ-FT-1F-120-11,BJ-FT-1F-120-12,BJ-FT-1F-120-13,BJ-FT-1F-120-14 ./runcluvfy.sh stage -pre
BJ-FT-1F-120-11,BJ-FT-1F-120-12,BJ-FT-1F-120-13,BJ-FT-1F-120-14
crsinst
-n
./runInstaller -updateNodeList \LOCAL_NODE=\
. 为新节点添加CRS Home
启动vnc http://192.168.120.13:5801/ xhost+ su - oracle
export LANG=en
在【BJ-FT-1F-120-13】上运行CRS Home下的addNode.sh,启动OUI添加节点。原计划在BJ-FT-1F-120-11上执行,但是上面报错,报错内容为
SEVERE: OUI-25023: The local node is not selected for installing this product. Include the local node in the cluster list or perform t
he installation on the nodes on which the install is to be performed. 未找到解决办法,在节点13上执行通过。 cd /apps/oracle/crs/oui/bin ./addNode.sh
…… 此处隐藏:1400字,全部文档内容请下载后查看。喜欢就下载吧 ……
相关推荐:
- [互联网资料]2022年厦门大学机电工程系824机械设计
- [互联网资料]东南大学2022年硕士研究生拟录取名单公
- [互联网资料]能源调研报告(精选多篇)
- [互联网资料]初三英语下学期 中考英语 语法填空训练
- [互联网资料]2022内蒙古选调生行测常识备考:新事物
- [互联网资料]自驾必备!在新西兰租什么样的车自驾游
- [互联网资料]佛教素食菜谱44页未完
- [互联网资料]盈利能力分析外文翻译
- [互联网资料]2022年南昌航空大学音乐学院736马克思
- [互联网资料]优选外贸跟单实习报告总结(精品版)
- [互联网资料]银行新员工培训总结
- [互联网资料]2_year_visa_new_guidance_190316
- [互联网资料]天津市五校宝坻一中静海一中杨村一中芦
- [互联网资料]2007--2008学年第一学期高三数学宁波市
- [互联网资料]Chromatic framework for vision in ba
- [互联网资料]幼儿园大班上学期美术教案《心愿树》含
- [互联网资料]2022年华中农业大学信息学院820微型计
- [互联网资料]硬盘坏道的表现 __硬盘使用久了
- [互联网资料]江苏省2016年会计从业资格考试《会计基
- [互联网资料]公共场所卫生监督试卷全解
- 高级英语第一册所有修辞方法及例子总结
- 综合交通枢纽规划与城市发展
- 沃尔玛的企业文化案例分析
- 美国Thanksgiving Day 感恩节 介绍
- PEP六年级英语上册Unit6How do you fee
- 最齐全的中国大型商场购物中心名单
- 数据结构实验报告八—哈夫曼编译码
- 杭州市余杭区人民政府(通知)
- 七年级语文成语运用专项训练
- 微观经济学第三章 消费者行为 课后习题
- 对_钱学森之问_的思考
- Excel_三级联动_下拉菜单
- 办公用品需求计划申请表
- 对外汉语教材必须要知道的发展史
- 挑战杯大学生学术科技作品竞赛作品申报
- 举办民办教育培训机构应具备下列条件
- 太阳能路灯项目设计方案
- 2013年八年级上最新人教版新教材Unit3I
- 【历史】 6-4 《近代科学之父牛顿》 课
- 高中生物《第四章 第二节 探讨加酶洗衣




