Windows Server 2019

Windows Server System Insights Predictive Analytics Installation and Features

Windows Server System Insights Predictive Analytics Installation and Features provides a look at the new predictive analysis module from Microsoft

With the release of Windows Admin Center (formerly Project Honolulu), we can see that Microsoft is really taking the new web based management platform and running with it. It is not hard to see (this has been rumored by many) that Windows Admin Center may be the future of Server Manager which is now getting long in the tooth. It certainly provides a much more slick and intuitive interface if you ask me and has the potential to do some even more amazing things. With the release of System Insights, you now have the ability to have predictive analytics added to your Windows Server platform via the Windows Admin Center by way of the System Insights extension. Let’s take a closer look at Windows Server System Insights Predictive Analytics Installation and Features to get a better feel for what this new tool looks like and some of its capabilities.

Windows Server System Insights Predictive Analytics Installation and Features

As we have already covered Project Honolulu (previous name for Windows Admin Center, we looked at the tool and some of the features.ย  To take the new System Insights extension for a test drive, in the home lab, I have a fresh installation of Windows Server 2019 vNext Preview Build 17692 and installed Windows Admin Center Preview 1806.

Installing-Windows-Server-2019-vNext-Preview-Build-17692
Installing Windows Server 2019 vNext Preview Build 17692

First things first, let’s take a look at how System Insights is installed via both PowerShell, Server Manager, and the Windows Admin Center.

PowerShell

Installation via PowerShell is extremely straightforward via the command:

Add-WindowsFeature System-Insights -IncludeManagementTools

Server Manager

With Server Manager it is equally as straightforward as the System Insightsย Feature is easily added via this method as well.

Adding-System-Insights-via-Windows-Server-2019-Server-Manager
Adding System Insights via Windows Server 2019 Server Manager

Windows Admin Center System Insights

I am not detailing the Windows Admin Center installation as it is straightforward.ย  By simply downloading the Windows Admin Center MSI and running the installation, you are up and running in just a couple of minutes.ย  Below, you see the newly installed Windows Server 2019 server ready to be managed with Windows Admin Center.

Windows-Server-2019-Windows-Admin-Center-management
Windows Server 2019 Windows Admin Center management

To get to the area of Windows Admin Center to install theย System Insightsย extension, click the little settings cog in the top right hand corner.

Select-Settings-on-the-Windows-Admin-Center-Console
Select Settings on the Windows Admin Center Console

Clickย Extensions and you will see theย Available Extensions listed below.ย  One of the available extensions is theย Windows Server System Insights “Preview” module.

Choose-Windows-Admin-Center-Extensions
Choose Windows Admin Center Extensions

Once you highlight the extension, below, you will see the description presented for the module.

Windows Server System Insights uses predictive capabilities to analyze system data to provide increased insight into the functioning of your server.

Windows-Server-System-Insights-Details
Windows Server System Insights Details

Highlight the System Insights module and click theย Install button.

Choose-System-Insights-and-click-Install
Choose System Insights and click Install

Confirm the installation of System Insights into Windows Admin Center.

Confirm-the-System-Insights-Extension-Installation
Confirm the System Insights Extension Installation

After a brief installation, you can click in theย Installed extensions and you should see the Windows Server System Insights module listed asย Installed.

Confirming-Windows-Server-System-Insights-was-installed
Confirming Windows Server System Insights was installed

Now, you can navigate back to theย Tools section in Windows Admin Center and at the bottom, theย System Insights menu is now listed.ย  You still have toย Enable the extension however.ย  As you see below, there is anย Enable System Insights button to begin enabling the module.

Windows-Server-System-Insights-is-now-available-under-Tools
Windows Server System Insights is now available under Tools

The System Insights installation will beginย setting up.

Enabling-Windows-Server-System-Insights
Enabling Windows Server System Insights

After completing, you will now see the available System Insights listed:

  • CPU capacity forecasting
  • Networking capacity forecasting
  • Total storage consumption forecasting
  • Volume consumption forecasting
Windows-Server-System-Insights-Preview-Installed
Windows Server System Insights Preview Installed

If you click one of the Capability names hyperlinks, you will be taken to the configuration of the particular forecasting you want to setup.ย  After clicking theย Invoke button, you will see the forecast module “armed” so to speak and it will start gathering data.ย  You will see theย Check back again later – we don’t have enough recent data to make predictions displayed until enough data is gathered which will take a while.

Total-Storage-Consumption-Forecasting-in-Windows-Server-System-Insights
Total Storage Consumption Forecasting in Windows Server System Insights

Under theย Settings button for each forecast module, we find very interesting options –ย Schedule andย Actions.ย  With theย Schedule module, you can configure when the prediction runs are executed.

Scheduling-Windows-Server-System-Insights-analytics
Scheduling Windows Server System Insights analytics

The true power of the System Insights extension is realized when you look at theย Actions section of the settings area.ย  You can setup PowerShell scripts to execute when certain prediction statuses are encountered and returned.ย  There is a great resource ofย pre-written PowerShellย scripts to get started with enabling this functionality here:

As an example, one of the script examples listed is extending a volume when it’s forecasted to exceed the available capacity.ย  Cool stuff!

<#
Extend-Volume
If possible, extend the specified volume a specified percentage beyond its current size. If can't extend to this size, this function will extend to the maximum size possible. 

:param $VolumeId: [string] ID of the volume to extend.
:param $Percentage: [float] Percentage to extend the volume.
#>
Function Extend-Volume {
    Param (
        $VolumeId,
        $Percentage
    )

    $Volume = Get-Volume -UniqueId $VolumeId

    if ($Volume) {
        # See if the volume can be extended. 
        $Sizes = $Volume | Get-Partition | Get-PartitionSupportedSize

        # Must be able to extend by at least 1Mib
        if ($Sizes.sizeMax - $Volume.Size -le 1048576) {
            Write-Host "This volume can't be extended." -ForegroundColor Red
            return
        }

        $OldSize = $Volume.Size

        # Volume size if extended by specified percentage.
        $ExtendedSize = $Volume.Size * $Percentage

        # Select minimum of new size and max supported size.
        $NewSize = [math]::Min($ExtendedSize, $Sizes.sizeMax)
     
        try {
            # Extend partition
            $Volume | Get-Partition | Resize-Partition -Size $NewSize
            Write-Host "Successfully extended partition." -ForegroundColor Green
            Write-Host "   Old size: $OldSize."
            Write-Host "   New size: $NewSize."
       
         } catch {
             Write-Host "Failed to extend volume." -ForegroundColor Red
         }
    } 
    else {
        Write-Host "The volume with ID: $VolumeId wasn't found." -ForegroundColor Red
    }
}

 

Windows-Server-System-Insights-Actions
Windows Server System Insights Actions

The Windows Server System Insights Predictive Analytics Installation and Features provides a powerful new tool that Windows Server administrators can use to better forecast various capacities and automate actions based on these forecasts that are returned from the System Insights feature.

Takeaways

Windows Server System Insights Predictive Analytics Installation and Features provides a look at the future of Windows Server administration through the Windows Admin Center as well as the more “living and breathing” Windows Server that is able to “think” for itself, predict certain environmental conditions and act on those accordingly.ย  It will be interesting to see how Windows Admin Center continues to grow and morph according to new extensions and modules that will plug into the dashboard.ย  Stay tuned!

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.