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

Solution to the problem of invalid host name when building oracle12c rac

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

Build an oracle 12c rac cluster on windows 2012 64-bit Enterprise Edition. The hosts file is as follows:

# add for rac config

11.14.72.83 rac1

11.14.72.84 rac1-vip

192.168.0.1 rac1-priv

11.14.72.85 rac2

11.14.72.86 rac2-vip

192.168.0.2 rac2-priv

11.14.72.87 scanip

There is no problem for the two machines to ping each other, and the pre-check batch passes completely, but when installing the clusterware grid, it is prompted that the host name of the other node is invalid, that is, the installation of rac2 on rac1 is invalid, and the installation of rac1 on rac2 is invalid.

Screenshot of error:

After checking the official website of oracle, we found that:

The solution to this problem:

ODM:

RAC on Windows: INS-40937 Encountering During 11.2.0.3 Grid Infrastructure Install (document ID 1479496.1)

CAUSE

Invalid binding order of network adapters on the node which returned the error.

One of the installation prerequisites for Grid Infrastructure installations on Windows platforms is

To have your 'Public' network adapter listed first in your binding order and

Your 'Private' network adapter listed second in your binding order on all cluster nodes.

SOLUTION

Fix the Network Adapter Binding order so that the public network adapter is listed first and

Your private network adapter is listed second as per documented installation prerequisites

This also applies to 12C.

Check the binding order of network cards and find that the order of network cards bound by public and private on both sides is not the same.

Both nodes must bind public on # 2 and then private on # 3

After adjustment, the reinstallation of clusterware passed smoothly.

In addition, you need to make sure

1. Make sure that the node vip and public ip are in the same network segment.

Similar problems will occur if vip and public Ip are not in the same network segment.

2. The hosts or / etc/fstab of the two nodes should be exactly the same

And ping public1, vip1 and pubic2,vip2 should be able to communicate with ping.

Note: if this problem occurs when installing virtual machine templates in the cloud environment, you can try to install it directly with ISO system image to determine whether it is a template problem (the template will disable related services and ports due to security compliance, potentially affecting the installation of RAC)

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