The update is not applicable to your computerThe reason is the version of mpio.sys and msdsm.sys on your server is higher than 6.3.9600.17809. Usually, because the server installed KB3121261 already. You can ignore KB3046101.
Tag: storage
How To Migrate Parent Disk on Hyper-V 2012
If you are using Microsoft Hyper-V 2012 and “Differencing Disk” you may get trouble when you want to move whole VMs to another location due to “Parent Disk” migration is not so easy. Following is the steps to move parent disk on Hyper-V server.
Preparation
I assume you want to move bunch of virtual machines. First of all you need to get disk list of virtual machines. Following is a script to grab all parent and differencing disks on a Hyper-V server.
$VMs = Get-VM Foreach ($VM in $VMs) { $VHDs = Get-VHD -Path $VM.harddrives.path foreach ($VHD in $VHDs) { [pscustomobject]@{ Name = $VM.name VHDType = $VHD.VhdType VHD = $VHD.Path ParentVHD = $VHD.ParentPath } } }
Save it to “Get-vhdParent.ps1”. Launch PowerShell by administrator right. Run following command to get parent disk table.
.Get-vhdParent.ps1 | format-table -autosize
Now you have disk list in hand.
Move parent disks to new location
Parent disk moving is simple. Just copy the parent disk to new location. I suggest make multiple copies if you have large number of virtual machines linked to a parent disk. The reason is if the parent disk failed, at lease it’s not impact to all linked virtual machines. You can also distribute the duplicated parent disks to multiple location to avoid single location failure.
Re-configure parent disks for virtual machine
To be safe, I suggest grab parent disk information again by following command:
Get-VHD -Path VHDPath
Replace “VHDPath” with real differencing disk path of the virtual machine.
The output shows what’s the linked parent disk. Then run the command below to reconfigure parent disk to new location.
Set-VHD -Path VHDPath -ParentPath ParentVHDPath
You should get nothing return if it’s successfully.
If you manage Hyper-V virtual machines by System Center Virtual Machine Manager. The new parent disk is reflected after you right click the virtual machine and do a “Refresh” in System Center Virtual Machine Manager console.
NetApp Virtual Storage Console Icon Missing on vSphere Web Client
NetApp released Virtual Storage Console (VSC) 6.1 for vCenter 6.0. The solution is only support vSphere Web Client now. I did some testing on my lab, faced a very special case.
Continue reading “NetApp Virtual Storage Console Icon Missing on vSphere Web Client”
NetApp Management Package for vRealize Operation Manager 6
vRealize Operation Manager 6 (aka vROps) is new generation of vCenter Operation Manager. I started to use vCenter Operation Manager since version 1.0. I like the idea of self-learning and dynamic threshold. But the product only monitors virtualization layer. It would be perfect if it’s able to monitor under layer storage. In large vSphere environment, virtual machines share IO capacity of datastores. If few virtual machines running high disk IO it may lead to other virtual machines get performance degrading in same storage. Think about you have 100 datastores come from a NetApp filer, and 300 virtual machines running on its. One user says their virtual machine is slow but no workload from applications end. It hard to say where the latency comes from because multiple virtual machines may share same datastore, multiple LUNs share same aggregate, and maybe same physical disks. vCenter Operation Manager provided NetApp Adapter for 5.x few years ago. But the problem was it’s too hard to associate storage objects with vSphere datastore objects.
Continue reading “NetApp Management Package for vRealize Operation Manager 6”
How to retrieve or set Path Selection Policy by vCLI
First of all, this article is nothing related to PowerCLI. You probably know how to set Path Selection Policy (PSP) by vSphere Client, but how you can set up 100 LUNs manually? We have some script can make your life easy.
Continue reading “How to retrieve or set Path Selection Policy by vCLI”
如何使用vCLI获取或设定路径选择策略
首先,这篇文章不是关于PowerCLI的。也许你知道用vSphere Client可以设置LUN的路径选择策略,但是如果需要修改100个LUN呢?脚本可以轻松搞定。
如何使用PowerCLI获取物理RDM LUN的路径选择策略
获取RDM磁盘信息是一件很磨人的事儿,如果你很仔细你就需要把每台都检查一遍以确保信息是一致的。研究出来两行命令,可以批量获取RDM磁盘信息。
How to Get Path Selection Policy of Physical RDM LUN by PowerCLI
It’s frustration to check RDM information, you have to check across all ESXi hosts to make sure configuration is aligned. I just figured out two line commands to get path selection policy (aka PSP).
Continue reading “How to Get Path Selection Policy of Physical RDM LUN by PowerCLI”
How to identify datastore alignment
I just found an article show how to check alignment of Windows virtual machine and datastore.
刚找到一篇关于 如何查看Windows虚拟机和ESXi datastore是否和存储扇区一致 的文章。
How to find corresponded physical disk for Hyper-V CSV volumes
CSV (Cluster Shared Volume) is fundamental of Microsoft Hyper-V. You must have it to leverage Live Migration and High Availability features. But it’s very confuse when you want to reclaim CSV since CSV is using different name with physical disks. For example, CSV name usually is “Cluster Disk x”, path usually is “C:ClusterStorageVolumeX”. But real disk name is “Disk x” in Disk Manager. You have to very carefully when delete the disk.
Continue reading “How to find corresponded physical disk for Hyper-V CSV volumes”