Move VMDK files to different datastores using vSphere web client

本文涉及的产品
云数据库 RDS SQL Server,基础系列 2核4GB
RDS SQL Server Serverless,2-4RCU 50GB 3个月
推荐场景:
简介:

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.

movevmdk02


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

movevmdk03


Procedure

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

movevmdk04


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.

movevmdk05


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

movevmdk06


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

movevmdk07


Select the correct destination datastore then click OK.

movevmdk08


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).

movevmdk09


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

movevmdk10


Review selections then click Finish to start migration.

movevmdk11


The Recent Tasks panel shows the migration ongoing status.

movevmdk12


When process completes successfully, the green check is shown.

movevmdk13


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

movevmdk14


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

movevmdk15

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?

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1825997如需转载请自行联系原作者


520feng2007

相关实践学习
使用SQL语句管理索引
本次实验主要介绍如何在RDS-SQLServer数据库中,使用SQL语句管理索引。
SQL Server on Linux入门教程
SQL Server数据库一直只提供Windows下的版本。2016年微软宣布推出可运行在Linux系统下的SQL Server数据库,该版本目前还是早期预览版本。本课程主要介绍SQLServer On Linux的基本知识。 相关的阿里云产品:云数据库RDS SQL Server版 RDS SQL Server不仅拥有高可用架构和任意时间点的数据恢复功能,强力支撑各种企业应用,同时也包含了微软的License费用,减少额外支出。 了解产品详情: https://www.aliyun.com/product/rds/sqlserver
相关文章
|
数据安全/隐私保护 Java Shell
|
Web App开发 虚拟化 Windows
|
安全 API 开发工具
VMware 虚拟化编程(3) —VMware vSphere Web Service API 解析
目录 目录 前文列表 VMware vSphere Web Services API VMware vSphere Web Services SDK vSphere WS API 中的托管对象 Managed Object 托管对象引用 Managed Object ...
3569 0
|
监控 虚拟化 Windows
vSphere Web Client使用指南之安装配置
vSphere Web Client使用指南之安装配置 vSphere Web Client是为忙碌的管理员提供的一款通用的、基于浏览器的VMware管理工具,能够监控并管理VMware基础设施。
2167 0