10.2.0.4以后vip不会自动relocate back回原节点

solution 1:
srvctl relocate service -d -s -I;
crsctl relocate resource $resource_name;
solution 2:
srvctl start nodeapps -n <node name>;

like as:
crs1:
[resdb1:/oracle]$crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.resdb.db   application    ONLINE    ONLINE    resdb1      
ora....b1.inst application    ONLINE    ONLINE    resdb1      
ora....b2.inst application    ONLINE    ONLINE    resdb2      
ora....B1.lsnr application    OFFLINE   OFFLINE               
ora.resdb1.gsd application    ONLINE    ONLINE    resdb1      
ora.resdb1.ons application    ONLINE    ONLINE    resdb1      
ora.resdb1.vip application    ONLINE    ONLINE    resdb1      
ora....B2.lsnr application    ONLINE    ONLINE    resdb2      
ora.resdb2.gsd application    ONLINE    ONLINE    resdb2      
ora.resdb2.ons application    ONLINE    ONLINE    resdb2      
ora.resdb2.vip application    ONLINE    ONLINE    resdb2   
[resdb1:/oracle]$srvctl start nodeapps -n resdb1
[resdb1:/oracle]$crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.resdb.db   application    ONLINE    ONLINE    resdb1      
ora....b1.inst application    ONLINE    ONLINE    resdb1      
ora....b2.inst application    ONLINE    ONLINE    resdb2      
ora....B1.lsnr application    ONLINE    ONLINE    resdb1      
ora.resdb1.gsd application    ONLINE    ONLINE    resdb1      
ora.resdb1.ons application    ONLINE    ONLINE    resdb1      
ora.resdb1.vip application    ONLINE    ONLINE    resdb1      
ora....B2.lsnr application    ONLINE    ONLINE    resdb2      
ora.resdb2.gsd application    ONLINE    ONLINE    resdb2      
ora.resdb2.ons application    ONLINE    ONLINE    resdb2      
ora.resdb2.vip application    ONLINE    ONLINE    resdb2 

crs2:
$  crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    gsioms01    
ora....01.lsnr application    ONLINE    OFFLINE               
ora....s01.gsd application    ONLINE    ONLINE    gsioms01    
ora....s01.ons application    ONLINE    ONLINE    gsioms01    
ora....s01.vip application    ONLINE    ONLINE    gsioms02    
ora....SM2.asm application    ONLINE    ONLINE    gsioms02    
ora....02.lsnr application    ONLINE    ONLINE    gsioms02    
ora....s02.gsd application    ONLINE    ONLINE    gsioms02    
ora....s02.ons application    ONLINE    ONLINE    gsioms02    
ora....s02.vip application    ONLINE    ONLINE    gsioms02    
ora.gssa.db    application    ONLINE    ONLINE    gsioms02    
ora....a1.inst application    ONLINE    ONLINE    gsioms01    
ora....a2.inst application    ONLINE    ONLINE    gsioms02    
$ 
$ 
$ lsnrctl start LISTENER_GSIOMS01
LSNRCTL for HPUX: Version 10.2.0.5.0 - Production on 25-MAY-2016 04:32:4
Copyright (c) 1991, 2010, Oracle.  All rights reserved.
Starting /oracle/product/ora10g/bin/tnslsnr: please wait...
TNSLSNR for HPUX: Version 10.2.0.5.0 - Production
System parameter file is /oracle/product/ora10g/network/admin/listener.ora
Log messages written to /oracle/product/ora10g/network/log/listener_gsioms01.log
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=gsioms01-vip)(PORT=1521)(IP=FIRST)))
TNS-12545: Connect failed because target host or object does not exist
 TNS-12560: TNS:protocol adapter error
  TNS-00515: Connect failed because target host or object does not exist
   HPUX Error: 227: Can't assign requested address
Listener failed to start. See the error message(s) above...
$ 
$ srvctl start nodeapps -n gsioms01
CRS-0233: Resource or relatives are currently involved with another operation.
$  crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora....SM1.asm application    ONLINE    ONLINE    gsioms01    
ora....01.lsnr application    ONLINE    ONLINE    gsioms01    
ora....s01.gsd application    ONLINE    ONLINE    gsioms01    
ora....s01.ons application    ONLINE    ONLINE    gsioms01    
ora....s01.vip application    ONLINE    ONLINE    gsioms01    
ora....SM2.asm application    ONLINE    ONLINE    gsioms02    
ora....02.lsnr application    ONLINE    ONLINE    gsioms02    
ora....s02.gsd application    ONLINE    ONLINE    gsioms02    
ora....s02.ons application    ONLINE    ONLINE    gsioms02    
ora....s02.vip application    ONLINE    ONLINE    gsioms02    
ora.gssa.db    application    ONLINE    ONLINE    gsioms02    
ora....a1.inst application    ONLINE    ONLINE    gsioms01    
ora....a2.inst application    ONLINE    ONLINE    gsioms02    
$ 

