How to Manage a Virtual Server cluster Successfully



Similar documents
Installation Guide. Step-by-Step Guide for clustering Hyper-V virtual machines with Sanbolic s Kayo FS. Table of Contents

Significant boosts in performance as a result of multiple Hyper-V hosts sharing concurrent read-andwrite access to VHDs via enhanced VHD locking.

Improving Application Performance, Scalability, and Availability using Microsoft Windows Server 2008 and NLB with Sanbolic Melio FS and SAN Storage

Scalable Windows Storage Server File Serving Clusters Using Melio File System and DFS

Scalable Windows Server File Serving Clusters Using Sanbolic s Melio File System and DFS

Installation Guide Using Melio Clustered File System to Enable Migration of VMware Server across Hosts

Sanbolic s SAN Storage Enhancing Software Portfolio

Software to Simplify and Share SAN Storage Sanbolic s SAN Storage Enhancing Software Portfolio

Table of Contents. Introduction Prerequisites Installation Configuration Conclusion Recommended Reading...

Configuration Guide. Achieve Unified Management and Scale-Out for Windows Server 2012 R2 Hyper-V Deployments with the Sanbolic Platform

Enterprise Storage Solution for Hyper-V Private Cloud and VDI Deployments using Sanbolic s Melio Cloud Software Suite April 2011

Introduction. Scalable File-Serving Using External Storage

How to configure Failover Clustering for Hyper-V hosts on HP ProLiant c-class server blades with All-in-One SB600c storage blade

Clustering ExtremeZ-IP 4.1

Dell High Availability Solutions Guide for Microsoft Hyper-V R2. A Dell Technical White Paper

How To Set Up A Two Node Hyperv Cluster With Failover Clustering And Cluster Shared Volume (Csv) Enabled

Setup for Failover Clustering and Microsoft Cluster Service

Setup for Failover Clustering and Microsoft Cluster Service

Deploying Remote Desktop Connection Broker with High Availability Step-by-Step Guide

How to Build a Sanbolic Platform User Manual

Introduction. Options for enabling PVS HA. Replication

Dell High Availability Solutions Guide for Microsoft Hyper-V

Availability Guide for Deploying SQL Server on VMware vsphere. August 2009

Best Practices for Installing and Configuring the Hyper-V Role on the LSI CTS2600 Storage System for Windows 2008

Direct Storage Access Using NetApp SnapDrive. Installation & Administration Guide

Optimized Storage Solution for Enterprise Scale Hyper-V Deployments

HIGHLY AVAILABLE MULTI-DATA CENTER WINDOWS SERVER SOLUTIONS USING EMC VPLEX METRO AND SANBOLIC MELIO 2010

Integrating Eaton PRO Management Pack for Microsoft System Center Virtual Machine Manager 2008 v1.0 Page 2

Quick Start - Virtual Server idataagent (Microsoft/Hyper-V)

StarWind iscsi SAN Configuring HA File Server for SMB NAS

Clustering Windows File Servers for Enterprise Scale and High Availability

Drobo How-To Guide. Topics. What You Will Need. Prerequisites. Deploy Drobo B1200i with Microsoft Hyper-V Clustering

DAS to SAN Migration Using a Storage Concentrator

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

Virtualizing your Datacenter

Windows Server 2008 R2 Hyper-V Live Migration

Microsoft Hyper-V Server 2008 R2 Getting Started Guide

Setup for Failover Clustering and Microsoft Cluster Service

Hyper-V Cloud Practice Builder. Disaster Recovery Using DPM 2010

PassTest. Bessere Qualität, bessere Dienstleistungen!

The safer, easier way to help you pass any IT exams. Exam : TS: Windows Server 2008 R2, Server Virtualization. Title : Version : Demo 1 / 7

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

VERITAS Storage Foundation 4.3 for Windows

StarWind iscsi SAN: Configuring HA File Server for SMB NAS February 2012

Introduction to Hyper-V High- Availability with Failover Clustering

What s New with VMware Virtual Infrastructure

