This document provides a step-by-step guide for configuring Virtual Server host clustering with Virtual Server 2005 R2. It describes a simple scenario using a two-node cluster with one guest operating system. The scenario establishes dependencies between clustered resources like physical disks and scripts to ensure smooth failover of the guest. Prerequisites include qualified server hardware listed in the Windows Server Catalog and shared storage accessible to both nodes.
The document provides a step-by-step guide for configuring Virtual Server host clustering using Virtual Server 2005 R2 and Windows Server 2003 clustering, describing a simple scenario with two physical servers, one guest operating system, shared storage, and a script to ensure smooth failover of the guest between servers. Virtual Server host clustering allows consolidating servers onto fewer physical hosts while maintaining high availability through automatic failover of virtual machines between nodes if a host fails.
Introduction to failover clustering with sql serverEduardo Castro
In this presentation we review the basic requirements to install a SQL Server Failover Cluster.
Regards,
Eduardo Castro Martinez
http://ecastrom.blogspot.com
http://comunidadwindows.org
- The document discusses the basics of Windows clustering and quorum models. It defines what clustering is and why it is used for high availability of critical applications.
- It covers the differences between Windows 2008 and 2012 clustering capabilities. Windows 2012 supports more nodes, built-in iSCSI, and file/storage services.
- Common clustering terms are defined like active/passive, heartbeat network, shared disks, quorum, cluster resources, and groups.
- Quorum configuration options are reviewed including typical settings, adding witnesses, and advanced configurations. Quorum helps ensure only one cluster remains active if communication is lost.
The document provides instructions on installing and configuring Provisioning Services. It discusses determining installation options, key components, integrating with Active Directory, preparing target devices, and supported operating systems, hypervisors, and databases. The summary includes an overview of Provisioning Services technology and components, farm and site design considerations, and the configuration steps to complete a Provisioning Services installation.
This document discusses SQL Server 2000 clustering technologies. It provides an overview of clustering concepts, Windows 2000 cluster technologies, how SQL Server 2000 supports clustering for high availability and failover. It also discusses best practices and resources for implementing SQL Server clustering.
This document provides an overview and introduction to virtual storage concepts in VMware vSphere, including NFS, iSCSI, VMFS, and Virtual SAN datastores. It discusses storage protocols, multipathing, and best practices for configuring and managing different types of datastores. The document is divided into several sections covering storage concepts, iSCSI, NFS, VMFS, and Virtual SAN datastores.
The document provides a step-by-step guide for configuring Virtual Server host clustering using Virtual Server 2005 R2 and Windows Server 2003 clustering, describing a simple scenario with two physical servers, one guest operating system, shared storage, and a script to ensure smooth failover of the guest between servers. Virtual Server host clustering allows consolidating servers onto fewer physical hosts while maintaining high availability through automatic failover of virtual machines between nodes if a host fails.
Introduction to failover clustering with sql serverEduardo Castro
In this presentation we review the basic requirements to install a SQL Server Failover Cluster.
Regards,
Eduardo Castro Martinez
http://ecastrom.blogspot.com
http://comunidadwindows.org
- The document discusses the basics of Windows clustering and quorum models. It defines what clustering is and why it is used for high availability of critical applications.
- It covers the differences between Windows 2008 and 2012 clustering capabilities. Windows 2012 supports more nodes, built-in iSCSI, and file/storage services.
- Common clustering terms are defined like active/passive, heartbeat network, shared disks, quorum, cluster resources, and groups.
- Quorum configuration options are reviewed including typical settings, adding witnesses, and advanced configurations. Quorum helps ensure only one cluster remains active if communication is lost.
The document provides instructions on installing and configuring Provisioning Services. It discusses determining installation options, key components, integrating with Active Directory, preparing target devices, and supported operating systems, hypervisors, and databases. The summary includes an overview of Provisioning Services technology and components, farm and site design considerations, and the configuration steps to complete a Provisioning Services installation.
This document discusses SQL Server 2000 clustering technologies. It provides an overview of clustering concepts, Windows 2000 cluster technologies, how SQL Server 2000 supports clustering for high availability and failover. It also discusses best practices and resources for implementing SQL Server clustering.
This document provides an overview and introduction to virtual storage concepts in VMware vSphere, including NFS, iSCSI, VMFS, and Virtual SAN datastores. It discusses storage protocols, multipathing, and best practices for configuring and managing different types of datastores. The document is divided into several sections covering storage concepts, iSCSI, NFS, VMFS, and Virtual SAN datastores.
The document provides an introduction to VMware vSphere distributed switches. It lists the benefits of distributed switches over standard switches, describes the distributed switch architecture, and discusses how to create, manage, and configure distributed switches and their properties. It also covers topics like distributed port groups, VMkernel networking, NetFlow, private VLANs, and troubleshooting distributed switch issues.
Virtualization Forum 2015, Praha, 7.10.2015
sál VMware
Jestliže SlideShare nezobrazí prezentaci korektně, můžete si ji stáhnout ve formátu .ppsx nebo .pdf.
This document provides instructions for setting up different types of Microsoft Cluster Service (MSCS) clusters in a VMware vSphere environment, including:
1) Clustering virtual machines on a single physical host to protect against OS and application failures.
2) Clustering virtual machines across physical hosts to protect against both software and hardware failures, which requires shared storage on a Fibre Channel SAN.
3) Clustering physical machines with virtual machines by having standby virtual machines on a single host that can take over for physical machines in the case of hardware failure.
Whats New in Apache CloudStack Version 4.5ShapeBlue
The document summarizes the new features in Apache CloudStack 4.5, including integration with external DNS providers, a Nuage VSP network plugin, vGPU enhancements, SAML 2.0 integration, support for Linux containers on RHEL 7, MySQL 5.6 and XenServer 6.5 support, improved VM sync for vSphere, enhanced SolidFire integration, domain/account/user sync among multiple regions, and improved CloudByte storage plugin.
This document discusses Hypervisor and Nova in OpenStack. It begins by defining virtualization as creating virtual versions of hardware resources. It then defines a hypervisor as a program that allows multiple operating systems to share hardware. There are two main types of hypervisors: Type 1 runs directly on hardware, while Type 2 runs as an application on an existing OS.
It goes on to describe Nova as the OpenStack component responsible for controlling the IaaS cloud computing platform, similar to Amazon EC2. Nova is not virtualization software itself but rather written in Python to interface with underlying virtualization technologies. It discusses the Nova API for creating VMs and how Nova interacts with components like the Nova conductor, scheduler, and compute to support various hyper
Hypervisor Selection in Apache CloudStack 4.4Tim Mackey
Building an infrastructure as a service cloud involves a number of technology decisions, many of which could have unforeseen impact. Hypervisors form the core of an IaaS cloud, and whether you are a fan of Microsoft Hyper-V, VMware vSphere, KVM in any Linux variant or XenServer from Citrix, each of these hypervisors provide unique capabilities within an Apache CloudStack 4.4 based cloud.
vSAN provides software-defined storage that pools server storage resources and delivers them as a shared datastore for VMs. It integrates deeply with VMware stacks for simplified management and supports a variety of use cases. vSAN leverages new hardware technologies to provide high performance at low cost through space efficiency techniques and storage policies that control availability, capacity reservation, and QoS.
Using Microsoft Virtualization Technologies: Today and ...webhostingguy
The document provides an overview and agenda for a seminar on using Microsoft virtualization technologies. It discusses topics like virtualization concepts and usage scenarios, licensing and support, architecture and future plans, operations, and management. The presenter is introduced and their background and consulting services are described.
SteelEye is a high availability and disaster recovery solution that has been optimized for x86, virtualization, and cloud environments. It supports various Linux distributions and configurations including 1:1, N:1, and DR. It ensures business continuity through automated failover and efficient block-level data replication. The solution provides intuitive wizards and a GUI for easy installation, configuration, and management of HA failover, data replication, and DR from a single solution.
The document summarizes a company's experience migrating from vSphere 4.1 to 5.0. Key aspects of the migration included upgrading ESXi and vCenter licenses, performing a new vCenter installation with vCenter Heartbeat for high availability, migrating VMs between ESXi hosts using a "shuttle" host, and implementing post-migration tasks like applying updates and permissions. The migration addressed challenges like multiple environments and sites, production uptime needs, and ensuring a highly available vCenter.
Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...SolidQ
http://summit.solidq.com
En esta sesión veremos problemas y soluciones a la hora de escalar arquitecturas muy exigentes. Veremos opciones para segmentar lecturas-escrituras con Replicación y AlwaysON, utilizar sistemas de cacheo con AppFabric Cache y/o Azure Cache, entornos híbridos para liberar carga con Azure. Orientaremos la sesión para que el asistente entienda las alternativas que hay y sus pros y contras de cara a su evaluación.
Successfully Deliver and Operate OpenStack in Production with VMware VIOArraya Solutions
This document discusses VMware's approach to integrating their virtualization technologies with OpenStack. It emphasizes that VMware contributes to OpenStack projects while also competing to make VMware the best platform for running OpenStack. Specifically, it promotes using vSphere for compute (Nova), NSX for networking (Neutron), and vSAN for block storage (Cinder), arguing these provide the best features for reliability, ease-of-use, and management. It also describes how VMware technologies can help simplify and improve OpenStack operations through tools like vCenter and vCOps.
VMware - Virtual SAN - IT Changes EverythingVMUG IT
Virtual SAN is a hyper-converged storage platform that is built into the ESXi hypervisor. It aggregates locally attached flash and disk drives from each ESXi host in a cluster to provide a shared datastore. Virtual SAN provides dynamic capacity and performance scaling. It utilizes storage policies to provide per-VM storage service levels from the single shared datastore. Virtual SAN simplifies storage management by automating control of storage capacity, performance, and availability based on application needs.
WSO2 Product Release Webinar Introducing the WSO2 Message BrokerWSO2
WSO2 held a webinar about releasing version 2.1.0 of their Message Broker product. The webinar covered messaging and scalable messaging systems, distributed message brokers and WSO2 MB's architecture using a distributed publish/subscribe and queues architecture. It also provided an overview of how WSO2 MB implements distributed queues and publish/subscribe using Apache Cassandra for scalable storage and Apache Zookeeper for coordination. Finally, it discussed integrating WSO2 MB with other WSO2 products and provided a user story example.
The document provides an agenda and overview for a seminar on using Microsoft virtualization technologies. It discusses topics like virtualization concepts and usage scenarios, licensing and support, architecture and future plans, operations, and management. The seminar is scheduled from 9:30-16:30 over four sessions with breaks, and will be presented by Ronald Beekelaar, a Microsoft MVP for virtual machine technology.
VMworld 2015: Virtual Volumes Technical Deep DiveVMworld
This document provides a technical deep dive on virtual volumes. It begins with an overview of the challenges with today's LUN-centric storage architectures, such as complex provisioning, wasted resources, and lack of granular control. It then introduces an application-centric model using virtual volumes that provides dynamic storage service levels, fine-grained control at the VM level, and common management across arrays. The rest of the document details the management plane, data plane, consumption model using storage policy-based management, virtual machine lifecycles, snapshots, and offloading operations with virtual volumes.
VMware Integrated OpenStack (VIO) 3.0 provides an enterprise solution for OpenStack that leverages VMware's data center technologies. VIO 3.0 is based on the latest OpenStack Mitaka release and features a more compact control plane architecture. It allows existing vSphere workloads to be imported and managed through OpenStack APIs. Troubleshooting tools like vRealize Log Insight and vRealize Operations Manager provide visibility into the OpenStack and NSX environments through dedicated content packs.
Windows Server 2008 introduces a new native virtualization platform called Hyper-V. Hyper-V utilizes hardware-assisted virtualization and provides strong isolation between virtual machines and the host operating system. Microsoft also offers System Center virtualization management products that provide centralized management and monitoring of virtual machines. While virtualization adoption remains relatively low, Microsoft estimates around 17% of servers will be virtualized by 2010, representing significant growth and opportunity in the virtualization market.
This document provides an introduction to accessing databases using JDBC and MySQL. It discusses how JDBC allows Java programs to connect to and query databases in a vendor-neutral way. It also describes how to install and start the MySQL database server and client programs. It provides examples of connecting to MySQL via JDBC, selecting databases, viewing table schemas, running queries, and creating, dropping, and manipulating tables.
The document provides an introduction to VMware vSphere distributed switches. It lists the benefits of distributed switches over standard switches, describes the distributed switch architecture, and discusses how to create, manage, and configure distributed switches and their properties. It also covers topics like distributed port groups, VMkernel networking, NetFlow, private VLANs, and troubleshooting distributed switch issues.
Virtualization Forum 2015, Praha, 7.10.2015
sál VMware
Jestliže SlideShare nezobrazí prezentaci korektně, můžete si ji stáhnout ve formátu .ppsx nebo .pdf.
This document provides instructions for setting up different types of Microsoft Cluster Service (MSCS) clusters in a VMware vSphere environment, including:
1) Clustering virtual machines on a single physical host to protect against OS and application failures.
2) Clustering virtual machines across physical hosts to protect against both software and hardware failures, which requires shared storage on a Fibre Channel SAN.
3) Clustering physical machines with virtual machines by having standby virtual machines on a single host that can take over for physical machines in the case of hardware failure.
Whats New in Apache CloudStack Version 4.5ShapeBlue
The document summarizes the new features in Apache CloudStack 4.5, including integration with external DNS providers, a Nuage VSP network plugin, vGPU enhancements, SAML 2.0 integration, support for Linux containers on RHEL 7, MySQL 5.6 and XenServer 6.5 support, improved VM sync for vSphere, enhanced SolidFire integration, domain/account/user sync among multiple regions, and improved CloudByte storage plugin.
This document discusses Hypervisor and Nova in OpenStack. It begins by defining virtualization as creating virtual versions of hardware resources. It then defines a hypervisor as a program that allows multiple operating systems to share hardware. There are two main types of hypervisors: Type 1 runs directly on hardware, while Type 2 runs as an application on an existing OS.
It goes on to describe Nova as the OpenStack component responsible for controlling the IaaS cloud computing platform, similar to Amazon EC2. Nova is not virtualization software itself but rather written in Python to interface with underlying virtualization technologies. It discusses the Nova API for creating VMs and how Nova interacts with components like the Nova conductor, scheduler, and compute to support various hyper
Hypervisor Selection in Apache CloudStack 4.4Tim Mackey
Building an infrastructure as a service cloud involves a number of technology decisions, many of which could have unforeseen impact. Hypervisors form the core of an IaaS cloud, and whether you are a fan of Microsoft Hyper-V, VMware vSphere, KVM in any Linux variant or XenServer from Citrix, each of these hypervisors provide unique capabilities within an Apache CloudStack 4.4 based cloud.
vSAN provides software-defined storage that pools server storage resources and delivers them as a shared datastore for VMs. It integrates deeply with VMware stacks for simplified management and supports a variety of use cases. vSAN leverages new hardware technologies to provide high performance at low cost through space efficiency techniques and storage policies that control availability, capacity reservation, and QoS.
Using Microsoft Virtualization Technologies: Today and ...webhostingguy
The document provides an overview and agenda for a seminar on using Microsoft virtualization technologies. It discusses topics like virtualization concepts and usage scenarios, licensing and support, architecture and future plans, operations, and management. The presenter is introduced and their background and consulting services are described.
SteelEye is a high availability and disaster recovery solution that has been optimized for x86, virtualization, and cloud environments. It supports various Linux distributions and configurations including 1:1, N:1, and DR. It ensures business continuity through automated failover and efficient block-level data replication. The solution provides intuitive wizards and a GUI for easy installation, configuration, and management of HA failover, data replication, and DR from a single solution.
The document summarizes a company's experience migrating from vSphere 4.1 to 5.0. Key aspects of the migration included upgrading ESXi and vCenter licenses, performing a new vCenter installation with vCenter Heartbeat for high availability, migrating VMs between ESXi hosts using a "shuttle" host, and implementing post-migration tasks like applying updates and permissions. The migration addressed challenges like multiple environments and sites, production uptime needs, and ensuring a highly available vCenter.
Escalabilidad horizontal y Arquitecturas elásticas en Windows Azure | SolidQ ...SolidQ
http://summit.solidq.com
En esta sesión veremos problemas y soluciones a la hora de escalar arquitecturas muy exigentes. Veremos opciones para segmentar lecturas-escrituras con Replicación y AlwaysON, utilizar sistemas de cacheo con AppFabric Cache y/o Azure Cache, entornos híbridos para liberar carga con Azure. Orientaremos la sesión para que el asistente entienda las alternativas que hay y sus pros y contras de cara a su evaluación.
Successfully Deliver and Operate OpenStack in Production with VMware VIOArraya Solutions
This document discusses VMware's approach to integrating their virtualization technologies with OpenStack. It emphasizes that VMware contributes to OpenStack projects while also competing to make VMware the best platform for running OpenStack. Specifically, it promotes using vSphere for compute (Nova), NSX for networking (Neutron), and vSAN for block storage (Cinder), arguing these provide the best features for reliability, ease-of-use, and management. It also describes how VMware technologies can help simplify and improve OpenStack operations through tools like vCenter and vCOps.
VMware - Virtual SAN - IT Changes EverythingVMUG IT
Virtual SAN is a hyper-converged storage platform that is built into the ESXi hypervisor. It aggregates locally attached flash and disk drives from each ESXi host in a cluster to provide a shared datastore. Virtual SAN provides dynamic capacity and performance scaling. It utilizes storage policies to provide per-VM storage service levels from the single shared datastore. Virtual SAN simplifies storage management by automating control of storage capacity, performance, and availability based on application needs.
WSO2 Product Release Webinar Introducing the WSO2 Message BrokerWSO2
WSO2 held a webinar about releasing version 2.1.0 of their Message Broker product. The webinar covered messaging and scalable messaging systems, distributed message brokers and WSO2 MB's architecture using a distributed publish/subscribe and queues architecture. It also provided an overview of how WSO2 MB implements distributed queues and publish/subscribe using Apache Cassandra for scalable storage and Apache Zookeeper for coordination. Finally, it discussed integrating WSO2 MB with other WSO2 products and provided a user story example.
The document provides an agenda and overview for a seminar on using Microsoft virtualization technologies. It discusses topics like virtualization concepts and usage scenarios, licensing and support, architecture and future plans, operations, and management. The seminar is scheduled from 9:30-16:30 over four sessions with breaks, and will be presented by Ronald Beekelaar, a Microsoft MVP for virtual machine technology.
VMworld 2015: Virtual Volumes Technical Deep DiveVMworld
This document provides a technical deep dive on virtual volumes. It begins with an overview of the challenges with today's LUN-centric storage architectures, such as complex provisioning, wasted resources, and lack of granular control. It then introduces an application-centric model using virtual volumes that provides dynamic storage service levels, fine-grained control at the VM level, and common management across arrays. The rest of the document details the management plane, data plane, consumption model using storage policy-based management, virtual machine lifecycles, snapshots, and offloading operations with virtual volumes.
VMware Integrated OpenStack (VIO) 3.0 provides an enterprise solution for OpenStack that leverages VMware's data center technologies. VIO 3.0 is based on the latest OpenStack Mitaka release and features a more compact control plane architecture. It allows existing vSphere workloads to be imported and managed through OpenStack APIs. Troubleshooting tools like vRealize Log Insight and vRealize Operations Manager provide visibility into the OpenStack and NSX environments through dedicated content packs.
Windows Server 2008 introduces a new native virtualization platform called Hyper-V. Hyper-V utilizes hardware-assisted virtualization and provides strong isolation between virtual machines and the host operating system. Microsoft also offers System Center virtualization management products that provide centralized management and monitoring of virtual machines. While virtualization adoption remains relatively low, Microsoft estimates around 17% of servers will be virtualized by 2010, representing significant growth and opportunity in the virtualization market.
This document provides an introduction to accessing databases using JDBC and MySQL. It discusses how JDBC allows Java programs to connect to and query databases in a vendor-neutral way. It also describes how to install and start the MySQL database server and client programs. It provides examples of connecting to MySQL via JDBC, selecting databases, viewing table schemas, running queries, and creating, dropping, and manipulating tables.
1. The document discusses the evolution of business models for IT infrastructure from proprietary systems within individual companies to more open standards and shared infrastructure leveraging the internet.
2. It describes new service models like client-server computing, web services, and on-demand/utility computing which allow flexible provisioning of computing resources on a needs basis.
3. Managing diverse IT infrastructures requires considerations around outsourcing non-core functions, developing service level agreements, managing legacy systems, and aligning infrastructure capabilities to business strategy through appropriate investment.
MySQL replication allows data changes on a master server to be replicated to one or more slave servers. It uses binary logging to track updates on the master and replicate them to slaves asynchronously. MySQL partitioning allows tables to be split across multiple files or storage nodes, improving performance by allowing partition pruning to avoid scanning partitions that don't satisfy queries. MySQL Cluster provides high availability through its shared-nothing architecture and stores all data in RAM for fast access, distributing data horizontally across storage nodes.
Know Your Enemy: Behind the Scenes of Malicious Web Serverswebhostingguy
The document discusses web exploitation kits, which are tools that allow attackers to gain control of client machines through drive-by downloads from malicious web servers. It analyzes three popular kits - WebAttacker, MPack, and IcePack - to answer questions from a previous study of malicious web servers. The document finds that (1) IP tracking functionality in the kits explains why servers sometimes stop showing malicious behavior, (2) multiple browsers are targeted through exploits of plugins, and (3) obfuscation is commonly used to generate attack code and evade detection.
While many petroleum distributors struggle with how to make their web presence generate profits, we use Balanced Scorecard methods to drive measurable results. Use intelligent marketing concepts to drive more business. Here is a marketing strategy map example for Share of Wallet.
Deployment Cookbook: Quick Migration with Virtual Server Host ...webhostingguy
This document provides instructions for configuring a quick migration of workloads between two physical servers using Microsoft Virtual Server 2005 R2 and Windows Server 2003 clustering. It involves setting up a two node server cluster and creating a Virtual Server host cluster with one guest operating system. This allows services to continue running when one of the physical servers needs to be taken offline for maintenance, by migrating the virtual machines to the other server.
Sql server 2019 New Features by Yevhen NedaskivskyiAlex Tumanoff
SQL Server 2019 introduces several new high availability and disaster recovery features such as support for up to 5 synchronous replicas in an Always On availability group and improved connection redirection capabilities. It also enhances PolyBase integration and provides new options for certificate management across instances. Additional new features include support for persistent memory, columnstore index improvements, and resumable online index operations.
Virtualization can help reduce costs, increase business continuity, and create a more agile database infrastructure. It allows consolidating physical servers onto fewer virtual servers to reduce hardware, software, and operational costs. Virtualization also makes it easier to implement high availability strategies to ensure business continuity and minimize planned and unplanned downtime. Additionally, virtualization increases agility by enabling simpler and faster deployment of database servers as well as dynamic scaling of resources based on business needs.
Virtualization can help reduce costs, increase business continuity, and create a more agile database infrastructure. It allows consolidating physical servers onto fewer virtual servers to reduce hardware, software, and operational costs. Virtualization also makes it easier to implement high availability solutions and reduce planned downtime. Additionally, virtualization increases agility by enabling simpler and faster deployment of database servers as well as dynamic scaling of resources based on business needs.
Microsoft Virtual Server 2005 R2 is a server virtualization product that provides the following key benefits:
1) It allows efficient use of hardware resources through virtualization and features like improved performance, greater scalability with 64-bit host support, iSCSI support, and host clustering support.
2) It offers the best supported server virtualization solution with features like Windows server guest optimization, broad guest OS compatibility, and resource management policies.
3) It enhances administrator productivity and responsiveness by enabling automated deployment and configuration of virtual machines, and allowing virtual machines to be managed using existing server management tools.
Virtualization allows multiple operating systems to run on a single hardware system by abstracting the physical hardware resources. It involves separating resources from the underlying hardware or operating system using a hypervisor. The main types of virtualization are server, desktop, application, network, and storage virtualization. Hypervisors manage the virtual machines and come in two types - native/bare-metal hypervisors that run directly on hardware and hosted hypervisors that run within a traditional operating system. Virtualization provides advantages like efficient hardware utilization, increased availability, easier disaster recovery, and energy savings. Popular virtualization software includes Microsoft Hyper-V, VMware Workstation, VirtualBox, and OpenStack.
This document provides guidance on setting up Microsoft Cluster Service (MSCS) clusters in vSphere environments. It describes clustering configurations like clustering VMs on a single host, across multiple hosts, and with physical machines. Hardware and software requirements are outlined for networking, storage, and supported guest operating systems. Setup instructions and a checklist are provided for implementing MSCS clusters in vSphere.
This document provides instructions for creating a two-node server cluster using Windows Server 2003. Key steps include installing Windows Server 2003 on each node, setting up two network adapters per node on separate subnets for public and private communication, configuring shared storage accessible by both nodes, and installing the Cluster Service software while ensuring only one node has access to shared storage at a time. The document outlines hardware and software requirements and provides a checklist to prepare for cluster installation and configuration.
Microsoft Virtual Server 2005 R2 is a server virtualization technology that allows efficient use of hardware resources and increased administrator productivity. It enables organizations to consolidate server workloads, automate software testing, and rapidly deploy new servers. Virtual Server 2005 R2 supports virtual machine clustering for high availability and integrates with Microsoft management tools for easy administration and migration of virtual machines.
Global Azure Bootcamp: Azure service fabric Luis Valencia
This document provides an overview of microservices and Azure Service Fabric. It discusses how Service Fabric is well-suited for microservices architectures and describes some of its key concepts, including services, applications, nodes, and clusters. It also covers developing Service Fabric applications, deploying to Azure, and performing upgrades.
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWSAmazon Web Services
• Deploy the virtual network infrastructure on multiple subnets
• Launch Amazon Machine Images (AMIs) of Windows Server 2008 R2
• Set up Active Directory and DNS • Launch and configure the WSFC nodes
• Create a SQL Server AlwaysOn Availability Group Who should attend:
• IT Executives, Developers, DBAs, Solutions Architects, Systems Engineers
• Network and Database Professionals and Leaders
This document provides an overview of Azure Virtual Machines including:
- Launching Windows and Linux VMs in minutes and scaling from 1 to 1000s of instances with per-minute billing.
- A gallery of prebuilt images for workloads like SQL Server, SharePoint, and SAP HANA.
- VM sizes that range from shared core/768MB RAM to 16 cores/112GB RAM.
- Features like extensions, disks, availability sets, load balancing, and cross-premises connectivity.
- Disaster recovery options like replication to secondary sites and orchestrated failover to Azure.
AWS Webcast - Implementing Windows and SQL Server with High Availability on AWSAmazon Web Services
Please join us as an AWS Solution Architect discusses high availability features for Microsoft Windows Server and SQL Server running on the AWS Cloud. Windows Server Failover Clustering (WSFC) and SQL AlwaysOn Availability Groups are part of the underpinnings for many enterprise-class solutions, including Microsoft SharePoint and .NET applications. This webinar is designed for a technical audience.
In this webinar you will learn to:
• Deploy the virtual network infrastructure on multiple subnets
• Launch Amazon Machine Images (AMIs) of Windows Server 2008 R2
• Set up Active Directory and DNS
• Launch and configure the WSFC nodes
• Create a SQL Server AlwaysOn Availability Group
Who should review:
• IT Executives, Developers, DBAs, Solutions Architects, Systems Engineers • Network and Database Professionals and Leaders
VMWARE Professionals - Availability and ResiliencyPaulo Freitas
This document provides an overview and comparison of virtualization capabilities between Microsoft Hyper-V and VMware vSphere. It outlines key hypervisor, management, networking, storage, availability, migration and disk formatting features. The document compares terminology and functionality between the two platforms across these areas to help identify similarities and differences.
This document provides an overview of SQL Server clustering. SQL Server clustering uses Microsoft clustering services (MSCS) to set up a highly available Windows cluster for mission critical databases. There are two main failover configurations - active/passive where only one node is active and active/active where both nodes are active. The top three challenges to implementing a cluster are managing CPU, memory, and disk resources to allow for failover without degrading performance. Proper planning and design is important to ensure a smooth clustered SQL Server environment.
Effective Usage of SQL Server 2005 Database Mirroringwebhostingguy
The document discusses SQL Server 2005 database mirroring, including concepts like principal and mirror databases, transaction safety levels, and how it provides high availability and redundancy compared to other SQL Server features like failover clustering and log shipping. It also provides best practices for configuring and monitoring database mirroring for mission critical databases.
AWS Webcast - Implementing Windows and SQL Server for High Availability on AWS Amazon Web Services
This webinar is on high availability features for Microsoft Windows Server and SQL Server running on the AWS Cloud. Windows Server Failover Clustering (WSFC) and SQL AlwaysOn Availability Groups are part of the underpinnings for many enterprise-class solutions, including Microsoft SharePoint and .NET applications.
This document provides an overview of Azure Virtual Machines, including how to provision VMs, available VM sizes and pricing, data persistence options, high availability features, networking capabilities, and load balancing options. Key points include being able to launch Windows and Linux VMs in minutes and scale from 1 to 1000s of instances with per-minute billing. VM extensions enable customization, and VMs can be made highly available through features like availability sets and fault domains. Virtual networks allow creating protected private networks in Azure that can connect to on-premises environments.
Streamline operations with new and updated VMware vSphere 8.0 features on 16t...Principled Technologies
By using the latest software and Dell PowerEdge servers in your VMware vSphere environment, you can provide your data center administrators with new or updated tools that simplify routine tasks in both initial host setup and ongoing monitoring. In our exploration of the latest features in vSphere 8.0 Lifecycle Manager, we found that vSphere 8.0 on latest-gen Dell PowerEdge servers offers advantages compared to the previous generation, which may make an infrastructure update worth your while. By introducing vSphere Configuration Profiles and providing simpler image updates to vSphere clusters, VMware vSphere 8.0 on latest-generation Dell PowerEdge servers can help streamline operations for your administrative staff.
Server virtualization is a technology for partitioning one physical server into multiple virtual servers. Each of these virtual servers can run its own operating system and applications, and perform as if it is an individual server. This makes it possible, for example, to complete development using various operating systems on one physical server or to consolidate servers used by multiple business divisions.
Similar to Virtual Server Host Clustering Step-by- Step Guide for ... (20)
1) File uploads in PHP require configuring php.ini settings like enabling file uploads and setting temporary storage directories with correct permissions.
2) Forms for file uploads need to use POST with multipart/form-data encoding and include file input fields and hidden fields.
3) PHP stores uploaded files in the $_FILES array, including the temporary filename, size, type, and original name, which can then be processed and moved to a permanent location.
Running and Developing Tests with the Apache::Test Frameworkwebhostingguy
The Apache::Test framework allows running and developing tests for Apache modules and products. Key features include:
- Running existing tests through the t/TEST program
- Setting up a new testing environment by installing Apache::Test and generating a Makefile
- Developing new tests by writing Perl scripts that use Apache::Test functions and assert results
- Options for running tests individually, repeatedly without restarts, or in parallel on different ports
This document provides instructions on installing and configuring memcached to improve the performance and scalability of MySQL. Memcached is installed using package managers or by compiling from source. It is configured to listen on ports and interfaces, allocate memory, and set thread counts. The typical usage involves applications loading data from MySQL into memcached for faster retrieval, with MySQL as the backing store if data is not found in the cache.
The document discusses Novell iChain, a solution for securing web applications and servers. It provides single sign-on, encrypts data as it passes through proxies, and removes direct access to web servers. It authenticates users through LDAP or certificates and authorizes access through rules stored in eDirectory. This simplifies management and security across multiple web server platforms and applications.
Load-balancing web servers Load-balancing web serverswebhostingguy
The document discusses different approaches to load balancing web servers to address issues like scaling performance, tolerating failures, and rolling upgrades. It describes three common solutions: redirecting requests through a front-end server; using round-robin DNS to distribute requests; and employing an intelligent load balancer switch that can distribute requests based on server load and detect failures. Each approach has advantages and disadvantages related to ease of implementation, visibility to users, and ability to handle session state. The document also discusses network designs and protocols involved in load balancing, including TCP connection setup and teardown.
The document compares three methods for consolidating SQL Server databases: 1) multiple databases on a single SQL Server instance, 2) a single database on multiple SQL Server instances, and 3) hypervisor-based virtualization. It finds that consolidating multiple databases onto a single instance has the lowest direct costs but reduces security and manageability. Using multiple instances improves security but has higher resource needs. Hypervisor-based virtualization maintains security while enabling features like high availability, but has higher licensing costs. The document aims to help decide which approach best balances these technical and business factors for a given environment.
Mod_perl brings together the Apache web server and Perl programming language. It allows Apache to be configured and extended using Perl, and significantly accelerates dynamic Perl content. Mod_perl supports Apache versions 1.3 and 2.x and integrates Perl at every stage of the request process to provide great flexibility and control over Apache functionality. The mod_perl community provides extensive documentation and quick support responses.
Mod_perl brings together the Apache web server and Perl programming language. It allows Apache to be configured and extended using Perl, and significantly accelerates dynamic Perl content. Mod_perl supports Apache versions 1.3 and 2.x and integrates Perl at every stage of the request process to provide great flexibility and control over Apache functionality. The mod_perl community provides extensive documentation and quick support responses.
The document discusses various aspects of designing an effective website, including analyzing content and target audiences, organizing site structure and navigation, and implementing design elements. The key steps outlined are to analyze content and audience needs, organize the site structure into main sections and subsections, and implement an intuitive navigation system to help users easily find relevant information. Maintaining and optimizing the site over time are also emphasized.
This white paper provides an architectural overview and configuration guidelines for deploying Microsoft SQL Server 2005 with Microsoft Windows Server 2008 on Dell PowerEdge servers and Dell storage systems. It documents best practices for implementing SQL Server 2005 solutions using Dell hardware and software components that have been tested and validated to help ensure successful deployment and optimal performance. The white paper covers storage configuration, network configuration, operating system configuration, and SQL Server configuration recommendations.
The document discusses different types of websites that can be created for business purposes including traditional, blog-based, and group/network sites. It provides information on setting up each type of site for free or at low cost using online tools or designers, and how to add features like domains, payment systems, and linking domains to sites. Options for free and cheap site creation using tools like Google Sites are demonstrated.
This document outlines Saint Louis University's strategy for improving power management of IT equipment to reduce costs and environmental impact. Key points include:
1) SLU aims to standardize power-optimized default settings on all managed PCs and laptops through automated software and establish policies around exceptions and existing devices.
2) Potential savings are estimated from generational improvements in computer hardware and adopting lower-power modes like sleep versus screensavers.
3) The strategy also involves consolidating servers, enabling energy-efficient settings on printers and other electronics, and establishing institutional goals around student computer energy use.
Excel and SQL Quick Tricks for Merchandiserswebhostingguy
This document provides instructions for using Microsoft SQL and Excel to extract data from a SmartSite SQL database, manipulate it in Excel using functions, and update the SQL tables with the modified data to streamline content work. It covers connecting to and querying SQL databases, common Excel functions for editing data, and steps for importing an Excel file into a SQL table to update information. Examples of specific SQL queries and Excel functions are provided along with a scenario walking through the full process.
The document discusses various topics related to virtualization including drivers for virtualization, practical applications, definitions of terms like virtualization and paravirtualization, and tools like Xen, VMWare, and Microsoft virtualization products. It provides information on installing and configuring Xen on SuSE Linux, discusses security and auditing considerations for Xen, and demonstrates Xen functionality.
The document discusses strategies for converting low-value hosting clients into high-value customers by marketing additional services. It recommends continuously marketing to clients through email, forums, blogs and surveys to promote add-on services like collaboration tools, applications, and infrastructure-as-a-service offerings which can significantly increase revenue per client. Measuring marketing campaigns and conversions is key to optimizing efforts to up-sell existing clients.
Microsoft PowerPoint presentation 2.175 Mbwebhostingguy
The document discusses WebMapping Solutions and their products and services. It summarizes their middleware and mapping tools like MapBroker, Generic GUI Builder, and MapOrganiser. MapBroker powers many of their applications. Their products allow users to build custom web mapping applications and manage both geographic and non-geographic data in a single view. Their services include publishing data online, application development, and strategic consulting. Some examples of government and organization clients are listed.
This document provides an overview and guide for using HSPcomplete, a hosting automation solution that allows hosting service providers to manage infrastructure, billing, sales channels, and e-commerce through a single system. It describes HSPcomplete's advantages like integrated billing and credit card processing, virtual private server management, and domain registration. Hardware, software, and user requirements for HSPcomplete deployment are also outlined.
Installation of MySQL 5.1 Cluster Software on the Solaris 10 ...webhostingguy
This document describes installing MySQL cluster software on three Solaris 10 servers and configuring a basic three-node MySQL cluster. Key points:
- MySQL 5.1.24 source was compiled and installed on each server.
- A cluster contains a management node, two data nodes for storage, and a SQL node for client access.
- Configuration files define the roles and communication between nodes. Settings were adjusted for two data loading scenarios.
To start an HSP business with HSPcomplete, you first configure the infrastructure by allocating IP addresses, connecting hardware nodes, and setting up DNS. Next, you set up billing and create hosting plans, then configure the online store to begin accepting orders. Finally, you go live with your new hosting business powered by the automated provisioning and management tools in HSPcomplete.
Virtual Server Host Clustering Step-by- Step Guide for ...
1. Virtual Server Host Clustering Step-by-
Step Guide for Virtual Server 2005 R2
Microsoft Corporation
Published: November 2005
Author: Jan Keller
Editor: Arwyn Carroll
Abstract
This document provides an introduction to the methods and concepts of Virtual Server
host clustering. With Virtual Server host clustering, you can provide a wide variety of
services through a small number of physical servers and, at the same time, maintain
availability of the services you provide. If a physical host server requires scheduled or
unscheduled downtime, another host server is ready to quickly begin supporting services.
3. Contents
Virtual Server Host Clustering Step-by-Step Guide for Virtual Server 2005 R2 ................. 5
What is Virtual Server Host Clustering? .......................................................................... 5
Scenario for a Simple Host Clustering Configuration ...................................................... 9
Prerequisites for Virtual Server Host Clustering............................................................ 14
Limitations with Virtual Server Host Clustering.............................................................. 17
Steps for Configuring Virtual Server Host Clustering .................................................... 18
Additional Resources..................................................................................................... 26
Appendix A, Comparing Host Clustering to Other Types of Clustering ............................ 27
Host Clustering Compared to Guest Clustering ............................................................ 27
Host Clustering Compared to Standard Clustering ....................................................... 29
Examples of Situations for Each Type of Clustering ..................................................... 29
Appendix B, Script for Virtual Server Host Clustering....................................................... 31
Havm.vbs ....................................................................................................................... 31
5. Virtual Server Host Clustering Step-by-Step Guide 5
Virtual Server Host Clustering Step-by-
Step Guide for Virtual Server 2005 R2
This document provides an introduction to the methods and concepts of Virtual Server
host clustering. With Virtual Server host clustering, you can provide a wide variety of
services through a small number of physical servers and, at the same time, maintain
availability of the services you provide. If one server requires scheduled or unscheduled
downtime, another server is ready to quickly begin supporting services. Users experience
minimal disruptions in service.
Virtual Server host clustering is a way of combining Microsoft® Virtual Server 2005 R2
with the server cluster feature in Microsoft Windows Server™ 2003. This document
describes a simple configuration in which you use Microsoft Virtual Server 2005 R2 to
configure one guest operating system, and configure a server cluster that has two
servers (nodes), either of which can support the guest if the other server is down. You
can create this configuration and then, by carefully following the pattern of the
configuration, develop a host cluster with additional guests or additional nodes.
What is Virtual Server Host Clustering?
Virtual Server host clustering is a way of combining two technologies, Virtual
Server 2005 R2 and the server cluster feature in Windows Server 2003, so that you can
consolidate servers onto one physical host server without causing that host server to
become a single point of failure. To give an example, suppose you had two physical
servers providing client services as follows:
• Microsoft Windows Server 2003, Standard Edition, used as a Web server
• Microsoft Windows NT® Server 4.0 with Service Pack 6a (SP6a), with a specialized
application used in your organization
By using a configuration like the scenario in this document, you could consolidate these
servers into one and, at the same time, maintain availability of services if that
consolidated server failed or required scheduled maintenance. To do this, you would run
each service listed above as a guest (also known as a virtual machine) on a physical
server. You would also configure this server as one node in a server cluster, meaning
that a second server would be ready to support the guests. If the first server failed or
required scheduled maintenance, the second server would take over support of the
6. Virtual Server Host Clustering Step-by-Step Guide 6
services. You could perform any necessary work on the first server and then, as
needed, have it once again resume support of the services.
The following figure shows a simple Virtual Server host cluster:
Simple Virtual Server Host Cluster
It is important to understand that with Virtual Server host clustering, you are clustering the
physical hosts, not the applications running on a physical host. Failure of a physical host
would cause a second physical host to take over support of a guest, but failure of an
application within a guest would not. For more information about what Virtual Server host
clustering protects and what it does not protect, see Appendix A, Comparing Host
Clustering to Other Types of Clustering.
Understanding Common Terms in Virtual Server Host
Clustering
The following terms are important for understanding Virtual Server host clustering:
• Host: a physical server on which a version of Virtual Server 2005 is running. For the
configuration in this document, Virtual Server 2005 R2 is used.
• Guest: an operating system running as a virtual machine in Virtual Server 2005.
Multiple guests can run on one host. Each guest can run one or more applications.
7. Virtual Server Host Clustering Step-by-Step Guide 7
• Node: a computer system that is an active or inactive member of a cluster. In this
document, a node is also a host.
• Failover: the process of taking a group of clustered resources (such as a disk on
which data is stored, plus an associated script) offline on one node and bringing them
online on another node. The Cluster service ensures that this is done in a predefined,
orderly fashion, so that users experience minimal disruptions in service.
• Failback: The process of moving resources back to their preferred node after the
node has failed and come back online.
• Cluster storage: Storage that is attached to all nodes of the cluster. Each disk on the
cluster storage is owned by only one node of the cluster at a time. The ownership of
disks moves from one node to another during failover or when the administrator
moves a group of resources to another node.
What's New in the Combination of Virtual Server 2005 R2
and Server Clustering
Two recent offerings have made it easier to configure Virtual Server 2005 R2 in a Virtual
Server host cluster:
• The availability of iSCSI for use with a server cluster. With iSCSI in a server
cluster, you do not need all the specialized hardware previously required for a server
cluster. You only need additional network adapters to connect the storage to the
cluster nodes, along with a storage unit that uses iSCSI. For more information about
using iSCSI, see "Using iSCSI with Virtual Server 2005 R2" on the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=55646).
• A script that ensures that the guest functions correctly in the clustered
environment. This script has been tested in server clusters to confirm its
functionality. You must copy the script to each of the clustered nodes. When you
configure the script as a Generic Script resource in the cluster, it ensures that the
guest functions correctly when a failover or other cluster-related process occurs. The
script also triggers restart of the guest if the guest stops running.
Who Should Read This Guide?
This guide is targeted at the following audiences:
• IT planners and analysts who are evaluating the use of Virtual Server host clusters.
• Enterprise IT planners and designers.
• Server architects who are responsible for server consolidation and high availability.
8. Virtual Server Host Clustering Step-by-Step Guide 8
Benefits of Virtual Server Host Clustering
The benefits of Virtual Server host clustering are a combination of certain benefits of
Virtual Server 2005 R2 and the server cluster feature in Windows Server 2003:
• Server consolidation, regardless of operating systems: With Virtual
Server 2005 R2, you can consolidate multiple servers that might have been difficult to
track and maintain, and place them all on one server, even if the original servers ran
different operating systems.
For more information about the benefits of Virtual Server 2005 R2, see "Microsoft
Virtual Server" on the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=55574).
• Increasing the availability of a consolidated server: With the server cluster
feature in Windows Server 2003 and a configuration you develop by following the
guidelines in this document, you can increase the availability of the guests on a
consolidated server. When a failure or scheduled downtime occurs, a second server
will quickly begin providing support. Although users experience some disruptions in
service, particularly if the first server had an unexpected power loss or other sudden
failure in which the state of the guests could not be saved, the disruptions can be
kept to a minimum.
Increasing Service Availability in Specific Situations
The preceding benefits combine to increase the availability of services that you provide
through Virtual Server 2005 R2, especially in the following situations:
• During scheduled maintenance of host hardware: Before performing hardware
maintenance, you can move guests to another physical host. Alternatively, you can
simply shut down the server that needs maintenance, and the guests will move to the
other host automatically.
• During scheduled updates to host software: Before you apply software updates
(including service packs), you can move guests to another physical host.
Alternatively, you can apply software updates and restart the server, at which point
the guests will move to the other host automatically.
• For operating systems or applications that could not previously have been run
in a cluster: With Virtual Server host clustering, you can place almost any operating
system or application within the context of a guest running in a server cluster. If a
physical host fails or requires scheduled downtime, a second server will quickly begin
providing support. This means you can increase availability of the guests even if they
use legacy operating systems or run applications that are not cluster-aware, that is,
9. Virtual Server Host Clustering Step-by-Step Guide 9
applications that are not designed to work in a coordinated way with server cluster
components.
Important
Host clustering monitors the state of the physical host server, but does not
monitor applications running in guests. In other words, the clustering
software does not respond if an application stops running while the host
continues to run. If you use host clustering, you must find a different way to
respond to application problems, such as by monitoring the application itself.
For more information, see Appendix A, Comparing Host Clustering to Other
Types of Clustering.
In This Guide
• Scenario for a Simple Host Clustering Configuration
• Prerequisites for Virtual Server Host Clustering
• Limitations with Virtual Server Host Clustering
• Steps for Configuring Virtual Server Host Clustering
• Additional Resources
• Appendix A, Comparing Host Clustering to Other Types of Clustering
• Appendix B, Script for Virtual Server Host Clustering
Scenario for a Simple Host Clustering
Configuration
This document describes a simple host clustering configuration. You can create this
configuration and then, by carefully following the pattern of the configuration, develop a
host cluster with additional guests or additional nodes.
The scenario described in this document has the following characteristics:
• Uses a two-node cluster. This is fewer than the maximum number of nodes possible,
which is eight. For details, see "Maximum number of supported nodes in a cluster" on
the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=55482).
• Uses cluster storage (shared storage) connected to the nodes by SCSI, Fibre
Channel, or iSCSI.
10. Virtual Server Host Clustering Step-by-Step Guide 10
• Has one guest operating system, configured as a resource group in the cluster.
Because the guest is configured as a resource group in the cluster, it can fail over
from one node to the other.
In a production environment, it is likely you would want more than one guest
operating system. However, a scenario with one guest provides the foundation for
understanding a scenario with additional guests. If you wanted each guest to be able
to fail over separately, you would configure each guest in its own resource group. If,
however, you knew that you would always be moving certain guests together, you
could configure them all in the same resource group.
• Uses copies of the provided script. When you configure the script as a Generic Script
resource in the cluster, it ensures that the guest functions correctly when a failover or
other cluster-related process occurs. The script also triggers restart of the guest if the
guest stops running.
• Is configured with specific resource dependencies, as shown in the section
"Dependencies Between Cluster Resources in Virtual Server Host Clusters" later in
this document. The resource dependencies are also described in the procedures in
this document. If one or more resources depend on another resource, that resource
is brought online first and taken offline last. This timing coordination provides a
predictable environment for each resource as it comes online and in doing so,
ensures that failover happens smoothly.
The following figures show a clustered host containing a guest operating system before
and after a failure on the host.
11. Virtual Server Host Clustering Step-by-Step Guide 11
Simple Virtual Server Host Cluster Before Failover
12. Virtual Server Host Clustering Step-by-Step Guide 12
Simple Virtual Server Host Cluster After Failover
We recommend that you work in your test lab to set up the scenario exactly as described
in this document. Then, by carefully following the pattern of the configuration, you can
develop and implement a host cluster configuration with additional guests or additional
nodes.
Dependencies Between Cluster Resources in Virtual Server
Host Clusters
It is very important to specify the correct resource dependencies in any kind of server
cluster, including a Virtual Server host cluster. When you specify a dependency, you
13. Virtual Server Host Clustering Step-by-Step Guide 13
ensure that the Cluster service starts resources in the correct order. Each dependent
resource is started after the resources that it depends on.
Before considering the dependencies, it can be useful to review the two types of
resources used in a Virtual Server host cluster: Generic Script resources, each
representing a script that ensures smooth functioning of a guest in the cluster, and
Physical Disk resources, each representing a disk used by a guest.
The two principles in specifying the correct dependencies are as follows:
• For guests with multiple Physical Disk resources, the principle is "operating
system disk depends on data disk": The Physical Disk resource that contains the
guest's operating system must depend on any Physical Disk resources that contains
the guest's data.
This ensures that all the resources associated with data are online before the guest's
operating system attempts to access data on them.
• For all guests, the principle is "script depends on disk": The Generic Script
resource used for a guest must depend on the Physical Disk resource used for that
guest. If the guest has more than one Physical Disk resource, the Generic Script
resource must depend on the Physical Disk resource that contains the guest's
operating system.
This ensures that all of the guest's Physical Disk resources are up and available
before any line of the script is run.
The following figure shows the dependency between the clustered resources in the
scenario in this document.
Dependency Between Clustered Resources in This Document
14. Virtual Server Host Clustering Step-by-Step Guide 14
If, after trying the configuration in this document, you decide to create a configuration
with multiple guests in the same resource group (meaning the guests would always move
together, never separately), begin by understanding the principles listed in this section.
Then plan your resource dependencies, building them up into an orderly chain or tree,
keeping in mind that each dependent resource is started after the resources that it
depends on.
Prerequisites for Virtual Server Host
Clustering
To use Virtual Server host clustering, you will need the following:
• Servers: Two or more identical server cluster computers listed in Windows Server
Catalog. The servers must have identical components, including identical processors
of the same brand, model, and version. For more information, see Windows Server
Catalog (http://go.microsoft.com/fwlink/?LinkId=4303).
Important
The complete set of hardware that you use must be listed in Windows Server
Catalog as a qualified cluster solution for Windows Server 2003.
• Software for host servers: Operating systems and other software for your clustered
host servers. The servers should be running:
• Windows Server 2003 with Service Pack 1 (SP1), Enterprise Edition,
Windows Server 2003 with Service Pack 1 (SP1), Datacenter Edition,
Windows Server 2003 R2, Enterprise Edition, or
Windows Server 2003 R2, Datacenter Edition
Either the 32-bit version or the 64-bit version of these operating systems can be
used.
• Microsoft Virtual Server 2005 R2.
In addition, on the computer from which you will manage Virtual Server 2005 R2,
you must install the Internet Information Services (IIS) component of the
operating system before installing the Virtual Server management tool. To install
components in Windows Server 2003 or Windows XP, in Control Panel, open
Add or Remove Programs and then click Add/Remove Windows
Components. In Windows Server 2003, IIS is listed under Application Server.
• If iSCSI is used, Microsoft iSCSI Software Initiator 2.0 or higher.
15. Virtual Server Host Clustering Step-by-Step Guide 15
Whether you use network adapters or host bus adapters with iSCSI, you must
install the Microsoft iSCSI initiator service included in the Microsoft iSCSI
Software Initiator download package, which you can find on the Microsoft Web
site (http://go.microsoft.com/fwlink/?linkid=44352). For a host bus adapter, you
can install just the service by selecting Initiator Service at the beginning of
setup.
• Network adapters and cable (for network communication): In each clustered
node, at least two network adapters dedicated to network communication (separate
from any network adapter you might use for iSCSI).
At least one adapter in each server connects server-to-server (private network) and
at least one connects both server-to-server and server-to-clients (mixed network).
The network adapters connected together into one network must be identical to one
another. The mixed network can use teamed network adapters, but the private
network cannot.
• For the storage, device controllers or appropriate adapters:
• For SCSI or Fibre Channel: If you are using SCSI or Fibre Channel, each node
must have a mass-storage device controller dedicated to the cluster storage (in
addition to the device controller for the local disk).
• For iSCSI: If you are using iSCSI, each node must have either a network adapter
or a host bus adapter dedicated to the cluster storage. If you use a network
adapter, it must be dedicated to iSCSI. You cannot use one of your other network
adapters for this purpose. The network adapters used for iSCSI should be
identical, and we recommend that the adapters be Gigabit Ethernet.
• Storage: Shared storage, listed in Windows Server Catalog as part of a qualified
cluster solution.
For this scenario, the storage should contain at least two separate volumes, that is,
two separate logical unit numbers (LUNs). One volume will function as the quorum
(disk containing configuration information needed for the cluster), and one will contain
the virtual disk for the guest.
If you want to configure additional guests, keep in mind that if each guest has its own
volume (or volumes) in the storage, the guests can fail over as separate units.
Otherwise, they must fail over as one unit.
• Software for guests: Licensed copies of the operating system and other software
that you will run on the guests. Review your Virtual Server documentation to find out
which operating systems you can use for guests.
16. Virtual Server Host Clustering Step-by-Step Guide 16
Important
After you install the operating system on a guest, you must also install Virtual
Machine Additions on the guest. Virtual Machine Additions is included in
Virtual Server 2005 R2. For more information, see "Setting up operating
systems for virtual machines" on the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=55573).
Note that you are limited to one processor for each guest, so a guest generally
cannot support large workloads that require symmetric multi-processing (SMP)
capabilities, for example, large enterprise class databases. For more information, see
Limitations with Virtual Server Host Clustering.
• Script: The script, Havm.vbs. You will copy this script to each node of the cluster. For
a copy of the script, see Appendix B, Script for Virtual Server Host Clustering.
• Domain controller: An additional server that acts as the domain controller in the
domain that contains your Virtual Server host cluster.
• Clients: If you wish, you can connect one or more networked clients to the Virtual
Server host cluster you create with this document, and observe the effect on a client
when you move or fail over the guest.
Required Network Information, Accounts, and
Administrative Credentials
In order to set up a cluster, you will need the following network information and accounts:
• An account that you will log on to when you are configuring and managing the
cluster. This account must be a member of the local Administrators group on all
nodes.
• A static IP address for the cluster.
• One static IP address for each network adapter in the nodes. Set the addresses for
each linked pair of network adapters (linked node-to-node) to be on the same subnet.
DHCP can be used for these addresses, but we do not recommend this.
If you use iSCSI with network adapters in the nodes, you will also need a static IP
address for each of these adapters.
• A computer account for each cluster node.
• A user account for the Cluster service. Do not use this account for other purposes.
The New Server Cluster Wizard gives this account the necessary permissions when
you set up the cluster. For more information about the permissions necessary for the
17. Virtual Server Host Clustering Step-by-Step Guide 17
Cluster service account, see the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=55161).
• A name for the cluster, that is, the name administrators will use for connections to the
cluster. (The actual applications running on the cluster can have different network
names.)
Limitations with Virtual Server Host
Clustering
When deploying Virtual Server host clustering, keep in mind the following limitations:
• With any deployment of Virtual Server 2005 R2, you must review the capacity of each
physical host server carefully to make sure that it can accommodate the
requirements of the guests (virtual machines) you plan to create on that host.
• Although running a Virtual Server host cluster minimizes interruptions to users, if a
cluster node that is supporting guests suddenly fails (from a power failure, for
example), some loss of state is unavoidable. Information that existed only in the
memory of the failed server will be lost. Another node will respond quickly, but will not
be able to recapture the complete state that the guests were in when the first node
failed.
In contrast, if an administrator performs a normal shutdown on a node, or moves a
guest from one host (node) to another for planned maintenance or other reasons,
Virtual Server saves the state of the guest before it is moved.
• Although you can run Virtual Server on a multiprocessor computer, each virtual
machine can use a maximum of one processor (although it can share the processor it
is using with other virtual machines). This means that enterprise-class applications
designed to use multiprocessor hardware may not provide adequate performance if
you run them on a virtual machine. When deciding whether to run an application on a
virtual machine, consider the virtual machine’s physical counterpart. In other words,
would you run this application on a physical computer that has one processor?
• Virtual Server affects performance. That is, in itself it requires some CPU, network,
and I/O capacity. The performance you see when using Virtual Server host clustering
will not be the same as on a server that does not use virtualization. To a much lesser
extent, running a server as a node in a server cluster also has some effect on
performance. Observe performance in a test environment before making capacity
decisions for a production environment.
18. Virtual Server Host Clustering Step-by-Step Guide 18
Steps for Configuring Virtual Server Host
Clustering
For easy reference, the following table lists the names used in the procedures in this
section. The procedures provide additional details about how to use the names.
Item to configure Name used in this document
Disk on shared storage Disk X
Folder on disk where configuration files for X:Guest1
the guest are placed
Clustered resource group Guest1Group
Clustered Physical Disk Resource DiskResourceX
Clustered Generic Script resource Guest1Script
Configuring Virtual Server Host Clustering
To configure a Virtual Server host cluster, you must complete the following tasks:
1. Set up the cluster and install Virtual Server 2005 R2 on each node.
2. Configure a shutdown script on each cluster node.
3. Configure the disk resource, resource group, and guest control script.
4. Create Guest1 on one of the hosts.
5. Complete the configuration of Guest1 so it can fail over.
After configuring the host cluster, you can test failover.
Optionally, you can configure the action the cluster takes if a guest's operating system
stops responding. The cluster can immediately fail the guest over to another node, or it
can restart the guest a specified number of times on the same node before attempting
failover.
These tasks are described in detail in the following procedures.
Note
This document describes a simple host clustering configuration. You can create
this configuration and then, by carefully following the pattern of the configuration,
develop a host cluster with additional guests or additional nodes.
19. Virtual Server Host Clustering Step-by-Step Guide 19
To set up the cluster and install Virtual Server 2005 R2 on each node
1. Find and review appropriate instructions for setting up a cluster. One set of
instructions can be found on the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=55162).
Important
Before beginning the process of setting up the cluster, ensure that when
you turn on the computer and start the operating system, only one node
will have access to the cluster storage. Otherwise, the cluster disks can
become corrupted.
2. As you review your instructions for setting up a cluster, be sure they cover the
following requirements:
• On each cluster node, in Network Connections, label each adapter with the
same name as the corresponding adapter on the other node or nodes. We
recommend you use names that show the function of each adapter, for
example, "Private," "Public," and (if appropriate) "iSCSI."
• On each cluster node, in Network Connections, you must configure the
private and public adapters to use identical speed and duplex settings.
3. Set up a two-node cluster running Windows Server 2003 with SP1 (Enterprise
Edition or Datacenter Edition). On the cluster storage, make sure that in addition
to the quorum disk, there is at least one additional volume with a specific drive
letter or mount point assigned.
In this procedure, the drive letter for this additional volume on the shared storage
will be represented as X.
4. If you use the Microsoft iSCSI Software Initiator, configure settings for all the
clustered volumes so that they perform correctly during failover:
a. On the storage device, use the software interface provided with your storage
solution to view information about each clustered volume and to ensure that
each of those clustered volumes is mounted.
b. On one of the clustered nodes, click Start, click Programs or All Programs,
click Microsoft iSCSI Initiator, and then click Microsoft iSCSI Initiator.
c. On the Targets tab, locate one of the clustered volumes, and then click Log
On.
If Log On is unavailable, click Details, click Log off, click OK, and then click
Log On.
20. Virtual Server Host Clustering Step-by-Step Guide 20
d. In Log On to Target, make sure that Automatically restore this
connection when the system boots is selected, and then click OK.
e. In Explorer, right-click My Computer and then click Manage. In Disk
Management, make sure a drive letter has been assigned to the volume.
f. If the Microsoft iSCSI Initiator is not still open, click Start, click Programs or
All Programs, click Microsoft iSCSI Initiator, and then click Microsoft
iSCSI Initiator.
g. Click the Bound Volumes/Devices tab.
h. Click Add and then type the drive letter of the volume, followed by a colon.
i. Repeat this process for the other clustered volumes.
5. Review information about installing Virtual Server 2005, available on the
Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=55163). Decide
whether to install the management interface, which is called the Virtual Server
Administration Website, on the cluster nodes or on another computer.
6. On the computer or computers on which you plan to install the Virtual Server
Administration Website, make sure that the Internet Information Services (IIS)
component of the operating system is installed. To install components in
Windows Server 2003 or Windows XP, in Control Panel, open Add or Remove
Programs and then click Add/Remove Windows Components. In Windows
Server 2003, IIS is listed under Application Server.
7. On one cluster node, stop the Cluster service and install Virtual Server 2005 R2.
If, in step 5, you decided that you do not want to install the Virtual Server
management interface on the cluster nodes, choose the Custom installation
option and install only the Virtual Server Service on the node, and then install the
Virtual Server Web Application on a different computer. After the installation on
the cluster node is complete, restart the Cluster service.
The Cluster service must be stopped to avoid network problems that can occur
on the node during the time that Virtual Server 2005 R2 is installing its network
driver.
8. On the other cluster node, stop the Cluster service and install Virtual
Server 2005 R2, as described in step 7. Then restart the Cluster service.
To configure shutdown on the cluster nodes
1. Complete the previous procedure.
2. In the root directory of the local hard disk on each node, create a batch file and
21. Virtual Server Host Clustering Step-by-Step Guide 21
call it Stop_clussvc_script.cmd.
3. In the batch file, type the following line:
net stop clussvc
4. Add the batch file as a shutdown script on each node. To do this, follow these
steps:
a. Click Start, click Run, type gpedit.msc, and then press ENTER.
b. In the left pane, click Local Computer Policy, click Computer
Configuration, click Windows Settings, and then click Scripts
(Startup/Shutdown).
c. In the right pane, double-click Shutdown.
d. In the Shutdown Properties dialog box, click Add. For the Script Name, type:
c:Stop_clussvc_script.cmd
To configure the disk resource, resource group, and guest control script
1. Complete the previous procedures.
2. On a computer that contains Cluster Administrator, click Start, click Control
Panel, click Administrative Tools, and then click Cluster Administrator. View
the cluster that you created in an earlier procedure.
3. 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.
The name that you give the group is for administrative purposes only. It is not the
same as the name that clients would use to connect to the group.
4. In Cluster Administrator, create a new disk resource, or use the appropriate disk
resource if it has already been created. Specify the following properties for the
resource:
• Call it DiskResourceX.
• Make sure it is a Physical Disk resource.
• Assign the resource to Guest1Group.
• For Possible Owners, make sure both cluster nodes are listed.
• Do not specify any dependencies.
Note
22. Virtual Server Host Clustering Step-by-Step Guide 22
In a more complex configuration, you might have multiple disk
resources for each guest. If you did this, you would have to make the
Physical Disk resource associated with the guest's operating system
dependent on the Physical Disk resource or resources associated
with the guest's data. This would ensure that all the resources
associated with data are online before the guest's operating system
attempts to access data on them.
• For the disk, choose disk X.
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. On each node's local disk, in the systemrootCluster folder, copy the script called
Havm.vbs, available in Appendix B, Script for Virtual Server Host Clustering.
Important
The script must be copied to the correct folder on each node's local hard
disk, not to a disk in the cluster storage.
To create Guest1 on one of the hosts
1. Complete the previous procedures.
2. 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 cluster node that
currently owns DiskResourceX (which is in Guest1Group).
3. In the navigation pane, under Virtual Networks, click Create.
4. In Virtual network name, type ClusterNetwork.
5. In Network adapter on physical computer, select the network adapter
associated with the public network (not the private network) and then click OK.
6. In the navigation pane, under Virtual Networks, click Configure, and then click
View All.
7. 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.
8. In the Virtual Server Administration Website, click Back.
9. Point to the virtual network you just created, and then click Remove.
23. Virtual Server Host Clustering Step-by-Step Guide 23
The purpose of this step is not to undo the creation of the virtual network, but to
clear Virtual Server of information that will prevent you from moving the
configuration file for the virtual network (the .vnc file) to the cluster storage.
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 7.
11. Right-click ClusterNetwork.vnc, and then click Cut.
Note
You must cut and paste the file, not copy it.
12. Navigate to X:Guest1 and paste the .vnc file, ClusterNetwork.vnc.
13. In the Virtual Server Administration Website, under Virtual Networks, click Add.
14. In the box next to Existing configuration (.vnc) file, type:
X:Guest1ClusterNetwork.vnc
15. Click Add.
16. In the navigation pane, under Virtual Machines, click Create.
17. In Virtual machine name, instead of simply typing the name, type the following
path, which not only names the virtual machine Guest1, but places the virtual
machine's configuration file on the cluster storage:
X:Guest1Guest1.vmc
18. 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 for Guest1.
19. 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:.
20. In Virtual network adapter, select ClusterNetwork.
21. Click Create.
To complete the configuration of Guest1 so it can fail over
1. Complete the previous procedures.
24. Virtual Server Host Clustering Step-by-Step Guide 24
2. In Cluster Administrator, move Guest1Group to the other node (not the node on
which you were working in the previous procedure).
3. For the cluster node on which Guest1Group is currently located, open the Virtual
Server Administration Website.
4. In the navigation pane, under Virtual Networks, click Add.
5. In the box next to Existing configuration (.vnc) file, type:
X:Guest1ClusterNetwork.vnc
6. Click Add.
7. In the navigation pane, under Virtual Machines, click Add.
8. In Fully qualified path to file, type:
X:Guest1Guest1.vmc
9. Click Add.
10. 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 8.
• Call it Guest1Script.
• Make it a Generic Script resource.
• Assign the resource to Guest1Group.
• For Possible Owners, make sure both cluster nodes are listed.
• Add DiskResourceX to the list of resource dependencies.
• For the Script filepath, specify the following, typing the percent character
(%) as shown:
%windir%ClusterHavm.vbs
11. 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.
12. In Cluster Administrator, bring Guest1Group online.
25. Virtual Server Host Clustering Step-by-Step Guide 25
If you use the Virtual Server Administration Website to view the node that is the
owner of Guest1Group, in Master Status, Guest1 will now have a status of
Running.
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. For more information, see "Setting up operating systems for virtual
machines" on the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=55573).
To test failover
1. Complete the previous procedures.
2. In Cluster Administrator, make sure that Guest1Group is online.
3. In Cluster Administrator, right-click Guest1Group and then click Move Group. In
the display for Guest1Group, you should see Owner change to the other node.
4. If you want, conduct further tests. For example, you could conduct tests with an
application installed in the guest, clients connected to the application, and a
simulated power failure of the node that is currently the owner of Guest1Group.
Note
The following procedure is an optional configuration step.
To configure the action the cluster takes if a guest's operating system stops
responding
1. Complete the previous procedures.
2. In Cluster Administrator, right-click Guest1Script, click Properties, and then
click the Advanced tab.
3. Configure the action the cluster takes if a guest's operating system stops
responding:
• To cause the guest to immediately fail over to another node if the guest's
operating system stops responding, select Restart and Affect the group
and then, in Threshold, specify 0.
• To cause the guest's operating system to be restarted on the same node a
specified number of times, then fail over, select Restart and Affect the
group. Then, in Threshold, specify the number of times you want the guest
to be restarted on the same node. Finally, in Period, specify the amount of
time in which you want the threshold number of restart attempts to take
26. Virtual Server Host Clustering Step-by-Step Guide 26
place.
For example, suppose you decided that a guest's operating system could
stop and be restarted on the same node three times, but if it stopped once
more within a period of 15 minutes (900 seconds), it should fail over. You
would configure this by selecting Restart and Affect the group, then
specifying a Threshold of 3 and a Period of 900.
• To cause the guest to be restarted on the same node every time that the
guest's operating system stops responding, clear the Affect the group check
box. Note that with this setting, the guest still fails over if the physical host
fails or requires scheduled downtime.
Additional Resources
The following resources provide additional information about Virtual Server host
clustering:
• "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).
• "Maximum number of supported nodes in a cluster" on the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=55482).
• Windows Server Catalog (http://go.microsoft.com/fwlink/?LinkId=4303).
• Microsoft iSCSI Software Initiator Version 2.0 on the Microsoft Web site
(http://go.microsoft.com/fwlink/?linkid=44352).
• "Setting up operating systems for virtual machines" on the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=55573).
• "How to manually re-create the Cluster service account" on the Microsoft Web site
(http://go.microsoft.com/fwlink/?LinkId=55161).
• "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).
27. Virtual Server Host Clustering Step-by-Step Guide 27
Appendix A, Comparing Host Clustering
to Other Types of Clustering
Host clustering is different from other types of clustering. The other types of clustering are
guest clustering and standard clustering (clustering without virtualization).
Host Clustering Compared to Guest
Clustering
Host clustering is different from guest clustering:
• With host clustering, the physical host is the cluster node. If the host stops running,
all of its guests are restarted on another physical host. Host clustering protects
against failure of a physical host (hardware failure of a computer).
• With guest clustering, a guest is a cluster node, and therefore the guest runs
applications that are monitored in some way by the Cluster service, either because
they are designed to work with clustering (cluster-aware) or because they are
configured in the cluster as a Generic Service, Generic Application, or Generic Script
resource. With guest clustering, if either the guest operating system or the clustered
application fails, the guest can fail over to another guest, either on the same host or
on a different host. Guest clustering protects against failure of a cluster-aware
application on a guest as well as failure of an individual instance of a guest.
The following figure shows a simple host clustering configuration:
28. Virtual Server Host Clustering Step-by-Step Guide 28
Simple Host Clustering Configuration
The following figure shows a simple guest clustering configuration that uses only one
physical host:
Simple Guest Clustering Configuration on One Host
Although the preceding diagram shows guest clustering on only one physical host, guest
clustering can be configured to use multiple physical host computers. However, the
variety of possibilities for guest clustering are beyond the scope of this document.
29. Virtual Server Host Clustering Step-by-Step Guide 29
Host Clustering Compared to Standard
Clustering
Host clustering is different from standard clustering (without virtualization). Standard
clustering often uses an application designed for clustering (sometimes called a cluster-
aware application). This subsection compares host clustering to clustering with a cluster-
aware application.
With host clustering, when a physical host stops running, all of its guests are restarted on
another physical host. This is possible because each of the guests is configured as a
clustered resource group, and inside each resource group, the script Havm.vbs is
configured as a Generic Script resource. This Generic Script resource has the effect of
making the guest itself like a cluster-aware application, with the Cluster service providing
health monitoring and automatic recovery for the guest.
However, it is important to note that with host clustering, an application running within a
guest is not monitored by the Cluster service. If you use host clustering, you must find a
different way to respond to application problems, such as by monitoring the application
itself.
In contrast, on a cluster without virtualization, if a cluster-aware application fails,
automatic checks done by the clustering software will usually discover the application
failure, and the cluster will respond. The cluster response is configurable, so that the
application can be restarted a specified number of times and then failed over to another
server, or failed over immediately without restarts.
Examples of Situations for Each Type of
Clustering
The following table lists examples of situations in which each type of clustering is
appropriate:
Example of a situation Type of clustering to use
Cluster-aware applications that all run Standard clustering (without virtualization).
on a single operating system: You have
one or more cluster-aware applications that
all run on one operating system, preferably
a version no earlier than Windows
Server 2003 with Service Pack 1.
30. Virtual Server Host Clustering Step-by-Step Guide 30
Example of a situation Type of clustering to use
Testing or demonstrations: You are Guest clustering.
creating tests or demonstrations that use
Virtual Server 2005 R2 or server clusters or
both. You might have only one physical
server available for your tests or
demonstrations.
Server consolidation: You have multiple Host clustering. To increase availability,
servers that run a variety of operating implement close monitoring of the
systems and you want to consolidate. At applications as well, so that an
the same time, you do not want all the administrator can respond quickly if an
services you provide to depend on a single application fails.
physical server. Instead, you want to
minimize client downtime even if that
physical server goes down.
31. Virtual Server Host Clustering Step-by-Step Guide 31
Appendix B, Script for Virtual Server
Host Clustering
The following Visual Basic script ensures that in a Virtual Server host cluster, the guest
functions correctly when a failover or other cluster-related process occurs. The script also
triggers restart of the guest if the guest stops running. The script is configured as a
Generic Script resource in the cluster.
To use the script, carefully copy only the script text (not including "Havm.vbs") into a text
editor such as Notepad and then save the script, using Havm.vbs as the filename. When
saving the file, be sure to save it in a way that does not add linebreaks.
Havm.vbs
'****************************************************************************************
***************************************************************
'Global variables
'****************************************************************************************
***************************************************************
'Script Version
ScriptVersion = "1.0"
'Flagged TRUE if the virtual machine has ever responded to an additions heartbeat.
VirtualMachineHasHeartbeat = FALSE
'Used by Terminate() to make failure recovery decisions.
VirtualMachineFailedOnline = FALSE
'Time in miliseconds to wait to save/restore state.
Timeout = 300000
'Stores the percentage of received heartbeats over 1 time block at which the guest is
considered dead.
AdditionsIsAliveHeartbeatThreshold = 0
'****************************************************************************************
***************************************************************
'Open()
'
'Check to see if "Virtual Server" service is running. If not attempt to start it.
'
'Check to see if the following private properties exist. If not, create/set them:
' VirtualMachineName - Stores the name of the virtual machine that is made highly
available by this resource. (User has to set it explicitly)
32. Virtual Server Host Clustering Step-by-Step Guide 32
' UseAdditionsIsAlive - 1 to use the additions heartbeat code path in IsAlive(), 0 to
not use that code path. (Default is 1)
' AdditionsIsAliveFailureRecoveryAction - 1 to turn off vm, 0 to save state. (Default
is 1)
'****************************************************************************************
***************************************************************
Function Open()
On Error Resume Next
Resource.LogInformation("Entering Open() for Virtual Server Host Clustering Generic
Script Version " & ScriptVersion)
Set wmiProvider = GetObject("winmgmts:/root/cimv2")
Set vsService = wmiProvider.Get("win32_service='Virtual Server'")
vsServiceState = vsService.State
If uCase(vsServiceState) <> "RUNNING" Then
returnValue = vsService.StartService()
'Check if the call to start the service succeeded or not. 0 or 10 means it did.
If (returnValue <> 0) and (returnValue <> 10) Then
Resource.LogInformation("Attempt to start 'Virtual Server' service on this
machine failed with error " & returnValue)
Open = returnValue
Exit Function
End If
End If
If Resource.PropertyExists("VirtualMachineName") = FALSE Then
Resource.AddProperty("VirtualMachineName")
End If
If Resource.PropertyExists("UseAdditionsIsAlive") = FALSE Then
Resource.AddProperty("UseAdditionsIsAlive")
Resource.UseAdditionsIsAlive = 1
End If
If Resource.PropertyExists("AdditionsIsAliveFailureRecoveryAction") = FALSE Then
Resource.AddProperty("AdditionsIsAliveFailureRecoveryAction")
Resource.AdditionsIsAliveFailureRecoveryAction = 1
End If
End Function
'****************************************************************************************
***************************************************************
'Online()
'
'Issue a start control to the virtual machine.
'
'If the virtual machine is already in "Running" state, this can either mean the virtual
machine has very recently failed, or it is really up and running.
33. Virtual Server Host Clustering Step-by-Step Guide 33
'Handle the worst case by setting VirtualMachineFailedOnline = TRUE, which will cause
Terminate() to attempt to save the state.
'****************************************************************************************
***************************************************************
Function Online( )
On Error Resume Next
If Resource.VirtualMachineName = "" Then
Resource.LogInformation("The VirtualMachineName private property is blank. Please
run the following command on any one node of the cluster to correct the problem:
cluster.exe res """ & Resource.Name & """ /priv VirtualMachineName=" & """name of virtual
machine""" )
Online = 13 '13 - The data is invalid.
Exit Function
Else
Resource.LogInformation("Entering Online() for " & Resource.VirtualMachineName)
End If
Set virtualServer = CreateObject("VirtualServer.Application")
Set vm = virtualserver.FindVirtualMachine(Resource.VirtualMachineName)
Set state = vm.Startup()
Select Case err.number <> 0
Case err.number = "-1610349312"
'Handle the case where the virtual machine is already in "Running" state at
the time the resource is brought online.
If vm.state = 5 Then
Resource.LogInformation("Startup() was called for virtual machine " &
Resource.VirtualMachineName & ", however it was already in the started state. Setting
VirtualMachineFailedOnline = TRUE")
VirtualMachineFailedOnline = TRUE
Online = 1
Exit Function
End If
Case err.number = "2147614729"
If vm.state = 5 Then
Resource.LogInformation("Startup() was called for virtual machine " &
Resource.VirtualMachineName & ", however it was already in the started state. Setting
VirtualMachineFailedOnline = TRUE")
VirtualMachineFailedOnline = TRUE
Online = 1
Exit Function
End If
Case err.number = "2684617984"
If vm.state = 5 Then
Resource.LogInformation("Startup() was called for virtual machine " &
Resource.VirtualMachineName & ", however it was already in the started state. Setting
VirtualMachineFailedOnline = TRUE")
VirtualMachineFailedOnline = TRUE
Online = 1
Exit Function
34. Virtual Server Host Clustering Step-by-Step Guide 34
End If
Case Else
Resource.LogInformation("Startup() for virtual machine " &
Resource.VirtualMachineName & " failed with error " & err.number)
Online = err.number
Exit Function
End Select
Call state.WaitForCompletion(Timeout)
If state.IsComplete = TRUE Then
Online = 0
End If
End Function
'****************************************************************************************
***************************************************************
'LooksAlive()
'
'Return success
'****************************************************************************************
***************************************************************
Function LooksAlive()
LooksAlive = TRUE
End Function
'****************************************************************************************
***************************************************************
'IsAlive()
'
'If UseAdditionsIsAlive = 1 and if VirtualMachineHasHeartbeat = TRUE and if
vm.GuestOS.HeartbeatPercentage =< AdditionsIsAliveHeartbeatThreshold set IsAlive to FALSE
and exit function.
'If UseAdditionsIsAlive = 1 and if VirtualMachineHasHeartbeat = TRUE and if
vm.GuestOS.heartbeatpercentage > AdditionsIsAliveHeartbeatThreshold set IsAlive to TRUE
and exit function.
'If UseAdditionsIsAlive <> 1 or if VirtualMachineHasHeartbeat <> TRUE, then attempt to
set VirtualMachineHasHeartbeat and do basic IsAlive.
'****************************************************************************************
***************************************************************
Function IsAlive()
On Error Resume Next
IsAlive = FALSE
Set virtualServer = CreateObject("VirtualServer.Application")
Set vm = virtualserver.FindVirtualMachine(Resource.VirtualMachineName)
If (Resource.UseAdditionsIsAlive = 1) Then
35. Virtual Server Host Clustering Step-by-Step Guide 35
If VirtualMachineHasHeartbeat = TRUE Then
If vm.GuestOS.HeartbeatPercentage <= AdditionsIsAliveHeartbeatThreshold Then
IsAlive = FALSE
Exit Function
Else
IsAlive = TRUE
Exit Function
End If
End If
End If
'Set VirtualMachineHasHeartbeat
VirtualMachineHasHeartbeat = vm.GuestOS.IsHeartbeating
'Do basic IsAlive check
If vm.state = 3 or vm.state = 4 or vm.state = 5 Then
IsAlive = TRUE
End If
End Function
'****************************************************************************************
***************************************************************
'Offline()
'
'Issue a save state control to the virtual machine.
'
'If the virtual machine is not already in the "Running" state, assume success.
'****************************************************************************************
***************************************************************
Function Offline()
On Error Resume Next
Resource.LogInformation("Entering Offline() for " & Resource.VirtualMachineName)
Set virtualServer = CreateObject("VirtualServer.Application")
Set vm = VirtualServer.FindVirtualMachine(Resource.VirtualMachineName)
Set state = vm.Save()
Select Case err.number <> 0
'Handle the case where the virtual machine is not already in the "Running" state
at the time the resource is taken offline.
Case err.number = "2684617222"
Resource.LogInformation("Save() was called for virtual machine " &
Resource.VirtualMachineName & ", however it was not in the started state.")
'Handle another case where the virtual machine is not already in the "Running"
state at the time the resource is taken offline.
Case err.number = "-1610350074"
Resource.LogInformation("Save() was called for virtual machine " &
Resource.VirtualMachineName & ", however it was not in the started state.")
36. Virtual Server Host Clustering Step-by-Step Guide 36
Case Else
Resource.LogInformation("Save() for virtual machine " &
Resource.VirtualMachineName & " failed with error " & err.number)
Offline = err.number
Exit Function
End Select
Call state.WaitForCompletion(Timeout)
If state.IsComplete = TRUE Then
Offline = 0
End If
End Function
'****************************************************************************************
***************************************************************
'Terminate()
'
'If Online() failed because the virtual machine was already "Running"
(VirtualMachineFailedOnline = FALSE), then Terminate() needs to attempt to save state.
'If UseAdditionsIsAlive = 1 and VirtualMachineHasHeartbeat = TRUE, then take failure
action specified by AdditionsIsAliveFailureRecoveryAction.
'****************************************************************************************
***************************************************************
Function Terminate()
On Error Resume Next
Set virtualServer = CreateObject("VirtualServer.Application")
Set vm = virtualserver.FindVirtualMachine(Resource.VirtualMachineName)
If VirtualMachineFailedOnline = TRUE Then
Set state = vm.Save()
Call state.WaitForCompletion(Timeout)
Exit Function
End If
If Resource.UseAdditionsIsAlive = 1 AND virtualMachineHasHeartbeat = TRUE Then
If Resource.AdditionsIsAliveFailureRecoveryAction = 0 Then
Set state = vm.Save()
Call state.WaitForCompletion(Timeout)
Exit Function
Else
Set state = vm.TurnOff()
Call state.WaitForCompletion(Timeout)
Exit Function
End If
End If
End Function
37. Virtual Server Host Clustering Step-by-Step Guide 37
'****************************************************************************************
***************************************************************
'Close()
'
'Return success
'****************************************************************************************
***************************************************************
Function Close()
Close = 0
End Function