Archive for the ‘Hyper-v’ Category

Speaking on Wednesday 28/9 at Microsoft about VDI building blocks with #Microsoft,#Citrix & #Netapp #mvpbuzz #xendesktop

September 11, 2011 Leave a comment

next Wednesday I will speak at Microsoft hero event about VDI building blocks with Microsoft, Citrix and Netapp solutions.

the session will be level 300-350 going from design to implementation, the session content will be:

No Marketing stuff , it is All Hot technical materials. so Drink a lot of Coffee :), The session is for Arabic language speakers

 book your calendar, you can confirm your registration and share it on linedin or facebook:



– Introduction to Desktop Virtualization and what does it mean.

– Benefits of VDI for corporates

– Building Blocks for VDI:

    • Understand Hypervisor Requirements, Hyper-v, SCVMM
    • Understand Connection Broker Requirements Xendesktop
    • Understand application delivery requirements (Terminal Services and Xenapp)
    • Understand VDI Type and OS Delivery Types.

– Get your VDI on the right track:

  • Sizing your Hypervisor correctly Including Memory, Processor and Storage.
  • Designing Operating System Delivery
  • Sizing your application delivery infrastructure
  • Sizing remote access and network
  • Storage optimization matrix for VDI deployments (De-duplication, Thin Provisioning and Snapshots)
  • Design backup and restore

– Lab for end to end solution implementation

See you there,


How to Resize the VHD harddisk in Hyper-v

August 16, 2010 Leave a comment

have you ever wanted to reduce the VHD size or resize it to a newer size, here is a step by step on how to resize the VHD disk size:

1- you need to shrink the VHD disk first:

a: If your Host is running Windows 2008 R2, then you can attach the VHD directly to the host and then use disk management to shrink the VM. Once done detach and run resizer. This attach VHD option is also available in Windows 7.
How to attach a VHD

b: If you don’t have a Vista/2008/Win7/2008 R2 VM and you host is Windows 2008 (not R2), you can install VHDmount tool available in Virtual Server 2005 R2 SP1 setup and use it to mount the VHD and then use the disk management tools to shrink the VHD.
Mount a VHD file with VHDMount

Once you did shrink to the VM, do resize using VHD sizer :

the above steps will allow you to resize the VHD and also reduce its size as well

Categories: Hyper-v, SCVMM Tags: , ,

Changing SCVMM 2008 R2 Communication Ports

August 10, 2010 Leave a comment

1. Stop the Virtual Machine Manager Windows Service.
2. OpenWindows Registry.
3. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft System Center Virtual Machine Manager Server\Settings.
4. Change the value of IndigoTcpPort (for WCF), WSManTcpPort (for WinRM), or BITSTcpPort (for BITS).
5. Ensure that the proper firewall rules exist for communication on the changed ports. If both a hardware and a software firewall are in place in your environment, consult with the system administrator to enable these firewall rules on both types of firewall.
6. Start the Virtual Machine ManagerWindows Service.
Categories: Hyper-v, SCVMM

What is new in 2008 R2 Sp1, Vmware Vsphere 4.1 and VMM self service portal 2.0

July 13, 2010 6 comments

VMware vSphere 4.1 :

