Linux on Hyper-V – a summary 10.2014

I struggled with a Live Backup issue on Ubuntu 2014 LTS a while ago as ralish from Stockholm DevOps describes here.
The problem was a broken installer meta package and ends up in a missing kvp deamon if you tried to install it on Ubuntu.
This daemon is used to interact between Host and VM to get a consistent backup state during snapshot creation on the Hyper-V Host.
So at the end, Backups without kvp can be risky due to a service interruption of the VM workload(s).

A screenshot from the DPM 2012 R2 Backup console shows the offline state.

In the meantime, the bug got fixed, Live Backups without service interruption can be taken, the sun is shining again and so it’s time to wrap some things up and give you a short overview about Hyper-V and common Linux Distributions.

Continue reading

Increasing Deduplication Performance on Server 2012/R2 … a bit

Updated 02.02..2015

It’s been a while since the dedup feature came to us with Server 2012.
Actually 2 years ago I started playing around and since then it’s one of my favourite features.
For testing purposes I have had deduped nearly everything I could and still use it in “unsupported” scenarios like non VDI environments.
I got quite an overview how rock solid this feature really is.

Continue reading

Deduplication Error – 0x8007000E – Server 2012/R2

Server 2012 R2 fantaboulous dedup feature is one of my favourites.
But I had a mysterious error within the logs about “Not enough storage” which was definitely not true.

At the end the error message is misleading and it was to less memory at night times when the server tried to dedup his storage due to a rare condition with concurrent other VMs and dynamic ram. So it happend not often and the errors weren’t in my sight.

The Power Shell gave me this:

LastOptimizationTime : 24.06.2014 01:26:49
LastOptimizationResult : 0x8007000E
LastOptimizationResultMessage : Not enough storage is available to complete this operation.

Getting more minimum memory and scaling up the weight solved the problem.

Continue reading

KB2920189 fails to install on generation 2 Hyper-V VMs

A couple of days ago (12.05.2014) there was an updates released which fixing UEFI issues on Windows Server 2012/Windows 8 and above.
On some machines the update will fail as described here.
But as suggested within the forum it seems to be working to disable “secure boot” and repeat the update run.
In my cases all machines could install and run properly.

vPro/AMT and Direct Access issue

On my testing lab I ran into a problem as I tried to get vPro access remotely via Direct Access based on Server 2012 R2.
It turned out that there is a problem if I used the virtual network of the Direct Access Server on the same port as the built in network port.

What happend?

I couldn’t get access to the vPro interface on the Hyper-V Host where the DA Server is running as virtual machine.
Reasearching the problem I could see If I’m switching to another vNet on an other port on the same Host the vpro webinterface appears.

In best practise the Host System shouldn’t communicate during the same network port as the virtual machines anyway but with limited ressources I ignored that.
The vPro/AMT Stuff works on a shared base with the first network port on Intels Q Chipsets.
I could reproduce this with a Q77M chip and Intel 82579LM and a Q87M with I217LM as well.

Some smaller or older servers have these kind of shared remote ports as well but in most cases the remote port is independent (HPs iLO is mostly a 100Mbit port for example).

Server 2012 R2 Preview – Installation error

Especially during in place upgrades I ran several times into installation errors.

“Windows installation encountered an unkown error and cannot continue.”

The reason at the moment seems to be the (177kb) update the setup assistant is recommending.
If you leave the option unchecked the installation will run through.

1.2012-to-R2-error 2.2012-to-R2-error 3.2012-to-R2-error 4.2012-to-R2-error

I ran also into errors during a normal setup on a blank disc with the same error but couldn’t get a hint why.
Maybe it was a corrupt iso image.

 

daily download tasks – wget for windows

Sometimes If you have to get software frequently new it’s good to automatize the procerede.

In my case my collegues wanna get every day stuff like ComboFix directly in to a workspace folder. (ComboFix AV tool – after a couple of days  it says it’s to old and you have to download a fresh, new version)

Download wget for windows and put it where ever you want it.

write a cmd with

del x:\Antivirus\Combofix\combofix*.exe

c:\winwget\wget\wget.exe “http://download.bleepingcomputer.com/sUBs/ComboFix.exe” -P “x:\Antivirus\Combofix” -c
ren x:\Antivirensoftware\Combofix\ComboFix.exe combofix.%date%.exe

 

and set a daily task with the task scheduler …

First row deletes the old version and the second will download the new version.
This is a pretty simple way without special permissions at the download source but you’ll figure it out if you have to. 😉

DeDuplication Issues on Server 2012 – running out of space

DeDuplication is one of the coolest new features on Server 2012 and I can’t wait to get the new R2 with all improvements.
Anyway…

All (File) Servers I’m using are brand new setups but there is an older system which was 2008 R2 and upgraded inplace a couple of months before without worries.
There are many image files, drivers, backups laying around but the dedup rate was very low right from the beginning.

Usually I can see dedup rates around 40 – 50% on most fileservers. Sometimes much more especially If there are sys preps and Microsoft related stuff.
This one special fileserver was running out of space the second time and it seems there is a problem with the garbage collection.

I started a thread at the Technet Forum and got a couple of informations.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/08fe4c31-7fa8-421c-9068-b99b0330090c/server-2012-deduplication-and-antivirus-experiences

The interims solution for me at the moment is a powershell command to run the clean up manually and get space back.

PS C:\> Start-DedupJob E: –Type GarbageCollection -full

Within the next days I’m crawling a bit deeper and take a look into the system log trying to get more useful error messages or something.

Recreating AD DNS SRV records on server 2012

Today I installed a new Domain Controller and I got an interesting error which I’ve never had before on a couple of new Servers as I tried to put them in to the new and fresh created domain.

The Message was:
Note: This information is intended for a network administrator.  If you are not your network’s   administrator, notify the administrator that you received this information,   which has been recorded in the file C:\Windows\debug\dcdiag.txt.The following error occurred when DNS was queried for the service   location (SRV) resource record used to locate an Active Directory Domain   Controller for domain example.com:

The error was: “DNS name does not exist.”
(error code 0x0000232B RCODE_NAME_ERROR)
The query was for the SRV record for _ldap._tcp.dc._msdcs.example.com
Common causes of this error include the following:

- The DNS SRV records required to locate a AD DC for the domain are   not registered in DNS. These records are registered with a DNS server   automatically when a AD DC is added to a domain. They are updated by the AD   DC at set intervals. This computer is configured to use DNS servers with the   following 

IP addresses:

192.168.0.1

- One or more of the following zones do not include delegation to its   child zone:             
example      
.com
. (the root zone)
For information about correcting this problem, click Help.

I went straight to the DNS console and got confused as I couldn’t see any of the common SRV records at the _msdcs and so on.
After reading some threads and looking around I got it fixed and here is how I done it.

First of all you should check your DNS Settings as described here:

http://geekswithblogs.net/technetbytes/archive/2011/10/09/147233.aspx

If it isn’t helpful you can try to do the same as I did and hack into the cmd  ipconfig /registerdns and dcdiag /fix.
After that  I restarted the DNS Server and netlogon service. Another dcdiag /a run later it almost ran through as usual and the missing records appeared in the DNS console.
The Servers I tried to join the domain went through the procedure and the problem was solved.

I learned two things.

First … It doesn’t matter how often you’ve done something and you believe it’s going well as everytime, you have to check it to be safe.

In my case I thought I’m installing an ADC as I done it hundred times before. I don’t need the usual check list.
Wrong!
This time I forgot to check the DNS records after setting up the ADC and creating the Domain.
Half a day later after creating dozens of groups, OUs, users and all this … You can image. 😉

Second … The reason of the problem was made by myself as I forgot to set “Register this connection’s addresses in DNS” checkbox at the advanced TCP/IP Settings before I installed the AD.

I’ve done that to avoid an entry to an existing DNS Server. It’s not unchecked by default. 😉

One of the heaps of different threads I found:

http://social.technet.microsoft.com/Forums/en-US/winserverDS/thread/884e59a4-0037-4714-bfdb-957046182e13