crs

ORACLE RAC 11G 更改 /etc/hosts文件

早过忘川 提交于 2020-03-28 07:36:03
来自官方文档:(1)Can I change the public hostname in my Oracle Database 10g Cluster using Oracle Clusterware? Hostname changes are not supported in Oracle Clusterware (CRS), unless you want to perform a deletenode followed by a new addnode operation. The hostname is used to store among other things the flag files and Oracle Clusterware stack will not start if hostname is changed. (2)Does the hostname have to match the public name or can it be anything else? When there is no vendor clusterware, only Oracle Clusterware, then the public node name must match the host name. When vendor clusterware is

RAC IP 地址修改

梦想与她 提交于 2020-03-21 17:03:42
RAC 修改IP: 版本信息: REDHAT AS5 ORACLE 11G R2, 两个节点。 修改如下: 1.修改/etc/host(rac1,rac2) 192.168.3.205 rac-scan --> 192.168.2.205 192.168.3.201 rac1 --> 192.168.2.201 192.168.3.203 rac2 --> 192.168.2.203 192.168.0.201 rac1-private 192.168.0.203 rac2-private 192.168.3.202 rac1-vip --> 192.168.2.202 192.168.3.204 rac2-vip --> 192.168.2.204 1.关闭服务 ./crs_stop -all ./crs_stop ora.DATA.dg ./crs_stop ora.RECOVERY.dg NAME=ora.RECOVERY.dg TYPE=ora.diskgroup.type TARGET=OFFLINE STATE=ONLINE on rac2 NAME=ora.asm TYPE=ora.asm.type TARGET=OFFLINE STATE=ONLINE on rac2 -------------------------------------------------

RAC5——11gR2以后GI进程的变化

跟風遠走 提交于 2020-03-18 22:07:55
参考文档: 11gR2 Clusterware and Grid Home - What You Need to Know (Doc ID 1053147.1) 诊断 Grid Infrastructure 启动问题 (Doc ID 1623340.1) Oracle 11gR2 中对CRSD资源进行了重新分类: Local Resources 和 Cluster Resources,可以通过命令crsctl查看: [root@rac1 ~]# crsctl stat res -t -------------------------------------------------------------------------------- NAME TARGET STATE SERVER STATE_DETAILS -------------------------------------------------------------------------------- Local Resources -------------------------------------------------------------------------------- ora.DATA.dg ONLINE ONLINE rac1 OFFLINE OFFLINE rac2 ora

【故障处理】CRS-1153错误处理

橙三吉。 提交于 2020-03-18 19:46:37
【 故障处理 】CRS-1153 错误处理 1 CRS-1153: There was an error setting Oracle Clusterware to rolling patch mode. 升级 PSU的时候有错误,需要回退patch ,但是报错了: 错误信息: HQNHL-ALHR-R01 :/oracle/app/12.1.0/grid/crs/install # rootcrs.pl -prepatch Using configuration parameter file: /oracle/app/12.1.0/grid/crs/install/crsconfig_params Oracle Clusterware active version on the cluster is [12.1.0.2.0]. The cluster upgrade state is [ROLLING PATCH]. The cluster active patch level is [0]. PROC-28: Oracle Cluster Registry already in current version CRS-1153: There was an error setting Oracle Clusterware to rolling patch mode. CRS

Oracle卸载之正确卸载rac数据库的方法(MOS卸载方法)

半世苍凉 提交于 2020-03-04 17:20:20
一、关闭数据库和资源 1、节点1 [root@node1 bin]# pwd /u01/app/11.2.0/grid/bin [root@node1 bin]# ./crsctl stop crs CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'node1' CRS-2673: Attempting to stop 'ora.crsd' on 'node1' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'node1' CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'node1' CRS-2673: Attempting to stop 'ora.oc4j' on 'node1' CRS-2673: Attempting to stop 'ora.GRIDDG.dg' on 'node1' CRS-2673: Attempting to stop 'ora.registry.acfs' on 'node1' CRS-2673: Attempting to stop 'ora.orcl

测试环境存储磁盘问题,导致RAC一个节点CRS启动失败

