StarWind Virtual SAN Automating Management with SMI-S in System Center Virtual Machine Manager 2016

Similar documents
One Stop Virtualization Shop. StarWind RAM Disk FEBRUARY 2018 TECHNICAL PAPER

Quick Start Guide: Creating HA Device with StarWind Virtual SAN

StarWind Virtual SAN Creating Stand-Alone Image File device

StarWind Virtual SAN Compute and Storage Separated with Windows Server 2012 R2

StarWind Virtual SAN HA Devices Configuration Changes

StarWind Virtual SAN Compute and Storage Separated with Windows Server 2016

StarWind Storage Gateway for Backblaze Getting Started

StarWind Virtual SAN Configuring HA Shared Storage for Scale-Out File Servers in Windows Server 2016

StarWind Virtual SAN. HyperConverged 2-Node Scenario with Hyper-V Cluster on Windows Server 2012R2. One Stop Virtualization Shop MARCH 2018

StarWind Virtual SAN Creating HA device using Node Majority Failover Strategy

StarWind Virtual SAN Configuring HA SMB File Server in Windows Server 2016

StarWind Virtual Tape Library Used with Veritas Backup Exec

StarWind Virtual SAN Compute and Storage Separated 3 Nodes with VMware vsphere

StarWind Virtual Storage Appliance v2.0 Installation Guide with VMware vsphere

StarWind Virtual SAN Configuring HA Shared Storage for Scale-Out File Servers in Windows Server 2012R2

StarWind Virtual SAN Installing and Configuring SQL Server 2017 Failover Cluster Instance on Windows Server 2016

StarWind Virtual SAN Installation and Configuration of HyperConverged 2 Nodes with Hyper-V Cluster

StarWind Virtual SAN Installing and Configuring SQL Server 2019 (TP) Failover Cluster Instance on Windows Server 2016

StarWind Virtual SAN. Installing and Configuring SQL Server 2014 Failover Cluster Instance on Windows Server 2012 R2. One Stop Virtualization Shop

StarWind Virtual SAN VAAI (vstorage API for Array Integration) Configuration and Performance Tuning Guide

StarWind Virtual SAN AWS EC2 Deployment Guide

StarWind VTL Storage Gateway for Azure and Veeam Installation and Configuration Guide

StarWind Virtual SAN for vsphere Software RAID Configuration Guide

StarWind Virtual SAN Hyperconverged 2-Node Scenario with Hyper-V Server 2016

StarWind Virtual SAN Virtual Tape Library used with Veeam Backup & Replication

StarWind Virtual SAN Virtual Tape Library on Amazon Web Services with Microsoft System Center Data Protection Manager 2016

StarWind Virtual SAN Compute and Storage Separated 3-Node Setup with Hyper-V

StarWind Virtual SAN ODX (Off-loaded Data Transfer) Configuration and Performance Tuning Guide

Quick Start Guide: Creating VTL device with StarWind Virtual SAN

StarWind Virtual SAN Compute and Storage Separated 2-Node Cluster. Creating Scale- Out File Server with Hyper-V.

StarWind Native SAN Configuring HA File Server for SMB NAS

StarWind Virtual Storage Appliance Installation Guide with KVM

StarWind Virtual SAN 2-Node Stretched Hyper-V Cluster on Windows Server 2016

StarWind Virtual SAN Working with StarWind LSFS Snapshots in ESXi

StarWind Appliances Quick Start Guide

StarWind Virtual SAN Installing and Configuring SQL Server 2012 Failover Cluster Instance on Windows Server 2012

StarWind Virtual SAN Installing & Configuring a SQL Server 2012 Failover Cluster

StarWind Virtual SAN Getting Started

#1 HyperConverged Appliance for SMB and ROBO. StarWind Virtual SAN. Hyper-Converged 2 Nodes Scenario with VMware vsphere NOVEMBER 2016 TECHNICAL PAPER

One Stop Virtualization Shop. StarWind Virtual SAN. Hyperconverged 2-Node Scenario with VMware vsphere 6.0 APRIL 2018 TECHNICAL PAPER

StarWind Native SAN for Hyper-V:

One Stop Virtualization Shop. StarWind Virtual SAN. Hyperconverged 2-Node Scenario with VMware vsphere 6.5 MARCH 2019 TECHNICAL PAPER

StarWind Virtual SAN Hyperconverged 3-node Scenario with VMware vsphere 6.5

StarWind Virtual SAN. Installing and Configuring a SQL Server 2014 Multi-Subnet Cluster on Windows Server 2012 R2

StarWind iscsi SAN & NAS:

StarWind Virtual SAN SQL Server HADR using Availability Groups and Failover Cluster Instance

