Test Operation Records of modifying VIP addresses in Oracle11gR2RAC Environment

Source: Internet
Author: User
Part 1: Test Condition A, IP address 192.168.1.52node1192.168.1.53node2192.168.1.55node1-vip192.168.1.56node2-vip10.10.10.52node1-priv10.10.53node2-priv192.168.1.60racdb-cluster-scanB, version: Oracle11gR2 (11.2.0.2), Part 2: Test

Part 1: Test Condition 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 2: Test

Part 1: Test conditions

A. IP Address

192.168.1.52 node1

192.168.1.53 node2

192.168.1.55node1-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 2: Test process

Purpose: To test the function of modifying the VIP address 192.168.1.55 of the 192.168.1.52 server to 192.168.1.62.

Test procedure:

1. Determine the network interface of the local cluster

$ Oifcfg iflist-p-n

2. Determine the local public and private excuses for configuration information

$ Oifcfg getif

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

$ Srvctl config vip-n node1

$ Srvctl config nodeapps-

4. Stop orcl1 instances on node1 (Oracle user operation)

$ Srvctl stop instance-d orcl-I orcl1

(The instance can be disabled after testing. If the node instance is disabled, the configured service must be disabled)

5. Stop the listening service on node1.

$ Srvctl stop listener-n node1

Because listener is the VIP, the VIP service is also used, and the two parts are related.

6. Stop the VIP address

$ Srvctl stop vip-n node1

7. Verify that the VIP address is no longer running

$ Ifconfig-

8. Modify/etc/hosts

# Vi/etc/hosts

9. Modify node applications and provide new vip addresses (for grid user operations)

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

10. Start the VIP node (grid user operation)

$ Srvctl start vip-n node1

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

$ 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 (grid user operation) on node1)

$ Srvctl start listener-n node1

13. Start the orcl1 instance on node1 (Oracle user operation)

$ Srvctl start instance-d orcl-I orcl1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.