Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Add new network and listener for Oracle RAC environment (not completed)

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Operating system version:

There will be problems with the steps of adding network to the cluster in document ID 1063571.1, as follows:

[root@rac2] # srvctl add network-k 2-S 20.20.20.0/255.255.255.0/eth3

[root@rac2 ~] # srvctl config network

Network exists: 1/192.168.28.0/255.255.255.0/eth0, type static

Network exists: 2/20.20.20.0/255.255.255.0/eth3, type static

[root@rac2] # srvctl status vip-n rac1

VIP 20.20.20.111 is enabled

VIP 20.20.20.111 is not running

VIP rac1-vip is enabled

VIP rac1-vip is running on node: rac1

[root@rac2] # srvctl status vip-n rac2

VIP 20.20.20.222 is enabled

VIP 20.20.20.222 is not running

VIP rac2-vip is enabled

VIP rac2-vip is running on node: rac2

[root@rac2 ~] #

[root@rac2] # srvctl start vip-n rac1

PRKO-2420: VIP is already started on node (s): rac1

[root@rac2] # srvctl start vip-I 20.20.20.111

PRKO-2420: VIP is already started on node (s): rac2

[oracle@rac2 ~] $ifconfig eth3:1

Eth3:1 Link encap:Ethernet HWaddr 00:0C:29:ED:B0:AB

Inet addr:20.20.20.111 Bcast:20.20.20.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 ran node 2 up, let it run back to node 1:

[root@rac2 admin] # crsctl stop res ora.rac1-vip2.vip

CRS-2673: Attempting to stop 'ora.rac1-vip2.vip' on' rac2'

CRS-2677: Stop of 'ora.rac1-vip2.vip' on' rac2' succeeded

[root@rac2 admin] # crsctl start res ora.rac1-vip2.vip-n rac1

CRS-2672: Attempting to start 'ora.net2.network' on' rac1'

CRS-2676: Start of 'ora.net2.network' on' rac1' succeeded

CRS-2672: Attempting to start 'ora.rac1-vip2.vip' on' rac1'

CRS-2676: Start of 'ora.rac1-vip2.vip' on' rac1' succeeded

[root@rac2 admin] # srvctl start vip-n rac2

PRKO-2420: VIP is already started on node (s): rac2

[root@rac2 admin] # ifconfig eth3:1

Eth3:1 Link encap:Ethernet HWaddr 00:0C:29:ED:B0:AB

Inet addr:20.20.20.222 Bcast:20.20.20.255 Mask:255.255.255.0

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

[root@rac2 admin] # srvctl config vip-n rac1

VIP exists: / 20.20.20.111/20.20.20.111/20.20.20.0/255.255.255.0/eth3, hosting node rac1

VIP exists: / rac1-vip/192.168.28.111/192.168.28.0/255.255.255.0/eth0, hosting node rac1

[root@rac2 admin] # srvctl config vip-n rac2

VIP exists: / 20.20.20.222/20.20.20.222/20.20.20.0/255.255.255.0/eth3, hosting node rac2

VIP exists: / rac2-vip/192.168.28.222/192.168.28.0/255.255.255.0/eth0, hosting node rac2

[root@rac2 admin] # srvctl status vip-n rac1

VIP 20.20.20.111 is enabled

VIP 20.20.20.111 is running on node: rac1

VIP rac1-vip is enabled

VIP rac1-vip is running on node: rac1

[root@rac2 admin] # srvctl status vip-n rac2

VIP 20.20.20.222 is enabled

VIP 20.20.20.222 is running on node: rac2

VIP rac2-vip is enabled

VIP rac2-vip is running on node: rac2

[root@rac2 admin] # crsctl stat res-t

-omit part of the content-

Cluster Resources

Ora.LISTENER_SCAN1.lsnr

1 ONLINE ONLINE rac2

Ora.cvu

1 ONLINE ONLINE rac2

Ora.oc4j

1 ONLINE ONLINE rac1

Ora.proc.db

1 ONLINE ONLINE rac1 Open

2 ONLINE ONLINE rac2 Open

Ora.rac1-vip2.vip

1 ONLINE INTERMEDIATE rac1 FAILED OVER

Ora.rac1.vip

1 ONLINE ONLINE rac1

Ora.rac2-vip2.vip

1 ONLINE INTERMEDIATE rac2 FAILED OVER

Ora.rac2.vip

1 ONLINE ONLINE rac2

Ora.scan1.vip

1 ONLINE ONLINE rac2 check the log and there is no obvious error message.

[root@rac2 admin] # srvctl stop vip-n rac1

PRCR-1014: Failed to stop resource ora.rac1.vip

PRCR-1065: Failed to stop resource ora.rac1.vip

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

[root@rac2 admin] #

[root@rac2 admin] # srvctl stop vip-n rac1-f

PRCC-1017: 20.20.20.111 was already stopped on rac1

PRCR-1005: Resource ora.rac1-vip2.vip is already stopped

[root@rac2 admin] # srvctl stop vip-n rac2-f

[root@rac2 admin] #

[root@rac2 admin] # crsctl stop res ora.net2.network

CRS-2673: Attempting to stop 'ora.net2.network' on' rac2'

CRS-2673: Attempting to stop 'ora.net2.network' on' rac1'

CRS-2677: Stop of 'ora.net2.network' on' rac1' succeeded

CRS-2677: Stop of 'ora.net2.network' on' rac2' succeeded

[root@rac2 admin] # srvctl config vip-n rac1

VIP exists: / 20.20.20.111/20.20.20.111/20.20.20.0/255.255.255.0/eth3, hosting node rac1

VIP exists: / rac1-vip/192.168.28.111/192.168.28.0/255.255.255.0/eth0, hosting node rac1

[root@rac2 admin] # srvctl remove vip-I 20.20.20.111

Please confirm that you intend to remove the VIPs 20.20.20.111 (y / [n]) y

[root@rac2 admin] # srvctl remove vip-I 20.20.20.222

Please confirm that you intend to remove the VIPs 20.20.20.222 (y / [n]) y

[root@rac2 admin] # srvctl remove network-k 2

PRCR-1001: Resource ora.net2.network does not exist

[root@rac2 admin] #

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report