Reading Time: 4 minutes

What is Azure Server Management Tools?

Azure server management tools is an Azure service that is basically a Html 5 web based GUI and command line tool that allows you to manage your on-prem Windows Servers. This comes in very handy when you need to manage headless servers such as Nano Server and Server Core. The tools provide a nice common dashboard for you to manage your on-prem servers as you would your Azure servers. This is the way Microsoft are plans you to manage servers in Azure Stack.

At the moment the server management tools are in preview and only support a set of basic server diagnostics tools, but this is always being updated. At the moment the tools are working on Windows Server 2012, Windows Server 2012R2, Windows Server 2016, and Nano Server.

How does Azure Server Management Tools Work?

Azure Server management tools require a gateway which can be configured on any server in your environment. I personally do not recommend running it on a DC. I would put this server in the DMZ, or perhaps on a server that is already in the DMZ. The gateway software is what enables communication between the Microsoft Azure portal and your Windows Servers.

The below image shows a very basic overview of how things work.

azure_man_tools

Step by Step Guide.

Open Azure by going to https://portal.azure.com.

capture20161005154244721

Click More Services > (bottom left, it might just show a >) and type server management tools.

capture20161005154454685

Click Server Management Tools connections. 

Click + Add

capture20161005154820485

Enter the name of your server that is going to be your gateway server (I have chosen one of my DC’s as I am lazy).

Select your subscription.

Use an existing resource group or create a new one.

Enter a name for the gateway. (do not use the same name as the server that is going to have the gateway.)

Select a location. (Only 4 locations work at the moment).

Click create.

capture20161005160041309

You should now have a screen like this one.

capture20161005160311672

Click your newly created object.

capture20161005160357531

You will notice the orange banner at the top of the screen saying Gateway not detected. Click it.

capture20161006083855994

Now click the blue banner at the top of the new blade.

capture20161006084020544

You can select either automatic or manual updates. I like to use automatic, makes life easier. You can always change this later.

Now click generate package.

Copy the URL to the server you want to use as your Server Management Tools Gateway.

Download the Zip file and extract it.

Now run GatewayService.msi

capture20161006084819599

* At the moment the gateway msi will only install on 2016. I believe that soon you will be able to install on 2012 r2, as the error message I got stated you need to be running 2012 r2 or greater. (That’s why I have changed the server name halfway through) *

Tick I accept the terms in the License Agreement and then click Install.

capture20161006085428935

In production you should use a certificate from a trusted supplier. This is just for a lab, so I am picking Generate a self-signed certificate.

capture20161006085623438

Then click Finish.

capture20161006085815287

Now go back to Azure Portal.

Refresh the Azure Portal.

capture20161006085939388

Now click Manage as.

capture20161006090024533

Enter the credential you would like to use to manage your servers. You can save them to Azure if you like.

You should now start to see some metrics of the gateway server. Use the controls on the left to manage the server.

capture20161006090615647

Powershell

capture20161006091114350

File Explorer

capture20161006091208111

Thoughts

Even though it is only in preview at the moment. I am really liking this. With Azure stack around the corner, I like the way Microsoft are trying to create a central management solution for all your servers. Hopefully one day we will be able to use this set of tools to even rdp to the servers if needed and perhaps even control failover and hyper-v manager.

Let me know what you think.

[AdSense-A]


Pixel Robots.

I’m Richard Hooper aka Pixel Robots. I started this blog in 2016 for a couple reasons. The first reason was basically just a place for me to store my step by step guides, troubleshooting guides and just plain ideas about being a sysadmin. The second reason was to share what I have learned and found out with other people like me. Hopefully, you can find something useful on the site.

3 Comments

Azure Managment Tools - How to Code .NET · October 6, 2016 at 9:01 am

[…] with Azure Managment tools and wrote an article about it. thought it might help someone one day. https://pixelrobots.co.uk/2016/10/manage-your-servers-from-anywhere-using-azure-server-management-too… Let us know what you […]

How To Manage Nano Server – Pixel Robots. · October 11, 2016 at 1:01 pm

[…] You can also use the Azure Server Management Tools to manage your Nano Server. You can just adapt this guide to do […]

Manage your servers from anywhere using Azure S... · October 11, 2016 at 1:35 pm

[…] Manage your servers from anywhere using azure server management tools https://t.co/U6IVUn6jef  […]

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *