📜 ⬆️ ⬇️

Storage Management in System Center Virtual Machine Manager 2012 SP1

All good mood and charge for a new work week!

Today, I propose to look at how the storage management system in System Center Virtual Machine Manager SP1 is arranged. VMM in particular has extensive interoperability capabilities with disk subsystems, but in combination with WS2012 and new features in SP1, its capabilities are becoming even more comprehensive!

So let's take a closer look at the storage management mechanisms in SC VMM 2012 SP1.
')


What can you do?


Virtualized workloads represented by virtual machines in System Center 2012 - Virtual Machine Manager (VMM) require disk resources in order to meet the requirements in terms of disk space and in terms of the performance of the disk subsystem. Each of the loads can then be tied to hosts and disk arrays using a compatibility profile (a logical object that is created in the VMM library in fact for filtering hosts and other resources) for further placement. VMM recognizes and maintains local disk resources and remote. Local resources are all disk systems connected directly to the VMM server and, as a rule, are used to accommodate the least critical loads. Remote storage, in turn, allows the server to be unloaded using a delegation of this type of load to a specialized storage system (SHD) - this approach allows using all the capabilities and features of industrial storage systems to accommodate virtualized loads in the VMM environment.

VMM supports the following levels of interaction with disk arrays:

• At the block level - VMM accesses disk systems at the block level using LUN provisioning mechanisms to provide storage space using protocols and FC, iSCSI, and SAS type connections.

• At the file level - VMM supports placing virtualized loads on network file balls. Balls that support the server message block (SMB) 3.0 protocol can be placed on file servers based on Windows Server 2012 or on network storage like network-attached storage (NAS) from vendors like EMC or NetApp.

VMM in System Center 2012 Service Pack 1 (SP1) introduces many changes in the work area of ​​storage providers and IT process automation:

• Support for Windows Storage Management API (SMAPI) . SMAPI was first introduced in Windows Server 2012 for managing directly connected storage systems as well as for remote systems of this type. SMAPI is a combination of Storage Management Provider (SMP), or Microsoft Standards-Based Storage Management Service and SMI-S mechanisms. SMAPI replaces the Virtual Disk Service (VDS) API in Windows Server 2012. For more detailed and detailed information, see: “An Introduction to Storage Management in Windows Server” .

• VMM uses SMAPI mechanisms to manage external storage systems, in particular SMP, or use SMAPI in conjunction with the Microsoft standards-based Storage Management Service to interact with storage systems via SMI-S. Storage Management Service services are an optional feature that allows you to use SMI-S providers to manage storage - this feature is enabled during the installation of System Center 2012 SP1 .

• Starting in System Center 2012 SP1, migration to SAN environments using the Virtual Disk Service (VDS) hardware provider is no longer supported. When upgrading System Center 2012 to System Center 2012 SP1, you must first remove the VDS hardware provider from the VMM server and activate SMI-S support or the native WMI SMP provider provided by the storage vendor.

• In addition to detecting and managing iSCSI targets with statistical addresses, System Center 2012 SP1 now also supports dynamic iSCSI target parameters (for example, Starwind, HP P2000, HP Lefthand, Dell EqualLogic, and Microsoft iSCSI Software Target).

• VMM 2012 supports the creation and provision of thin logical volumes and aggregates. System Center 2012 SP1 also allows the creation and provision of thin aggregates on top of a storage pool. Thin aggregates allow end-users to provide more space for data than is physically accessible in the system. In order for this to be possible, the provisioning of thin aggregates must have storage initially, and the provision of thin aggregates must be activated at the level of the storage pool.

• System Center 2012 SP1 also allows you to interact with the Microsoft iSCSI Software Target using an SMI-S provider. Microsoft iSCSI is now a fully integrated component in Windows Server 2012. The installation package in .msi format for installing the SMI-S provider for Microsoft iSCSI Target Server is included is located in the distribution kit of System Center 2012 SP1: "CDLayout.EVAL \ amd64 \ Setup \ msi \ iSCSITargetPRov \ iSCSITargetSMISProvider.msi " .

Deploy and manage storage


VMM allows you to model, deploy and manage data warehouse resources, namely:

• Disk Storage Discovery - As a rule, system administrators have a rather weak visibility of the storage infrastructure. With System Center 2012 - VMM, you can automatically detect local and remote arrays, storage pools, aggregates, physical and logical disks.

• Storage classification - Now you have the opportunity to classify the discovered storage using more understandable and simple names, thus you will be able to set your own logic for resource classification.

• Provision of storage - System Center 2012 - VMM allows you to create new LUNs from the available capacity of the array to further provide this resource to the Hyper-V cluster or to an individual host. New LUNs can be provided by one of the following methods:

1. Based on the available storage capacity - This approach is effective if you have a storage pool, which allows you to control many different LUNs, as well as their sizes.

2. The method of creating a recordable snapshot of an existing LUN — This method allows you to quickly and efficiently clone a virtual disk to the required number of instances — this way you can create many identical virtual machines in a short period of time. Also, this method in combination with thin units allows very efficient use of disk space.

3. By creating a complete LUN clone - this method allows you to create a complete LUN clone. Depending on the storage system, this method takes some time to create a LUN, and is also not efficient in terms of disk space consumption.

• Storage Assignment — allows you to assign storage pools and LUNs to specific host groups that, in turn, represent business units, locations, and other objects of organizations. As a rule, resources are primarily assigned on the basis of host groups, and only then they are assigned at the level of a single host. If you assign a storage pool, you can assign LUNs directly from managed hosts from the host group. In addition, VMM can automatically create LUNs from the storage pool, in the case of using instant provision at the storage capabilities level.

• Deleting repositories - VMM also has the ability to delete unused more repositories.

Usage scenarios


To sum up all the capabilities of VMM SP2012, the following scenarios of using the storage management capabilities arise:

• Assigning and adding storage to the host group and the host-host group requires the discovery of the storage, the destination of the found storage to the virtualization host. VMM automates the process of providing storage to hosts and host groups, initializing disks, and formatting logical volumes. For clustered configurations, VMM creates the required CSV volume and other disk resources, then assigns this volume to all cluster hosts. VMM also allows you to add additional vaults to existing ones.

• Creating Clusters - VMM 2012 SP1 can create a cluster of up to 64 Hyper-V nodes, automates the purpose of shared storage as part of a single workflow (process). Automation of this process is very important for cloud environments and environments, especially in terms of providing infrastructure.

• Instant provisioning - Disk arrays can create copies of virtual disks very efficiently, with minimal load on the host. VMM extends the functionality of this mechanism - it allows you to instantly create virtual machines. VMM understands the capabilities of a disk array or storage when analyzing the contents of a LUN, you have the opportunity to create a LUN-based template with a virtual disk. VMM commands the array to create a copy of the virtual disk and provide a new disk space under it, using cloning mechanisms or snapshots. Then VMM transfers the created object to the host, mounts the file system, associates the virtual disk with the virtual machine. In the administrator console, you can use instant provisioning capabilities to create isolated, individual VMs, as well as VM-based services.

Well, to be brief, that's all.
I hope it was interesting and informative - until we meet again!

Respectfully,
man-plasma (pumped fire)
George A. Gadzhiev

Information Infrastructure Expert,
Microsoft Corporation.

Source: https://habr.com/ru/post/167773/


All Articles