Showing posts with label Windows Server 2016. Show all posts

How to Audit and Alert Server Restarts with SCOM 2019 (2012/16)

No comments

How to Audit and Alert Server Restarts with SCOM 2019 (2012/16)


Often IT admins suffer from small to big outages due to unscheduled patches, failures, power, or someone mistakenly restarting a server in the middle of the workday without notifying anyone. I've created this "How to Guide" to help you set up this in your SCOM environment.

  1. On your SCOM Console, navigate to authoring and create a new Rule

  1. Fill in the Rule Name and Description, select Rule Category (Alert), rule Target (Windows Computer) and make sure Rule is enabled is checked.

  1. Event Log Type System

  1. Build Event Expression insert Event ID and Source

  1. Insert values where Event ID = 1074 and Event Source = User32.

  1. Set Alert Priority and Severity to fit your needs then Finish and Close

  1. Overview of your recently configured rule on the Squared Up HTML5 Console




That's it, you will now start tracking those restarts. 

Thanks for reading, please share and subscribe.

One-Click Patching coming for SCOM 2019 Update Rollup 1 (UR1)

No comments

One-Click Patching coming for SCOM 2019 Update Rollup 1 (UR1) 


I'm so glad this is finally happening as it is quite a challenge to perform the upgrades on all servers + the DB scripts. There are also lots of great improvements for the Storage Spaces Direct monitoring,  Azure MP, gMSA support. 

Based on the MS Ignite presentation the first UR should be coming up on Q1. WIll be posting more updates once the official announcement is published. 


References: 

How to configure Nested Virtualization on Hyper-V 2016

No comments
image

Overview

Microsoft has released nested virtualization on Hyper-V 2016. Seems like it's making more sense as many Azure workloads might require this feature and also it facilitates Labs and any other testing without the need of having an actual physical host deployed. Windows Containers it's also another emerging feature as it allows you to virtualize within the virtualized roles.

clip_image001






Applications

  1. Development, Testing, and Labs.
  2. Hyper-V Features required for VEEAM Proxy Servers.
  3. Never use for as a production solution, please refer to MS best practices.
  4. Others…

Requirements

  • Hyper-V Role Installed on your Windows Server 2016 or Windows 10.
  • A VM that will act as a VM/Virtualization Host running 2016.
Note: This testing will be performed on a Windows 10 Hyper-V Role Enabled Surface Pro 4.

How to enable?

Step by step

Go to the Hyper-V host and run the following command to verify if the Expose Virtualization Extensions are enabled by running the following PS command.
Get-VMProcessor -VMName TESTHVHOST01| FL *
clip_image002
If not enabled then Power Off the VM and run the following command to enable Nested virtualization.
Set-VMProcessor -VMName TESTHVHOST01 -ExposeVirtualizationExtensions $true
clip_image003
Run the Get-VMProcessor -VMName TESTHVHOST01| FL * command and the value should have updated to True.
clip_image004

Installing the Hyper-V Role on Nested Windows Server 2016 VM

Follow below steps and then Install to get the services configured on your nested virtual host.

clip_image005
clip_image006
clip_image007
clip_image008
clip_image009
After installing the role and restarting the server, proceed to open the Hyper-V Manager.
clip_image010
Create a New nested Virtual Machine and specify its configurations then Finish.
clip_image011
After creating the VM you should be able to connect from your Hyper-V Virtual Host.
clip_image012
That's it, you have now deployed your first nested virtualization host.






















How to configure DHCP for PXE Booting on WDS or SCCM 2012/2016 successfully

No comments

How to configure DHCP for PXE Booting on WDS or SCCM 2012/2016 successfully

In this post, I will be performing the configuration for Configuration Manager SCCM 2016 PXE booting.
Go to your DHCP server console and expand the scope you would like to set as your PXE subnet/network (In this case I will be enabling PXE to all scopes)
clip_image001[4]
On the Scope navigate to Server or Scope Options the configure new options 066 and 067.

On the Boot Server Host Name add the FQDN or IP for the PXE/WDS server
clip_image002[4]
On the Bootfile Name add SMSBoot\x64\wdsnbp.com for SCCM if WDS by itself then set Boot\x64\wdsnbp.com
clip_image003[4]
clip_image004[4]

On the Windows Deployment Services (WDS) Role Configurations

Set the Do not listen on DHCP ports
clip_image005[4]
And also authorize this WDS server in DHCP
clip_image006[4]
On your test machine boot up and press F12 to select boot option then select PXE or Network booting.
clip_image007[4]
clip_image008[4]
Now it's time to image your systems.
clip_image009[4]
That's it! You have now deployed PXE booting on your environment.

















Installing Project Honolulu Step by Step under 2 minutes

No comments

Installing Project Honolulu step by step under 2 minutes

Project Honolulu it’s the new way of administering your Windows Servers and have a better centric GUI that operates via HTML5 and from any device.
MS product info:
Project Honolulu is a flexible, lightweight browser-based locally-deployed platform and solution for Windows Server management scenarios for troubleshooting, configuration, and maintenance.
Benefits
With Project “Honolulu” you can replace multiple management and configuration tools, such as MMC snap-ins, Server Manager, Task Manager, etc., with a simplified server management experience.

Get started:

  1. Download the Technical Preview!
  2. Install it will take less than 2 minutes (in this demo I will install on my Windows 10 Machine)
  3. Get started and connect to all your Windows Servers 2012/R2/16 and also your Hyper-V Clusters and Hyper-Converged systems you might currently have.

Installing Step by Step:

clip_image001
clip_image002
clip_image003
clip_image004
Open with Edge or Chrome and then connect to your servers, clusters or hyper-converged systems.
clip_image005
clip_image006
clip_image007
clip_image008
clip_image009
Note that LAPS it's integrated into the HTML5 console which makes the server experience much better.
clip_image010
clip_image011

Virtual Machine Management and insights

clip_image012
clip_image013
clip_image014
clip_image015

Server Management

clip_image016
That's it! The install takes around 2 minutes which is really fantastic...