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

How to carry out oracle11gR2 RAC environment test and modify node VIP operation test

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article will explain in detail how to carry out the oracle11gR2 RAC environment test and modify the node VIP operation test. The content of the article is of high quality, so the editor shares it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.

Part one: test conditions

A, IP address

192.168.1.52 node1

192.168.1.53 node2

192.168.1.55 node1-vip

192.168.1.56 node2-vip

10.10.10.52 node1-priv

10.10.10.53 node2-priv

192.168.1.60 racdb-cluster-scan

B, version: oracle 11gR2 (11.2.0.2)

Part II: testing process

Test goal: modify the VIP 192.168.1.55 of the 192.168.1.52 server to 192.168.1.62

Test steps:

1. Determine the network interface of the native cluster.

$oifcfg iflist-p-n

2. Determine the local public and private excuse configuration information.

$oifcfg getif

3. Determine the virtual IP,VIP address and VIP subnet mask of this machine.

$srvctl config vip-n node1

$srvctl config nodeapps-a

4. Stop the instance of orcl1 on node1 (oracle user action)

$srvctl stop instance-d orcl-I orcl1

(after testing, it is possible not to down instance. If you do not stop the instance of the node, you must down the configured service)

5. Stop the monitoring service on node1

$srvctl stop listener-n node1

Because listener uses VIP, which also uses VIP services, these two parts are related to associative relationships.

6. Stop VIP address

$srvctl stop vip-n node1

7. Verify that the VIP address is no longer running

$ifconfig-a

8. Modify / etc/hosts

# vi / etc/hosts

9. Modify the node application and provide a new vip address (grid user operation)

$srvctl modify nodeapps-n node1-A 192.168.1.55/255.255.255.0/bond0

10. Start the node VIP (grid user operation)

$srvctl start vip-n node1

11. Verify the running status of the VIP address (grid user action)

$srvctl config vip-n node1

VIP exists: / node1-vip/192.168.1.62/192.168.1.0/255.255.255.0/bond0, hosting node node1

12. Start the listening service on node1 (grid user action)

$srvctl start listener-n node1

13. Start the instance of orcl1 on node1 (oracle user action)

$srvctl start instance-d orcl-I orcl1

On how to carry out the oracle11gR2 RAC environment test modification node VIP operation test is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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

Servers

Wechat

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

12
Report