How to Set Hyper-V Storage Quality of Service (QoS) on All Virtual Hard Disks via PowerShell? #HyperV #PowerShell

Hello folks,

As we are approaching the holidays, and being busy preparing for the new year! I would like to share a script with you.

Hyper-V Storage QoS!

Killer feature… Microsoft introduced in Windows Server 2012 R2, Hyper-V storage Quality of Service (QoS). Storage QoS enables you to manage storage throughput for virtual hard disks that are accessed by your virtual machines.

Storage QoS enables you to specify the maximum and minimum I/O loads in terms of I/O operations per second (IOPS) for each virtual disk in your virtual machines. Minimum and maximum IOPS are measured in 8 KB increments

Now If you are concerned about a specific virtual hard disk for a particular VM is not receiving sufficient disk I/O, then you can set a minimum IOPS level. Remember that minimum is a soft reserve (best effort) which means it might fail but an event will be logged that things are going wrong. On the other hand, if the virtual hard disk is accommodating a very high I/O then you may want to populate the Maximum IOPS field as a way of limiting the total number of IOPS that the virtual hard disk can consume, and ensure that the storage throughput of one virtual hard disk does not impact the performance of another virtual hard disk on the same Hyper-V host.

For more information on what’s new in Storage QoS in Windows Server 2012 R2, click here.

Best Practices: Hyper-V Storage QoS!

If you identify a VM that is using more resources than you want it to use, then you can go ahead and apply a limit to it right away, this what we call a reactive approach.

To measure a VM, you can use Measure-VM cmdlet but first you must enable VMResourceMetering. The virtual machine metrics infrastructure have been extended with storage related attributes in Windows Server 2012 R2, so you can monitor the performance. To do this Microsoft use what they call “normalized IOPs” where every 8K of data is counted as an I/O.

HV12R2StorageQoS-01

The reactive approach is not really ideal, because you are reacting since you have a problem.

What I recommend doing is to take a proactive approach earlier.

So as you are deploying your virtual machines, you can start applying a default limit to all individual VM’s VHDs and then you can raise based on workload demand.

As best practices, consider tiers based on planned usage as Virtual Machines are deployed as the following:

  • VDI VMs: Max 100 IOPs limit
  • General VMs: Max 500 IOPs limit
  • High Performance VMs: > 500 IOPs limit

How can you limit individual VM’s VHD?

The answer is straight forward, the new Storage QoS feature is available under Advanced Features for each individual virtual hard drive as shown in below figure:

HV12R2StorageQoS-02

Automation: Hyper-V Storage QoS!

Now the challenging question is what if you have hundreds of VMs already deployed and you need to start using the proactive approach?

The answer is simple, open each VM settings and limit the maximum IOPs to 500.

And what if each VM has 4 virtual hard disks attached to it? so 400 VHDs Crying face

The answer is PowerShell of course Winking smile

I created the following tool script that will help you to limit all individual VM’s VHDs to a default IO number you specify.

HV12R2StorageQoS-04

Here you so go Hyper-V storage QoS Maximum IOPs is set for all virtual machines Smile, I feel it’s a much easier than having to set the limit individually for each VM’s VHD.

HV12R2StorageQoS-05

If you have more scenarios, please feel free to leave a comment below:

Demo: Hyper-V Storage QoS!

Would you like to see Hyper-V Storage QoS in action? Then make sure to watch this short demo:

Hyper-V Storage QoS In Action!

And now It’s time to sign-off and prepare for the holidays… Airplane 

HV12R2StorageQoS-03

Until then… See you in 2015!

Enjoy the holidays… Party smile

Cheers,
/Charbel

Posted in Hyper-V, PowerShell Tagged with: , ,

FREE Guide: The Journey of a System Center Consultant Implementing BSM #Savision #SysCtr

As more and more organizations adopted the ITIL framework and they soon realized that their monitoring solution needed to be aligned with the ITIL view on how IT services should be delivered and monitored. This had a great impact on the future requirements of IT monitoring solutions.

Savision is happy to announce that in conjunction with Approved Consulting, they have produced a Business Service Management Guide written by CEO and Microsoft Specialist, Jonas Lenntun.

Are you interested to find out how you can reduce 80% of the time spent in the Operations Manager distributed applications designer, lower monitoring costs and a obtain more pro-active IT department that is aligned with the needs of your business needs?

Then feel free to download the guide from here:

BSM-guide-header-website

Enjoy reading!

Cheers,
/Charbel

Posted in Hyper-V, Savision Tagged with: , ,

My First Book Reviewed: Hyper-V Best Practices 2012 R2 #HyperV #PacktPub

Hello folks,

For the past few months, I’ve been busy working as “Technical Reviewer” for the book title: “Hyper-V Best Practices

And guess what? I Just received good news that it is finally published by Packt Publishing.

The book is authored by my fellow Hyper-V MVP Benedict Berger.

6091EN_HyperV_BestPractices_Cov

