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
Solved

hyper-v virtual server

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Why should I virtualize?  It’s a question that’s asked often enough.  My response is usually “Why SHOULDN’T you virtualize?”
A safe way to clean winsxs folder from your windows server 2008 R2 editions
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

829 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