Some importatnt enhancements in VMware vSphere 4.1 from the release notes are :

  • VMware recommends that customers start transitioning to the ESXi architecture when deploying VMware vSphere 4.1.
  • vCenter Server 4.1 now requires a 64-bit Windows operating system, it will not installl on a 32-bit Windows OS.
  • For ESX and ESXi, the vSphere Client is available for download from the VMware Web site. It is no longer packaged with builds of ESX and ESXi.
  • vSphere 4.1 enables ESXi boot from SAN (BFN). iSCSI, FCoE, and Fibre Channel boot are supported.
  • vSphere 4.1 offers enhanced visibility into storage throughput and latency of hosts and virtual machines, and aids in troubleshooting storage performance issues.
  • Storage I/O Control – This feature provides quality-of-service capabilities for storage I/O in the form of I/O shares and limits that are enforced across all virtual machines accessing a datastore, regardless of which host they are running on.
  • Network I/O Control – Traffic-management controls allow flexible partitioning of physical NIC bandwidth between different traffic types, including virtual machine, vMotion, FT, and IP storage traffic (vNetwork Distributed Switch only).
  • Windows Failover Clustering with VMware HA. Clustered Virtual Machines that utilize Windows Failover Clustering/Microsoft Cluster Service are now fully supported in conjunction with VMware HA
  • vSphere 4.1 provides the ability to concurrently manage multiple VMware Data Recovery appliances
  • vCenter Converter allows users to point to a Hyper-V machine. Converter displays the virtual machines running on the Hyper-V system, and users can select a powered-off virtual machine to import to a VMware destination
  • vCenter Server 4.1 can support three times more virtual machines and hosts per system, as well as more concurrent instances of the vSphere Client and a larger number of virtual machines per cluster than vCenter Server 4.0
  • Memory Compression – Compressed memory is a new level of the memory hierarchy, between RAM and disk. Slower than memory, but much faster than disk, compressed memory improves the performance of virtual machines when memory is under contention, because less virtual memory is swapped to disk
  • ESX/ESXi Active Directory Integration – Integration with Microsoft Active Directory allows seamless user authentication for ESX/ESXi. You can maintain users and groups in Active Directory for centralized user management and you can assign privileges to users or groups on ESX/ESXi hosts
  • User-configurable Number of Virtual CPUs per Virtual Socket – You can configure virtual machines to have multiple virtual CPUs reside in a single virtual socket, with each virtual CPU appearing to the guest operating system as a single core. Previously, virtual machines were restricted to having only one virtual CPU per virtual socket

Download link :

Detailed What’s New in vSphere 4.1 can be found at

Windows 2008 R2 SP1 ( Beta )

Windows 2008 R2 SP1 assumes significance as it introduces two much needed features to Hyper-V – Dynamic Memory and Remote FX .

Dynamic memory :

Memory. Dynamic memory is a memory management enhancement for Hyper-V that enables to increase the efficiency of using memory and thereby enable us to obtain higher consolidation ratios per host by dynamically and securely adjusting the memory between virtual machines. Dynamic memory dynamically increases and decreases the memory allocated to VMs based on usage. Dynamic memory enables to obtain benefits on their servers with predictable performance and consistent scalability for their production deployment environments.

Dynamic memory requires that hot add memory capabilities be available in the guest operating systems. The current list of supported guest operating systems includes the following:

Client Operating Systems:

  • Windows Vista Business/Enterprise/Ultimate
  • Windows 7 Business/Enterprise/Ultimate

Server Operating Systems:

  • Windows Server 2003 SP2 Enterprise/Datacenter
  • Windows Server 2008 Enterprise/Datacenter
  • Windows Server 2008 R2 Enterprise/Datacenter

RemoteFX enhances Microsoft desktop virtualization. RemoteFX lets Windows Server 2008 R2 administrators provide an even richer and user-transparent desktop virtualization experience. RemoteFX delivers rich content, independent of any graphics stack, to server-hosted virtual and session-based desktops, allowing them to support any screen content, including full-motion video, portable graphics stacks such as Silverlight, and 3D applications. Because it can use virtualized graphics on the server and advanced codecs , RemoteFX can deliver those experiences to a much wider array of target devices, including standard desktops and laptops but also an emerging slew of thin clients. You’ll also be able to forward the USB ports of the local client to the virtual machine being accessed on the device – just like you can forward the local printer over RDP today.

Windows Server 2008 R2 SP1 Beta can be downloaded from

Self-Service Portal 2.0 for Virtual Machine Manager ( RC ) :