This book is intended for those who already have some basic experience with Hyper-V, and now want to gain additional capabilities and knowledge of Hyper-V.

Here is a sneak peak of how the book page looks like Winking smile:

When you click on “Credits” link, you will see my name:- (Under Reviewers)

HV-BP-PG01HV-BP-PG02

Here is my acknowledgement:- (Charbel Nemnom)

HV-BP-PG03

Here is the detailed table of contents and what to expect to learn after reading this book:

Chapter 1: Accelerate Hyper-V Deployment
Why Hyper-V projects fail?
Planning your environment
Preparing your host systems
Creating unattended installation files
Adding basic components
Which edition to install
To GUI or not to GUI
Hyper-V hosts in Active Directory domains
Activating Hyper-V features
Post-installation tasks
Antivirus on a Hyper-V host
Setting the Pagefile
Creating virtual machines
Summary

Chapter 2: High Availability Scenarios
Preparing for High Availability
Summary

Chapter 3: Backup and Disaster Recovery
Protecting a Hyper-V environment
Hyper-V Replica
Azure Site Recovery
Backup of virtual machines
Summary

Chapter 4: Storage Best Practices
Storage overview
SANs versus SOFS
Storage Spaces and tiering
Multipath I/O
Cluster Shared Volumes
Data deduplication
Storage Quality of Service
NTFS versus Resilient File System
The iSCSI target
Summary

Chapter 5: Network Best Practices
Networking overview
NIC Teaming
Converged networking
Storage network
SMB Direct
Advanced networking options
IPAM
Summary

Chapter 6: Hyper-V Performance Tuning
Measuring performance
Performance tuning
Hyper-V benchmarking
Hyper-V for virtual desktops
Summary

Chapter 7: Management with System Center
Microsoft System Center
Summary

Chapter 8: Migration to Hyper-V 2012 R2
Upgrading single Hyper-V hosts
Migrating VMware virtual machines
Summary

Do you want to accelerate and deploy Hyper-V right from the first time? Then I strongly encourage you to grab a copy of this book here.

Enjoy reading!

Cheers,
/Charbel

Posted in Books, Hyper-V Tagged with: , ,

Demo: Storage Spaces Tiering in Action #StorageSpaces #HyperV

Hello folks,

In today’s blog post, I will demonstrate the Storage Spaces Tiering feature that was introduced in Windows Server 2012 R2.

If you want a quick overview on how to optimize Storage Tiered Spaces, make sure to check my previous blog post here.

Enjoy the demo!

Cheers,
/Charbel

Posted in Storage Spaces, Windows Server, Windows Server 2012 R2 Tagged with: , ,

How To Migrate from Standard Switch to Logical Switch in VMM 2012 R2? #SCVMM #VMM #SysCtr #HyperV

Hello folks,

In today’s blog post, I will show you how to migrate from VMM Standard Switch to VMM Logical Switch in System Center Virtual Machine Manager 2012 R2.

As of today 5/December/2014, SCVMM 2012 R2 doesn’t have a magic button to migrate between the two worlds Winking smile.

In Virtual Machine Manager you can choose between two Virtual Switches; You can use either the new Logical Switch or you can use the Standard Virtual Switch.

The question is, what if we already have Hyper-V deployed with Standard Virtual Switch, and is managed by SCVMM, but we need to migrate to Logical Switch, would be possible?

The answer is “Yes!”.

In a nutshell, let’s have first an overview of Standard Switch vs. Logical Switch:

VMM Standard Switch

The Standard Virtual Switch is basically the normal Hyper-V Virtual Switch that has all the default Virtual Switch functions, and the configuration is the same as in the Hyper-V Manager. If you add a Hyper-V Host to VMM and you have previously created the Virtual Switch using Hyper-V Manager or PowerShell.

Existing Virtual Switches will be shown as Standard Switches in SCVMM as shown in below figure, you have to recreate the configuration if you want to use the Logical Switch which is our talk for today.

Standard-Logic-vSwitch01

Standard-Logic-vSwitch03

VMM Logical Switch

A Logical Switch includes Virtual Switch Extensions, Uplink Port Profiles which define the underlying physical network adapters used by the Hyper-V Virtual Switch for example for teaming and the Virtual Adapter Port Profiles mapped to Port Classifications which are the settings for the Virtual NICs of the virtual machines.

You can create multiple vNICs (vEthernet Adapters) as shown in below figure, for example a Hyper-V Converged Networking setup. Port Classifications and Virtual Adapter Port Profiles bring support for Bandwidth Management and Quality of Service (QoS).

Standard-Logic-vSwitch02

Standard-Logic-vSwitch04

So without further ado, let’s start the migration plan.

First question to ask, do you have Hyper-V Cluster host or Hyper-V Standalone host?

I will walk through both scenarios.

Scenario 1: Migration Plan from Standard Switch to Logical Switch in Hyper-V Cluster Host:

1. Prepare your environment before assigning a “Logical Switch”.

2. Clean up your Hyper-V cluster host (carefully…)
– Place your host in Maintenance Mode in VMM (move all Virtual Machines to a different host, because you will have network outage!).
– If you don’t have Hyper-V cluster and you have more than one host, then move all Virtual Machines to a different host using Shared-Nothing Live Migration (because you will have network outage as well!).
– Remove the Virtual Switch.
– Remove NIC Teaming (The IP will be moved to MGT NIC, so make sure your MGT adapter still has an IP address before you proceed).
– Refresh the Host in VMM, make sure Virtual Machine Manager has the same level of information, no virtual switch and no teaming.
– Apply your logical switch, and then create the Virtual Network adapters (vNICs) according to the plan you have, click OK and you are done!
– Stop Maintenance Mode in VMM (when you bring a host out of maintenance mode, VMM does not automatically restart the virtual machines and does not automatically move any migrated virtual machines back on to the host).

3. Virtual Machine Migration
– Relocate your VMs from the host with the Standard to the Logical Switch, because the other host is still probably has the standard vSwitch.
The name of the Standard and Logical Switch should be the same!
○ What about the Virtual Machines network when you move back the migrated VMs?
○ The answer is “Yes”, It will work and connect to the right Logical Switch.
– Planing for this
○ Warning! Downtime impact
○ Automation with PowerShell

Scenario 2: Migration Plan from Standard Switch to Logical Switch in Hyper-V Standalone Host:

1. Prepare your environment before assigning a “Logical Switch”.

2. Clean up your Hyper-V single host (carefully…)
– Planning for this
Warning! You will have downtime
○ Automation with PowerShell
– Document all your vmNICs of all virtual machines (IP Address, VLAN ID).
– Shutdown all virtual machines.
– Remove vmNICs from all virtual machines.
– Remove vNICs from the ManagementOS if you are using Hyper-V Converged Networking (Make sure your MGT adapter still has an IP address before you proceed).
– Remove Ethernet Resource Pool if you are using “VMResourcePool”.
– Remove Hyper-V Standard Virtual Switch.
– Remove NIC Teaming (IP moved to MGT NIC).
– Refresh Host in VMM.
– Apply your logical switch and then add the Virtual Network adapters (vNICs) according to the plan you have.

3. Virtual Machine
– Add vmNICs for all virtual machines.
– Assign the same static IP address for each VM according to the plan you have.
– Start all your virtual machines.

OK, so having the plan in place, let’s start the automation process with PowerShell Winking smile

I will automate scenario 2 since it’s more existing and it requires more manual intervention than scenario 1.

Standard-Logic-vSwitch05

<#
.SYNOPSIS
Migrating from VMM Standard Switch to VMM Logical Switch.

.DESCRIPTION
Migrating from VMM Standard Switch to VMM Logical Switch in Hyper-V Standalone Host.

.NOTES
File Name : VMM-SwitchMigration.ps1
Author      : Charbel Nemnom
Version    : 1.0
Requires  : PowerShell Version 3.0 or above, VMM IP Pools defined
OS          : Windows Server 2012 R2 with System Center Virtual Machine Manager 2012 R2

.LINK
To provide feedback or for further assistance please visit:

http://charbelnemnom.com

.EXAMPLE
./VMM-SwitchMigration -VMMServerName <VMMServerName> -HostName <HyperVHostName>
This example will migrate <HyperVHostName> from VMM Standard Switch to VMM Logical Switch inluding all Virtual Machines.
#>

[CmdletBinding()]
param(
[Parameter(Mandatory=$true, HelpMessage=’VMM Server Name’)]
[Alias(‘VMMServer’)]
[String]$VMMServerName,

    [Parameter(Mandatory=$true, HelpMessage=’Hyper-V Host Name’)]
[Alias(‘HVHost’)]
[String]$HostName
)

# Document All Virtual Machines vmNICs including IPAddress and VLanID
$VMs=Get-SCVirtualMachine -VMHost $HostName | Get-SCVirtualNetworkAdapter | Select Name, IPv4AddressType, IPv4Addresses, VLanID, SlotID

# Shutdown all Virtual Machines
Get-SCVirtualMachine -VMHost $HostName | Stop-SCVirtualMachine

# Remove vmNICs from all Virtual Machines
foreach ($VM in $VMs)
{
$VirtualNetworkAdapter = Get-SCVirtualNetworkAdapter -VM $VM.Name
$VirtualNetworkAdapter | Remove-SCVirtualNetworkAdapter
}

# Verifiy vmNICs on all Virtual Machines that are removed
foreach ($VM in $VMs)
{
Get-SCVirtualNetworkAdapter -VM $VM.Name
Read-Host “Press Enter to Continue”
}

# Remove vNICs from the ManagementOS if you are using Hyper-V Converged Networking
# You may lose network connection to the host,  make sure your MGT adapter still has an IP address before you proceed
# Remove Ethernet Resource Pool if you are using VMResourcePool
# Remove Hyper-V Standard Virtual Switch
# Remove NIC Teaming

Invoke-Command -ComputerName $HostName -ScriptBlock {
Remove-VMNetworkAdapter -ManagementOS
Get-VMResourcePool | ?{$_.Name -match ‘Eth’} | Remove-VMResourcePool
Get-VMSwitch | Remove-VMSwitch -Confirm:$false -Force
Get-NetLbfoTeam | Remove-NetLbfoTeam -Confirm:$false
}

# Refresh the Hyper-V Host in VMM!
Get-SCVMHost $HostName | Read-SCVMHost

# This step is done manually in VMM UI!
Read-Host “Apply the Logical Switch on the Host in VMM!”

# Select Logical Switch and Port Classification
$VirtualNetwork=Get-SCVirtualNetwork -VMMServer $VMMServerName|Out-Gridview -PassThru -Title ‘Select Logical Switch’
$PortClassification=Get-SCPortClassification -VMMServer $VMMServerName|Out-GridView -PassThru -Title ‘Select Port Classification’

# Add vmNICs to all Virtual Machines and set the IP Address according to the plan
foreach ($VM in $VMs)
{
$IPAddresses=$VMs | where {$_.Name -eq $VM.Name} | select -ExpandProperty IPv4Addresses
$NICs=Get-SCVirtualNetworkAdapter -VMMServer $VMMServerName -VM $VM.Name
$CountedNics = $NICs.Count
for ($i=0; $i -lt $CountedNics ; $i++)
{
$VMNetwork=Get-SCVMNetwork -VMMServer $VMMServerName|Out-Gridview -PassThru -Title “Select the virtual network for $VM.Name”
New-SCVirtualNetworkAdapter -VM $VM.Name -VMNetwork $VMNetwork -VirtualNetwork $VirtualNetwork -Synthetic -PortClassification $PortClassification
Set-SCVirtualNetworkAdapter -VMMServer $VMMServerName -VirtualNetworkAdapter $NICs[$i] -IPv4AddressType Static -IPv4Addresses $IPAddress[$i]
}
}

# Verifiy vmNICs on all Virtual Machines that acquire an IP Address
foreach ($VM in $VMs)
{
Get-SCVirtualNetworkAdapter -VM $VM.Name | ft Name, IPv4AddressType, IPv4Addresses -a
Read-Host “Press Enter to Continue”
}

# Start all Virtual Machines
Get-SCVirtualMachine -VMHost $HostName | Start-SCVirtualMachine

# End
# Enjoy :)

Sure enough there are different ways to accomplish the same result Just kidding, but nevertheless it has worked for me and I feel that it’s a much easier and less downtime than having to do each step manually, so that’s that version 1.0 and expect more enhancements on upcoming versions Winking smile

I’d like to shout big thanks to my great friend Mark Scholman for reviewing my script!.

Hope this helps.

Until then, enjoy your weekend!

Cheers,
/Charbel

Posted in Networking, System Center, System Center 2012 R2, Virtual Machine Manager Tagged with: , , , , ,

StarWind End-of-the-Year Special Offers and Upcoming Webinars #StarWind #HyperV

Hello folks,

The year is almost over Party smile. StarWind provides 2 special offers:

1. Buy Now, Pay Later! – Special Payment Terms Net 90! To help meet your business goals but stay within your payment schedule and tight budget, StarWind provides financial flexibility by offering special payment terms – 90 days net upon signing the invoice!
Buy any StarWind product edition to build a fault-tolerant, high-performing Virtual SAN by December 31, 2014 and pay later!

2. Order Safely! Unprecedented 30-Day Money Back Guarantee!
We are so confident in the quality of our product and its functionality that we grant unconditional 30-day money back guarantee – no hassles, no questions asked!
This cooling-off period is designed to ensure that you are 100% satisfied with your purchase of StarWind Virtual SAN solution and to remove any risk from your purchase. So go ahead, sign up!
The offer is valid for StarWind Virtual SAN editions purchased December 1, 2014 – December 31, 2014. Request must be postmarked within 30 days after order placement.

So go ahead, and sign up below:

StarWind-DecemberPromos-2014

Upcoming free webinars:

1. Fighting the “I/O Blender” Effect in Virtual Environments, StarWind Software’s Weapon of Choice is a Log Structured File System (LSFS), December 11, 11:00AM PT / 2:00PM ET

Speaker:
Jon Toigo, Toigo Partners International.

A side effect of the massive server workload consolidation enabled by hypervisor-based virtualization has been the addition of 7 to 16 I/O ports per machine to handle the I/O requirements of the hosted apps. But, before the data can be sent to and from storage devices, virtualization administrators often confront a more challenging problem that some have taken to calling the I/O Blender Effect. The I/O Blender effect is seen when multiple virtual machines send their I/O streams at the same time to a hypervisor for processing, increasing random accesses and increasing latency. Some software-defined storage (SDS) architectures are actually making the problem worse by caching raw small logical block writes using flash memory devices, leading to accelerated wear of the device and contributing virtually no improvement in storage I/O performance.

The solution isn’t bigger or faster flash memories, but rather a log-structured file system that better organizes, writes and enables a return to sequential accesses. Don’t look for log structuring technology (yet) in the SDS offerings of leading hypervisor vendors–it is still on their product roadmaps. To get it today, you need to look at SDS innovators like StarWind Software whose approach to virtual SAN enables small writes to coalesce before writing them to flash-based caches and that enables most read requests to be handled from the cache directly.

If you are considering software-defined storage, this is a webcast you don’t want to miss.

Special Offer: Attend the webinar and win a free NFR license of StarWind Virtual SAN! Smile

Registration: starwind_logo_new

2. Scale Up is History! Is Scale Out the Future for Storage, December 18, 2:00PM GMT

Speaker:
Chris M. Evans, Independent Consultant, Langton Blue Ltd.

For many years, the dominant architecture for both compute and storage involved building bigger, faster “scale up” hardware as demand grew. However, efficient web scale companies like Google and Facebook have demonstrated there’s a place for scale-out architectures too.

Join us for a discussion on the difference in design and approach between scale-up and scale out solutions, focusing on the benefits and disadvantages of each. The presentation will cover both storage and hyper-converged solutions, with a review of the products in the marketplace today, including leading vendors such as Microsoft and VMware.

Sign up for this webinar to learn:

•    What are scale out solutions?
•    Differences and benefits of scale out vs. traditional scale up solutions
•    Challenges in delivering scale out architectures
•    How scale out helps deliver hyper-converged compute and storage solutions
•    How to decide whether scale out or scale up is right for you
•    Vendor roundup – scale out hardware and software offerings in the marketplace today

Registration: starwind_logo_new

Until then… Enjoy the hot offers Winking smile

Cheers
/Charbel

Posted in Hyper-V, StarWind Tagged with: ,

Enhance Your System Center Configuration Manager Deployment With New SCCM Advanced Deployment Book #SysCtr #SCCM #ConfigMgr @PacktPub

Hello Folks,

Do you want to design, implement, and configure System Center Configuration Manager 2012 R2 with the help of real-world examples?

Then this book is ideal for you: A New book just been published by Packt Publishing, it’s named “Microsoft System Center Configuration Manager Advanced Deployment” authored by Martyn Coupland.

What You Will Learn in This Book:

  • Analyze your environment to provide the best design solution
  • Secure your environment using certificates and encryption
  • Address challenges with unwanted application installations
  • Provide a secure operating system with endpoint protection
  • Learn how content management works in Configuration Manager
  • Deploy complex desktop and server operating systems
  • Keep your environment up to date with security updates
  • Manage mobile devices and Bring Your Own Device (BYOD)

2086EN_Microsoft System Center Configuration Manager Advanced Deployments

I am happy to announce that I was selected to review the book.

This book will give you thorough insights into Configuration Manager environments from a design perspective. You will understand how proper decisions made at the first stage of a deployment can lead to a successful implementation at the later stages. Following this, you will learn how to secure your site using certificates and also deploy and manage endpoint protection to clients.

Here is the detailed table of contents and what to expect to learn from reading this book:

Chapter 1: DESIGNING COMPLEX HIERARCHIES
Selecting the appropriate site system server
Designing fault-tolerant hierarchies
Backup and recovery in Configuration Manager
Designing to support trusted forests
Designing to support nontrusted forests
Designing a sample hierarchy
Summary

Chapter 2: IMPLEMENTING SECURITY WITH CERTIFICATES
Planning for the use of certificates
Setting up a secure communication
Configuring Configuration Manager
Deploying certificates to workgroup computers
Summary

Chapter 3: WORKING WITH INVENTORY, ASSET INTELLIGENCE, AND SOFTWARE METERING
Configuring the software and hardware inventory
Using the inventory data to your advantage
Making use of software metering
Real-world use of asset intelligence
Controlling applications with the inventory data
Summary

Chapter 4: SECURITY WITH ENDPOINT PROTECTION
Configuring the endpoint protection infrastructure
Creating endpoint protection policies
Deploying endpoint protection definition updates
Deploying endpoint protection agents
Responding to threats
Controlling the Windows Firewall
Summary

Chapter 5: ADVANCED CONTENT MANAGEMENT
Deploying distribution points
How to deploy cloud distribution points
Understanding the content library
Introducing network caching
Working with data deduplication
Summary

Chapter 6: APPLICATION DEPLOYMENT
Introducing the application model
Deploying virtual applications
How the application model works
When to use packages
Summary

