Configuring and Using the New Virtualization Features in Windows Server 2012

1,294 views
1,225 views

Published on

During Windows Server 2012 Roadshow event at Singapore and Malaysia, i have presented on how to configure Hyper-V High Availability and Hyper-V Replica.

Published in: Technology
1 Comment
4 Likes
Statistics
Notes
  • Thanks for sharing.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
1,294
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
1
Likes
4
Embeds 0
No embeds

No notes for slide
  • What Host Clustering Deliver ?Avoids a single point of failure when consolidatingSurvive Host CrashesVMs restarted on another nodeRestart VM CrashesVM OS restarted on same nodeRecover VM HangsVM OS restarted on same nodeZero Downtime Maintenance & PatchingLive migrate VMs to other hostsMobility & Load DistributionLive migrate VMs to different servers to load balanceWhat Guest Clustering Deliver?Application Health MonitoringApp or service within VM crashes or hangs and moves to another VMApplication MobilityApps or services moves to another VM for maintenance or patching of guest OS
  • SCSI: If you are using iSCSI, each clustered server should have one or more network adapters or HBAs that are dedicated to the cluster storage. The network you use for iSCSI should not be used for network communication. In all clustered servers, the network adapters you use to connect to the iSCSI storage target should be identical, and we recommend that you use Gigabit Ethernet or higherFor iSCSI, network adapter teaming (also called load balancing and failover, or LBFO) is not supported. You can consider using MPIO software instead.To use the native disk support included in Failover Clustering, use basic diskWe recommend that you format the partitions with NTFS. If you use Cluster Shared Volumes (CSVs), the partition for each of those must be NTFSConsider using Storage Spaces: If you plan to deploy serial attached SCSI (SAS) clustered storage configured using Storage Spaces in Windows Server 2012, the following are requirements: A clustered storage pool made up of at least three SAS-connected physical disk drives, each with at least 4 GB capacity. The physical disks used for a clustered storage pool must be dedicated to that pool. Startup disks should not be added.Fixed provisioning of the storage pool.Either simple or mirror storage spaces. Parity spaces are not supported.
  • Non-disruptive testing of workload – zero downtimeTest any recovery pointPre-configure isolated network
  • At this time, CSVs do not support the Microsoft SQL Server clustered workload.Improvement:-CHKDSKInteroperate with AV and backupBitLocker-encrypted volumesStorage Spaces
  • Storage and disks must meet the following requirements:NTFS format A disk or storage space for a CSV must be a basic disk that is partitioned with NTFS. A CSV has the following additional requirements:You cannot use a disk for a CSV that is formatted with FAT, FAT32, or Resilient File System (ReFS).If you want to use a storage space for a CSV, you can configure a simple space or a mirror space. CSVs do not support parity spaces.A CSV cannot be used as a quorum witness disk. After you add a disk as a CSV, it is designated in the CSVFS format (for CSV File System). This allows the cluster and other software to differentiate the CSV storage from other NTFS storage. Generally, CSVFS supports the same functionality as NTFS. However, certain features are not supported. For example, you cannot enable data deduplication or compression on a CSV.
  • For an equivalent clustered virtual machine, you should organize the volumes and files in a similar way:System files, including a page file, in a VHD file on one CSVData files in a VHD file on another CSIf the cluster nodes are connected to networks that should not be used by the cluster, you should disable them. For example, we recommend that you disable iSCSI networks for cluster use to prevent CSV traffic on those networks. To disable a network, in Failover Cluster Manager, click Networks, click the network, click the Properties action, and then select Do not allow cluster network communication on this network.
  • Non-disruptive testing of workload – zero downtimeTest any recovery pointPre-configure isolated network
  • Shutdown primary VMSend last logFailover Replica VMReverse replicate
  • Configuring and Using the New Virtualization Features in Windows Server 2012

    1. 1. MVP Virtual Machinewww.ms4u.info | laiys@Redynamics.comRedynamics Asia System Management
    2. 2. Objective &  Setup Hyper-V HighKey AvailabilityTakeaway  Setup Hyper-V Replica
    3. 3. Practical ApproachSetup Hyper-V HighAvailabilityLai Yoong SengMVP Virtual Machine | www.ms4u.info
    4. 4. ... Scale up“Windows Server 2012” supports anindustry best 8,000 VMs per clusterand can now massively scale out to 64 nodes in a cluster ... Scale out Robust management tools
    5. 5. HOST CLUSTERING AND GUEST CLUSTERINGHost Clustering Guest Clustering• Cluster service runs inside (physical) • Cluster service runs inside a VM host and manages VMs • Apps and services inside the VM are• VMs move between cluster nodes managed by the cluster • Apps move between clustered VMs Cluster Cluster SAN iSCSI
    6. 6. Mixing Physical and VirtualScenarios - Spare node is a VM in a Private Cloud - Shared host running multiple spare iSCSI nodes as VMs - Test environment with limited hardware
    7. 7. Overview of Steps Step 1: Step 2: Step 3: Step 4: Step 5: Planning Validate Create Configure Deploy High Hardware Cluster Cluster Availability Shared Virtual Volume Machine
    8. 8. 1  Planning
    9. 9. Why even bother to plan ? Planning is Preparation
    10. 10. Fail to plan …
    11. 11. Step 1: Hardware Planning Plan 1: Plan 2 Plan 3: Plan 4: Plan 5: Server Processor Memory Network Storage Interface Card Root Reserve Certified Hardware DEP Hardware Assisted Virtualization 1 Management iSCSI 64 Bit 1 Live Migration FC SAN Processor compatibility Mode 1 Private/CSV SMB 3.0 1 Backup Storage Space N X Guest Networking N X Storage
    12. 12. 2  Validate Hardware
    13. 13. Step 2:- Validate Hardware Significantly faster storage validation times Granular control to run Validate against specific LUNs New tests Verify CSV requirements Hyper-V specific tests
    14. 14. 3  Create Cluster
    15. 15. Step 3:- Create Cluster
    16. 16. Step 3:- Create Cluster √ Create Cluster 1 1
    17. 17. Step 3:- Create Cluster √ Create Cluster √ Choose Quorum Type
    18. 18. 4  Configure Clustered Shared Volume
    19. 19. CLUSTER SHARED VOLUMES Hyper-V Data over any network & File ServerCoordinator Node SANEvery node canaccess storage 1 LUN : Many VMs VHD VHD VHD
    20. 20. Step 4:- Configure Clustered SharedVolume File System Storage Space Type Quorum Witness Disk Deduplication / Compression
    21. 21. Step 4:- Configure Clustered SharedVolume √ Requirement
    22. 22. 5  Deploy High Availability Virtual Machine
    23. 23. CLUSTER LIVE MIGRATIONS Live Migration Queuing Concurrent Live Migrations Cluster VM Mobility Enhancements Concurrent Live Migrations: Multiple simultaneous LMs for a given source or target Cluster VM Mobility Enhancements: Live Migration Queuing: Node Drain, failback, Cluster aware In-box tools queue & manage large updating… numbers of VMs
    24. 24. Step 5:- Deploy High Availability VirtualMachine
    25. 25. Step 5:- Deploy High Availability VirtualMachine √ Create HAVM High Medium Low
    26. 26. Step 5:- Deploy High Availability VirtualMachine √ Create HAVM √ Configure Failover Priority
    27. 27. Practical ApproachSetup Hyper-VReplicaLai Yoong SengMVP Virtual Machine | www.ms4u.info
    28. 28. Hyper-V & Failover Clustering: Hyper-V Replica: Availability across datacenter Site A Site B
    29. 29. Overview of Hyper-V Replica
    30. 30. Overview of Steps Step 1: Step 2: Step 3: Step 4: Step 5: Prepare to Enable Test the Perform Respond to anDeploy Hyper- Replication Replication Planned Unplanned V Replica Deployment Failover Failover
    31. 31. 1  Prepare to Deploy Hyper-V Replica
    32. 32. Step 1:- Prepare to Deploy Hyper-VReplica Behind the firewall? Stand Alone or Cluster Hyper-V Security of replication data Which VHD to be replicated? How many recovery point? Decide Initial replication method? Bandwidth for replication
    33. 33. 2  Enable Replication
    34. 34. Step 2:- Enable Replication
    35. 35. Step 2:- Enable Replication √ Configure Replication Option
    36. 36. Step 2:- Enable Replication √ Configure Replication Option √ Enable Replication
    37. 37. Step 2:- Enable Replication √ Configure Replication Option √ Enable Replication √ Specify Target Server
    38. 38. Step 2:- Enable Replication √ Configure Replication Option √ Enable Replication √ Specify Target Server √ Specify Connection Settings
    39. 39. Step 2:- Enable Replication √ Configure Replication Option √ Enable Replication √ Specify Target Server √ Specify Connection Settings √ Choose Replication VHD
    40. 40. Step 2:- Enable Replication √ Configure Replication Option √ Enable Replication √ Specify Target Server √ Specify Connection Settings √ Choose Replication VHD √ Configure Recovery History
    41. 41. 3  Test the Replication Deployment
    42. 42. Step 3:- Test the Replication Deployment
    43. 43. Step 3:- Test the Replication Deployment √ Enable Replication
    44. 44. Step 3:- Test the Replication Deployment √ Enable Replication √ Test Failover
    45. 45. 4  Perform Planned Failover
    46. 46. Step 4:- Perform Planned Failover
    47. 47. Step 4:- Perform Planned Failover √ Shutdown Primary VM
    48. 48. 5  Respond to Unplanned Failover
    49. 49. Step 5:- Respond to Unplanned Failover Site A Site B
    50. 50. Step 5:- Respond to Unplanned Failover √ Primary Server Has Failed
    51. 51. Summary
    52. 52. Join us ! Q&A Malaysia Virtualization User Group (MVUG) https://www.facebook.com/groups/mvuggroup/ or go to Facebook, search “MVUG” Windows Server 2012 Hyper-V Resources:- Configure Hyper-V High Availability-Resources http://technet.microsoft.com/en-us/library/hh831579.aspx Configure Hyper-V Replica - http://technet.microsoft.com/en- us/library/jj134207.aspx
    53. 53. Home PC Backup SoftwareGiveaway Email to ms4u@outlook.com with the subject “1st Windows Server 2012 Malaysia Roadshow Giveaway”
    54. 54. Thank you

    ×