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

A good way to adjust the priority order of network cards in Windows SERVER 2012 R2

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

When installing oracle 12C RAC on a WINDOWS SERVER 2012 virtual machine, it is easy to make an error that the hostname is invalid.

This error will cause the oracle12c rac installation to fail, and you can't get to the next step if you get stuck here.

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.

This detailed check is displayed in the cluster installation condition check. (note: cluster preset check conditions

Runcluvfy stage-pre crsinst-n RACtest1,RACtest2-verbose verifies the installation environment. )

This requires that the two nodes must first bind public, and then bind private on another network card, and the interface metric is set correctly.

So if two network cards are added at a time when the virtual machine is actually deployed, public and private are set respectively. When installing oracle12C, what if you always recognize private first?

The usual adjustment method is to adjust manually in the advanced settings of the network adapter.

However, this method does not change the real priority order of the network card, which can be verified by get-netipinterface.

We found that the ifindex id of pri is 12, and whether the ifindex id of pub takes precedence over pub.

So how to adjust it? we can try to adjust the number of hops of the network card, such as setting pub to 100and pri to 300, so that we can really distinguish the priority.

At this point, the priority will change. The ifindex id of pri is 14, while the ifindex id of pub is 12. Pub takes precedence over pri.

This allows you to skip the hostname error.

Note:

Ifindex:IfIndex is the only identified numbering associated with a physical or logical interface. For most software, IfIndex is the name of the interface. Although the associated RFC does not require communication between specific IfIndex values and their interfaces to be maintained between restarts, applications such as device details, billing, and fault detection depend on this communication.

RFC1213 (MIB2) defines the initial IfIndex as follows:

Each interface is identified by a unique value of the IfIndex object, and the IfIndex specification limits its value as follows: its value is arranged between 1 and the value ifNumber. The value of each interface must remain the same at least from the repeated preloading of the entity's network management system.

However, according to the latest IETF RFC 2863 (Interface Group MIB), IfIndex definition changes are adapted to allow the number of network interfaces to dynamically add or delete devices. The solution adopted in RFC 2863 removes the IfIndex ratio and retains its currently defined ifNumber.

Network card interface hop: hop is routing. A route is a hop. In the process of transmission, you need to pass through multiple networks, and each network device point (capable of routing) is called a hop, and the address is its ip. The number of hops is an accumulator of how many hops have passed, in order to prevent useless packets from spreading on the Internet. Specifies the integer value of the required number of hops for the route (range 1-9999), which is used to select the route that best matches the destination address in the forwarding packet among the multiple routes in the routing table. The selected route has the least number of hops. The number of hops can reflect the number of hops, path speed, path reliability, path throughput and management attributes.

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