Solved

hyper-v virtual server

Posted on 2010-09-22
5
457 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
  • 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

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

Suggested Solutions

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

914 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now