StarWind iscsi SAN Software: Using StarWind to provide Cluster Shared Disk resources for Hyper-V Failover Clusters

StarWind iscsi SAN Software: Getting Started with V5

StarWind iscsi SAN & NAS: Configuring 3-node HA Shared Storage for vsphere December 2012

StarWind iscsi SAN & NAS:

StarWind Virtual SAN Hybrid Cloud for Azure

StarWind Virtual SAN Windows Geo-Clustering: SQL Server

StarWind Virtual SAN 2-Node Stretched Cluster on VMware vsphere 6.5

StarWind iscsi SAN Software: Using an existing SAN for configuring High Availability with VMWare vsphere and ESX server

StarWind iscsi SAN Software: ESX Storage Migration

QNAP SMI-S Provider for System Center Virtual Machine Manager 2012

StarWind iscsi SAN Software: Using StarWind Tape Redirector and CA ARCserve Backup

StarWind Hyper-Converged Platform: Data Sheet

StarWind iscsi SAN Software: Virtual Tape Library (Part 1)

StarWind Virtual SAN Supports HA Storage for a vsphere VI with Virtualized iscsi Devices on DAS

StarWind iscsi SAN Software: Using MetaSAN to Share iscsi Volumes

StarPort iscsi and ATA-over-Ethernet Initiator: Using as DVD-ROM Emulator

StarPort iscsi and ATA-over-Ethernet Initiator: Using as RAM Disk Emulator

StarWind Virtual CD: Using as DVD-ROM Emulator

StarWind iscsi Target for Microsoft Windows: Using StarWind iscsi Target and VMware Workstation Virtual Machines

Microsoft Clustered Storage Spaces and StarWind Virtual SAN for a Complete Software-Defined Storage Solution

StarWind Virtual SAN Gentle Shutdown with PowerChute

Dell Compellent Storage Center. Microsoft Server 2008 R2 Hyper-V Best Practices for Microsoft SCVMM 2012

Dell EMC SC Series Storage and SMI-S Integration with Microsoft SCVMM

Best Practices for Configuring the Dell Compellent SMI-S Provider for Microsoft SCVMM 2012

StarWind Virtual SAN Installing and Configuring a SQL Server Failover Clustered Instance on Microsoft Azure Virtual Machines

Developing a Complete RTO/RPO Strategy for Your Virtualized Environment

StarWind iscsi Target for Microsoft Windows: StarWind and Double-Take

SANmelody TRIAL Quick Start Guide

Virtual Appliance User s Guide

StarWind Virtual SAN Installing and Configuring SQL Server Failover Clustered Instance on Microsoft Azure Virtual Machines

StarPort iscsi and ATA-over-Ethernet Initiator: Using as ATA-over-Ethernet Initiator

Oracle VM. Getting Started Guide for Release 3.2

efolder BDR for Veeam VMware Continuity Cloud Guide

Release Notes and User Guide DataCore vsphere Installation Manager 2.07

Creating Resources on the ZFS Storage Appliance

Personal vdisk Implementation Guide. Worldwide Technical Readiness

Virtualizing your Datacenter

Configuration Note. AudioCodes One Voice for Microsoft Skype for Business. CloudBond 365. Backup and Restore Functionality. Version 9.

Quest VROOM Quick Setup Guide for Quest Rapid Recovery for Windows and Quest Foglight vapp Installers

Netwrix Auditor. Virtual Appliance and Cloud Deployment Guide. Version: /25/2017

Quick Start Guide. SP Usage Simulator Tool. Evaluating the Performance of SharePoint Environment Using the New DocAve SP Test Environment Creator

Quest VROOM Quick Setup Guide for Quest Rapid Recovery and Foglight Windows Installers

Creating a 2 node virtual SQL Server 2008 Cluster Configuration Using Windows 2003 MSCS

Configuring a Microsoft Windows Server 2012/R2 Failover Cluster with Storage Center

LepideAuditor for File Server. Installation and Configuration Guide

efolder BDR for Veeam Hyper-V Continuity Cloud Guide Setup Continuity Cloud Import Backup Copy Job Restore Your VM

McAfee Boot Attestation Service 3.5.0

Dell PowerVault NX1950 configuration guide for VMware ESX Server software

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

Quest VROOM Quick Setup Guide for Quest Rapid Recovery and Foglight Windows Installers

Veeam Universal Application Item Recovery

Privileged Identity App Launcher and Session Recording

Dell DL4300 Appliance Release Notes

Implementing Hyper-V. Lab Exercises FINAL

Transcription:

One Stop Virtualization Shop StarWind Virtual SAN Automating Management with SMI-S in System Center Virtual Machine Manager 2016 FEBRUARY 2018 TECHNICAL PAPER

Trademarks StarWind, StarWind Software and the StarWind and the StarWind Software logos are registered trademarks of StarWind Software. StarWind LSFS is a trademark of StarWind Software which may be registered in some jurisdictions. All other trademarks are owned by their respective owners. Changes The material in this document is for information only and is subject to change without notice. While reasonable efforts have been made in the preparation of this document to assure its accuracy, StarWind Software assumes no liability resulting from errors or omissions in this document, or from the use of the information contained herein. StarWind Software reserves the right to make changes in the product design without reservation and without notification to its users. Technical Support and Services If you have questions about installing or using this software, check this and other documents first - you will find answers to most of your questions on the Technical Papers webpage or in StarWind Forum. If you need further assistance, please contact us. About StarWind StarWind is a pioneer in virtualization and a company that participated in the development of this technology from its earliest days. Now the company is among the leading vendors of software and hardware hyper-converged solutions. The company s core product is the years-proven StarWind Virtual SAN, which allows SMB and ROBO to benefit from cost-efficient hyperconverged IT infrastructure. Having earned a reputation of reliability, StarWind created a hardware product line and is actively tapping into hyperconverged and storage appliances market. In 2016, Gartner named StarWind Cool Vendor for Cluster Platforms following the success and popularity of StarWind HyperConverged Appliance. StarWind partners with world-known companies: Microsoft, VMware, Veeam, Intel, Dell, Mellanox, Citrix, Western Digital, etc. Copyright 2009-2018 StarWind Software Inc. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written consent of StarWind Software. TECHNICAL PAPER 2

Contents Introduction... 4 About SMI-S... 5 Installing and Configuring StarWind SMI-S Agent... 5 Connecting SMI-S provider to SCVMM 2016... 12 Creating a logical unit... 16 Allocating storage pools and logical units... 18 Connecting logical units to Hyper-V hosts... 22 Disconnecting logical units from Hyper-V hosts... 29 Deleting of logical units... 30 List of jobs... 31 Conclusion... 32 TECHNICAL PAPER 3

Introduction With the increasing popularity of private cloud infrastructures, automation of storage and hypervisor management becomes even more acute. To provide the utility for managing Hyper-V virtual machines, Microsoft has released System Center Virtual Machine Manager (SCVMM). This functionality has been initially introduced in SCVMM 2012 SP1 as well as the support of SMI-S standard. Now, the VMM console allows users creating, removing, marking, formatting, assigning, and connecting disks to the Hyper-V hosts. Originally, these tasks were performed via utilities provided by the storage array manufacturers with complicated management. This guide describes how to configure, connect, and use SMI-S provider to automate the management of storage arrays. StarWind Virtual SAN will be used as an example of iscsi storage that can be operated with SMI-S. TECHNICAL PAPER 4

About SMI-S Storage Management Initiative Specification (SMI-S) is a standard of disk storage management. SMI-S is based on the Common Information Model (CIM) open standard, Common Information Model (CIM), and the Web-Based Enterprise Management (WBEM) technology. SMI-S is certified as an ISO standard and is supported by many storage system vendors. SMI-S is fully supported in Windows Server 2016 by the Storage Spaces functionality. Storage Spaces enables the use of SMI-S in PowerShell scripts for automation. Disk array manufacturers also have to ensure SMI-S support by their products. They typically provide a so-called SMI-S provider or an «agent» that mediates the communication between an SMI-S client and a server storage array. A SMI-S client is connected to the SMI-S provider via CIM-XML protocol, while SMI-S provider itself can use proprietary interfaces to manage the disk array. Installing and Configuring StarWind SMI-S Agent StarWind offers free SMI-S provider for storage management called StarWind SMI-S Agent. 1. To install the latest version of StarWind VSAN which is fully compatible with SMI- S provider, download the StarWind setup executable file from the website by following this link: https://www.starwindsoftware.com/starwind-virtual-san 2. Launch the downloaded setup file on the server where you wish to install StarWind Virtual SAN or one of its components. The setup wizard will appear. TECHNICAL PAPER 5

3. Read and accept the License Agreement. Click Next to continue. 4. Carefully read the information about new features and improvements. Red text indicates warnings for users who are updating existing software installations. Click Next to continue. TECHNICAL PAPER 6

5. Click Browse to modify the installation path if necessary and Click Next to continue. 6. Select the required components for the minimum setup including SMI-S Agent, as shown in the screenshot below, and click Next to continue. TECHNICAL PAPER 7

7. Specify the Start Menu folder and click Next to continue. 8. Enable the checkbox if you want to create a desktop icon. Click Next to continue. TECHNICAL PAPER 8

9. Check the components to install and click the Install button. 10. The installation wizard will ask you to configure the SMI-S Agent. You can skip this step to complete the components installation. After StarWind SMI-S Agent is installed, it can be configured with StarWind SMI-S Configurator. 11. StarWind SMI-S Configurator can be launched from the Start menu. Alternatively, press Win + R, type StarWindSMISConfigurator in the Run window, and click OK. TECHNICAL PAPER 9

12. The StarWind SMI-S Configurator window will appear. 13. In the StorageSystemName text field, specify the name for a disk array, e.g. TestStorage. 14. Specify address of the host running the StarWind service. TECHNICAL PAPER 10

15. Leave the number in the StorageSystemPort field unchanged. NOTE: Please distinguish between the StarWind service management Port (3261) and the Port 5988 which provides an access to StarWind SMI-S Agent. 16. In the path fields, specify correct paths to folders where StarWind disk device images will be stored. NOTE: When you fill in the path fields, use the same format as the one used for the creation of virtual devices in StarWind Management Console. 17. Click OK to apply the settings. NOTE: By default, there is no password to access StarWind SMI-S Agent. To change these settings, modify the cimserver_planned.conf file located in the installation folder of StarWind SMI-S Agent. Add the following line to the file: enableauthentication = true Save the file and restart the StarWind SMI-S Agent service. Then, add the following to the command line: cimuser-a-u <username>-w <password> The <username> field should be filled in with the name of the existing account on the host that runs StarWind SMI-S Agent. TECHNICAL PAPER 11

Connecting SMI-S provider to SCVMM 2016 To enable disk array management using VMM, connect the appropriate SMI-S provider. To connect SMI-S provider: 18. Click the Add Resources button on the toolbar of the SCVMM console. 19. Select Storage Devices. TECHNICAL PAPER 12

20. Specify the type of a storage provider. Select the SAN or NAS devices discovered and managed by a SMI-S provider radio button. 21. Select SMI-S CIMXML protocol and enter the address of the host where StarWind SMI- S Agent is running. 22. Specify the user name that will be used by VMM for authorization on StarWind SMI-S Agent. If there is no appropriate user, create it by clicking the Browse button. TECHNICAL PAPER 13

23. If the wizard succeeds in connecting to the provider, it will show all available disk arrays. The picture below illustrates that wizard has detected the StarWind storage device called TestStorage. 24. Click Next and select the pools to be assigned to VMM. Each selected pool has to be classified. If there are no classification options yet, click Create classification to carry out the required action. TECHNICAL PAPER 14

25. Confirm the settings specified before. Summary displays the information regarding disk array, provider, and pools to be managed by VMM. TECHNICAL PAPER 15

Creating a logical unit A logical unit (LU, Storage Volume) is created on the basis of a storage pool. All created devices are displayed in the Classification and Pools column. The screenshot below illustrates that there aren t any logical units yet. 26. To add a new logical unit, click Create Logical Unit on the toolbar. 27. In the Create Logical Unit dialog, select a storage pool, specify name and size of an LU, and click OK. TECHNICAL PAPER 16

28. The newly created device appears in the list (view the Name column). Figure 10 NOTE: The new logical unit test1 is not assigned to any host, which is displayed by the value No in the Assigned field. After this operation, StarWind Management Console displays the new device imagefile1. The device is active and connected to the target. Note that the image file location is My Computer\E. TECHNICAL PAPER 17

Allocating storage pools and logical units SCVMM allows allocating storage pools and logical units to different Hyper-V hosts and host groups. To make a storage pool or logical unit available for a host or a host group, allocate them to a particular host or host group. 29. To allocate storage pools and logical units, click Allocate Capacity on the toolbar. TECHNICAL PAPER 18

30. In the Allocate Storage Capacity dialog, click on the Allocate Storage Pools and Allocate Logical Units buttons. 31. In the Allocate Storage Pools window, select the Display as available only storage arrays that are visible to any host in the host group checkbox to verify that storage pools are available on the network. 32. Select a storage pool and click the Add button. TECHNICAL PAPER 19

33. Repeat the same procedure for every storage pool and click OK. NOTE: In case the storage pools disappeared from the list after selecting this checkbox, refresh the information on a Hyper-V host and storage provider. To refresh information on a Hyper-V host, click Refresh on the shortcut menu of a respective host. To refresh information on a storage provider, click Rescan on the shortcut menu of SMI-S provider. If storage pools aren t displayed on the list, check the firewall settings, network paths, network zoning, etc. It is likely that the Hyper-V hosts from the group have no access to the StarWind VSAN service. TECHNICAL PAPER 20

34. Follow the same procedure to allocate the logical unit to the All Hosts group. TECHNICAL PAPER 21

Connecting logical units to Hyper-V hosts 35. To connect a logical unit to a Hyper-V host, choose a host and click Properties on the shortcut menu. TECHNICAL PAPER 22

36. In the Properties window, click Storage on the left pane. 37. Click Add iscsi Array to add a disk array. 38. In the Create New iscsi Session dialog, select a disk array and click Create. A new disk array appears on the Target portals list on the Discovery tab of an iscsi Initiator Properties of the selected Hyper-V host. TECHNICAL PAPER 23

39. Open Microsoft iscsi Initiator on the Hyper-V host to check the target portals. In this case, 172.16.10.2 is an IP address of the host where StarWind VSAN is installed and running. After the new array has been added, new disks can be based on it and the existing ones connected. 40. Click Add and then Add Disk to connect a new disk to the host. TECHNICAL PAPER 24

NOTE: Since the logical unit test1 has been allocated to the host group All hosts, it was automatically chosen from the list of available devices. 41. Click the Create Logical Unit button (green underlined) to create a new logical unit right from this window. As soon as the logical unit is selected, the system provides all information available for it. VMM suggests disk initialization, its formatting to NTFS, and assigning a disk letter to make a logical unit available for VHD-files of VMs. TECHNICAL PAPER 25

42. Click OK to connect a logical unit to a Hyper-V host. The host has been connected to the iscsi target iqn.2008-08.com.starwindsoftware:vsan- 02.ravi.local-test1, and a new 10GB volume has been formatted to NTFS. This proves that the connection of a logical unit to a Hyper-V host has been successful. TECHNICAL PAPER 26

43. Right-click Classification and Pools of the SCVMM 2016 Console and view that the details of a logical unit test1 have been updated. The property Assigned should display the value Yes. The same information is displayed on the Target List tab of StarWind Management Console. The iscsi Sessions tab shows the initiator iqn.1991-05.com.microsoft:vsan-02.ravi.local as currently connected to the selected target. TECHNICAL PAPER 27

When a logical unit is allocated to a host, SMI-S provider also adds the access rule to the StarWind ACL service to permit the connection of the selected host to a target. NOTE: Names of ACL rules created by SMI-S provider always include the prefix SMI-S. It is not recommended to change these rules or manually delete them from StarWind Management Console. TECHNICAL PAPER 28

Disconnecting logical units from Hyper-V hosts 44. To disconnect logical units, open Properties of a Hyper-V host, click Storage. 45. On the Storage pane, select a disk you need to remove and click the Remove button. 46. Click Yes in the VMM dialog to confirm the disconnection of the selected logical unit. The logical unit and its data remains untouched, so this device can be connected later at any time. TECHNICAL PAPER 29

Deleting logical units If a logical unit isn t required anymore, it can be deleted, thereby freeing the space occupied in the storage pool. A logical unit should be disconnected from all Hyper-V hosts in order to be deleted. Make sure that the property Assigned has the value No. 47. To delete a logical unit, expand Storage, and right-click Classification and Pools of the SCVMM 2016 Console. 48. Select a logical unit that you need to delete and click Remove on the shortcut menu. 49. Click OK in the VMM dialog to confirm the deletion. TECHNICAL PAPER 30

List of jobs All current and previous operations of SCVMM are listed on the Jobs window. The green checkmark and the status Completed show that all operations mentioned above have been successfully completed. TECHNICAL PAPER 31

Conclusion Support of the SMI-S standard by SCVMM 2016 is an important step for the automation of the cloud infrastructure management. Now, most operations can be performed from the VMM Console and there is no need to address management utilities provided by the disk array manufacturers, for example, StarWind Management Console. The use of SMI-S substantially simplifies administration as it eliminates the need to operate different disk arrays produced by various vendors. All the operations mentioned above can be also performed by means of PowerShell scripts, which provides even more automation capabilities and simplifies management. TECHNICAL PAPER 32

Contacts US Headquarters EMEA and APAC 1-617-449-77 17 1-617-507-58 45 1-866-790-26 46 +44 203 769 18 57 (UK) +34 629 03 07 17 (Spain and Portugal) Customer Support Portal: Support Forum: Sales: General Information: https://www.starwind.com/support https://www.starwind.com/forums sales@starwind.com info@starwind.com StarWind Software, Inc. 35 Village Rd., Suite 100, Middleton, MA 01949 USA www.starwind.com 2018, StarWind Software Inc. All rights reserved. TECHNICAL PAPER 33