Chapter 7: DEPLOYING WINDOWS 8.1 AND WINDOWS SERVER 2012 R2
Introduction to operating system deployment
Integrating the Microsoft Deployment Toolkit
Creating custom boot images
Maintaining a driver library
Creating reference images
Using images in virtual environments
Deploying your captured images
Summary

Chapter 8: DEPLOYING SECURITY UPDATES
Software updates
Designing a software update infrastructure
Monitoring software updates
A sample scenario to patch workstations
A sample scenario to patch servers
Summary

Chapter 9: ADVANCED REPORTING
Report Builder
Creating custom reports
Creating custom charts
Optimizing query performance
Configuring report subscriptions
Summary

Chapter 10: PREVENTING CONFIGURATION DRIFT
An introduction to compliance settings
Example scenarios for compliance monitoring
Summary

Chapter 11: MANAGING BRING YOUR OWN DEVICE AND MOBILITY
Deploying company resource profiles
Managing Internet-based devices
Using the Microsoft Exchange connector
Using Windows Intune
Summary

Chapter 12: ADVANCED TROUBLESHOOTING
Error tracing in Configuration Manager
Using the Configuration Manager toolkit
Using the service manager utility
Real-world scenarios
Summary

The book is available for immediate download from Packt Publishing website after registration here.

Grab your copy and enjoy!

Cheers,
/Charbel

Posted in Book, Configuration Manager, System Center, System Center 2012 R2 Tagged with: , ,

Free New Webinar & eBook: Microsoft Licensing for Hyper-V #Altaro #HyperV

Hello folks,

as you know that Microsoft licensing for virtual environments can be tricky and there are a lot of misconceptions out there on how to ensure you comply, but also special benefits some may be unaware of.

Microsoft-Server-Virtualization-Licensing-ebook

1. Altaro Webinar hosted by my fellow MVPs Thomas Maurer and Andrew Syrewicze on Thursday, 4th December 2014 at 10am EST / 4pm CET (30-45 mins + live Q&A!). Sign up for the free webinar here:

join Altaro webinar

2. If you are looking to get to grips with Microsoft licensing for Hyper-V? then we get you covered as we have something special for you Party smile.

Download your free copy of the eBook now and start licensing your virtual environment correctly.

Download eBook

Enjoy!

Cheers,
/Charbel

Posted in Altaro, Hyper-V Tagged with: , ,

How to Associate a Cloud to Multiple Virtual Machines in VMM 2012 R2 Via PowerShell #VMM #SysCtr #SCVMM #PowerShell

Hello folks,

As you know that in System Center Virtual Machine 2012 R2, we can create “Clouds” SmallCloudas pools of delegated resources that abstract the underlying physical fabric such as compute, network and storage. We can create multiple Clouds for varying business units needs or tenants, and then present each Cloud with a defined capacity that we can increase later, decrease or customize as needed. In this manner, Virtual Machine Manager provide us with a lot of flexibility for mapping our datacenter capacity to changing business requirements while not exposing the full fabric capacity details to customers.

In SCVMM in order to deploy a service to a cloud, you must have the following requirements in place:

Service Templates that are configured through the use of many VMM resources such as virtual hard disks, VM Templates, Guest OS profiles, Hardware profiles, and other VMM library resources. The service template allows us to configure how many Virtual Machines are initially deployed as part of the service deployment, then configure the applications to be installed at deployment time.

For example when you deploy a multi-tier application to a tenant or business unit, the virtual machines that belong to this service will be associated to a Cloud.

The following figure will illustrate the picture:

AssociateCloud_VMM07

The first question is what if you already have virtual machine that was manually deployed without Service Template, would you be able to associate it to a Cloud?

The answer is YES! Smile

How to do it?

You can browse to the VM and follow the steps below:

VM not associated to a cloud:

AssociateCloud_VMM02

VM associated to a cloud:

AssociateCloud_VMM03

The second question is what if you have 100 virtual machines that was manually deployed without Service Template, would you still be able to associate them to a Cloud?

The answer is YES!

How to do it?

Well same as we did above… very simple.

Really Surprised smile NOOOO!

So I have created the following simple PowerShell tool that will save you 400 clicks on your mouse, 4 clicks per VM Open-mouthed smile.

<#
.SYNOPSIS
Set the Associate Cloud to Multiple Virtual Machines.

.DESCRIPTION
This script will set or remove cloud association for all Virtual Machines to a specific Tenant and Host Group.

.NOTES
File Name : Set-AssociateCloud.ps1
Author      : Charbel Nemnom
Version    : 1.0
Requires  : PowerShell Version 3.0 or above
OS           : Windows Server 2012 or above with System Center Virtual Machine Manager 2012 R2

.LINK
To provide feedback or for further assistance please visit:
http://charbelnemnom.com

.EXAMPLE
./Set-AssociateCloud -TenantCloudName <CloudProvider> -HostGroupName <Hosts>
This example will set the cloud association to all virtual machines for a specific Tenant and Host Group.
.EXAMPLE
./Set-AssociateCloud -TenantCloudName <CloudProvider> -HostGroupName <Hosts> -AssociateCloud No
This example will remove the cloud association from all virtual machines for a specific Tenant and Host Group.
#>