reference(from oracle support id):

Applies to:
Oracle Server – Enterprise Edition – Version 10.2.0.4 to 11.1.0.7 [Release 10.2 to 11.1]
Information in this document applies to any platform.
Symptoms

Starting from 10.2.0.4 and 11.1, VIP does not fail-over back to the original node even after the public network problem is resolved.  This behavior is the default behavior in 10.2.0.4 and 11.1 and is different from that of 10.2.0.3
Cause

This is actually the default default behavior in 10.2.0.4 and 11.1

In 10.2.0.3, on every instance check, the instance attempted to relocate the VIP back to the preferred node (original node), but that required stopping the VIP and then attempt to restart the VIP on the original node. If the public network on the original node is still down, then the attempt to relocate VIP to the original node will fail and the VIP will fail-over back to the secondary node.  During this time, the VIP is not available, so starting from 10.2.0.4 and 11.1, the default behavior is that the instance check will not attempt to relocate the VIP back to the original node.
Solution

If the default behavior of 10.2.0.4 and 11.1 is not desired and if there is a need to have the VIP relocate back to the original node automatically when the public network problem is resolved, use the following workaround
Uncomment the line
ORA_RACG_VIP_FAILBACK=1 && export ORA_RACG_VIP_FAILBACK

in the racgwrap script in $ORACLE_HOME/bin

With the above workaround, VIP will relocate back to the original node when CRS performs the instance check, so in order for the VIP to relocate automatically, the node must have at least one instance running.

The instance needs to be restarted or CRS needs to be restarted to have the VIP start relocating back to the original node automatically if the change is being made on the existing cluster.

Relying on automatic relocation of VIP can take up to 10 minutes because the instance check is performed once every 10 minutes.  Manually relocating the VIP is only way to guarantee quick relocation of VIP back to the original node. 
To manually relocate the VIP, start the nodeapps by issuing
srvctl start nodeapps -n <node name>

Starting the nodeapps does not harm the online resources such as ons and gsd.


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/13750068/viewspace-2106370/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/13750068/viewspace-2106370/

benders分解算法 逻辑思路整理(加星) 一般我们经常可以看到的是经典的benders,此处我也结合经典的benders梳理下思路。 阅读详情

相关推荐

从零开始学版图(二)-----------差分放大电路

从零开始学版图

m0_56112720的博客 8566

oracle 11g rac grid命令

ORACLE集群启动过程 1.init.crsd 2.init.cssd 3.init.evmd [root@rac1 grid]# ocrcheck Status of Oracle Cluster Registry is as follows : Version : 3 Total space (kbytes) : 262120 Used space (kbytes) :...

yehaver的专栏 767

stm32 Can通讯过滤器寄存器设置(实验验证)

起因:在使用stm32单片机can通讯时,参考手册的介绍与寄存器封装有差别,不好理解怎么去设置寄存器。在参考一些代码时,对怎么去设置过滤器还是难以理解。 解决: 在寄存器封装库中,我们发现CAN过滤器设置寄存器封装有CAN1->sFilterRegister[ x ].FR1 和 CAN1->sFilterRegister[ x ].FR2 两个寄存器,其封装如下:type

u013984214的专栏 3290

rac 手动漂移scan ip vip

手动漂移scan ip: [grid@rac1 ~]$ srvctl relocate scan_listener -i 1 -n rac1 手工漂移vip: [grid@rac1 ~]$ srvct...

1307

Vivado FIR Complier_IP核使用方法

文章依靠该IP核对应手册PG149写的,因为笔者需求简单,没有深入挖掘功能,可以自行下载学习。

2302_80180551的博客 3999

在国产麒麟V10(arm64)上离线部署Docker 24.0.6和Compose 2.30.1,保姆级避坑实录

