In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Unable to access failure handling after migration of Vmware virtual server
In the construction of micro services, when building the basic platform, such as building IAAS, due to maintainability problems such as service expansion and reduction, we need to migrate or copy capacity expansion to rapidly expand cluster nodes, to improve the reliability, availability and other non-functional technical support of micro service operations. However, in the process of implementation, we sometimes encounter some detailed technical problems that are not considered in place, resulting in unavailability after migration and need to be optimized! For example, we want to migrate a cluster node service from one physical machine to another newly purchased server in order to expand CPU, memory, etc., but because the name of the physical network card does not change automatically when migrating to the new hardware service machine, the startup cannot be accessed after the migration, and the corresponding IP cannot be found through ifconfig
As shown below:
Check the name of the current Nic via ip link show as follows:
We use cd / etc/sysconfig/network-scripts/ to check whether the name of the corresponding network card is consistent, and find that the name of the network card is not the same as that viewed through ip link show, indicating that the name of the network card will not be changed intelligently when migrating from the old environment to the new physical environment:
We modify the name of the Nic through the mv command, and back it up before modifying it:
After modification, it is as follows:
In the modified network card, the corresponding configuration file device name and network card name are corresponding, and the corresponding UUID is commented out
Restart the network card, and then ping to see if it is connected to other services:
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.