Link to home
Start Free TrialLog in
Avatar of mchenry2677
mchenry2677

asked on

Virtual server returns ping even when turned off

Currently, I can ping the IP addresses of my virtual servers whether or not they are actually started.  This causes my network monitoring software to think that those servers are always online.

Can I change a setting in VMWare (ESXi 4.5) or in each server to keep them from answering ICMP requests when they are offline.

Thanks!
Avatar of Neil Russell
Neil Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

A virtual server that is powered OFF can not respond to a ping i am afraid. You MUST have something else on the network responding.
Avatar of mchenry2677
mchenry2677

ASKER

What about a virtual server that is rebooting?
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
check the mac address of the server which is returning pings.

check the mac address then on switch to find the server

use arp -a on windows
SOLUTION
Avatar of Neil Russell
Neil Russell
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is there a way that I can keep it from responding to pings until it is functionally online again? is that what the "arp -a" is about?

I'm sorry if this is confusing, I'm still really new to server administration.

I'd just like my monitoring software to register that the machine rebooted so that it will send me an e-mail alert.  But if it never drops even a single ping request, it never e-mails me.

I have run ping -t on several virtual servers as I rebooted them, and they don't drop even a single packet.
arp -a will display a list of

mac address and ip address

using the mac address will confirm the nic in use, every mac is unique

if your VMs are responding when OFF something is very odd....

are you using IP addresses? not hostnames
In a word? NO.

You can NOT stop a server from functioning as it is meant to. It will respond to a PING as soon as the network layer is up and running.  You can not dictate when it happens once it is powered on.

ARP is NOTHING to do with controlling anything, it is just a tool for inspecting the ARP table of a machine.
Are you 100% sure about your pings?

Log into one of your virtual servers and do an IPCONFIG / ALL
Now from a workstation do your ping -t x.x.x.x  (Where x.x.x.x is the ip address of the network card in the server above.

Now SHUTDOWN the virtual server
Do your pings stop?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for all of your help. I was able to do more research and testing on my servers and find a good workaround for my environment.
I am having a simular problem, but with a twist.  We have started to migrated non-critial machines into the virtual environment and decided to test a SANS failure.
1. Shutdown the SANS through the GUI (not the VMs running on it)
2. We left the two ESX machines on
3. we were going to try and do a mount from a backup to one of our smaller "backup" SANS but I noticed that in VMSphere the machines never went offline.
4. Verified that the SANS is actually down and it is.
5. VMSphere shows that the LUNS are not reachable on the SANS but still shows that the VMs are running.
6.  The odd thing is I can still ping it, if I do a power off in VSphere I can no longer ping it

My confusion is that I cannot understand how VMSphere is not detecting that the VMs are down.  You cannot access them, just ping them.  This becomes a problem because I will not get my warnings that the machine or machines are down.

Hope someone can help.