重庆oracle认证培训机构

新闻分类

产品分类

热门关键词

联系我们

企业名称:重庆赛烽达科技有限公司

联系人:程老师

手机:13372708242

邮箱:xqzhang@saifengda.com

网址:www.cqora.com

地址:重庆石桥铺高创锦业17-3

重庆oracle OCP课程技术分享-12c Oracle Clusterware with Flex ASM心跳网络修改

您的当前位置: 首 页 >> 新闻资讯 >> 常见问题

重庆oracle OCP课程技术分享-12c Oracle Clusterware with Flex ASM心跳网络修改

发布日期:2018-09-03 作者: 点击:

重庆oracle培训、重庆oracle ocp课程技术分享至12c with flex ASM心跳网络修改

技术基于12c Oracle Clusterware with Flex ASM

首先备份profile.xml 文件

$ cd $GRID_HOME/gpnp/<hostname>/profiles/peer/

$ cp -p profile.xml profile.xml.bk


1、确认集群运行是否正常

2、使用grid用户查看集群配置

$ oifcfg getif

eth1 100.17.10.0 global public

eth0 192.168.0.0 global cluster_interconnect,asm

修改语句如下:

$ oifcfg setif -global <interface>/<subnet>:cluster_interconnect[,asm]

添加新的接口网络

a. add a new interface bond0 with the same subnet

$ oifcfg setif -global bond0/192.168.0.0:cluster_interconnect,asm

b. add a new subnet with the same interface name but different subnet or new interface name

$ oifcfg setif -global eth0/192.68.10.0:cluster_interconnect,asm

or

$ oifcfg setif -global eth3/192.168.1.96:cluster_interconnect,asm

 If different network is used for private network and ASM network, then modify them accordingly.

3. As ASMLISTENER is using the private network, modifying the private network will affect ASMLISTENER. It is required to add a new ASMLISTENER with the new network configuration. Skip this step if the subnet for the ASM network is not changed.

3.1. Add a new ASMLISTENER (for example: ASMNEWLSNR_ASM) with the new subnet, as grid user:

$ srvctl add  listener -asmlistener -l <new ASM LISTENER NAME> -subnet <new subnet>

eg:

$ srvctl add listener -asmlistener -l ASMNEWLSNR_ASM -subnet 192.168.10.0

3.2. Drop the existing ASMLISTENER (ASMLSNR_ASM in this example) and remove the dependency, as grid user:

$ srvctl update listener -listener ASMLSNR_ASM -asm -remove -force

$ lsnrctl stop ASMLSNR_ASM

 

Note. -force option is required, otherwise the following error will occur:

$ srvctl update listener -listener ASMLSNR_ASM -asm -remove

PRCR-1025 : Resource ora.ASMLSNR_ASM.lsnr is still running

$ srvctl stop listener -l ASMLSNR_ASM

PRCR-1065 : Failed to stop resource ora.ASMLSNR_ASM.lsnr

CRS-2529: Unable to act on 'ora.ASMLSNR_ASM.lsnr' because that would require stopping or relocating 'ora.asm', but the force option was not specified

 

3.3 Verify the configuration

$ srvctl config listener -asmlistener

$ srvctl config asm

 

4. Shutdown Oracle Clusterware on ALL nodes and disable the Oracle Clusterware as root user:

# crsctl stop crs

# crsctl disable crs

5. Make the network configuration change at OS level as required, ensure the new interface is available on all nodes after the change.

$ ifconfig -a

$ ping <private hostname>

6. Enable Oracle Clusterware and restart Oracle Clusterware on all nodes as root user:

# crsctl enable crs

# crsctl start crs

7. Remove the old interface if required:

$ oifcfg delif -global <if_name>[/<subnet>]

eg:

$ oifcfg delif -global eth0/192.168.0.0

重庆赛烽达科技是oracle wdp授权培训中心,是重庆oracle培训认证机构,近期推出的重庆oracle ocp培训火热报名中

本文网址:http://www.cqora.com/news/514.html

关键词:重庆oracle培训,重庆oracleocp培训,甲骨文oracle认证培训机构

最近浏览:

报名咨询

点击咨询报名

赛烽达QQ群

赛烽达技术群

程老师

xxxxxxxxxx

加微信咨询

张老师微信.jpg

xqzhang@saifengda.com