SlideShare une entreprise Scribd logo
1  sur  16
Télécharger pour lire hors ligne
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-45af-
            b927-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 come-
          up 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 systemrootCluster 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:Guest1ClusterNetwork.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:Guest1Guest1.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:Guest1ClusterNetwork.vnc
        Click Add.




2.15. In the navigation pane, under Virtual Machines, click Add.
      In Fully qualified path to file, type:
      X:Guest1Guest1.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%ClusterHavm.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

Contenu connexe

Tendances

VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...webhostingguy
 
Microsoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewMicrosoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewaboobakar sanjar
 
Introduction to Threading in .Net
Introduction to Threading in .NetIntroduction to Threading in .Net
Introduction to Threading in .Netwebhostingguy
 
ovm3-server-pool-459310
ovm3-server-pool-459310ovm3-server-pool-459310
ovm3-server-pool-459310Enoch Antwi
 
What's New in Windows Server 2012 R2
What's New in Windows Server 2012 R2What's New in Windows Server 2012 R2
What's New in Windows Server 2012 R2Aidan Finn
 
Windows server 2012 R2 private cloud virtualization and storage
Windows server 2012 R2 private cloud virtualization and storageWindows server 2012 R2 private cloud virtualization and storage
Windows server 2012 R2 private cloud virtualization and storageSathishkumar A
 
Dell Acceleration Appliance for Databases 2.0 and Microsoft SQL Server 2014: ...
Dell Acceleration Appliance for Databases 2.0 and Microsoft SQL Server 2014: ...Dell Acceleration Appliance for Databases 2.0 and Microsoft SQL Server 2014: ...
Dell Acceleration Appliance for Databases 2.0 and Microsoft SQL Server 2014: ...Principled Technologies
 
Dell 3-2-1 Reference Configurations: High available and scalable performance ...
Dell 3-2-1 Reference Configurations: High available and scalable performance ...Dell 3-2-1 Reference Configurations: High available and scalable performance ...
Dell 3-2-1 Reference Configurations: High available and scalable performance ...Principled Technologies
 
TechMentor 2012: What's new in Windows Server 2012 and Hyper-V
TechMentor 2012: What's new in Windows Server 2012 and Hyper-VTechMentor 2012: What's new in Windows Server 2012 and Hyper-V
TechMentor 2012: What's new in Windows Server 2012 and Hyper-VHarold Wong
 
Diablo-MCS-with-SQL-Server-on-VSAN-WP
Diablo-MCS-with-SQL-Server-on-VSAN-WPDiablo-MCS-with-SQL-Server-on-VSAN-WP
Diablo-MCS-with-SQL-Server-on-VSAN-WPRicky Trigalo
 
Dell PowerEdge C6220: Performance for large infrastructures
Dell PowerEdge C6220: Performance for large infrastructuresDell PowerEdge C6220: Performance for large infrastructures
Dell PowerEdge C6220: Performance for large infrastructuresPrincipled Technologies
 
Consolidating database servers with Lenovo ThinkServer RD630
Consolidating database servers with Lenovo ThinkServer RD630Consolidating database servers with Lenovo ThinkServer RD630
Consolidating database servers with Lenovo ThinkServer RD630Principled Technologies
 
Qnap NAS TVS Serie x80plus-catalogo
Qnap NAS TVS Serie x80plus-catalogoQnap NAS TVS Serie x80plus-catalogo
Qnap NAS TVS Serie x80plus-catalogoFernando Barrientos
 
Database performance and memory capacity with the Intel Xeon processor E5-266...
Database performance and memory capacity with the Intel Xeon processor E5-266...Database performance and memory capacity with the Intel Xeon processor E5-266...
Database performance and memory capacity with the Intel Xeon processor E5-266...Principled Technologies
 
Resource balancing comparison: VMware vSphere 6 vs. Red Hat Enterprise Virtua...
Resource balancing comparison: VMware vSphere 6 vs. Red Hat Enterprise Virtua...Resource balancing comparison: VMware vSphere 6 vs. Red Hat Enterprise Virtua...
Resource balancing comparison: VMware vSphere 6 vs. Red Hat Enterprise Virtua...Principled Technologies
 
