WS-013 Azure Stack HCI
WS-013 Azure Stack HCI
Stack HCI
You can operate and maintain Azure Stack hyperconverged infrastructure (HCI) by using the
same tools you use in traditional on-premises deployments. You can also leverage the
extensibility and feature set offered by Windows Admin Center, including integration with
Azure-based services, such as Azure Monitor, Azure Backup, Azure Site Recovery, and Update
Management. In this lesson, you’ll learn about these tools.
• Lessons:
o Implementing and managing workloads on Azure Stack HCI
Azure Stack HCI is designed to optimize performance, resiliency, and scalability of specific
types of workloads. In this lesson you will learn about implementing these workloads:
• Topics:
o Implement guest clustering with shared disks
• VHD Set files in Azure Stack HCI scenarios offer many benefits:
o Allows for sharing virtual disks across Microsoft Hyper-V VMs
o Leverages Cluster Shared Volume (CSV)
• There are two main scenarios that result in a deployment of a shielded VM into guarded
fabric:
o Provisioning a shielded VM from a disk template within a guarded fabric on guarded
Hyper-V hosts
o Shielding an existing VM provisioned outside a guarded fabric or shielding a VM
based on a non-shielded disk template
Implement shielded VMs (5 of 6)
2. The tenant creates a shielding data file (the Shielding Data File Wizard, with the
Shielding data for existing VMs and non-Shielded templates option)
3. The tenant creates a helper VHDX, which will be used to convert the existing VM into
shielded VM (on a Hyper-V host with the Shielded VM Tools installed):
a. The tenant provisions a Gen 2 VM with a fixed or dynamically expanding disk
running Windows Server 2019
b. The tenant shuts down the OS and initializes the VHDX as a VM-shielding helper
disk (the Initialize-VMShieldingHelperVHD PowerShell cmdlet)
4. The tenant enables BitLocker on all disks attached to the VM to be shielded
5. The tenant exports the VM to be shielded and provides it to the fabric administrator
along with the helper VHDX and the shielding data file
6. The fabric administrator uses the shielding data file and the helper VHDX to convert
the existing VM into a shielded VM
Implement VDI workloads
• VDI is one of the recommended workloads to be hosted on Azure Stack HCI, with Microsoft
RDS or equivalent third-party offerings serving the role of a virtual desktop broker:
o Customers should consider using Microsoft RDS
2. Obtain SSL certificates for the RD Gateway and RD Connection Broker servers
5. Create session collections that will contain VMs you intend to make available to VDI
users (managed pooled, unmanaged pooled, managed personal, or unmanaged
personal)
6. Use Storage Spaces Direct to store UPDs
7. Integrate VDI instances with Azure Update Management and Azure Security Center
by using Windows Admin Center
8. If necessary, deploy Remote Desktop client to client devices
Implement containerized workloads
• Kubernetes v1.14 and later supports Windows Server 2019 as cluster nodes and container
images
• Azure Stack HCI further enhances the agility and resiliency inherent to Kubernetes
deployments
• Implementation of Kubernetes on Azure Stack HCI typically involves the use of third-party
tools
• Windows Admin Center includes the Containers extension, which simplifies:
o Assessing health status of containers running within the Azure Stack HCI
a. Create and register an Azure AD app directly from within Windows Admin Center
b. Pre-create an Azure AD app and use it during registration
3. Windows Admin Center will automatically:
Accounting Sales
sync group sync group
Azure Backup
Users
SMB
NFS Applications
Branch
HQ
File Server
File Server
Implement Azure File Sync (3 of 7)
Cloud Tiering
Users File 1
SMB
File 2
NFS Applications
File 3
Branch
HQ
File Server
File Server
Implement Azure File Sync (4 of 7)
Azure Backup
Azure File Sync benefits:
• Multisite sync
• Cloud tiering Azure
Azure
• Cloud backup File
File share
Share
Cloud Tiering
Users File 1
SMB
File 2
NFS Applications
File 3
Branch
HQ
File Server
File Server
Implement Azure File Sync (5 of 7)
Azure Backup
Azure File Sync benefits:
• Multisite sync
• Cloud tiering Azure
• Cloud backup File share
Cloud Tiering
File 1
File 2
File 3
Branch
Server fails
File Server
Implement Azure File Sync (6 of 7)
Azure Backup
Azure File Sync benefits:
• Multisite sync
• Cloud tiering Azure
Azure
• Cloud backup File
File share
Share
• Disaster recovery
File Sync File
Sync
• Azure Arc assigns a resource ID and an Azure resource group to each non-Azure computer
• This assignment serves as the basis for the following functionality:
o Azure Policy guest configuration, which supports:
• Auditing of the operating system, applications, and environment settings
• Configuring the time zone on the Windows operating system
o Resource-context access to Log Analytics data, enabling you to control access to
logs collected from on-premises computers the same way as for Azure resources, by
using:
• Access mode (workspace-context and resource-context)
• Access control mode (require workspace permissions, use resource or workspace
permissions)
o Installation of Azure VM extensions:
• Windows OS (CustomScriptExtension, DSC, Log Analytics Agent, Microsoft
Dependency agent)
• Linux OS (CustomScript, DSC, Log Analytics Agent, Microsoft Dependency agent)
Manage Azure Stack HCI workloads with Azure Arc (2 of 2)
• You can optimize maintenance of Azure Stack HCI by leveraging services that simplify and
streamline traditional maintenance tasks, such as monitoring, backups, or patching. Some
of these services, such as Azure Monitor, Azure Backup, Azure Site Recovery, and Azure
Update Management are cloud-based, while others such as Cluster-Aware Updating, were
designed specifically for on-premises scenarios.
• Maintenance tasks also include adding and removing nodes of an Azure Stack HCI cluster:
o Topics:
2. Run:
• Manually (specify workspace ID and one of two workspace-specific keys)
• Unattended or automated by using Azure Automation PowerShell DSC
• Using Windows Admin Center to automatically enable:
▫ Azure Monitor for VMs, including trending performance charts and dependency
map
▫ Windows Server 2019 Health Service telemetry collection
3. Install additional monitoring solutions and if applicable, additional agents
Demonstration:
Implement Azure
Monitor
Run Azure Monitor setup from Windows
Admin Center
Verify the results
Implement Azure Backup (1 of 5)
To implement backups of Azure Stack HCI workloads with Azure Backup on a Windows Server:
• Use Windows Admin Center–guided procedure:
To implement backups of Azure Stack HCI workloads with Microsoft Azure Backup Server:
1. Create an Azure Recovery Services vault
8. Install Data Protection Manager protection agent on target servers that will be
backed up by using the Azure Backup Server
9. Configure protection settings for the target servers
Implement Azure Backup (4 of 5)
Azure Active
Directory
Azure
(primary
region)
Azure
Windows Server (secondary
VM with Microsoft Azure region)
Azure Backup Storage
Azure
server
Recovery
Services
vault
Domain
controller
VM Linux VM
SQL
Server Linux VM
VM
On-
Azure Stack HCI Premises
Azure
Import/Export
Implement Azure Backup (5 of 5)
To implement backups of Azure Stack HCI workloads with System Center DPM:
1. Create an Azure Recovery Services vault
The choice of protection mechanism provided by Azure Site Recovery depends on:
o Location of the recovery site (on-premises or Azure)
o Replication mechanism
In the context of Azure Stack HCI, the following two disaster recovery scenarios are
relevant:
o Disaster recovery of Hyper-V VMs not managed by SCVMM to Azure
• An Azure Site Recovery vault serving as the central management point for disaster
recovery–related replication and orchestration
• An Azure general purpose, LRS or GRS Standard SKU storage account hosting
replicated disks
• An Azure virtual network for a planned or unplanned disaster recovery event
• An Azure virtual network for a disaster recovery test
o On-premises components:
Linux VM
Azure
(secondary
Orchestratio Azure region)
n Storage
Azure
Recovery
Linux VM Hyper-V Server Replication Services
vault
Windows
Server VM
Windows
Server
VM
On-
Azure Stack HCI Premises
Implement Azure Site Recovery (4 of 6)
5. Schedule updates (servers can obtain updates from any location supported by the
operating system, including WSUS and Endpoint Configuration Manager)
• By using Windows Admin Center (Set up Azure Update Management):
o Ensures correct choice of regions for Log Analytics workspace and an Azure
Automation account
o Doesn’t automatically onboard managed servers into Update Management:
Deploy updates by using Cluster-Aware Updating (1 of 3)
2. Moving any clustered roles hosted on the local node to another one
3. Installing updates
1. Install the Failover Clustering tools on a remote computer with direct connectivity
to the cluster nodes
2. Invoke CAU from the remote computer
• Windows Admin Center supports CAU management, but this requires enabling the
CredSSP-based authentication and providing explicit credentials to connect to the
cluster nodes
Add and remove nodes in an Azure Stack HCI cluster
4. Add the server as an additional node to the Azure Stack HCI cluster:
o Use the Add server(s) to the cluster pane in Windows Admin Center
5. Run cluster validation
• To remove a server from an Azure Stack HCI cluster:
1. Use the Add server(s) to the cluster pane in Windows Admin Center
2. Specify whether to remove the server's disks from the storage pool
Contoso, Ltd. is a medium-size financial services company with its headquarters in London,
England. It’s currently operating almost entirely on-premises, with most if its compute
environment running on the Windows Server platform, including virtualized workloads on
Windows Server 2012 R2 and Microsoft Hyper-V hosts in Windows Server 2016. Its internal IT
staff is well-versed in Microsoft technologies, including its virtualization and software-defined
datacenter offerings.
In recent months, as part of datacenter consolidation and modernization initiatives, Contoso
IT migrated some of its applications to a range of Azure infrastructure as a service (IaaS) and
platform as a service (PaaS) services. However, several highly regulated workloads have to
remain in the on-premises datacenters.
Two of these workloads present a challenge due to their performance and resiliency
requirements. The first workload is a group of heavily utilized Microsoft SQL Server instances
hosting transactional databases for Contoso’s loan origination department. The second
workload is an isolated Virtual Desktop Infrastructure (VDI) farm for users in Contoso’s
securities research department, which is supposed to replace an aging Windows Server 2012
R2–based Remote Desktop Services (RDS) deployment.
Lab scenario (2 of 2)
Contoso’s Chief Information Officer (CIO) realizes that implementing these workloads will
require additional investment in hardware. Before making the investment, she wants to verify
that the extra expense will help the IT organization deliver a modern technological solution
and accelerate the datacenter consolidation initiative. She also wants to make sure that it
helps ensure a consistent management approach that leverages existing IT skills, and if
possible, integrates with some of the cloud services that Contoso is already benefiting from,
such as Azure Monitor. It’s also critical that the new solution provides multiple levels of high
availability and resiliency thereby protecting them from localized failures and facilitate
disaster recovery to another on-premises location.
IT management has started its search for solutions that would satisfy these requirements. As
lead system engineer, they have asked you to assist with the search and implement a proof-
of-concept environment that would help identify the most viable candidate.
To address the requirements for deployments of highly regulated workloads, you'll provision
the core compute and networking components of the lab environment and then test
integration of hyperconverged infrastructure with Azure services, including Azure Monitor and
Azure Automation. You'll also test Cluster-Aware updating.
Lab: Using Windows Admin Center in hybrid scenarios
Lab setup:
To connect to the lab VM, follow the steps the lab hosting provider provides you
Module-review questions (1 of 2)
1. Which two of the following components are required to shield an existing virtual machine
(VM) provisioned outside of guarded fabric?
a. TPM 2.0
b. VHD Set
c. Helper VHDX
d. .pdk file
e. .vmcx file
2. Which of the following components of Azure File Sync do you need to create first?