Manage and Monitor Storage Spaces Direct- Managing Data in a Hybrid Network

You can use the following tools to manage and monitor Storage Spaces Direct:

    Windows Admin Center

      Server Manager & Failover Cluster Manager

    Windows PowerShell

        System Center Virtual Machine Manager (SCVMM) and Operations Manager

Storage Spaces Direct Using Windows PowerShell

Table 13.5 contains just some of the PowerShell commands that you can use to configure and manage Storage Spaces Direct.

TABLE 13.5 Storage Spaces Direct PowerShell commands

Disable- NetQosFlowControl This command allows you to turn off flow control. Enable-                                                   This command enables Storage Spaces Direct.  ClusterStorageSpacesDirect Enable- NetAdapterQos     This command allows you to apply network QoS policies to the target adapters. Enable- NetAdapterRDMA                 This command allows you to enable remote direct memory access (RDMA) on a network adapter. Enable- NetQosFlowControl This command allows you to turn on flow control. Enable-                                                    This command allows you to enable highly available  ClusterStorageSpacesDirect Storage Spaces that use directly attached storage, Storage Spaces Direct (S2D), on a cluster.
Get- ClusterAvailableDiskThis command allows you to view the information about the disks that can support failover clustering and are visible to all nodes. But these disks are not yet part of the set of clustered disks.
Get- ClusterParameterThis command allows you to view detailed information about an object in a failover cluster. Use this command to manage private properties for a cluster object.
Get- NetAdapterThis command will retrieve a list of the network adapters.
Get- StoragePoolThis command allows you to see a specific storage pool, or a set of StoragePool objects.
Get- StorageTierThis command allows you to see storage tiers on Windows Storage subsystems. Use this command to see Storage Spaces Direct default tier templates called Performance and Capacity.
New- ClusterThis command creates a new cluster.
New- NetQosPolicyThis command allows you to create a new network QoS policy.
New- NetQosTrafficClassThis command allows you to create a traffic class (like SMB).

TABLE 13.5 Storage Spaces Direct PowerShell commands (Continued)

PowerShell commandDescription
New- VolumeThis command creates a new volume.
Set- ItemThis command allows you to configure the trusted hosts to all hosts.
Test- ClusterThis command allows you to test a set of servers for use as a Storage Spaces Direct cluster.
Update-  StorageProviderCacheThis command allows you to update the cache of the service for a particular provider and associated child objects.

PowerShell Commands for Hyper- V High Availability

When configuring Hyper- V high availability, you may want to set up some of the components using PowerShell. Table 13.6 shows you some of the available PowerShell commands available for setting up Hyper- V high availability.

TABLE 13.6 PowerShell commands for high availability

Complete- VMFailoverThis command helps finish a virtual machine’s failover process on the Replica server.
Disable- VMMigrationThis command allows you to disable virtual machine migration on a virtual machine host.
Enable- VMMigrationThis command allows you to enable virtual machine migration on a virtual machine host.
Enable- VMReplicationThis command lets you enable replication of a virtual machine.
Get- VMMigrationNetworkThis command shows you the virtual machine networks used for migration.
Get- VMReplicationThis command shows you the replication settings for a virtual machine.

PowerShell Commands for Hyper- V High Availability

Get- VMReplicationAuthoriza tionEntryThis command shows you the authorization entries of a Replica server.
Get- VMReplicationServerThis command shows you the replication and authentication settings of a Replica server.
Import- VMInitialReplicationThis command imports initial replication files for a Replica virtual machine when using external media.
Measure- VMReplicationThis command shows you the replication statistics and information associated with a virtual machine.
New- VMReplicationAuthoriza tionEntryThis command allows you to create an authorization entry to replicate data to a specified Replica server.
Remove- VMMigrationNetworkThis command allows you to remove a network from use in migration.
Remove- VMReplicationThis command removes the replication from a specific virtual machine.
Reset-  VMReplicationStatisticsThis command allows you to reset the replication statistics of a virtual machine.
Resume- VMReplicationThis command allows you to resume virtual machine replication after an error, a pause, a suspension, or a resynchronization.
Set- VMProcessorThis command allows you to configure which processors are used for a virtual machine.
Set- VMReplicationThis command allows you to modify the replication settings of a virtual machine.
Set- VMReplicationServerThis command allows an admin to configure a host as a Replica server.
Start- VMInitialReplicationThis command starts replication of a virtual machine.
Stop- VMReplicationThis command stops replication of a virtual machine.
Suspend- VMReplicationThis command suspends replication of a virtual machine.
Test- VMReplicationConnection This command allows you to test the connection of a primary server and a Replica server.

Summary

High availability is more than just clustering. It is achieved through improved hardware, software, and processes. This chapter focused on how to configure failover clustering and network load balancing in order to achieve high availability and scalability.

High availability should be approached through proper hardware configuration, training, and operational discipline. Failover clustering provides a highly available base for many applications, such as databases and mail servers.

Network load- balanced clusters are used to provide high availability and scalability for network- based applications, such as VPNs and web servers. Network load-b alanced clusters can be configured with any edition of Windows Server 2022 except for the Windows Server 2022 Hyper- V Edition.

You can also set up high availability on Windows Server 2022 Hyper-V  without using clustering. You can also set up live migrations on Hyper- V virtual machines. Live migration allows you to move a virtual machine from one server to another without any impact on the users. This can be very useful if you have a Hyper-V  server that is starting to show hardware issues. You can move the virtual machine from the server with issues to a server without any issues.

Exam Essentials

Know the hardware requirements for network load balancing (NLB). Network load balancing has distinct hardware requirements.

Know the PowerShell commands for NLB. Make sure you know the PowerShell commands for NLB. Understand which command is used to create, manage, and stop NLB clusters.

Understand live migration. Understand how live migrations work and why we use them. Live migrations allow you to move a virtual machine from one server to another without any impact on the users.

Know PowerShell for VM replication. Make sure you know the different PowerShell commands for virtual machine replication. Understand which commands are used to create, manage, and stop VM replication.

Know how to implement and manage Storage Spaces and Storage Spaces Direct. Know how to configure Storage Spaces Direct and how to create a failover cluster by using Storage Spaces Direct. Know the difference between Storage Spaces and Storages Spaces Direct. Understand how to upgrade a Storage Spaces Direct node and how to implement networking.

Exam Essentials

Understand how to implement a Windows Server failover cluster. Know how to implement failover clusters on- premises, hybrid, and cloud infrastructures and know how to create failover clusters. Understand how to stretch clusters and configure storage. Be able to modify quorum options and configure network adapters. Know how to work with cluster workload options and how to configure cluster sets and Scale- Out File Servers. Understand Floating IPs, and be able to implement load balancing. Understand Blob Storage.Know how to manage failover clustering. Understand how to implement cluster-a ware updating and how to recover a failed cluster node. Know how to upgrade a node to Windows Server 2022 and how to manage failover workloads between nodes. Know how to install Windows Updates on cluster nodes and how to manage failover clusters by using the Windows Admin Center.

Leave a Reply