StarWind iscsi SAN Software: Using StarWind with MS Cluster on Windows Server 2008

Quick Start - Virtual Server idataagent (Microsoft/Hyper-V)

Setup for Microsoft Cluster Service ESX Server and VirtualCenter 2.0.1

Welcome to the IBM Education Assistant module for Tivoli Storage Manager version 6.2 Hyper-V backups. hyper_v_backups.ppt.

Using EonStor FC-host Storage Systems in VMware Infrastructure 3 and vsphere 4

istorage Server: High-Availability iscsi SAN for Windows Server 2008 & Hyper-V Clustering


Bosch Video Management System High Availability with Hyper-V

ImageNow Cluster Resource Monitor

Building a Scalable Microsoft Hyper-V Architecture on the Hitachi Universal Storage Platform Family

Setup for Failover Clustering and Microsoft Cluster Service

Table of Contents Introduction and System Requirements 9 Installing VMware Server 35

Virtualizing Microsoft SQL Server 2008 on the Hitachi Adaptable Modular Storage 2000 Family Using Microsoft Hyper-V

PoINT Jukebox Manager Deployment in a Windows Cluster Configuration

Configuring and Deploying a Private Cloud with System Center 2012

Configuring Windows Server Clusters

StarWind iscsi SAN & NAS: Configuring HA File Server on Windows Server 2012 for SMB NAS January 2013

Deploying Microsoft Clusters in Parallels Virtuozzo-Based Systems

Moving the Web Security Log Database

High Availability Option for Windows Clusters Detailed Design Specification

Hyper-V: Using Hyper-V and Failover Clustering


Hyper-Cluster. By John D. Lambert, Microsoft SQL Server PFE

Clustering VirtualCenter 2.5 Using Microsoft Cluster Services

Administration Guide - Virtual Server idataagent (Microsoft Hyper-V)

Bosch Video Management System High availability with VMware

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

EMC Virtual Infrastructure for SAP Enabled by EMC Symmetrix with Auto-provisioning Groups, Symmetrix Management Console, and VMware vcenter Converter

Installing GFI MailArchiver

Drobo How-To Guide. What You Will Need. Configure Replication for DR Using Double-Take Availability and Drobo iscsi SAN

VMware Virtual Machine Protection

Owner of the content within this article is Written by Marc Grote

W H I T E P A P E R. VMware Infrastructure Architecture Overview

High Availability for Microsoft Virtual Server

Parallels. Clustering in Virtuozzo-Based Systems

1. Introduction About the BackupAssist Hyper-V solution Advantages Features Granular technology... 2

Installing and Configuring a. SQL Server 2012 Failover Cluster

Windows Server 2008 R2 Hyper-V Live Migration

VirtualXP Users Guide

Setup for Failover Clustering and Microsoft Cluster Service

Windows Host Utilities Installation and Setup Guide

A Dell PowerVault MD3200 and MD3200i Technical White Paper Dell

Installing GFI MailArchiver

StarWind iscsi SAN Software: Using with Citrix XenServer

Cluster to Cluster Failover Using Double-Take

Backup Exec 12.5 Agent for Microsoft Virtual Servers FAQ

Provisioning Hyper-V virtual machines for a test environment

Symantec NetBackup Blueprints

Configuring a Custom Load Evaluator Use the XenApp1 virtual machine, logged on as the XenApp\administrator user for this task.

Drobo How-To Guide. Topics. What You Will Need. Configure Drobo iscsi SAN as Backend Storage for Active Directory File Servers

AVALANCHE MC 5.3 AND DATABASE MANAGEMENT SYSTEMS

StarWind iscsi SAN & NAS: Configuring HA Storage for Hyper-V October 2012

Quick Start Guide For Ipswitch Failover v9.0

Making the Move to Desktop Virtualization No More Reasons to Delay

Transcription:

Distributed Data Center Virtualization using Windows Virtual Server 2005 R2 Using Sanbolic s Melio File System, LaScala Volume Manager and Microsoft Clustering Services to enable flexible migration of active virtual machines across physical hosts running Virtual Server 2005 Installation Guide 1

Step-by-Step Guide for clustering Virtual Server 2005 R2 with Sanbolic s Melio FS and LaScala VM Table of Contents Data Center Virtualization......2 Software Components.... 3 Installation Requirements.......3 Step for Configuring Virtual Server Clustering......4 Using the Microsoft Clustering Services to Migrate Virtual Machines...14 Notes....14 Data Center Infrastructure Virtualization Microsoft Windows Virtual Server 2005 is available at no charge and is an effective tool for partitioning a physical server to allow multiple operating systems to run simultaneously and independently as guest servers. If the host server is running Microsoft Windows Server 2003 R2 Enterprise Edition, rights for up to four guest server OS licenses are included. Partitioning a server and running multiple separate OS instances on it facilitates the consolidation of multiple applications on a single server for better capacity utilization. As familiarity with virtualization grows, many users want to move from single-server partitioning to distributed datacenter infrastructure virtualization. By virtualizing the storage as well as the servers, and providing the flexibility to dynamically move virtual servers to any one of several physical hosts, the data center resources become much more flexible, can run at higher utilization, and have improved options for maintaining availability during hardware maintenance. The state of the Virtual Server and its application data are contained within a.vhd file which resides on the hard disk of the host server, or on a LUN assigned to it on external storage. It is possible to save the state of the Virtual Server instance, copy it to a second physical server, and then restore the Virtual Server instance so that it is running on the second host. However, this is a slow process, and the application will be unavailable during the migration. By clustering Virtual Server 2005 instances across physical hosts using Microsoft Clustering Services (a component of the Windows Server Enterprise or Datacenter license), and using Sanbolic s clustered file system, users can overcome the limitation described above and create a distributed virtualization architecture using standard Windows Server components and management interfaces. Active virtual machines can easily be moved across physical hosts, and application data volumes on a central SAN storage pool are automatically mounted by the Virtual Server 2005 instance running the application from any physical host it is moved to. This paper describes in detail the configuration of Virtual Server clusters using Microsoft Clustering Services and Sanbolic s file system and volume manager. Additional resource for configuring central storage management are listed in the notes section below. 2

Software Components The state and virtual local disk for a Virtual Server 2005 instance is contained within a VHD file which typically resides on the file system of the host server when used for single server partitioning. In order to create a distributed virtualization architecture in which a Virtual Server instance can be dynamically moved to any host server, all host servers must have concurrent access to the VHD file. Sanbolic s Melio clustered file system is designed to provide multiple Windows servers with concurrent access to shared data on a Fibre Channel or iscsi SAN. By maintaining the.vhd files for all Virtual Servers on SAN storage and installing Melio file system on each host server, each physical host has concurrent access to all.vhd files. A Virtual Server 2005 instance can only be active on only one host at a time. Microsoft Clustering Services is typically used for high availability applications to failover application to a standby server when the primary server fails. It can also be used as a tool to migrate the state of a Virtual Server 2005 instance across physical hosts while the application remains active. Microsoft Clustering Services provides a central graphical interface for migrating virtual machines. Much of the complexity of typical failover configurations is removed when using Melio clustered file system since there is no need to move a storage resource between servers-- all hosts have concurrent access to the storage resource, so only the application needs to be moved. Although not described in detail in this paper, LaScala Volume manager can be used to virtualize storage access for Virtual Server 2005 when used with iscsi SAN storage. LaScala can manage large shared storage pool spanning several storage arrays and be used to centrally configure logical volumes which are assigned to servers using Windows ACLs in conjunction with Active Directory. Because Virtual Server 2005 can mount an external iscsi storage volume, LaScala enables a Virtual Server instance to automatically gain access to its application data volumes on the SAN after it moved across hosts. More detail can be found in http://www.sanbolic.com/pdfs/lascala_manual.pdf 1. Installation Requirements In order to successfully complete the clustering procedure, the following software and hardware requirements must be met (this paper describes a configuration with two physical hosts, but host environments of up to eight hosts can be configured as well): 1.1 OS requirements - Windows 2003 enterprise or datacenter edition 1.2 Software requirements Virtual Server 2005 R2, IIS 6, Melio FS and LaScala VM 1.3 MSCS fully functioning two-node cluster, configured with an appropriate quorum resource - http://technet2.microsoft.com/windowsserver/en/library/dba487bf-61b9-45afb927-e2333ec810b61033.mspx ] 1.4 Storage requirements access to shared storage by Fibre Channel, SCSI or iscsi 1.5 Network requirements at least 2 network adapters dedicated to network communication 1.6 Hardware requirements Two identical server computers listed in Windows Server Catalog - [ http://go.microsoft.com/fwlink/?linkid=4303 ] 1.7 Cluster script - [http://technet2.microsoft.com/windowsserver/en/library/1f146877-94a0-4e24-8324-0552fc1dbdf21033.mspx ] 3

2. Steps for configuring a simple Virtual Server host clustering 2.1. The storage should contain at least two separate volumes, that is, two separate logical unit numbers (LUNs). One volume will function as the quorum formatted with NTFS file system (Q:) (disk containing configuration information needed for the cluster), and one will contain the virtual disk for the guest and will be Melio FS formatted (X:). 2.2. Next step involves the proper configuration of a server cluster. After this setup is completed and you open the Cluster Administrator Console, you will comeup with a screen similar to the one below. Here MSCS-SANBOLIC is the name of the cluster; 2k3R2SRV1 and 2k3R2SRV2 are the names of its node members. 2.3. This step involve configuration of a shutdown script on each node. To do this, follow the steps: 4

2.3.1. Click Start, click Run, type gpedit.msc, and then press ENTER. 2.3.2. In the left pane, click Local Computer Policy, click Computer Configuration, click Windows Settings, and then click Scripts (Startup/Shutdown). In the right pane, double-click Shutdown. 2.3.3. In the Shutdown Properties dialog box,click Add. For the Script Name,type: c:\stop_clussvc_script.cmd and click OK 2.4. In Cluster Administrator, create a new resource group and name it Guest1Group. If you want to specify a Preferred Owner for the group, specify the node on which you want the guest to run most of the time. 5

2.5. Ensure that Guest1Group is online on a node. Then, on that node, use Explorer to create a folder on disk X: called \Guest1. 6

2.6. On each node's local disk, in the systemroot\cluster folder, copy the script called Havm.vbs 2.7. On the computer that contains the management tool for Virtual Server 2005 R2, click Start, click Programs or All Programs, click Microsoft Virtual Server, and then click Virtual Server Administration Website. View the clusternode that currently owns DiskResourceQ. In the navigation pane, under Virtual Networks, click Create. In Virtual network name, type ClusterNetwork. In Network adapter on physical computer, select the network adapter associated with the public network (not the private network) and then click OK. 2.8. In the navigation pane, under Virtual Networks, click Configure, and then click View All. Point to the virtual network you just created, and then click Edit Configuration. In the line labeled.vnc file, select the path, and then open a text editor such as Notepad and copy and paste the path into a file for later use. 7

2.9. Point to the virtual network you just created, and then click Remove. 2.10. On the cluster node on which you created the.vnc file, open Explorer, and then navigate to the path that you copied into a text file in step 4.3.8. Right-click ClusterNetwork.vnc, and then click Cut. 8

2.11. Navigate to X:\Guest1 and paste the.vnc file, ClusterNetwork.vnc 2.12. In the virtual Server Administration Website, under Virtual Networks, click Add. In the box next to Existing Configuration (.vnc) file, type: X:\Guest1\ClusterNetwork.vnc and click Add 2.13. In the navigation pane, under Virtual Machines, click Create. - In Virtual machine name, instead of simply typing the name, type the following path, which not only names thevirtual machine Guest1, but places the virtual machine's configuration file on the cluster storage:x:\guest1\guest1.vmc - In Memory, type a value in megabytes for the amount of RAM used by the virtual machine. If you plan to create other virtual machines on this physical host, be sure to use only part of the physical RAM forguest1. - In Virtual hard disk, select Create a new virtual hard disk. To set the size of the virtual hard disk, specify a value in Size, and then select either MB for megabytes or GB for gigabytes. This size must be smaller than or equal to the size of disk X:. - In Virtual network adapter, select ClusterNetwork. Click Create. 9

2.14. To complete the configuration of Guest1 so it can fail over Complete the previous procedures. - In Cluster Administrator, move Guest1Group to the other node (not the node on which you were working in the previous procedure). - For the cluster node on which Guest1Group is currently located, open the Virtual Server Administration Website. - In the navigation pane, under Virtual Networks, click Add. - In the box next to Existing configuration (.vnc) file type: X:\Guest1\ClusterNetwork.vnc Click Add. 2.15. In the navigation pane, under Virtual Machines, click Add. In Fully qualified path to file, type: X:\Guest1\Guest1.vmc Click Add. 10

2.16. On either cluster node, in Cluster Administrator, create a new script resource with the properties in the following list. Note: Do not bring this new resource online until you have completed step 4.17. Call it Guest1Script. Make it a Generic Script resource. Assign the resource to Guest1Group. For Possible Owners, make sure both cluster nodes are listed. For the Script filepath, specify the following, typing the percent character (%) as shown:%windir%\cluster\havm.vbs 11

2.17. With Guest1Script in the Offline state, on the same node as in the previous step, click Start, click Run, type the following command, and then press ENTER: cluster res "Guest1Script" /priv VirtualMachineName=Guest1 This command associates the Guest1Script resource with the guest named Guest1. 2.18. In Cluster Administrator, bring Guest1Group online. 12

2.19. After completing the configuration of Guest1 so it can fail over, you can install an operating system on Guest1. After installing the operating system, you must install Virtual Machine Additions on the guest. Virtual Machine Additions is included in Virtual Server 2005 R2. 13

If you have followed the above procedure step-by-step, you ll have a highly available clustered virtual machine. Using the Microsoft Clustering Services to Migrate Virtual Machines Provided that Virtual Machine Remote Control is configured, one can observe the process of Virtual Machine instance. Below is a screenshot taken form one of the cluster nodes. There are two Administrative Console instances connected each of the cluster nodes also a Cluster Administrator window opened. 14

Migrating virtual servers is as simple as moving a cluster group from one cluster node to another. The last step in the process of Virtual Machine migration is to check that it has been properly moved to the other node and the first owner of the VM Instance is off is now offloaded with the VM instance. 15

NOTES For the preparation of this guide, excerpts were used from a document called Virtual Server Host Clustering Step-by-Step Guide for Virtual Server 2005 R2. [ http://www.microsoft.com/downloads/details.aspx?familyid=09cc042b-154f-4eba-a548-89282d6eb1b3&displaylang=en ] For the proper installation and configuration of the required software below is a list of additional resources: LaScala Installation Guide http://www.sanbolic.com/pdfs/lascala_manual.pdf Melio FS Installation Guide http://www.sanbolic.com/pdfs/meliofs_installation_guide.pdf "Microsoft Virtual Server" on the Microsoft Web site http://go.microsoft.com/fwlink/?linkid=55574 "Using iscsi with Virtual Server 2005 R2" on the Microsoft Web site http://go.microsoft.com/fwlink/?linkid=55646 Windows Server Catalog http://go.microsoft.com/fwlink/?linkid=4303 "Setting up operating systems for virtual machines" on the Microsoft Web site http://go.microsoft.com/fwlink/?linkid=55573 "Quick Start Guide for Server Clusters" on the Microsoft Web site http://go.microsoft.com/fwlink/?linkid=55162 "Installing Virtual Server" on the Microsoft Web site http://go.microsoft.com/fwlink/?linkid=55163 Sanbolic Inc. 304 Pleasant Street, 2nd Floor Watertown, MA 02472 phone: 617 833 4249 fax: 617 926 2808 email: sales@sanbolic.com 16