感情迁移 提交于 2020-01-20 17:57:20
测试环境存储磁盘问题,导致RAC一个节点CRS启动失败 linux 5.6 *64, 2节点RAC 11.2.0.4 如下,按照日志,说明信息。 主机重启,发现CRS进程并未自动启动完成。a1:/picclife/app/oracle$ crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4535: Cannot communicate with Cluster Ready Services CRS-4530: Communications failure contacting Cluster Synchronization Services daemon CRS-4534: Cannot communicate with Event Manager 查询当前节点信息,发现ASM实例 OFFLINE a1:/picclife/app/grid$ crsctl stat res -t -init -------------------------------------------------------------------------------- NAME TARGET STATE SERVER STATE_DETAILS ----------------------------

ModSecurity的规则

流过昼夜 提交于 2020-01-06 17:24:22
一、ModSecurity的规则 基本格式 SecRule VARIABLES OPERATOR ACTIONS 1 SecRule:ModSecurity主要的指令,用于创建安全规则。 VARIABLES :代表HTTP包中的标识项,规定了安全规则针对的对象。常见的变量包括:ARGS(所有请求参数)、FILES(所有文件名称)等。 OPERATOR:代表操作符,一般用来定义安全规则的匹配条件。常见的操作符包括:@rx(正则表达式)、@streq(字符串相同)、@ipmatch(IP相同)等。 ACTIONS:代表响应动作,一般用来定义数据包被规则命中后的响应动作。常见的动作包括:deny(数据包被拒绝)、pass(允许数据包通过)、id(定义规则的编号)、severity(定义事件严重程度)等。 二、ModeSecurity规则例解 规则1:防XSS攻击 SecRule ARGS|REQUEST_HEADERS "@rx <script>" "id:001,msg: 'XSS Attack',severity:ERROR,deny,status:404" VARIABLES ARGS:所有请求参数; REQUEST_HEADERS:请求数据头部。 OPERATOR @rx <script>:如果正则匹配字符串"<script>"成功,则规则执行。 ACTIONS id

oracle 12C RAC 集群日志(cluster log)目录

青春壹個敷衍的年華 提交于 2020-01-05 00:28:12
[grid@shurkcs ~]$ adrci ADRCI: Release 12.2.0.1.0 - Production on Thu Mar 1 09:25:45 2018 Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved. ADR base = "/U01/u01/grid" adrci> show homes ADR Homes: diag/asm/user_root/host_3751460993_107 diag/asm/user_grid/host_3751460993_107 diag/asm/+asm/+ASM diag/crs/shurkcs/crs diag/clients/user_root/host_3751460993_107 diag/clients/user_grid/host_3751460993_107 diag/clients/user_oracle/host_3751460993_107 diag/tnslsnr/shurkcs/listener diag/asmtool/user_root/host_3751460993_107 diag/asmtool/user_grid/host_3751460993_107 diag/afdboot

Oracle 11gR2 RAC网络配置,更改public ip、vip和scanip

ε祈祈猫儿з 提交于 2019-12-16 13:08:32
Oracle 11gR2 RAC网络配置,更改public ip、vip和scanip 转载 黑裤子 发布于2018-10-30 01:08:02 阅读数 2898 收藏 展开 转载。 https://blog.csdn.net/Martin201609/article/details/52557037 Oracle RAC网络配置,修改public IP以及VIP地址 Oracle Clusterware Network管理 #public ip和private ip An Oracle Clusterware configuration requires at least two interfaces: A public network interface, on which users and application servers connect to access data on the database server. –pulibc网卡,是VIP所绑定的网卡,客户端连接所使用的,对外提供服务连的网卡 A private network interface for internode communication. –private network interface,用于rac节点之间作信息同步的。 –Oracle RAC系统中每个节点至少有两个interface

RAC修改字符集

不打扰是莪最后的温柔 提交于 2019-12-14 01:44:16
字符集修改做过几次了,这次感觉还是有点不顺,走了弯路,再记一遍 【概况】 准备搭建RAC+RAC DG,发现两端字符集不大一致,担心到时出问题。 【目标】 将备库NLS_NCHAR_CHARACTERSET修改成与主库一致。 --备 NLS_NCHAR_CHARACTERSET UTF8 修改为 --主 NLS_NCHAR_CHARACTERSET AL16UTF16 0、备库 修改前 PRIMARY-SYS@TESTDB2>set pagesize 100 PRIMARY-SYS@TESTDB2>col value$ for a30 PRIMARY-SYS@TESTDB2>select name,value$ from props$ where name like '%NLS%'; NAME VALUE$ ------------------------------------------------------------------------------------------ ------------------------------ NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CURRENCY $ NLS_ISO_CURRENCY AMERICA NLS_NUMERIC_CHARACTERS ., NLS