本文详细介绍了在国产麒麟V10(arm64)操作系统上离线部署Docker 24.0.6和Compose 2.30.1的完整流程,包括环境准备、架构认知、安装步骤、系统服务优化及生产环境加固。特别针对ARM64架构的兼容性问题提供了解决方案,帮助用户在信创环境中高效部署容器化技术。

weixin_30342209的博客 485

ORACLE RAC relocate

relocate 加上 -f 参数

hoffmannlin的博客 344

Prometheus+Grafana部署及企业微信邮件/群消息告警通知配置

本文详细介绍了在Ubuntu 22.04系统上部署普罗米修斯监控系统的完整流程。首先说明了系统配置要求(2核CPU、4G内存、100G硬盘),然后分步骤指导下载、解压和安装普罗米修斯服务。文章包含配置prometheus.yml文件、启动服务、设置系统服务等关键操作,并提供了访问9090端口验证服务的方法。接着介绍了通过node_exporter监控Linux主机的配置过程,包括安装、启动服务和修改普罗米修斯配置文件添加监控项。最后还涉及了mysqld_exporter的部署流程,用于监控MySQL数据库服

m0_58761900的博客 1643

Oracle 11g RAC关闭和启动及归档参数修改

在Oracle 11g R2下的RAC + ASM之间层次架构发生了变化,多了grid用户、警告日志位置也发生变化等。CRS的信息被放在ASM实例里,所以要关ASM必须先关闭CRS。如果使用了ACFS(ASM Cluster File System)一旦关闭了CRS,那么ACFS里的信息就不能访问了,所以一般不重启机器,不要轻易关闭crs, 其它的Service可以根据自己的需要去stop/s

okhymok的博客 1786

【100分】最长子字符串的长度

题目要求在一个环形字符串中找出字符 ‘o’ 出现了偶数次的最长子字符串长度。这里的字符串是一个环形的,即首尾相连。代码统计了字符串中字符 ‘o’ 的出现次数,并根据其奇偶性返回相应的最长子字符串长度。当 ‘o’ 的数量为偶数时,直接返回字符串长度;当 ‘o’ 的数量为奇数时,返回长度减去 1。给你一个字符串 s,字符串s首尾相连成一个环形 ,请你在环中找出 ‘o’ 字符出现了偶数次最长子字符串的长度。【最长子字符串的长度】

weixin_54707168的博客 899

6、 实时家禽健康识别与疾病检测系统的深入解析

本文深入解析了一种基于物联网的实时家禽健康识别与疾病检测系统,结合图像分析和音频分析技术,能够有效识别病鸡并防止疾病传播。文章详细介绍了系统的测试环境、数据采集与预处理方法、图像与音频分析流程,并对系统性能进行了全面评估。最后提出了未来改进方向,包括多模态融合、深度学习应用及实时性优化等。

weixin_28840811的博客 187

Oracle 11gR2 RAC 常用维护操作 说明

之前整理了2篇Oracle 10gRAC的启动与关闭相关的文章,参考: Oracle 10gRAC 启动与关闭 http://blog.csdn.net/tianlesoftware/article/details/5349003 Oracle RAC 常用维护工具和命令 http://blog.csdn.net/tianlesoftware/article/details/535857...

数据库 393

Devexpress16.2.6破解工具

Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具Devexpress16.2.6破解工具

VIP does not relocate back to the original node starting from 10.2.0.4 and 11.1 even after the publi

VIP does not relocate back to the original node starting from 10.2.0.4 and 11.1 even after the public network problem is resolved.

爱肯的专栏 723

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

SCAN VIP/Listener do not fail back after public network recovered

由于网络闪断,2节点rac,出现sanlistener 飘逸到一个节点的情况:[grid@hq-d-rac0201 ~]$ srvctl status scan_listener SCAN Listener LISTENER_SCAN1 is enabled SCAN listener LISTENER_SCAN1 is running on node hq-d-rac0201 SCAN List

kelly1984的专栏 1831

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

oracle手动启动gpnpd,Oracle 11g RAC的启动、关闭及修改归档总结

在Oracle 11g R2下的RAC + ASM之间层次架构发生了变化,多了grid用户、警告日志位置也发生变化等。CRS的信息被放在ASM实例里,所以要关ASM必须先关闭CRS。如果使用了ACFS(ASM Cluster File System)一旦关闭了CRS,那么ACFS里的信息就不能访问了,所以一般不重启机器,不要轻易关闭crs, 其它的Service可以根据自己的需要去stop/sta...

