Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

hyper-v virtual server

Posted on 2010-09-22
5
Medium Priority
?
472 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 2000 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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Suggested Courses

604 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