Link to home
Start Free TrialLog in
Avatar of zacker69
zacker69Flag for Canada

asked on

Hyper-v vm big problem With Windows 2012 r2 DC

Hi

I have a Hyper-V VM (Host an VM are Windows 2012 R2) that work fine this morning and after 1 hour after employed begin to work, it began to have many problem, most are network specific. It is a DC. This week-end we had a power outage, so I think first that it come from there. I tried to find the problem but it that something is stuck somewhere. many service seem to initialising but stay there or many doesnt seem to start. But there nothing in event log. I have a remote access program on the vm and it is not start, Sql server don't respond, RDP don't respond and many other service don't respond but all share work fine. Internet access is working.

When I check windows activation it said product id unavailable. I tried to reinsert the key but it seem to work without stopping. The key come from an open licence account and it is use on the host and it work fine on it. When I check the maintenance manager it said maintenance running. I tried DISM.exe /Online /Cleanup-image /Scanhealth but it did nothing after 2 hours.

I have in server manager I have problem with managability, it said, online - data retrieval failures occured. I have an other problem reported by server manager for the automatic refresh: Configuration refresh failed with the following error: Call was cancelled by the message filter.

When I shut down the server it stuck on Stopping service  :

I tried restore a 1 month old vm backup and start from there but it does the same thing. That's very weird. Is it something with the host? No installation or update was made on the host or on the vm.

I'm not a Windows server master, somebody can help me with this problem?

Thank you!

Dan
Avatar of Ganesh Anand
Ganesh Anand
Flag of Bahrain image

First, try to update your hyper-v host and check.
Normally the error log you faced should be a permission issue to read the logs.

Read the article which explains more about the common errors in Server manager and logs.

https://social.technet.microsoft.com/wiki/contents/articles/13445.windows-server-2012-server-manager-troubleshooting-guide-part-iii-common-events-and-errors-in-server-manager.aspx
Avatar of zacker69

ASKER

But nothing has been change for months. I'm not sure server manager message is related to the problem, I think it is one of the result of it.

This morning on the vm, I have a exclamation point on the network connection but I can ping everything on local network and on Internet, and I have internet access too. But when I go in network center nothing happen, blank windows. Same thing for Windows Update. Now the exclamation point disappear, maybe not related but it seem that many control panel are inaccessible.

I'm trying to update the host but I can't go in windows update on VM. I let you know
Hi,

Note down the IP details in N/w card properties and trigger the following commands

netsh winsock reset

netsh int ip reset

Reboot the server and see if all working fine? you might need to put the static IP back in n/w card properties.
it seem to be worst after netsh it seem that nothing work after. I can't do anything, can't go in start menu, no icon on desktop, etc. I go in task manager only via ctrl-alt-del and start cmd and do ipconfig, it seem to keep my static setting
What happens if you login as local administrator?
Ganesh: The update of the host didn't change anything
systech: there is no local admin on domain controler
I tried to recreate VM. But it stuck at loading with device configuration (I have french system so sometime the translation maybe wrong)
My first though is to confirm where you are with the 1 month old backup. Is your current system runnning from the restored backup or have you reverted to your original server?
(as this is a Domain Controller, restoring old backups can have serious implications at a domain level, but we'll have to worry about that when we get it mostly working as a server first)

So, many services hanging/not running. Event logs are EMPTY? network connectivity is working (can you ping it and can it ping other stuff on the network?)

As this is a Domain Controller, you really need to boot into DSRM (DS restore mode) to avoid breaking your AD more than is necessary. Best to do OS diagnostics in here and only boot normally once you've sorted OS issues)

Could you advise what occurred after the power outage? Do we know if the host came back up cleanly? could it see its storage etc ok? are there any other VMs on there?
How about the VM. do you have boot delays on to prevent early startup after an outage or did the VM just fire up as soon as it was able to?

have you checked events on the host?
Steve:

Now I will restore the 1 month old backup because something stuck at boot with the current VM. But When I tried to use the 1 month backup it does the same thing as the current VM. That's weird, it mean to me the problem come from the host.

The services are running but doesn't respond. File sharing is working. Ping is working too. SQL Server, RDP, Splashtop, and some other like windows activation doesn't respond but are in running state.

After the power outage everything seem to work fine. But I only see the vm after the problem. But user tell me everything work fine (they mostly use application using SQL Server)

Their are an other VM for the VOiP but it seem to work fine, but i'm not in charge of it and I think it is linux. The vm are booting as soon as the hyperv service is ready.

There are no significant error in event log on the host
Have you tried booting into dsrm so you can diagnose safely?
I never did that but I will try it
I will suggest to minimize your effort to a machine at a time.

Start with your HOST.

Make sure the machine is working as expected:  Internet access, network access, RDP, ping, DNS, shares, etc.

Verify all your HDD are error free and you have enough resources available or host and VM.  Once you are 100% sure your host is working normally then go to your VM device.

Access your VM by the Hyper-V only, verify the same as host, if this VM is normally working by DHCP try using static IP instead.  If it is already static make sure there is no other device using that IP.

VMs in general tend to lag a lot if their system or data hard drive file are corrupt.
So now everything goes wrong. I tried to create a new virtual machine with new installation but now it is stuck at impossible to apply update rolling back... I reimport a backup of the original vm and the firmware is corrupt. I don't know what is wrong with this host but something is really wrong
Yea, I'd agree the host is looking very suspicious at this point. Did you find any errors/warnings on the host? probably worth checking through some of them with us.
Most error are network related acces to some services. But most are can't find DC name in DNS. DNS work fine but it seem that some services didn't access it.

So this morning, after some pray, a miracle, a lot of caffeine and many hours of work, everything is up and running.

I restored again the 1 month ago backup and it work this time. The business who install the server made a big piece of junk with vm. They create dynamic virtual hard drive and after install Windows server they made a checkpoint and never deleted it. They gave me the access to the host only one month ago. So I have a big avhdx that I can't merge because I don't have enough space. So I renamed the big file to vhdx and attached it to vm and mount it ti server. After I synchronised with robocopy all the data folder. After I applied all the change I made since the backup.

So I hope everything continue to work fine  and I will change vm management  and backup policies.

Thank you for your help.
ASKER CERTIFIED SOLUTION
Avatar of zacker69
zacker69
Flag of Canada 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
no problem. happy to help.
If you find any of our responses helpful please consider marking them as helpful or awarding points :-)