weixin_31623707的博客 1411

工作随记:oracle集群下的vip intermediate,failed over处理

在对数据库进行巡检发现,集群中一个节点的备份没有执行,未生成当天的任何日志,查询/var/spool/oracle 信息发现提示:no listener。

狗剩儿的记忆博客 1023

11g relocate scan ip

今天安装了Oracle 11.2.0.4的数据库,由于在安装GRID软件是,跑脚本的时候是现在节点2上跑的,跑完之后然后在节点1上跑。发现我的scan_ip在节点2上,我想把scan_ip  relocate 到节点1 上。操作如下: [root@elvis112 ~]# ifconfig -a eth0      Link encap:Ethernet  HWaddr 08:00:27:7

elvis的Oracle Lab 2494

Oracle 10G RAC修改VIP地址与手动启动/关闭VIP资源

本文介绍了在Oracle 10G RAC环境中修改VIP地址的详细步骤。首先通过crs_stat命令查看当前资源状态,确认需要修改的VIP地址。随后停止相关数据库和ASM资源,修改hosts文件中的IP配置,更新oifcfg中的网络接口信息,并调整监听器的配置文件。文章提供了完整的操作命令和注意事项,适合需要调整Oracle RAC网络配置的DBA参考。更多技术文章可访问博客网站www.htz.pw或微信公众号【IT民工的龙马人生】获取。

提供数据库技术支持(系统优化,故障处理,安装升级,数据恢复等) 489

Oracle RAC常用维护工具和命令

Oracle RAC常用维护工具和命令 1节点层 olsnodes 2网络层 oifcfg 3集群层 crsctl,ocrcheck,ocrdump,ocrconfig 4应用层 srvctl,onsctl 1)[grid@node1 ~]$ olsnodes -n  -i -s -t node1   1       node1-vip       Active  Unpinn

Super菜的专栏 1098

oracle rac数据库的CRSCTL和SRVCTL命令

一:SRVCTL命令介绍   SRVCTL命令可以控制RAC数据库中的instance,listener以及services。 通常SRVCTL在ORACLE用户下执行。下面我们来介绍srvctl命令。   1、通过SRVCTL命令来start/stop/check所有的实例: $ srvctl start|stop|status database -d    2、start/st

塔山上的山 4064

oracle rac启动关闭,Oracle 11g RAC启动和关闭

10g时代,我们很羡慕那些懂得Oracle9i的DBA,而不知不觉中度过了Oracle11g并迎接了12c时代,但是还是有不少DBA习惯于Oracle 10g的管理思维,尤其是在管理或安装Oracle 11g RAC时,偶尔感到不知错所。在Oracle 11gR2 下的RAC,架构发生了变化,多了grid用户、警告日志位置也发生变化等。CRS的信息也是放在ASM 实例里的,所以要关asm,必须关闭...

weixin_42320061的博客 653

RAC常用维护命令

./crsctlstartresora.crsd–init 10G crs_start “123” crsctl stat resource ora.ctssd -init -t crsctl start resource ora.ctssd -init crsctl stop resoruce ora.ctssd -init ./crsctlstopresora.crs...

oradbm的博客 632

ORACLE 11g RAC 集群的管理与维护(1) —— crsctl 命令之(一) :概述

ORACLE 11g RAC 集群的管理与维护(1) —— crsctl 命令之(一) :概述 crsctl 是用户和 Oracle Clusterware 之间的一个接口。可以使用这些命令在集群上执行检查、启动和停止操作。可以使用 crsctl 命令在 oracle clusterware 上执行以下操作: (1)启动和停止 Oracle Clusterware resources; (2)启用和禁用 Oracle Clusterware 守护进程; (3)检查集群的健康状况; (4)管理代表第三方应用

睿思达DBA 5228

RAC CRS Resource之VIP

每一个node都有一个VIP,VIP就是我们访问的IP,如果一个node down了,他的VIP地址会根据算法浮动到其他的某个node上,        这样在用户访问看来,还是正常访问的                我认为vip最大作用是用于故障切换              当a节点失败后,vip会飘移到b节点,但是b节点并没有对这个vip地址进行监听,这样客户端就能迅速知道a节点宕了,而切

记录创业路上的一些想法 4085
上一篇: How To modify listener port in oracle 11g Grid
下一篇: Configure Direct NFS(DNFS) on RHELinux6.4 (11R2)
cppg67031
博客等级 码龄12年 2粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值