[CmdletBinding()]
param(
[Parameter(Mandatory=$true)]
[Alias(‘CloudName’)]
[String]$TenantCloudName,

[Parameter(Mandatory=$true)]
[Alias(‘GroupName’)]
[String]$HostGroupName,

[ValidateSet(“Yes”,”No”)]
[String]$AssociateCloud=’Yes’
)

$Cloud = Get-SCCloud -VMMServer localhost | where {$_.Name -eq $TenantCloudName}
$hostGroups = Get-SCVMHostGroup -Name $HostGroupName
Foreach ($hostGroup in $hostGroups.AllChildHosts)
{
$VMs = Get-SCVirtualMachine -VMMServer localhost -VMHost $HostGroup
foreach ($VM in $VMs)
{
If($AssociateCloud -eq ‘Yes’)
{
Set-SCVirtualMachine -VM $VM.Name -Cloud $Cloud
}
Else
{
Set-SCVirtualMachine -VM $VM.Name -RemoveFromCloud
}
}
}

If you need to associate all virtual machines to a specific tenant and host group, you can run the following cmdlet:

AssociateCloud_VMM04

AssociateCloud_VMM05

The default parameter to Associate Cloud is Yes, if you want to dissociate a Cloud from all Virtual Machines, then you need to add the parameter –AssociateCloud No

AssociateCloud_VMM06

AssociateCloud_VMM01

Hope this helps!

Until then… see you in the Cloud Smile

Cheers,
/Charbel

Posted in Service Templates, System Center, System Center 2012 R2, Virtual Machine Manager Tagged with: , , , , ,

StarWind Free Webinars, Protecting Virtual Machines, Building Hyper-V Cluster and Building Scale-Out File Server Without JBODs #HyperV #StarWind

1. Protecting Virtual Machines Using Data ReplicationThursday, November 20, 11:00 am PT / 2:00pm ET

Featured Speakers: Matt Price, Systems Engineer, Veeam Software, Inc. Max Kolomyeytsev, Product Manager, StarWind Software
Host: Chris M. Evans, Independent Consultant, Langton Blue Ltd.

With a need for 24/7 operations, protecting data in ways that minimize downtime is an essential requirement for all IT departments. Data replication is a key tool that enables virtualization administrators to deliver continuous operations in virtual server environments. There are important considerations which determine where best to implement replication technology. This webinar discusses the technical options available and how to choose the right product for your needs. You will learn:

  • Why data replication is needed in your IT environment
  • A definition of data replication, including the different modes of operation
  • Why array-based replication solutions aren’t ideal for virtualized environments
  • How to choose between volume-based or VM-based replication tools
  • An overview of Veeam Backup and Replication, including replication features
  • An overview of StarWind Virtual SAN, including replication features

Registration:

Webinar Nov20

2. Building The Highly Available Hyper-V Cluster on Free Microsoft Hyper-V Server – Practice

Wednesday, December 3, 11 am ET / 4 pm GMT

Featured Speakers: Alexander Karavanov, Virtualization Security Engineer, 5nine Software Max Kolomyeytsev, Product Manager, StarWind Software

Experts from 5nine Software and StarWind Software proceed with their break-out session on the creation of cost effective and highly available Hyper-V failover cluster. Join them to continue receiving the essential insight. If you haven’t seen the first webinar – be sure to check it out right here (http://www.starwindsoftware.com/building-a-highly-available-hyper-v-cluster-using-free-microsoft-server-video)

Registration:

webinar Dec3

3. Live Webinar: How to build Microsoft Scale-Out File Server without SAS JBODs

Thursday, December 9, 9 am PT / 12:00pm ET Featured Speaker: Max Kolomyeytsev, Product Manager, StarWind Software Microsoft Scale-Out File Server is a new efficient storage solution for Hyper-V and SQL. SoFS uses SMB 3.0 to eliminate all the complexity of traditional shared storage and leverages the clustering capabilities to maintain true storage high availability. While most of the vendors show how SoFS is configured with shared JBOD storage, we will show you how to configure it with just local storage and zero additional hardware. Join StarWind expert Max Kolomyeytsev and learn how:

  • How to reduce deployment costs by excluding shared SAS JBOD infrastructure
  • How to enable the use of local high capacity SATA, high speed PCIe SSD, and commodity SATA SSD as storage for SoFS
  • Leverage RAM cache from read-only to a distributed write cache

Registration:

webinar Dec9

Enjoy the Webinars Smile

Cheers,
/Charbel

Posted in Hyper-V, StarWind Tagged with: , ,

Deck: Hyper-V TechDays#1 Microsoft Dubai #HyperV #TechDays #Microsoft

Thanks to Microsoft® and to all IT Pros who attended my presentation today at the Microsoft Dubai Office TechDays#1 focused on Hyper-V Server best practices and top functionalities.

The feedback was awesome Open-mouthed smile

We discussed various Hyper-V features, top functionalities and best practices, including 13 live demos.

The topics discussed are the following:

  • What’s new in the CloudOS?
  • Planning and Rolling out Hyper-V Hosts
  • Top Hyper-V Functionalities and Architecture Patterns
  • Deployment Options and Common Mistakes
  • Secure your Private Cloud and Hyper-V Security
  • Protect your Hyper-V Environment with Failover Clustering, Hyper-V Replica, and Azure Site Recovery.

At the end of this article, I’ve included a downloadable copy of the session deck 168 slides Winking smile

For folks who asked the following offline questions, here are the answers:

Q: Can we convert a Linux physical machine to virtual machine?

A: Unfortunately not, here is the full list of the supported physical machine conversion to Hyper-V.

Q: We are still running System Center Virtual Machine Manager 2012 because we need the P2V functionality, but VMM 2012 does not support Hyper-V 2012 R2.

A: Thanks to Microsoft Virtual Machine Converter 3.0 that brings back P2V functionality, you can now safely upgrade your VMM infrastructure to 2012 R2.

Q: I am still running Windows Server 2003 on physical machine, can I convert it to virtual machine with MVMC 3.0?

A: First of all, Windows Server 2003 will rest in peace on July 14th, 2015 Party smile, therefore you should start planning your migration very soon if you didn’t start already… Second, if you still need to migrate physical Windows Server 2003 to Hyper-V, Microsoft Virtual Machine Converter 3.0 des not support Windows 2003 Surprised smile, the alternate option is to use Disk2vhd v2.01 by Sysinternals. Disk2vhd supports Windows Server 2003 and higher.

IMG_8125

Download a copy of this deck for offline review.

Until the next TechDays session… Enjoy your day!

Cheers
/Charbel

Posted in Microsoft, TechDays Tagged with: , , ,

New Release Savision Cloud Reporter & Cloud Advisor – Nov 2014 @Savision #PrivateCloud #HyperV

Cloud Reporter and Cloud Advisor Release, November 2014

what's-new-savision

This month, Savision announced a new update for Cloud Reporter and Cloud Advisor.

Cloud Reporter is the Cloud Capacity Management solution, and Cloud Advisor is the FREE Tuning and Optimization Recommendations for Hyper-V.

Please make sure to join the free webinar and learn what’s new in the new release of both Cloud Reporter & Cloud Advisor.

The webinar will be held on two different dates and will be hosted by Savision’s VP of R&D, Steven Dwyer.

USA Time Zone: Tuesday, November 18, 2014 11:00 am EDT/ 17:00 pm CEST

EUROPE Time Zone: Thursday, November 20, 2014 9:30 am EDT/ 15:30 pm CEST

The webinar is specially designed to highlight the new features and walk you through the many benefits of using Cloud Reporter & Cloud Advisor to monitor your cloud, so don’t forget to register now!

Enjoy!

Cheers,
/Charbel

Posted in Hyper-V, Savision Tagged with: , ,

MVP Summit 2014 #MVPSummit #MVPbuzz #MVP2014

MSFT14-Redmond01

Microsoft® Redmond Campus (Image Credit: Charbel Nemnom)

This week I’ve been in Redmond attending the Microsoft Global MVP Summit 2014. It was a unique and fantastic experience Open-mouthed smile.

Microsoft MVP’s from all around the world are being invited to come over to the Microsoft Campus in Redmond  to join various Product Teams to discuss the current state and future of their technology expertise. The best part about MVP Summit is meeting the Product Team and fellow MVP’s in person to discuss current challenges, future releases and provide feedback to the product team members in person.

Thanks to everyone at Microsoft® for arranging this event, and special thanks to all the Hyper-V PM team.

MSFT14-Ben-Charbel

Ben Armstrong, Principal Program Manager on the Hyper-V Team Lead at Microsoft ® (Image Credit: Charbel Nemnom)

MSFT14-HV01

My fellow Hyper-V MVP’s signatures, (Image Credit: Charbel Nemnom)

Last but not least thanks to our MEA MVP Community Lead!

MSFT14-MEA01

MEA MVP Community Group Photo (Image Credit: Charbel Nemnom)

Looking forward to meet you all next year!

Until then… Let’s conquer the world with Hyper-V! Smile

Cheers,

/Charbel

Posted in Hyper-V, MVP Tagged with: , , , ,

Microsoft MVP Profile

Sponsor – StarWind

Sponsor – ALTARO

Sponsor – Savision

Technical Reviewer

Visitors!

Thanks for visiting!

Copyright Warning

All material is copyrighted by me or by its respective owners. To use any of it, full or in part, you must contact me or owner of the material. You may quote few paragraphs from this blog only if you link to the original blog post.

Follow me on Twitter

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: