Archive for the ‘Hyper-V’ Category
After you created a hyper-v server and did some configurations you are ready to create some networking.
But after running some PowerShell scripts you have errors on creating a external vswitch.
PS C:UsersAdministrator> New-VMSwitch -Name HVNET -NetAdapterName "ethernet 3" -AllowManagementOS $True -MinimumBandwidthMode Weight
New-VMSwitch : Cannot find a physical network adapter named Realtek PCIe GBE Family Controller.
The nic is there and working I updated the nic with new drivers uninstalled still the same problem.
Lets see if the nic is there : Get-NetAdapter |? status
Present and up. lets check this with WMI , If the nic is not there or not UP make sure it is there and UP. Uninstall the network device and scan for new devices.
WMIC NICCONFIG GET Description,SettingID
We could find this in the register if needed. But lets see if the bindings are ok
If the Hyper-v Extensible Virtual Switch Protocol is not there you can not Create a external VSwitch !
Easy thing to do is add the Vswitch protocol !
Now that the Protocol is there you can create the external vswitch and create a working Hyper-v Server!
There are multiple errors or issues that can avoid you for creating a external vswitch.
tools like nvspbind are helpful more info on this : http://blogs.technet.com/b/jhoward/archive/2010/01/25/announcing-nvspbind.aspx
Or see my older blog post on Windows Server 2012 R2 update thoughts hyper-v virtual Ethernet adapter network cable unplugged
http://robertsmit.wordpress.com/2013/09/28/windows-server-2012-r2-update-thoughts-hyper-v-virtual-ethernet-adapter-network-cable-unplugged/
The Capacity Planner for Hyper-V Replica guides the IT administrator to design the server, storage and network infrastructure which is required to successfully deploy Hyper-V Replica.
Hyper-V administrators of Windows Server 2012 and Windows Server 2012 R2 can replicate their virtual machines from a primary server / cluster to a replica server / cluster for business continuity and disaster recovery purposes. The Capacity Planner for Hyper-V Replica provides server, storage and network provisioning guidance which would allow IT administrators to successfully plan for a Hyper-V Replica deployment
Get Hyper-V Replica Capacity Planner
The Setup is real easy and a comprehensive report is prepared that shows CPU, RAM, Disk and Network capacity needed to successfully support your specific configuration and environment.
First we choose a time to collect utilization metrics for the Vm’s to replicate. best way to test this is during work hours and 30 minutes or longer.
10 hyper-v server can be selected in one Run.
If you use a Cluster use the Broker and not the Hyper-v FQDN.
And If a server is not enabled for replication you will see this error. and you can run this with or without Certificates.
You can only pick VM’s that are not Replica Enabled and if the VM holds more Disk you can unselect the disk.
After running this there will be a HTML report with all the metrics CPU,Memory,IOPS,Storage usage, network throughput.
This way you get insight information on what can I expect when using hyper-v replica
How many IOPS do I need and gives you the optimal setting
The Network info is great info What do I need and how many is consumed during the Replica.
And read the documentation there is a lot of useful info in this document and this will help you to understand the report.
Get Hyper-V Replica Capacity Planner
I have recently read a new eBook on Hyper-V Replica named “Hyper-V Replica Essentials”, written by Vangel Krstevski. Vangel Krstevski is an IT prodigy, excelling in virtualization and network design. He is an expert in virtualization deployment and management.
So the book is a small edition about 100 Pages, on how to create the replication between Hyper-v Servers. But there is also some cluster explanation, on file sharing and SMB. for starting with Hyper-v replica this is a great book to start with.
It is an easy to read book with all step by step instructions on how to install the base components for a Hyper-V Replica environment.
The covered Chapters are :
- Introducing Hyper-V Replica.
- Installing Failover Clustering with Server 2012 shared storage functionality ( File Storage / SMB )
- Configuring Hyper-V Replica.
- Authentication Hyper-V Replica. ( nice SSL samples )
- Administering Hyper-V Replica.
What I liked the most of this book is that not only the basics are covered but also the Hyper-v Replica Certificated based. Most books are skipping this, but here it shown in a nice step by step detail.
For those of you who would like to get started with Hyper-V 2012 Replica, I recommend reading this book. You can get your hands on a copy of the eBook (PDF, Kindle etc.) by going to Packt Publishing website: Hyper-V Replica Essentials
Some Copy from the Packt Website :
In Detail
Enterprises need to make sure that their systems are always up and running no matter what happens. Hyper-V Replica is a free disaster recovery tool in Hyper-V 3.0 that creates and maintains copies of virtual machines (VMs). In the event of a catastrophic loss, an administrator can failover to the replica VMs and provide business continuity.
Hyper-V Replica Essentials is a step by step guide to configuring Hyper-V Replica in various deployment scenarios. This book will give you an overview of Hyper-V Replica before taking you through the prerequisites required to properly configure Hyper-V Replica. Then, through a series of practical steps, this book will enable you to take advantage of this highly beneficial disaster recovery tool.
Hyper-V Replica Essentials starts by introducing you to Hyper-V Replica and will help you understand what it does and where you can apply it. We will then move onto learning how to configure a server environment with failover capabilities based on Microsoft Hyper-V and also how to use features including Live Storage Migration. Finally, you learn how to configure Hyper-V Replica authentication, and to troubleshoot problems with Hyper-V Replica as well as solving different types of problems.
Approach
A fast-paced, step-by-step guide to configuring Hyper-V Replica in various deployment scenarios.
Who this book is for
Hyper-V Replica Essentials is for Windows Server administrators who want to improve their system availability and speed up disaster recovery. You will need experience in Hyper-V deployment because Hyper-V Replica is built in the Hyper-V platform.