I believe in Hyper-V!

Hyper-VCategory Archives

About Hyper-V technology

Time-Sync issues and how to resolve it

Hi,

In the last couple of week I had a lot of issues with the Time synchronization in few of my environments and I write this post to have reminder and to help others to solve that.

I’ll explain my situation, environment etc. So, in my situation time difference between domain controllers and other devices can’t be longer than five seconds, if it’s time difference longer than we have a big issue.

What I tried to do? The first I used manual from the official Microsoft site who helped me many times. How to configure internal time server to synchronize with an external time source you can read here.
After I did everything follow this guideline I execute few commands.

1. To check the source time server:
w32tm /query /status
After this command you will see result:
Leap Indicator: 0(no warning)
Stratum: 2 (secondary reference – syncd by (S)NTP)
Precision: -6 (15.625ms per tick)
Root Delay: 0.1403826s
Root Dispersion: 0.0279385s
ReferenceId: 0xD8E500B3 (source IP: PDC IP address)
Last Successful Sync Time: 24.3.2017. 8:39:49
Source: PDC FQDN,0x1
Poll Interval: 10 (1024s)

2. Time resynchronization with another NTP
w32tm /resync
w32rm /resync /rediscover /nowait

3. To force computer to synchronize its time with a specific DC, you can run the Net Time command:
net time \\<DC_name_or_IP> /set /y

4. I ran also the following:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time

and everything was perfect SOME TIME, but after a few days I had the same issue like at the beginning of this story.
I found one great free tool called Windows Time Service which you can download from here.

After software installation, you need to configure few parameters. Keep in mind that we need to configure different time servers on every domain controller in our environment. First we need to install and configure parameters on PDC which will be the primary time server for all others domain controllers in our environment.

NOTE: After installation you will find software under Control Panel. Start application as administrator!

image

Open application and configure parameters like on the picture below. Under Server IP or DNS name enter preferred time servers.

image

Under Server tab configure parameters like in the picture below.

image

Next step, logon on the second domain controller and configure valid parameters. Under Client –> Server IP or DNS name enter FQDN of your PDC and external time servers. Look on the picture below.

image

I configured this two months ago and since than I have no issues with the time difference.
All mentioned above I did it on the physical and virtual (Hyper-V) domain controllers.

Hope this article will be useful for you.

Cheers,

Romeo

101 Free Hyper-V Management & Monitoring Tools and Resources

image

All the tools you need to manage, monitor and understand Hyper-V are available on the Internet. But, how do you find them all? Lucky for us, good people done a lot of the work for us. They’re collecting a list of 101 Hyper-V tools, scripts and resources.
What could be better?
Well, they’re all free.

What kind of tools you can find here?

– Free Hyper-V Management Tools
– Microsoft’s Free Hyper-V Management and Monitoring Tools
– Free Monitoring Tools for Hyper-V
– PowerShell Scripts for Hyper-V
– Hyper-V Resources
– Free Hyper-V Backup Tool

All tools with their details you can find here Winking smile

Cheers,

Romeo

Create Nano Server image with Nano Server Image Builder

Hi guys,

This is my last blog post for this year Smiješak s namigivanjem. So, I’ll describe, mostly in pictures, how to create Nano Server image using Nano Server Image Builder. This is straightforward installation/image creation but we need to be careful with few things, (BOLD).

For this “action” we need three tools, the first is Windows Server 2016 .iso image, the second is Nano Server Image Builder and the last one is Windows Assessment and Deployment Kit.

Install Windows ADK, (you need to install only this roles, Deployment Tools and Windows Preinstallation Environment (Windows PE) and  Nano Server Image Builder on your PC and extract Windows Server 2016 .iso image in a folder. I did it on C:\\Server2016.

image

We are ready for the next step. Run Nano Server Image Builder and choose Create a new Nano Server image.

image

Click on Next

image

On the next screen we need to select Windows Server media source.

image
image
image

We read and agreed, of course Smiješak

image

On the next screen we need to choose deployment type. I have chosen Virtual Machine Image and place where I want to save .vhdx.

image

Follow the wizard.

image

Here we need to choose Nano Server editions, Standard or Datacenter. Please read carefully differences between editions.

image
image

Please be patient, edition and package loading can take some time to complete!

image

If you need drivers (read framed), add, if you don’t need just click on Next.

image

On the next screen enter destination machine information.

image

I decided to join Nano Server to the domain.

image

On the next screen we need to set network.

image

Please read all chosen settings and if you are OK with that click on Create.

image

We need to wait some time for the image creation. In my case that was less then three minutes.

image
image
image

And viola, are Nano Server image created through Nano Server Image Builder is ready to use.

As I mentioned at the beginning of this post, this is the last blog post for this year. Wish you all the best in New Year 2017. Be happy and fat Smiješak

image

Cheers,

Romeo