VMMSSP (also referred to as the self-service portal) is a fully supported, partner-extensible solution built on top of Windows Server 2008 R2, Hyper-V, and System Center VMM. You can use it to pool, allocate, and manage resources to offer infrastructure as a service and to deliver the foundation for a private cloud platform inside your datacenter. VMMSSP includes a pre-built web-based user interface that has sections for both the datacenter managers and the business unit IT consumers, with role-based access control. VMMSSP also includes a dynamic provisioning engine. VMMSSP reduces the time needed to provision infrastructures and their components by offering business unit “on-boarding,” infrastructure request and change management. The VMMSSP package also includes detailed guidance on how to implement VMMSSP inside your environment.

Important: VMMSSP is not an upgrade to the existing VMM 2008 R2 self-service portal. You can choose to deploy and use one or both self-service portals depending on your requirements.

The self-service portal provides the following features that are exposed through a web-based user interface:

  • Configuration and allocation of datacenter resources: Store management and configuration information related to compute, network and storage resources as assets in the VMMSSP database.
  • Customization of virtual machine actions: Provide a simple web-based interface to extend the default virtual machine actions; for example, you can add scripts that interact with Storage Area Networks for rapid deployment of virtual machines.
  • Business unit on-boarding: Standardized forms and a simple workflow for registering and approving or rejecting business units to enroll in the portal.
  • Infrastructure request and change management: Standardized forms and human-driven workflow that results in reducing the time needed to provision infrastructures in your environment.
  • Self-Service provisioning: Supports bulk creation of virtual machines on provisioned infrastructure through the web-based interface.Helps business units to manage their virtual machines based on delegated roles.


Categories: Hyper-v

how to use USB dongle with Virtual machine inside Hyper-v

July 3, 2010 4 comments

This is a very common question, also the question is valid if you want to pass the USB drive for any reason to the virtual machine running inside Hyper-v.

the problem that USB support is not available in Hyper-V through the Connect client. You don’t have automatic pass-through USB bus in hyper-V, to work around this issue Once you plug the USB drive into the HYPER-V server, go to disk manager and take the drive offline.

Then you go to your VM running on HYPER-V and add a SCSI hard disk.  You will have the choice of either a VHD or Physical Disk – choose physical disk and the USB drive will be presented thru to the VM.

you can use the hot disk add feature and add the harddisk without taking the machine offline

Exchange 2010 DAG and Hyper-v Cluster supportability statement – Supported but how

May 11, 2010 Leave a comment

We all have been tought that Exchange 2010 DAG cannot be installed on a hyper-v Cluster or ESX Cluster (generally any hypervisor clustering), this is a correct statement but not entirely true.
the correct statement that Installing Exchange 2010 DAG is not supported on Hypervisor Clustering only when you confiure the VM that hosts the Exchange as highly available machine, thus you control the High availability of he VM using clustering.

if you Install Hyper-v or ESX clustering, you can Install Exchange 2010 DAG normally on a VM that is hosted on any single host of the Hypervisor cluster as long as this machine is not highly available from the Hypervisor point of view meaning that you cannot move it using live migration or Vmotion.
you can now install the DAG on your Hypervisor Cluster physical server normally, don’t make the VM highly available, size the IOPs and Memory and you are fine.
Hope that this helps you in your virtualization and Exchange Project

Hyper-v Windows 2008 R2 read and write is very slow and copy operations is extremely slow

May 5, 2010 Leave a comment

I was working on a Windows 2008 R2 Hyper-v Deployment, using 2 HP DL 380 G6 Servers with 16 GB of memory and HP MSA 2000, after setting up the hyper-v Cluster and Installed the VM I noticed that copy, read/write operations against the SAN is very slow, and boot time takes about 2-3 minutes to complete.
little troubleshooting led me to know where, HBA drivers where updated, everything is ok, more debugging led me to the following:
to fix this issue you will need to open the MSA 2000 web admin, go to manage, configuration, disks and go to read configuration as I recall and change the mode from standard to super sequential, once done everything worked fine and performance was as expected.

really tricky one.

Categories: Hyper-v
%d bloggers like this: