Server Move - VM Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Pilly170
Posts: 75
Joined: Thu Mar 28, 2013 6:03 am

Server Move - VM Question

Post by Pilly170 »

Hi,

I have moved nagios VM from a hyper-V to Xenserver.

All looks ok, It boots, I can login. but the network doesnt seem to be working.

I was using this:
http://exchange.nagios.org/directory/Tu ... on/details

I got to ifdown eth0
Says "Device Eth0 has mac address xxxxxxx, instead of configured address xxxxxx . ignoring

Any ideas how to overcome?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Server Move - VM Question

Post by abrist »

You may need to alter the network settings in centos. What are the contents of the ifcfg network config files?

Code: Select all

cat /etc/sysconfig/network-scripts/ifcfg-eth*
You may need to remove the mac address from the files. If this server has more than one nic, it may be assigning the nics in a different order under xen than it did under hyper-v.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Pilly170
Posts: 75
Joined: Thu Mar 28, 2013 6:03 am

Re: Server Move - VM Question

Post by Pilly170 »

Image

So I assume I have to remove the hardware entry... any ideas?
Pilly170
Posts: 75
Joined: Thu Mar 28, 2013 6:03 am

Re: Server Move - VM Question

Post by Pilly170 »

I edited the file. rebooted and it seems to work.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Server Move - VM Question

Post by abrist »

Try removing/commenting out the HWADDR line by adding a '#' to the front of the line. Afterwards, reboot the server or restart networking.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked