Move VMDK files to different datastores using vSphere web client

With VMware vSphere 5.5 it’s possible to move VMDK files to different datastores leaving the VM powered on with no service interruption using the Storage vMotion feature.

A scenario where disks location has to be reconfigured occurs when a SQL Server is configured with Data, Logs and TempDB stored on same LUN with Lazy Zeroed VMDK format. To improve its performance, moving the VMDk files in dedicated LUNs it’s a possible configuration to consider.

Since SQL Server on VMware best practices suggest to create dedicated LUNs for Data, Transaction Log and TempDB creating VMDK files with Thick Provision Eager Zeroed format, the process needs to move some virtual disks to different datastores.

Before moving the disks, look at the current SQL Server configuration through Server Manager > Disks (Windows 2012 in this example) because the disk number is not the same as assigned by VMware. In the example disks to move are identified by the numbers 1, 4, 5 > Log, TempDB and Data.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk02" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk02.jpg" alt="movevmdk02" width="600" height="299" border="0" />

Looking at the VM Hardware configuration in vSphere Web Client, disks to move are currently located in the datastore named ts421_lun01_raid5.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk03" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk03.jpg" alt="movevmdk03" width="409" height="556" border="0" />

Procedure

To proceed with move, from vSphere Web Client right click the virtual machine to migrate VMDK files then select Migrate option.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk04" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk04.jpg" alt="movevmdk04" width="409" height="403" border="0" />

To hot move VMDKs to different datastores without service interruption, VMware vSphere 5.5 has a feature called Storage vMotion. Select Change datastore option then click Next.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk05" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk05.jpg" alt="movevmdk05" width="600" height="352" border="0" />

Since we need to move only some specific disks, click Advanced button.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk06" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk06.jpg" alt="movevmdk06" width="600" height="352" border="0" />

For each disk to move, click in Storage field the datastore parameter to change then select Browse.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk07" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk07.jpg" alt="movevmdk07" width="600" height="352" border="0" />

Select the correct destination datastore then click OK.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk08" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk08.jpg" alt="movevmdk08" width="600" height="600" border="0" />

You can change the Disk format during move as well by clicking the current format (Same format as source) and selecting the new format (i.e. Thick Provision Eager Zeroed).

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk09" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk09.jpg" alt="movevmdk09" width="600" height="352" border="0" />

When Storage and Disk format parameters have been set, click Next to continue.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk10" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk10.jpg" alt="movevmdk10" width="600" height="352" border="0" />

Review selections then click Finish to start migration.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk11" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk11.jpg" alt="movevmdk11" width="600" height="352" border="0" />

The Recent Tasks panel shows the migration ongoing status.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk12" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk12.jpg" alt="movevmdk12" width="202" height="126" border="0" />

When process completes successfully, the green check is shown.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk13" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk13.jpg" alt="movevmdk13" width="203" height="110" border="0" />

Checking the VMDKs location, the files are now stored to datastores previously set.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk14" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk14.jpg" alt="movevmdk14" width="409" height="556" border="0" />

Looking at the SQL Server Disks configuration, nothing has changed and no service interruption has been experienced.

<img class="aligncenter" style="margin: 0px auto; padding-left: 0px; padding-right: 0px; float: none; padding-top: 0px; border-width: 0px;" title="movevmdk15" src=\‘#\‘" //nolabnoparty.com/wp-content/uploads/2014/05/movevmdk15.jpg" alt="movevmdk15" width="600" height="299" border="0" />

Storage vMotion is a great feature useful to optimize systems maintenance allowing the migration of VMDK files to different datastores and with different disk formats in one shot. Not bad, isn’t it?

时间: 2024-10-25 07:06:04

Move VMDK files to different datastores using vSphere web client的相关文章

虚拟化--vsphere client和vsphere web client中英文切换(语言)

经验--vsphere client和vsphere web client中英文切换(语言) vsphere client切换到中文:"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -locale zh_CN vsphere client切换到英文:"C:\Program Files\VMware\Infrastructure\Virtu

vSphere Web Client 自定义界面语言

对于vSphere Client界面语言的更改可能大家都知道,网上的资料也多,但是关于webclient界面语言的更改我在百度上没有搜到,于是google了一下国外的资料找到了答案. 其实和client端修改的方法差不多,只需要在我们的登陆地址后面加入一个参数 /?locale=en_US 或者 /?locale=zh_CN 即可. 例如:https://hostname:9443/vsphere-client/?locale=en_US 即可将本来是中文的登陆界面改为英文. vSphere W

关于vSphere web Client

最近开始接触vmware esxi 5.5虚拟化技术,于是参考了VMware官方的白皮书及网上相关的安装文档来安装. 我的环境是一台DC,一台ESXi 5.5,一台vCenter,其中vCenter包含SSO,vsphere web client,inventory serivce,vCenter四大组件,且是安装在一台虚拟机上.整个安装过程都是比较顺利的,从5.5开始按照文档来操作基本不会有问题出现. 安装完毕后,开始配置web client,开始登陆就报错,错误内容为: In order f

如何自定义vSphere web client显示语言

正常情况下,用浏览器打开vsphere web client后,里面显示的语言和当前操作系统有关,如果是英文操作系统,会显示英文字符,中文操作系统会显示中文字符,如果要在中文操作系统里显示英文web client,可以按以下方法修改. vsphere web client的默认URL为:https://hostname:9443/vsphere-client 要指定语言,在URL后加入以下参数即可: 英语:/?locale=en_US 中文:/?locale=zh_CH 日文:/?locale=

vSphere Web Client无法连接到一个或多个 vCenter Server 系统(5.5)

注意:主要此文章的背景是VCENTER 5.5, 是通过浏览器登入到VCENTER 5.5的. 当出现如题的错误时,除了要检查VCENTER的服务(VMware VirtualCenter Server)是否启动外,还要检查VCENTER的SQL数据库是否正常启动和访问(有没有被防火墙拦截)等. 如果以上都OK,记得检查DNS是否在能正常解析VCENTER 5.5服务器和SQL服务器的HOSTNAME,这点很重要. 如果你实在搞不清,而且折腾了大量时间还是无法登录VCENTER 5.5,那么有一

win7下Vmware VSphere Web Client是英文的修改方法

近日,在win7环境下登陆Vmware VSphere Web Client,显示的是英文界面,登陆VMware Horizon View 也是相同的问题. 修改方法: 浏览器--Internet选项---常规标签---语言---语言首选项---添加"中文简体"---上移. 问题解决.

vsphere client和vsphere web client的区别

vsphere client是一个运行在windows桌面上的客户端,在linux环境下无法运行,在vsphere5.0以后,VMware在逐渐弱化vsphere client的作用,现在很多高级功能(如增强型vMotion)只能在web client里实现. VMware的设计趋势是用web client取代vsphere client,故本例采用web client进行管理 详细区别请见 http://server.zol.com.cn/431/4312982_all.html vcente

vSphere Web Client 6.5 如何上传ISO文件

vSphere Web Client 6.5 如何上传ISO文件? 1,先开启SSH功能. WEB登陆管理端,选中一台主机,配置-安全配置文件-服务编辑-SSH项-起动. 2,用SFTP上传ISO文件. 用SFTP连接主机,转到 sftp://[email protected]主机IP/vmfs/volumes/vsanDatastore/ISO/     目录,上传ISO文件. 3,关闭SSH功能. 参考第一步停止SSH.如果不关闭,会反复有安全告警. 原文地址:https://www.cnb

vsphere web client 的语言设置

初始登录显示的语言跟系统设置的一样,如果需要更改请参照一下方式: vsphere web client的默认URL为:https://IP/vsphere-client 要指定语言,在URL后加入以下参数: 英语:/?locale=en_US 中文:/?locale=zh_CN 例如要显示英文就输入:https://ip/vsphere-client/?local=en_US 原文地址:http://blog.51cto.com/337962/2120361