Launching a Hyper-V guest session

After a Hyper-V guest session has been created and the settings have been properly modified, the virtual guest session can be launched and run. You need to decide whether the guest sessions should be launched automatically or manually. This excerpt from "Windows Server 2008 Unleashed" provides advice.

After a Hyper-V guest session has been created, and the settings have been properly modified to meet the expected needs of the organization, the virtual guest session can now be launched and run. Decisions need to be made whether you want the guest session to automatically launch as soon as the server is booted, or whether you want to manually launch a guest session. Additionally, a decision needs to be made on the sequence in which guest sessions should be launched so that systems that are prerequisites to other sessions come up first. As an example, you'd want a global catalog server session and DHCP server session to come up before an application server that logs on and authenticates to Active Directory comes online and needs to authenticate to Active Directory before the server service begins.

Automatically Launching a Guest Session

One option for launching and loading guest sessions is to have the guest session boot right after the physical server completes the boot cycle. This is typically the preferred option if a guest session is core to the network infrastructure of a network (such as a domain controller or host server system) so that in the event of a physical server reboot, the virtual guest sessions boot up automatically as well. It would not be convenient to have to manually boot each virtual server session every time the physical server is rebooted.

The option for setting the bootup option for a virtual session is in the configuration settings for each guest session.

To change the bootup action, do the following:

  1. From the Server Manager console or from the Hyper-V MMC snap-in, right-click the virtual machine for which you want to change the setup option, and select Settings.
  2. In the Management section of the settings, click Automatic Start Action.
  3. You are provided three options, as shown in Figure 37.7, of what to do with this virtual guest session upon bootup of the physical server. Either click Nothing (which would require a manual boot of the guest session), click Automatically Start If It Was Running When the Service Stopped, or click Always Start This Virtual Machine Automatically. To set the virtual session to automatically start after the physical server comes up, choose the Always Start This Virtual Machine Automatically option.
  4. Automatic start actions.

  5. Also on this setting is the ability to have an automatic start delay. This allows you to sequence the bootup of image files by having some images take longer to automatically start than others. Click OK to save these settings.

Manually Launching a Guest Session

Another option for guest session bootup is to not have a guest session automatically start after a physical server boots up. This is typically the preferred option if a guest session will be part of a demonstration or test server where the administrator of the system wants to control which guest sessions are automatically launched, and which sessions need to be manually launched. It would not be convenient to have a series of demo or test sessions automatically boot up every time the system is booted. The administrator of the system would typically want to choose to boot up guest sessions.

To set the bootup action to manually launch a guest session, do the following:

  1. From the Server Manager console or from the Hyper-V MMC snap-in, right-click the virtual machine for which you want to change the setup option, and select Settings.
  2. In the Management section of the settings, click Automatic Start Action.
  3. When provided the three options of what to do with this virtual guest session upon bootup of the physical server, either click Nothing (which would require a manual boot of the guest session), click Automatically Start If It Was Running when the Service Stopped, or click Always Start This Virtual Machine Automatically. Choose the Nothing option and the session will need to be manually started.

Save State of a Guest Session

In Windows 2008 Hyper-V, there are two concepts for saving guest images, one being snapshots and the other being a saved state. At any time, an administrator can select a guest session and choose Action, Save State. This Save State function is similar to a Hibernate mode on a desktop client system. It saves the image into a file with the option of bringing the saved state image file back to the state the image was in prior to being saved.

Use the following table of contents to navigate to chapter excerpts


Windows Server 2008 Unleashed
  Home: Deploying and using Windows virtualization: Introduction
  1: Understanding Microsoft's virtualization strategy
  2: Planning your implementation of Hyper-V
  3: Installation of the Microsoft Hyper-V server role
  4: Becoming familiar with the Hyper-V administrative console
  5: Installing a guest operating system session
  6: Modifying guest session configuration settings
  7: Launching a Hyper-V guest session
  8: Using snapshots of guest operating systems sessions
ABOUT THE BOOK:   
Windows Server 2008 Unleashed covers the planning, design, prototype testing, implementation, migration, administration and support of a Windows 2008 and Active Directory environment, based on more than three and a half years of early-adopter experience in full production environments. This book addresses not only what is new in Windows 2008 compared with previous versions of the Windows Server product, but also what is different and how the similarities and differences affect an organization's migration to Windows 2008. Chapters are dedicated to the migration process from Windows 2000/2003 to Windows 2008, how to properly use Group Policies in Windows 2008, and tips and tricks on managing and administering a Windows 2008 environment. Purchase the book from InformIT.
ABOUT THE AUTHORS:   
Rand Morimoto has been in the computer industry for more than 30 years and has authored, co-authored or been a contributing writer for dozens of bestselling books on Windows 2003, Exchange 2007, security, BizTalk Server, and remote and mobile computing. Michael Noel has been involved in the computer industry for nearly two decades and has significant real-world experience with enterprise information technology environments. Michael has authored several major publications, such as SharePoint 2007 Unleashed and Exchange 2007 Unleashed Omar Droubi has been in the computer industry for more than 15 years, has co-authored one of Sams Publishing's bestselling books, Windows 2003 Unleashed, and has been a contributing writer and technical reviewer on several other books on Windows Server 2003 as well as Exchange 2000, 2003 and 2007. Ross Mistry is a seasoned veteran in Silicon Valley and has spent more than a decade in the computer industry. As a principal consultant and partner with Convergent Computing (CCO), he had the opportunity to work with Windows Server 2008 for three years before the product was released to the public. Chris Amaris is the chief technology officer and co-founder of CCO. He has more than 20 years' experience consulting for Fortune 500 companies, leading them in the selection, design, planning and implementation of complex information technology projects. Chris worked with Windows 2008 for three years before its release to the general public.

Dig Deeper on Server virtualization technology and services

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

MicroscopeUK

SearchSecurity

SearchStorage

SearchNetworking

SearchCloudComputing

SearchDataManagement

SearchBusinessAnalytics

Close