Working on decommissioning/moving/updating old servers. I have an old host machine running CentOS 6.2. It has several KVM based virtual machines I need to access. I can’t use SSH or any network tools to reach the guests, because the guests have static IPs set to the wrong subnet. (They were moved from another office location).
The host machine has no GUI.
The host machine cannot use yum, because it’s too old to connect to the repos.
I cannot connect with virt-manager from my desktop to the host because libvirt on the old machine is too old.
I tried mounting the VM’s LVM partition on the host (so I could edit the config files manually), but you must specify the filesystem type
.
It will not accept ext3
or ext4
as the type (mount: wrong fs type, bad option, bad superblock...
).
The file
command does not exist on the host.
The server and guests all run fine, no hardware issues. Just old software, and can’t access guests on the network due to wrong subnet.
Options?
Besides:
- Physical removal of hard drives to another machine, rebuild RAID, mount LV, change IP in text file, move drives back, etc
- Change the subnet of this office’s router and my desktop computer.
There has to be a less stupid option, right?
Like:
virsh --change-ip 192.168.1.100 my_guest_vm
from the host?
(Apparently, you can connect to a guest from the host… if you have ALREADY INSTALLED a package on the guest to do so… which isn’t useful at this point.)