[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Best practice to shutdown and restart Virtual Server 2005 Guest OS and Host Machine?

Posted on 2009-04-29
6
Medium Priority
?
2,107 Views
Last Modified: 2012-05-06
Hi Experts -
I would like to know the best practice to shutdown Virtual Server 2005 R2 (guest OS).  What is the safest way to shutdown the guest OS (Server 2003 R2) and ensure no data loss?  I need to save all data on the guest OS at the time of shutdown, just as if it were running on a real machine.  The VS2005 console provides the options: PAUSE, SAVE STATE, SHUTDOWN GUEST OS, TURNOFF, and RESET.  Which is the correct option?  Also, should I log into the Guest OS via Remote Desktop and shutdown, then use one of the console options listed above?

After shutting down Guest OS and VS, I need to restart the Host Server as part of regular scheduled maintenance.  Thanks for your insight!
0
Comment
Question by:davis
  • 3
  • 3
6 Comments
 
LVL 10

Expert Comment

by:ashwin_kumar525
ID: 24265139
The best way to shutdown is go to start menu, shutdown option or you can use the Shutdown Guest option, either ways.

But it all depends on what you need to do:

here you mentioned that you need to shutdown the Host, then in that case, you can simply save the state of all the VMs and then restart the host, this way you don't have to reboot your guests every time you reboot your host.

BTW, when Virtual server service is shutting down (not closed abruptly) the Virtual Server application will perform the specified action on the VMs before the host OS shuts down. You can choose to save state which will be faster process. This can be configure using the VS admin web page.
0
 
LVL 1

Author Comment

by:davis
ID: 24270168
Just to make sure I understand you correctly...

in order to shutdown the Guest OS (saving all current data) and reboot the Host Server afterwards , you can accomplish by doing the following:

1-Login via Remote Desktop to Guest OS and shutdown using START-SHUTDOWN
2-From VS 2005 Web Console, choose SAVE STATE
3-From VS 2005 Web Console, choose TURN OFF
4-Reboot Host machine

Can you confirm this is valid?  Also, are any of the above steps are unnecessary or would you perform the shutdown a different way?  Thank you for your feedback -
0
 
LVL 10

Expert Comment

by:ashwin_kumar525
ID: 24270649
Sorry to confuse you, I was trying to put all the options available.

Option 1: Login via Remote Desktop to Guest OS and shutdown using START-SHUTDOWN
(OR)

Option 2: From VS 2005 Web Console, choose SAVE STATE (I prefer this method)
(OR)

Option 3: From VS 2005 Web Console-> 'Edit Configuration' for the each VM-> General Properties-> "Action when Virtual Server stops:" select that to 'Save State' (This is the default setting any way). With this, when the Virtual Server service is stopping, it will first Save State all VMs and then shutdown the host.

Do not turn off the VM just like that when it is running.

0
Industry Leaders: 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!

 
LVL 1

Author Comment

by:davis
ID: 24270836
ok, can you use Option 1 and Option 2 together or, for the purposes of saving all current data within Guest OS,  is that redundant?
0
 
LVL 10

Accepted Solution

by:
ashwin_kumar525 earned 750 total points
ID: 24271277
If you are using an option, you dont need the other.

You better do a Save State of VMs and then reboot the host machine. This is what I have always been doing and that will not be an issue.
0
 
LVL 1

Author Comment

by:davis
ID: 24303064
Worked perfectly.  Once the VM was in 'Save State', I rebooted the host machine and started VM again by clicking 'restore from Saved State'.  Thanks for your help -
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

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

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Suggested Courses
Course of the Month18 days, 2 hours left to enroll

830 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