Posts Tagged ‘hyper v’

Recently I was trying to add a Virtual Switch to a new Hyper V Server and I got an error similar to below

Image result for adding ports to the switch failed hyper v

Although the Virtual Switch seemed to add ok , it was coming up with Errors in the Cluster Manager ( Status Unavailable ) 

The server was actually already added to the Failover Cluster Manager. And I noticed that the

“Microsoft vmm dhcpv4 server switch extension” filter was missing. This gets added to a Node on adding to cluster

Evicting the Hyper V host from the Cluster then deleting and re-adding the VSwitch Resolved this

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

Recently I need to remove an Empty Virtual Disk from a Hyper V machine

On Server 2012 Machines you can run 

get-disk | fl objectID

And use the Last X.X.X numbers (e.g. 5&2D5F53A1&0&0.0.0

First number means IDE controller number, the second one means the location

 

 

However in Server 2008 r2 : get-disk : The term ‘get-disk’ is not recognized as the name of a cmdlet

So in Server 2008 r2 you will need to navigate to the hardware ID’s of the device per below which will give you the location of your Device ( ATA Device is IDE and SCSI Device is SCSI )

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)
  1. Check the volume has enough free space, if a previous merge (deletion of checkpoint ) has failed this might be why

Navigate to the cluster share and check the .avhdx’s

Windows Explorer - VHDX AVHDX File

 

Hyper-V Console Method

You can also use the Hyper-V console in Windows 10 to perform the merge operation. The first thing you’ll want to do is open the Hyper-V console. Next, right-click the Hyper-V host and click Edit Disk.

Hyper-V Console - Edit Disk

After clicking Edit Disk, you’ll be presented with a wizard, where you’ll point Hyper-V to the .avhdx file that you want to merge.

IMPORTANT: Select the .avhdx file, and not the .vhdx file, otherwise you won’t see the Merge operation available!

Hyper-V Edit Disk - Locate Virtual Hard Disk

On the next wizard screen, select the Merge action.

Hyper-V Edit Disk - Merge Action

Next, you’ll need to choose the destination for the merge operation. In most cases, you’ll choose the To the parent virtual hard disk option.

Hyper-V Edit Disk - Select Parent

Finally, on the Summary page of the disk editing wizard, just complete the wizard, and it will merge your disks for you. That’s all there is to it!

Hyper-V Edit Disk - Complete Wizard

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)

If you have a server which isn’t syncing and there is an Active Alert on the VPG Page stating the VM is powered off and you have confirmed it is on, try the following.

 
Log into ZertoServer – Stop the Zerto Virtual Manager service. From the following location, rename the following folders to “orignalName”_backup; PublicCloudReflection,VCDReflection & VCenterReflection. Start the Service. New folders should appear and start populating.
 

Migrate the server from one host to another & refresh the Zerto management page. The alert for the server being offline should be gone,

 

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)