[error] Failed to Read Network Interface Files for 'eth1 Vami

Paulo Coelho once stated "Life moves very fast. It rushes from Heaven to Hell in a matter of seconds" Well I retrieve he perfectly described a day working in the lab and rushing through a migration. I'm upgrading the lab and I moved the vCenter Server Appliance (VCSA) to its new home. While trying to practice a million things all at once, I didn't pay attention to the question whether I moved the virtual machine or whether I copied information technology. I selected the pick "I copied it". And that's when the fun started, vCenter down.
TL;DR:
Selecting "I copied it" implies that this motorcar is a indistinguishable and that a new identity should be generated. This means that the VM is getting a new UUID and a new MAC accost. SUSE Linux Enterprise Server 11 detects this new MAC accost and views this as a new Ethernet Device. The VCSA does not allow the creation of a new ethernet controller. Rename seventy-persistent-net.rules file and reboot to have SUSE auto-generate a new seventy-persistent-cyberspace.rules file with the right MAC Address that allows you restore network connectivity via the console.
Troubleshooting the problem
Both the web client and the VCSA config web page are unreachable, time to open the VM console (Alt-F1). When logging in and pinging the gateway the error, the organization returns the error message "Network is unreachable"
01-VCSA network is unreachable
Earlier tinkering with the configuration files, I like to restart the services and see if the status report exposes interesting data.
02-VCSA service network restart
"No configuration found for eth1". The VCSA is configured with a single NIC and SUSE Linux Enterprise Server 11, which is the Bone for the appliance, assigns the characterization eth0 to the first Ethernet adapter. VCSA networking is configured through the Virtual Appliance Management Interface (VAMI). Executing the control "/opt/vmware/share/vami/vami_config_net allows you to retrieve the current network configuration
03-VCSA vami_config_net
When selecting pick 6 "IP Address Allocation for eth1" VAMI reveals that information technology cannot read the interface files for 'eth1'
04-VCSA-IP_address-Alloc_for_Eth1
The networking interface files are stored in the directory /etc/sysconfig/networking/devices. When listing the files (ls) only ifcfg-eth0 shows upward. Reviewing the ifcfg-eth0 file with true cat shows that the correct networking configuration is still practical to eth0.
05-VCSA-ifcfg-eth0 results
Information technology looks similar the problem occurs due to the fashion SUSE handles devices. The following text is copied directly from the SUSE documentation:

When the Kernel detects a network menu and creates a corresponding network interface, information technology assigns the device a name depending on the social club of device discovery, or lodge of the loading of the Kernel modules. The default Kernel device names are only predictable in very elementary or tightly controlled hardware environments. Systems which allow adding or removing hardware during runtime or support automatic configuration of devices cannot expect stable network device names assigned past the Kernel beyond reboots.
However, all system configuration tools rely on persistent interface names. This problem is solved by udev. The udev persistent cyberspace generator (/lib/udev/rules.d/75-persistent-cyberspace-generator.rules) generates a rule matching the hardware (using its hardware address by default) and assigns a persistently unique interface for the hardware. The udev database of network interfaces is stored in the file/etc/udev/rules.d/70-persistent-cyberspace.rules. Every line in the file describes one network interface and specifies its persistent name

Source: https://www.suse.com/documentation/sled11/book_sle_admin/data/sec_basicnet_manconf.html
When the ESXi host assigns the VM a new MAC Address, SUSE assigns a new unique interface to this MAC address and stores this in the file etc/udev/rules.d/70-persistent-net.rules.
06-VCSA-70-persistent-net_rules
It shows two Ethernet adapters, eth1 is using the MAC address currently assigned to the VM.
07-VCSA-VM network-configuration
We are at present inbound a twilight zone, where there is one ethernet interface configured with an IP-accost (ifcfg-eth0) while SUSE is applying all rules to a device it created and using the MAC Accost assigned to the only NIC fastened to the VM (Network Adapter one). Time to make clean upward. Luckily udev rules are automatically generated during kick. To solve the mac address assignment fast, rename the file lxx-persistent-cyberspace.rules
08-VCSA-rename udev file
Afterward rebooting the VCSA, review the seventy-persistent-net.rules file to verify that SUSE assigned the MAC address to eth0.
09-VCSA-clean udev rule
You can now safely customize the system (Press F2 in the console) and configure the management network
10-VCSA-configure management network
A reboot of the VCSA is necessary as information technology appears that a restart of the management services is not enough to restore all services. Funny how times change, present you get really happy seeing a blue screen.
11-VCSA-weblogin

merrillsatho1940.blogspot.com

Source: https://frankdenneman.nl/2016/05/24/no-network-connection-after-re-registering-vcsa-using-the-ive-copied-it-answer/

0 Response to "[error] Failed to Read Network Interface Files for 'eth1 Vami"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel