Highly Available Virtual Machines With IBM Storwize V7000 and Microsoft Hyper-V

Published on January 2019 | Categories: Documents | Downloads: 51 | Comments: 0 | Views: 413
of 27
Download PDF   Embed   Report

Comments

Content

Highly Available Virtual Machines  ®   ®  with IBM Storwize V7000 and Microsoft Hyper-V ™

Configuration and Best Practices Guide

Authors: David West Date: October 2010 Version: 2.2

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 1

 ©Copyright

IBM Corp. 2010

Table of Contents Executive Executive Summary ................................................................................................................... 3 Target Environment ................................................................................................................... 3 IBM Storwize V7000 ............................................................................................................... 4 Audience Audience and Assumptions Assumptions .................................................................................................... 6 Configuration Configuration Summary.......................................................................................................... 6 Microsoft Hyper-V Overview....................................................................................................... 7 Core Hyper-V Features and Benefits...................................................................................... 8 New Hyper-V Features in Windows W indows Server 2008 R2 .............................................................. 8 Summary of Installation Installation and Configuration Configuration ................................................................................. 8 Installation Tasks ................................................................................................................... 8 Operational Operational Tasks .................................................................................................................. 9 IBM Storwize V7000 Configuration Configuration............................................................................................. 9 Configuring Configuring iSCSI Target Ports .............................................................................................. 9 Create iSCSI Host Objects ....................................................................................................10 Map Volumes to iSCSI Hosts ................................................................................................11 Metro Mirror Local Replication...............................................................................................11 Windows Server 2008 R2 Configurations Configurations ..................................................................................12 Install the IBM SDDDSM Multipath Software (Fibre Channel only) ........................................12 Configuring Configuring iSCSI Sessions ..................................................................................................12 Install MPIO and Enable iSCSI multi-pathing ........................................................................13 Windows Registry Settings for iSCSI Hosts ...........................................................................15 Install and Validate Microsoft Failover Clustering ..................................................................16 ..................................................................16 Install the Hyper-V Role ........................................................................................................16 Configure Cluster Shared Volumes (CSV).............................................................................16 Create and Configure Virtual Machines Machines .................................................................................17 Make Virtual Machines Machines Highly Available ................................................................................18 Storwize V7000 Operations.......................................................................................................18 Operations.......................................................................................................18 Migrating Backend Storage with Virtual Machines Machines Online......................................................18 Hyper-V Operations ..................................................................................................................20 Moving Virtual Machines Machines .......................................................................................................21 Quick Migration of Virtual Machines ......................................................................................21 Live Migration of Virtual Machines .........................................................................................22 Automatic Failover Failover of Virtual Machines .................................................................................22 Hot Add Storage....................................................................................................................23 Storage....................................................................................................................23 Quick Storage Migration ........................................................................................................25 Conclusion ................................................................................................................................26

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 2

 © 

Copyright IBM Corp. 2010

Executive Summary A virtualized server or storage environment enables more efficient use of computing resources by sharing hardware resources. The IBM Storwize V7000 combined with Microsoft Hyper-V provides a fully virtualized solution for flexible infrastructure that can grow and change with your business, reducing the costs of managing and operating your infrastructure. The unique ability to move both servers and storage without downtime significantly improves Service Level Agreement’s (SLA) and minimizes impacts on users and customers. Any unexpected downtime can have a serious impact on productivity and customers, making high availability at the server and storage levels critically important. This solution meets those challenges by balancing virtual machine loads, providing seamless backend storage management and enterprise class high availability. The IBM Storwize V7000 provides features such as thin provisioning, iSCSI or Fibre Channel  ®  host connectivity, FlashCopy , live data migration, and multiple data replication features to meet high availability and disaster recovery requirements. Using the Storwize V7000 seamless data migration capabilities, backend data can be migrated to alternate storage without down time. In addition to all the common benefits of virtual servers, Hyper-V on Windows Server 2008 R2 provides Live Migration of virtual machines. With the introduction of Cluster Shared Volumes (CSV), clustered nodes have simultaneous access to volumes, providing increased up time with Highly Available Virtual Machines (HAVMs) that can failover or move without downtime. Efficient disaster recovery options are also possible using IBM Storwize V7000 FlashCopy based VSS solutions to backup and restore quickly. Ease of use for System Administrators is another key advantage of this solution, provided by the Storwize V7000 ’s new Graphical User Interface with centralized management and Hyper- V’s familiar Windows Server interface and technology.

Target Environment  The IBM Storwize V7000 disk system targets medium businesses to large enterprise customers seeking enterprise-level reliability and availability. Storage virtualization, like server virtualization, is now one of the key foundations for building a flexible and reliable IT infrastructure solution that allows companies to better align their business and IT needs. Storage Virtualization allows an organization to implement pools of storage across physically separate disk systems (including storage from different vendors). Storage can be provisioned from these pools and migrated between pools without any downtime for the attached hosts. It provides a single set of tools for advanced copy functions such as instant copy and remote mirroring solutions. The end result is simplified management from a single interface, regardless of the underlying storage hardware.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 3

 © 

Copyright IBM Corp. 2010

The virtualization of storage provides several benefits for storage administrators and management including: 











Combining storage capacity from multiple heterogeneous disk systems into a single reservoir that can be managed as a business resource rather than separate boxes. Helps increase storage utilization by providing host applications with more flexible access to capacity. Improves productivity of storage administrators by enabling management of heterogeneous storage systems using a common interface. Improves application availability by insulating host applications from changes to the underlying physical storage infrastructure. Enables a tiered storage environment where the cost of storage can be matched to the value of data, and easily migrated between those tiers. Supports advanced copy services from higher-cost to lower-cost devices and across storage systems from multiple vendors.

IBM Storwize V7000 The IBM Storwize V7000 disk system consists of both hardware and software. The initial version of the software is Version 6.1. The modular hardware enclosures include integrated drives of varying form factors, including both hard disk drives and solid-state drives. The solution also provides external storage virtualization, making it possible to integrate with and manage heterogeneous storage along with the Storwize V7000 storage.

The Storwize V7000 system is designed to allow quick and efficient storage deployment, thanks to a new easy to use Graphical User Interface, integrated drives, and interoperability with nearly any back-end SAN attached storage. The new web-based GUI, displayed below, runs on the Storwize V7000 system so there is no longer a separate console server required. The Storwize V7000 consists of a control enclosure and optionally up to four expansion enclosures initially, with plans to support up to nine enclosures later. The system also supports intermixing 3.5" and 2.5" type controller and expansion enclosures. Within each enclosure are two canisters; Control enclosures contain two Node canisters and expansion enclosures contain two Expansion canisters. . The system provides a choice of up to 60 x 3.5 inch or 120 x 2.5 inch Serial Attached SCSI (SAS) drives for the internal storage and uses SAS cables and connectors to attach to the optional expansion enclosures. In addition to the hard disk drives, there are also internal solidstate drives (SSD’s) available.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 4

 © 

Copyright IBM Corp. 2010

The Storwize V7000 also includes a new function called Easy Tier™. This function takes advantage of the high performance solid-state drives, by automatically moving more active data from hard disk drives to solid-state drives using a very sophisticated algorithm.

When virtualizing external storage arrays IBM Storwize V7000 can provide up to 32PB of usable capacity. IBM Storwize V7000 supports a large range of external disk systems similar to what the SVC supports today. The Storwize V7000 includes flexible host connectivity options with support for 8GB Fibre Channel or 1GB iSCSI sessions. This is an important feature, considering many IT infrastructures are in transition to newer networking technologies. In addition, there is also a full array of advanced features including:      

Seamless data migration Thin Provisioning Volume mirroring Global and Metro Mirror replication FlashCopy – 256 targets, cascaded, incremental, space efficient (thin provisioned) Integration with Tivoli Productivity Center

More detailed information on the Storwize V7000 disk system can be found in the IBM Storwize  V7000 Introduction and Implementation guide  Redbook at: http://www.redbooks.ibm.com/ 

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 5

 © 

Copyright IBM Corp. 2010

View of the IBM Storwize V7000 web-based Graphical User Interface

 Audience and Assumptions This solution guide is intended for IT professionals with experience in the following areas:   



Windows Server 2008 and R2 administration and configuration Microsoft Hyper-V virtual server concepts and configuration IBM System Storage SAN Volume Controller administration (since the Storwize V7000 is based on the SVC platform and technology) General storage, SAN and disk systems knowledge

Configuration Summary The proof of concept environment for this solution included:    

 

Microsoft Windows Server 2008 R2 IBM System x 3850 servers IBM Storwize V7000 disk system IBM System Storage™ DS4800 and EXP810s as external virtualized storage. This is  just one example of external storage that can be virtualized by the IBM Storwize V7000 IBM SDDDSM multipath software with Microsoft MPIO for Fibre Channel hosts Windows built in iSCSI initiator and MPIO for iSCSI hosts

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 6

 © 

Copyright IBM Corp. 2010

The illustration below summarizes the proof of concept environment, including:  







Storwize V7000 internal and external virtualized storage capabilities Windows Servers with Microsoft Failover Clustering hosting the highly available virtual machines, providing the underlying movement of VMs between host systems. Microsoft System Center Virtual Machine Manager (SCVMM) for advanced centralized Hyper-V management capabilities. The solution can be deployed with either iSCSI or Fibre Channel connectivity to the Windows host systems. The Storwize V7000 uses Fibre Channel connectivity to the backend external virtualized storage systems.

Microsoft Hyper-V Overview Hyper-V with Windows Server 2008 R2 provides software infrastructure and management tools that you can use to create and manage a virtualized server environment for consolidated and scalable data centers.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 7

 © 

Copyright IBM Corp. 2010

Core Hyper-V Features and Benefits The key features of Hyper-V include the following:         

64-bit native hypervisor-based virtualization Ability to run 32-bit and 64-bit virtual machines concurrently Large virtual machine memory support and Virtual LAN support Virtual machine snapshots, to capture the state of an entire virtual machine Runs on all roles including Server Core, of Windows Server 2008 MSCS failover cluster support for high availability virtual machines Move or migrate virtual machines between clustered nodes Microsoft Management Console (MMC) interface Microsoft System Center VMM management integration

New Hyper-V Features in Windows Server 2008 R2 In R2, there have been several new features to enhance manageability and availability. The key new features include:      

Cluster Shared Volumes Live migration of running virtual machines Hot add of storage (VHDs) to running virtual machines Quick Storage Migration (requires VMM R2) SAN Migration into and out of clustered hosts Microsoft System Center VMM R2

Summary of Installation and Configuration The steps for implementing this solution are summarized below. Note that common configuration items such as setting up Microsoft Failover Clustering, or general SVC or Storwize V7000 administration and provisioning are beyond the scope of this document. Links to this information will be provided as needed throughout the document. This also assumes the IBM Storwize V7000 environment and backend storage is already in place.

Installation Tasks On the IBM Storwize V7000: 

Provision or verify availability of adequate volumes for cluster and VMs Note: These can be thin provisioned or standard Storwize V7000 volumes

 

Setup iSCSI target Ethernet ports on the Storwize V7000 if using iSCSI Create iSCSI or Fibre Channel host objects and map volumes to the hosts

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 8

 © 

Copyright IBM Corp. 2010

On the Windows Server:        

Setup iSCSI sessions using the native Windows initiator if using iSCSI For iSCSI, install MPIO and enable Windows native iSCSI multi-path support Install IBM SDDDSM multipath software if using Fibre Channel Install, validate and configure Microsoft Failover Clustering Add available storage as Cluster Shared Volumes (CSVs) Install the Hyper-V role Create Virtual Machines on CSV volumes and load OS Make Virtual Machines highly available

Operational Tasks      

Moving Virtual Machines to another cluster node Quick Migration of Virtual Machines to another node Live Migration of Virtual Machines to another node Automatic failover of Virtual Machines if a node goes down Hot add and removal of storage (VHDs) on running Virtual Machines Quick Storage Migration (requires Microsoft Virtual Machine Manager 2008 R2)

IBM Storwize V7000 Configuration This section covers iSCSI specific setup steps, however if you are using Fibre Channel the steps are similar and less complex. Before proceeding, ensure there are adequate volumes configured and available. For more detailed information on Storwize V7000 administration and configuration tasks, please reference the SVC and Storwize V7000 Information Center at this location: http://publib.boulder.ibm.com/infocenter/svcic/v3r1m0/index.jsp

Configuring iSCSI Target Ports Open the Storwize V7000 console and log on to the cluster. The iSCSI configuration is accomplished by configuring Ethernet ports with iSCSI dedicated IP addresses. You will need to have static IP addresses for each port that is enabled for iSCSI. A minimum of 2 ports (at least one each for the two iSCSI targets) should be configured for failover.   

 

Click Configuration > Network On the Network page, click on iSCSI, then click on the port you want to configure Enter the IP address information, it defaults to IPv4, click on the IPv6 button to configure that type of IP address. Click OK to finish You may enter aliases, CHAP authentication, or iSNS server information on the main screen also.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 9

 © 

Copyright IBM Corp. 2010

Below is a view of the new Storwize V7000 GUI and iSCSI configuration panels. This is also where most other network related settings are configured, such as management ports, service IP addressing, event notifications, and advanced options such as Storwize V7000 software updates, GUI preferences, or license settings.

Create iSCSI Host Objects Using the Storwize V7000 console Hosts > All Hosts panel, create host objects that correspond to the Windows Server host nodes that will be running Hyper-V. You can create Fibre Channel or iSCSI hosts. Note: The Windows Server initiator name can be found in the Windows iSCSI Initiator GUI, which is under the Administrative Tools menu. Go to the Configuration tab to view the initiator name. Enter this name in the iSCSI parameters when setting up an iSCSI host. If setting up a Fibre Channel host, enter the WWPNs of the Host Bus Adapter (HBA) on the Windows Server. This can be found in the HBA management software or various Windows system tools. The screen capture below shows the new Storwize V7000 GUI for configuring hosts. Simply click on the New Host button and follow the prompts to setup a host. Any of these settings can be changed later also.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 10

 © 

Copyright IBM Corp. 2010

Map Volumes to iSCSI Hosts Using the Storwize V7000 console Volumes > All Volumes panel, map the volumes to the hosts you created. You will be mapping disks to multiple hosts for this solution, since it’s a Microsoft cluster configuration. When creating new volumes on the Storwize V7000 you also have the option to create and map, all in one process. After the volumes are created it prompts you for the host(s) to map the new volumes to.

Metro Mirror Local Replication Another high availability feature of the Storwize V7000 is Metro Mirror synchronous replication. Although this is primarily designed for Disaster Recovery applications, you may configure Metro Mirror or Global Mirror (asynchronous) relationships within the same Storwize V7000 cluster for local high availability. This feature copies data from a primary volume to a secondary volume, ideally located on a separate storage array. More detailed information on how to setup and manage Metro Mirroring is provided in the Storwize V7000 help files or online at: http://publib.boulder.ibm.com/infocenter/svcic/v3r1m0/index.jsp

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 11

 © 

Copyright IBM Corp. 2010

Windows Server 2008 R2 Configurations This section covers configuration of Windows Server 2008 R2 to create highly available virtual machines with Hyper-V. Note: The IBM Storwize V7000 does not support I/O from FC and iSCSI initiators in the same hosts to the same volumes.

Install the IBM SDDDSM Multipath Software (Fibre Channel only) If you are using Fibre Channel host connections, then you will need to download and install the latest version of the IBM Subsystem Device Driver  – Device Specific Module (SDDDSM) to provide the Fibre Channel multipathing. This is currently only used with Fibre Channel connections. If using iSCSI then use the built-in Windows MPIO with iSCSI multipath support, as explained below. Note: the SDDDSM installer automatically checks for and installs the Microsoft MPIO component, so you do not have to manually install it ahead of time. The IBM SDDDSM software for SVC or Storwize V7000 can be downloaded here: http://www- 947.ibm.com/support/entry/portal/Downloads/Hardware/System_Storage/  Storage_software/Storage_virtualization/SAN_Volume_Controller_(2145)

Configuring iSCSI Sessions The following section covers configuration of iSCSI sessions, since these are more complex than Fibre Channel, and some system administrators are not as familiar with it. On the Windows Server, open the iSCSI Initiator tool under Administrative Tools. This is the native Windows iSCSI software initiator. Enter the appropriate information, using the IP addresses and iSCSI names configured on the Storwize V7000. 



 

On the Targets tab, Enter the target IP address that you configured for the Storwize V7000 nodes Click Quick Connect, the target appears in the Discovered Targets pane, as shown in the screen shot below Repeat the steps above for the second port's target IP address Click OK to finish and close the applet

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 12

 © 

Copyright IBM Corp. 2010

Install MPIO and Enable iSCSI multi-pathing From the Windows Server Manager, Features panel, install the Microsoft Multipath I/O feature. After the MPIO installation completes, follow the steps below to enable iSCSI multipathing.   



From the Administrative Tools menu, open the MPIO tool Go to the Discover Multi-Paths tab Check the box for Add support for iSCSI devices, as shown below. This check box is grayed out if it ’s already been enabled. Click Add, and then reboot the server as prompted to apply the MPIO changes

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 13

 © 

Copyright IBM Corp. 2010

 

After the server has rebooted, open the MPIO tool again On the MPIO devices tab, you should now see the Microsoft iSCSI bus type listed in the Device Hardware ID pane, as shown below.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 14

 © 

Copyright IBM Corp. 2010

At this point, use the Windows Disk Management console to confirm there is only one of each disk presented to the host. This confirms MPIO multi-pathing is functioning correctly. Using the Windows Disk Manager interface, bring the disks online and format them for use. As usual for a cluster configuration, the disks should only be online and configured from one host initially. The Microsoft Cluster service will manage disk access for all nodes.

Windows Registry Settings for iSCSI Hosts The following registry entries are recommended for iSCSI hosts connecting to the Storwize V7000 or SVC systems. The purpose is to avoid any issues during Storwize V7000 cluster maintenance activities. Use Regedit to update the following registry keys: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\  {4D36E97B-E325-11CE-BFC1-08002BE10318}\<bus id>\Parameters\LinkDownTime Set DWORD value at 120 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\  {4D36E97B-E325-11CE-BFC1-08002BE10318}\<bus id>\Parameters\MaxRequestHoldTime Set DWORD value at 120 HKEY_LOCAL_MACHINE\SYSTEM\Current\ControlSet\Services\Disk\TimeOutValue set DWORD value at 60 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\mpio\Parameters set DWORD value at 60 The following registry setting is specific to failover clustering. The Storwize V7000 supports ISCSI multisession functionality where one iSCSI initiator can have multiple iSCSI sessions with one iSCSI target (up to 4 sessions). Although this feature is supported with the Microsoft iSCSI initiator, this functionality is not supported with failover clustering used over iSCSI. The Storwize V7000 supports only a single session to each iSCSI target with failover clustering. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\  {4D36E97B-E325-11CEBFC1-08002BE10318}\<bus id>\Parameters\ MaxPendingRequests set DWORD value at 2048

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 15

 © 

Copyright IBM Corp. 2010

Install and Validate Microsoft Failover Clustering The next step is to install Failover Clustering. Use the following steps to install this feature.   

  

From Server Manager, use the Features panel to add Failover Clustering After the feature is installed, go to the Administrative Tools > Failover Cluster Manager. The first time this runs, you will be prompted to run the Cluster Validation tool. This is a Best Practice Analyzer that verifies the system is ready for a healthy cluster. Run the validation and review the results. If the validation passes, continue with cluster creation by following the prompts. If there are issues during the validation, these must be fixed before proceeding.

Install the Hyper-V Role Use the Server Manager, Roles panel to add the Hyper-V role. Make sure your servers support the required Virtualization features and enable them in the BIOS. The Hyper-V role installation process checks for this and list the exact settings you need to enable. Setup the virtual network as part of the Role installation process.

Configure Cluster Shared Volumes (CSV) After Hyper-V is installed, the Failover Cluster will have an option available for Cluster Shared Volumes. This new feature in Server 2008 R2 is currently only utilized by Hyper-V. To better understand the value of CSVs, it helps to review how a typical cluster operates. In a traditional cluster, only one node can have access to a given SAN based volume at a time. If both systems write to the volume, the data could be corrupted and access to the volume impacted. However, with CSVs, both nodes of the cluster can access the shared volume simultaneously. This allows running Hyper-V virtual machines to be moved between host nodes without any downtime or performance degradation, called Live Migration. This feature is covered in the operational section later in the paper. Follow these steps to enable an available cluster disk for CSV:   

In the Failover Cluster Manager, left pane, click on Cluster Shared Volumes In the right pane, under Cluster Shared Volumes, click on Add storage The available disks appear, check the ones you want to add, as shown below

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 16

 © 

Copyright IBM Corp. 2010

After the disks are added as CSVs, they are mounted, similar to a mount point, on each node at C:\Cluster Storage\Volume1 etc. When Virtual Machines are created in the next step, this is the path you need to specify for the location of the VHD files, to enable advanced features like Live Migration.

Create and Configure Virtual Machines The following are high level steps for creating a virtual machine. Consult the Microsoft documentation or online help for more details.   



 

From the Administrative Tools menu, launch Hyper-V Manager. In the Action pane, click on New > Virtual Machine Follow the prompts in the wizard, making sure the location specified is one of the Cluster Shared Volumes setup earlier, e.g. C:\Cluster Storage\Volume1 After the virtual machine is created, open the properties and change the Automatic Start action to Do Nothing. The reason for this is to allow the Cluster service to control the start action once the virtual machine is made highly available. Start the virtual machine and load the OS. Repeat this procedure for all virtual machines that will be highly available, they will be added to the Cluster configuration in the next section.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 17

 © 

Copyright IBM Corp. 2010

Make Virtual Machines Highly Available After the virtual machine is created and configured it is ready to be added as a Cluster service, making it highly available. Follow these steps to add the virtual machines to the Cluster.   

  

 

Shut down the virtual machines, they cannot be running when adding to the cluster From Failover Cluster Manager, click on Services and Applications on the left pane In the Actions pane on the right, click on Configure a Service or Application to launch the High Availability Wizard. Select Virtual Machine from the list of applications, and click Next Select one or more virtual machines from the list of available Hyper-V VMs. Continue through the wizard prompts. When it finishes, a report will appear showing success or failure for each machine. If any of them fail, the report has information on how to resolve the issue. Expand Services and Applications, verify the virtual machines are listed. Bring the virtual machines online.

Storwize V7000 Operations Migrating Backend Storage with Virtual Machines Online Seamless data migration is a significant function of the IBM Storwize V7000, and is used often during day to day system operations. This migration capability provides the migration of volumes that are hosting live data, including Hyper-V online virtual machines, without any server downtime. The volume can be migrated to a different Storage Pool on the same storage unit, such as moving it to lower cost disks, or to a completely different storage array. An example of this for Hyper-V would be moving lower volume mailboxes to another Exchange server; and then migrating the server ’s back end storage to lower cost disks without bringing down the server. There may be a slight performance impact, depending on how busy the Storwize V7000 and server is, so the migration should not be done during peak usage. The end result is you have maintained up time SLAs for the servers and not impacted users. Hyper-V is capable of migrating Virtual Machines to different storage, using the System Center Virtual Machine Manager (VMM) called Quick Storage Migration, covered later. This procedure on Hyper-V still requires downtime for migrating the virtual machine. Follow these steps to Migrate a volume  

Using the Storwize V7000 console, go to Volumes > All Volumes panel From the Actions menu, select Migrate to another pool as shown below

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 18

 © 

Copyright IBM Corp. 2010

 

This brings up an interface to walk you through the migration steps. The next screen that appears confirms the volume you want to move and prompts for the destination pool, as shown in the screen capture below.

Note: The IBM Storwize V7000 calls the backend LUNs presented to the system MDisks. These are grouped into Storage Pools; previously called MDisk Groups on the SAN Volume Controller. These pools allow a storage administrator to group types and classes of backend disks together for complete control of which disks are being used, and where.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 19

 © 

Copyright IBM Corp. 2010

 

Select a destination Storage Pool from the list, and click Migrate After the migration completes, a summary appears as shown below.

Note: This is another beneficial enhancement in the new GUI. It shows the actual CLI commands used to perform the action. This provides storage administrators some visibility to what is happening behind the scenes, and teaches commands that can be used again later from the CLI or in a script.

Hyper-V Operations This section covers some standard Hyper-V administrative duties. All of these tasks use native Windows 2008 R2 tools and controls. More detailed information for these tasks is available from Microsoft, or in Windows help files. After a virtual machine is highly available, they are managed from the Failover Cluster Manager. Below is a view of the Cluster interface which is covered throughout this section.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 20

 © 

Copyright IBM Corp. 2010

Moving Virtual Machines A highly available virtual machine can be moved between nodes of the cluster. This is a way to manually test failover, or move a machine for server maintenance.    

Use the Failover Cluster Manager as shown above. Highlight the virtual machine you want to move In the Actions pane, click Move virtual machine(s) to another node, and select node Observe the virtual machine(s) go offline, and come back online on the new node.

Quick Migration of Virtual Machines Quick Migration is similar to the above process of moving a virtual machine. The machine goes offline during the procedure, and is brought back online. However it is designed to move a virtual machine between nodes quicker, with down time limited to a few seconds, depending on the memory configuration. Quick Migration is also used to restart a virtual machine on another node automatically during an unplanned outage.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 21

 © 

Copyright IBM Corp. 2010

To migrate a virtual machine quickly:   

From Failover Cluster Manager, highlight the virtual machine you want to migrate Click on Quick Migrate virtual machine(s) to another node Observe the virtual machine migrate and come back online on the other node

Live Migration of Virtual Machines This feature is a key improvement in Windows Server 2008 R2, and utilizes Cluster Shared Volumes to accomplish zero downtime migration of virtual machines. In order to use this feature, the virtual machines VHD and supporting files must reside on CSV volumes, as covered earlier. To perform a Live Migration, follow these steps:   

From Failover Cluster Manager, highlight the virtual machine you want to migrate Click on Live Migrate virtual machine to another node Observe the virtual machine remain online, and migrate to the other node

 Automatic Failover of Virtual Machines The virtual machine ’s ability to quickly and automatically restart on another node is a core high availability feature of Hyper-V. Depending on the server configurations, a downed virtual machine can be back online in a few seconds, with minimal impact on users. This type of event uses Hyper-V’s Quick Migration feature to restart the virtual machine on the next node. Use one of the following methods to simulate failure, and observe a node’s virtual machines restart on another node: 1. Shut down the host server 2. Use Failover Cluster Manager to stop the Cluster service on the node:  

From Failover Cluster Manager, expand Nodes in the left pane Right click on More Actions… > Stop Cluster Service, and yes to confirm the failover action, as shown below.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 22

 © 

Copyright IBM Corp. 2010

Hot Add Storage Another new high availability feature in Windows Server 2008 R2 Hyper-V is the ability to dynamically add or remove storage while a virtual machine is running. This includes adding as Cluster Shared Volumes, as long as you specify a CSV location for the VHD, as covered previously. The following steps walk you through the hot add storage procedure. For this process, you will use the Hyper-V Manager rather than the Failover Cluster Manager.   

From Hyper-V Manager, open the Settings panel for the virtual machine. Click on the SCSI controller (not the IDE controller) Select Hard Drive, and click Add as shown below

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 23

 © 

Copyright IBM Corp. 2010



This will open the standard disk create window, select VHD, click New The New Virtual Hard Disk Wizard starts; follow the prompts for type, size, and location for the disk’s VHD file. Click Finish, and verify the new disk is listed under SCSI Controller.



To hot remove disks, select the disk under SCSI Controller, click Remove

 

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 24

 © 

Copyright IBM Corp. 2010

Quick Storage Migration This new feature makes changing the storage location of a virtual machine’s VHD and supporting files easier. Previously, this was accomplished by exporting the virtual machine, manually moving the files, and importing the virtual machine at the new location. This VMM utility allows you to move single VHD files, or all files for the virtual machine.

To use this new feature, you must use System Center Virtual Machine Manager (VMM) 2008 R2; it is not available from the standard Hyper-V Manager. Note that there is a stand-alone installation available for VMM, so it does not require a System Center Operations Manager server. Most of the Hyper-V management tasks can be controlled from the VMM console. Download the trial version of Microsoft VMM 2008 R2 here: http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/default.aspx Below is a view of the System Center VMM 2008 R2 console, which will be referenced in this section. Notice in the lower right Virtual Machine panel, the Migrate Storage option which launches the Quick Storage Migration Wizard.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 25

 © 

Copyright IBM Corp. 2010

Follow these steps to migrate a virtual machine’s storage to another location. 



  

Use the VMM console to shut down or save state. This task will fail if the virtual machine is in a running state. Highlight the virtual machine and click on Migrate Storage in the left panel

Click on Browse, and select the new VHD location, click Ok and Next The job will start, progress and completion status can be viewed in the Job window. Bring the virtual machine back online.

Conclusion This solution is designed to address demanding enterprise requirements for highly available virtual servers and storage. The IBM Storwize V7000 disk system provides flexible, highly available, centralized management of both internal and external heterogeneous storage. Microsoft’s Hyper -V technology is designed to enable a flexible, efficient, and high availability server platform. Combining these technologies, this solution significantly reduces the traditional downtime associated with enterprise server and storage administration. IBM servers and storage systems are designed to provide the processing throughput, advanced availability, management features, and scalable storage needed in larger enterprise environments. Microsoft Hyper-V coupled with the IBM Storwize V7000 provides true fault and disaster tolerance. The combination forms a highly available and manageable platform for mission critical Microsoft infrastructure.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 26

 © 

Copyright IBM Corp. 2010

Copyright ©  2010 by International Business Machines Corporation. This document could include technical inaccuracies or typographical errors. IBM may make changes, improvements or alterations to the products, programs and services described in this document, including termination of such products, programs and services, at any time and without notice. Any statements regarding IBM’s future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. The information contained in this document is current as of the initial date of publication only, and IBM shall have no responsibility to update such information. Performance data for IBM and non-IBM products and services contained in this document was derived under specific operating and environmental conditions. The actual results obtained by any party implementing and such products or services will depend on a large number of factors specific to such party’s operating environment and may vary significantly. IBM makes no representation that these results can be expected or obtained in any implementation of any such products or services. THE INFORMATION IN THIS DOCUMENT IS PROVIDED “AS -IS” WITHOUT ANY WARRANTY, EITHER EXPRESS OR IMPLIED. IBM EXPRESSLY DISCLAIMS ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR INFRINGEMENT.

References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM operates or does business. Any reference to an IBM program or product in this document is not intended to state or imply that only that program or product may be used. Any functionally equivalent program or product, that does n ot infringe IBM’s intellectual property rights, may be used instead. It is the user’s responsibility to evaluate and verify the operation of any non-IBM product, program or service. The provision of the information contained herein is not intended to, and does not grant any right or license under any IBM patents or copyrights. Inquiries regarding patent or copyright licenses should be made, in writing, to: IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 10504-1785 U.S.A. IBM, the IBM logo, Tivoli, Storwize V7000, FlashCopy, System x, and System Storage are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries or both. Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries or both.

HA Virtual Machines with IBM Storwize V7000 and Microsoft Hyper-V

Page 27

 © 

Copyright IBM Corp. 2010

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close