Server 2008 r2 ppt
Server 2008 r2 pptServer 2008 r2 ppt
Server 2008 r2 pptRaj Solanki
 
Ws 2012 white paper hyper v
Ws 2012 white paper hyper vWs 2012 white paper hyper v
Ws 2012 white paper hyper vNuno Alves
 

Tendances (19)

VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
 
Microsoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overviewMicrosoft Windows Server 2012 R2 Hyper V server overview
Microsoft Windows Server 2012 R2 Hyper V server overview
 
Introduction to Threading in .Net
Introduction to Threading in .NetIntroduction to Threading in .Net
Introduction to Threading in .Net
 
Veerendra_2016_V2
Veerendra_2016_V2Veerendra_2016_V2
Veerendra_2016_V2
 
ovm3-server-pool-459310
ovm3-server-pool-459310ovm3-server-pool-459310
ovm3-server-pool-459310
 
What's New in Windows Server 2012 R2
What's New in Windows Server 2012 R2What's New in Windows Server 2012 R2
What's New in Windows Server 2012 R2
 
Windows server 2012 R2 private cloud virtualization and storage
Windows server 2012 R2 private cloud virtualization and storageWindows server 2012 R2 private cloud virtualization and storage
Windows server 2012 R2 private cloud virtualization and storage
 
Dell Acceleration Appliance for Databases 2.0 and Microsoft SQL Server 2014: ...
Dell Acceleration Appliance for Databases 2.0 and Microsoft SQL Server 2014: ...Dell Acceleration Appliance for Databases 2.0 and Microsoft SQL Server 2014: ...
Dell Acceleration Appliance for Databases 2.0 and Microsoft SQL Server 2014: ...
 
Dell 3-2-1 Reference Configurations: High available and scalable performance ...
Dell 3-2-1 Reference Configurations: High available and scalable performance ...Dell 3-2-1 Reference Configurations: High available and scalable performance ...
Dell 3-2-1 Reference Configurations: High available and scalable performance ...
 
TechMentor 2012: What's new in Windows Server 2012 and Hyper-V
TechMentor 2012: What's new in Windows Server 2012 and Hyper-VTechMentor 2012: What's new in Windows Server 2012 and Hyper-V
TechMentor 2012: What's new in Windows Server 2012 and Hyper-V
 
Diablo-MCS-with-SQL-Server-on-VSAN-WP
Diablo-MCS-with-SQL-Server-on-VSAN-WPDiablo-MCS-with-SQL-Server-on-VSAN-WP
Diablo-MCS-with-SQL-Server-on-VSAN-WP
 
Dell PowerEdge C6220: Performance for large infrastructures
Dell PowerEdge C6220: Performance for large infrastructuresDell PowerEdge C6220: Performance for large infrastructures
Dell PowerEdge C6220: Performance for large infrastructures
 
Consolidating database servers with Lenovo ThinkServer RD630
Consolidating database servers with Lenovo ThinkServer RD630Consolidating database servers with Lenovo ThinkServer RD630
Consolidating database servers with Lenovo ThinkServer RD630
 
Qnap NAS TVS Serie x80plus-catalogo
Qnap NAS TVS Serie x80plus-catalogoQnap NAS TVS Serie x80plus-catalogo
Qnap NAS TVS Serie x80plus-catalogo
 
Database performance and memory capacity with the Intel Xeon processor E5-266...
Database performance and memory capacity with the Intel Xeon processor E5-266...Database performance and memory capacity with the Intel Xeon processor E5-266...
Database performance and memory capacity with the Intel Xeon processor E5-266...
 
Resource balancing comparison: VMware vSphere 6 vs. Red Hat Enterprise Virtua...
Resource balancing comparison: VMware vSphere 6 vs. Red Hat Enterprise Virtua...Resource balancing comparison: VMware vSphere 6 vs. Red Hat Enterprise Virtua...
Resource balancing comparison: VMware vSphere 6 vs. Red Hat Enterprise Virtua...
 
Server 2008 r2 ppt
Server 2008 r2 pptServer 2008 r2 ppt
Server 2008 r2 ppt
 
Del 1
Del 1Del 1
Del 1
 
Ws 2012 white paper hyper v
Ws 2012 white paper hyper vWs 2012 white paper hyper v
Ws 2012 white paper hyper v
 

Similaire à Installation Guide

Vsphere esxi-vcenter-server-601-setup-mscs
Vsphere esxi-vcenter-server-601-setup-mscsVsphere esxi-vcenter-server-601-setup-mscs
Vsphere esxi-vcenter-server-601-setup-mscskanth2161
 
Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Tũi Wichets
 
Vsphere esxi-vcenter-server-55-setup-mscs
Vsphere esxi-vcenter-server-55-setup-mscsVsphere esxi-vcenter-server-55-setup-mscs
Vsphere esxi-vcenter-server-55-setup-mscsDhymas Mahendra
 
Xen Cloud Platform Installation Guide
Xen Cloud Platform Installation GuideXen Cloud Platform Installation Guide
Xen Cloud Platform Installation GuideSusheel Thakur
 
Vmware documentação tecnica
Vmware documentação tecnicaVmware documentação tecnica
Vmware documentação tecnicaALEXANDRE MEDINA
 
Deployment Cookbook: Quick Migration with Virtual Server Host ...
Deployment Cookbook: Quick Migration with Virtual Server Host ...Deployment Cookbook: Quick Migration with Virtual Server Host ...
Deployment Cookbook: Quick Migration with Virtual Server Host ...webhostingguy
 
Log Analytics by VMware Log Insight
Log Analytics by VMware Log InsightLog Analytics by VMware Log Insight
Log Analytics by VMware Log InsightKiss Tibor
 
Power vault md32xxi deployment guide for v mware esx4.1 r2
Power vault md32xxi deployment guide for v mware esx4.1 r2Power vault md32xxi deployment guide for v mware esx4.1 r2
Power vault md32xxi deployment guide for v mware esx4.1 r2laurentgras
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISORVanika Kapoor
 
New Features For Your Software Defined Storage
New Features For Your Software Defined StorageNew Features For Your Software Defined Storage
New Features For Your Software Defined StorageDataCore Software
 
The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)Casey Bisson
 
VMworld 2014: Virtual SAN Architecture Deep Dive
VMworld 2014: Virtual SAN Architecture Deep DiveVMworld 2014: Virtual SAN Architecture Deep Dive
VMworld 2014: Virtual SAN Architecture Deep DiveVMworld
 
Keynote talk on Windows 8 - Jeff Stokes
Keynote talk on Windows 8 - Jeff StokesKeynote talk on Windows 8 - Jeff Stokes
Keynote talk on Windows 8 - Jeff StokesJeff Stokes
 
What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2Christopher Keyaert
 
Introducción a CloudStack
Introducción a CloudStackIntroducción a CloudStack
Introducción a CloudStackHollman Enciso
 

Similaire à Installation Guide (20)

Vsphere esxi-vcenter-server-601-setup-mscs
Vsphere esxi-vcenter-server-601-setup-mscsVsphere esxi-vcenter-server-601-setup-mscs
Vsphere esxi-vcenter-server-601-setup-mscs
 
Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture Windows server 2012 r2 Hyper-v Component architecture
Windows server 2012 r2 Hyper-v Component architecture
 
Windows Server 2003
Windows Server 2003Windows Server 2003
Windows Server 2003
 
Vsphere esxi-vcenter-server-55-setup-mscs
Vsphere esxi-vcenter-server-55-setup-mscsVsphere esxi-vcenter-server-55-setup-mscs
Vsphere esxi-vcenter-server-55-setup-mscs
 
Xen Cloud Platform Installation Guide
Xen Cloud Platform Installation GuideXen Cloud Platform Installation Guide
Xen Cloud Platform Installation Guide
 
Build Your 2008R2 2-Node Cluster
Build Your 2008R2 2-Node ClusterBuild Your 2008R2 2-Node Cluster
Build Your 2008R2 2-Node Cluster
 
Vmware documentação tecnica
Vmware documentação tecnicaVmware documentação tecnica
Vmware documentação tecnica
 
Deployment Cookbook: Quick Migration with Virtual Server Host ...
Deployment Cookbook: Quick Migration with Virtual Server Host ...Deployment Cookbook: Quick Migration with Virtual Server Host ...
Deployment Cookbook: Quick Migration with Virtual Server Host ...
 
Log Analytics by VMware Log Insight
Log Analytics by VMware Log InsightLog Analytics by VMware Log Insight
Log Analytics by VMware Log Insight
 
Power vault md32xxi deployment guide for v mware esx4.1 r2
Power vault md32xxi deployment guide for v mware esx4.1 r2Power vault md32xxi deployment guide for v mware esx4.1 r2
Power vault md32xxi deployment guide for v mware esx4.1 r2
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
 
Hyper v r2 deep dive
Hyper v r2 deep diveHyper v r2 deep dive
Hyper v r2 deep dive
 
New Features For Your Software Defined Storage
New Features For Your Software Defined StorageNew Features For Your Software Defined Storage
New Features For Your Software Defined Storage
 
The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)The Lies We Tell Our Code (#seascale 2015 04-22)
The Lies We Tell Our Code (#seascale 2015 04-22)
 
VMworld 2014: Virtual SAN Architecture Deep Dive
VMworld 2014: Virtual SAN Architecture Deep DiveVMworld 2014: Virtual SAN Architecture Deep Dive
VMworld 2014: Virtual SAN Architecture Deep Dive
 
Keynote talk on Windows 8 - Jeff Stokes
Keynote talk on Windows 8 - Jeff StokesKeynote talk on Windows 8 - Jeff Stokes
Keynote talk on Windows 8 - Jeff Stokes
 
Azure sharepointsql
Azure sharepointsqlAzure sharepointsql
Azure sharepointsql
 
What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2What's new in Windows Server 2012 R2
What's new in Windows Server 2012 R2
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Introducción a CloudStack
Introducción a CloudStackIntroducción a CloudStack
Introducción a CloudStack
 

Plus de webhostingguy

Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Frameworkwebhostingguy
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guidewebhostingguy
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3webhostingguy
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serverswebhostingguy
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidationwebhostingguy
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreementwebhostingguy
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...webhostingguy
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...webhostingguy
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructurewebhostingguy
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.pptwebhostingguy
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy webhostingguy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandiserswebhostingguy
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Productswebhostingguy
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mbwebhostingguy
 

Plus de webhostingguy (20)

File Upload
File UploadFile Upload
File Upload
 
Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Framework
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guide
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web servers
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidation
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreement
 
Notes8
Notes8Notes8
Notes8
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructure
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.ppt
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandisers
 
OLUG_xen.ppt
OLUG_xen.pptOLUG_xen.ppt
OLUG_xen.ppt
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Products
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mb
 
Reseller's Guide
Reseller's GuideReseller's Guide
Reseller's Guide
 

Installation Guide

  • 1. 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
  • 2. 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
  • 3. 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-45af- b927-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
  • 4. 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 come- up 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
  • 5. 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
  • 6. 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
  • 7. 2.6. On each node's local disk, in the systemrootCluster 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
  • 8. 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
  • 9. 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:Guest1ClusterNetwork.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:Guest1Guest1.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
  • 10. 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:Guest1ClusterNetwork.vnc Click Add. 2.15. In the navigation pane, under Virtual Machines, click Add. In Fully qualified path to file, type: X:Guest1Guest1.vmc Click Add. 10
  • 11. 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%ClusterHavm.vbs 11
  • 12. 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
  • 13. 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
  • 14. 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
  • 15. 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
  • 16. 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