Tuesday 28 October 2014

Hyper-v Failover Cluster Disk Repair

How to fix Cluster disk / volume ?




When Failover cluster manager show the below error for any cluster disk :
"chkdsk scan needed on volume", you need to repair that disk ,

running chkdsk.exe should fix the error and take care of the problem,
but in some cases you need to also run the below deprecated cmdlet for the error message to disappear :
Repair-ClusterSharedVolume -ChkDsk

for more information about cluster disks , have a look at this blog:
http://blogs.msdn.com/b/clustering/archive/2014/01/01/10486462.aspx 

Wednesday 22 October 2014

Reset XenServer CPU Masking/Features

if you plan to upgrade or migrate your servers that run XenServer ,
it is recommended to join the new servers to the existing pool, when you do so,
you will get this message:

You are attempting to add the server 'xenserver-2' to a pool that is using older CPUs.

XenServer can continue by rebooting the server and reducing its CPU to the level of the existing servers in the pool. This will shut down any VMs running on the server. This feature is supported for CPU combinations listed in the XenServer Hardware Compatibility List.

Do you want to do this?

The only way to be able to join the new server is to accept and lower the CPU feature to match the existing old servers in the pool.

the problem happens after you remove all old servers, so now you have one new server that is the pool master, but when you try to add a second new server that is identical to the master  , you will still get the same error above, so before you do that, you need to reset the CPU mask for the new server and then add the remaining new servers.

execute the command below and reboot the server :
xe host-reset-cpu-features 

now you will be able to add identical servers to the pool without any issues.