Solved

hyper-v virtual server

Posted on 2010-09-22
5
461 Views
Last Modified: 2013-11-06
i have a 3 virtual servers using microsoft hyper-v
each server has 3 vhd;s a C:\ , D:\ and a E:\ drive
the D and Edrives are raid groups on a DAS device

the DAS device is attached to the host server via a sas card

I need to expand the driives from 150gb to 300gb each
i just purchased a second DAS with larger hard drives
my plan is to move D and E to this new DAS

this is where i need advice, once i configure the new DAS and create 2 new raid groups how do i move the D and E drives off the virtual server to this new DAS device

this is a SQL database server and these drives are used for the sql data files, also will need to keep downtime to a minimum as this is a pruduction environment and my maitenance window is small to say the least
0
Comment
Question by:dano992
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 33739578
If I understand you correctly, you have 1 physical machine with 3 guests.

Once the new DAS is configured, the simplest thing is to

1. Shut down 1 VM
2. Copy the D VHD and the E VHDs to the new DAS.
3. Use Hyper-V manager to edit those VHD files and make them the new desired size.
4. Edit the VM to remove the old VHD files and reattach to the new VHD files.
5. Boot the VM.
6. Use disk manager or diskpart.exe to expand the partitions to fill the now larger drives.
7. Delete the old VHD files for D and E when you feep comfortable.

Repeat for the remaining 2 VMs.

Since you're dealing with SQL files, it's not like you can easily prestage the data on your new DAS to minimize downtime.
0
 

Author Comment

by:dano992
ID: 33753713
also whats the safest and easiest way to move a VM to a new host?
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 33757471
You are not moving to a new host, you are only moving the file. Shut down the VM, go to the hard drives section, and where it shows where your VHD is stored, click on edit to expand the VHD file, or browse to pick the new location for the file. Obviously you need to copy it to the new location first.
ScreenShot005.png
0
 

Author Comment

by:dano992
ID: 33769721
kevinhsieh, i also want to phyisically move the VM to a new host (a more powerfull server)
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 33771990
There is an export/import function that I have never figured out. What I always do is shut down the VM and copy over the VHD files to the new host, and then create a new VM with whatever settings are appropriate for CPU, RAM, network, etc. This requires you to reconfigure the network interface if you're using a static IP, but you can't get into any trouble this way because you can always just start the VM on the old host.

Once the VM is running on the new host, you can delete the VM from the old host and delete the VHD files.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question