Solved

moving VM to datacenter from office

Posted on 2013-06-07
4
283 Views
Last Modified: 2013-06-07
Greetings,

I want to move a VM to the datacenter and have it run there permanently. Downtime is not an issue so I was thinking of just shutting it down and copying the VM folder between data stores, disabling networking, setting to a VM Network there,  then powering it up and changing the IP address. Will that work? Do I need to alter DNS in AD? Lastly, will users be able to use the same shortcut created by the previous install when it was in the office?

Thanks
0
Comment
Question by:rpliner
  • 2
  • 2
4 Comments
 
LVL 18

Expert Comment

by:LesterClayton
ID: 39229881
You may have left out some detail in your question, because we don't quite know your current setup, so it's hard to answer things like "Do you need to alter DNS in AD", because none of us know if the IP address even needs to change.

Essentially, the best thing for you to do is shut down the virtual machine in Hyper-V, export the virtual machine and while exporting, place it on the target Hyper-V Server which is inside your datacenter.  Once it's been exported, use Hyper-V to load the virtual machine, and make any changes to the network configuration that may be required.  Fire it up and then away you go.  DHCP should always take care of DNS so generally that is not a problem you need to think about.

And yes, as long as the computer name doesn't change, the old shortcut should work, provided of course DNS updates accordingly, and the shortcut is to the DNS name and not the old IP address.
0
 
LVL 7

Author Comment

by:rpliner
ID: 39229947
Thanks for responding.

OK. The datacenter is on a different subnet connected to the office over a TW point-to-point connection. I know I am going to change the IP, but wasn't sure if a manual change was required in DNS to point the new subnet. It is static so not sure if DHCP will play into this.

I use VMware and have previously moved VMs by copying (when permissible) but these moves were within the office, not between sites with different IPs.

DNS name is used on the shortcut, not IP, so that should work. If not, I can just uninstall and reinstall.
0
 
LVL 18

Accepted Solution

by:
LesterClayton earned 500 total points
ID: 39229958
Ah VMware.  Forgive me, I'm so used to Hyper-V that I didn't actually notice that.

Luckily, I am also VMware certified :D

Yes, shutting down the VM and then copying the files to the new datastore is all you need to do, then you can browse the datastore and register it in vCenter.  If the IP is static, then you would of course need to log onto the server to set the new IP, and change the DNS records to reflect this.  Ensure that you have logged onto the server prior to shutting it down so that you can log on again using cached credentials.
0
 
LVL 7

Author Comment

by:rpliner
ID: 39229998
Lucky indeed.

I was planning on changing the IP in DNS while it was copying over so when I fired it up DNS was ready to go. I have logged on too many times, so credentials are cached.

Thanks again for verifying this method should work.
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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…

867 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

18 Experts available now in Live!

Get 1:1 Help Now