VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Migrating a Lab Manager Environment

Details

You may have a Lab Manager environment that you wish to migrate. For example, you have been conducting a proof of concept and now want to migrate the Lab Manager environment to production hardware. 

Solution

On the old Lab Manager server, you need to:
  1. Disallow deployments on the Managed Server systems.
  2. Undeploy all virtual machines.
  3. Disable and remove the local SMB storage server.
  4. Backup the SQL database.
On the new Lab Manager server, you need to:
  1. Restore the SQL database.
  2. Alter the host IP address and name of the Lab Manager server in the Lab Manager Web console.
  3. Set the password for VMwareLMUser.
  4. Add the SMB (Media) storage server back to Lab Manager using VMwareLMUsers and the new password.
  5. Synchronize the media library with files in the /ISO directory of the storage servers.
  6. Enable virtual machine deployment on the Managed Server.
  7. Migrate the local virtual machine storage to a shared virtual machine storage.

Note: This document assumes you do not want to change the IP addresses of either the Lab Manager server or the Managed Servers. If you want to change the IP addresses, also consult:

Tasks to Perform on the Old Lab Manager Server

To disallow deployment of virtual machines on each Managed Server system:

  1. In the left pane of the Lab Manager Web console, click Servers.
  2. Move the pointer over the Managed Server system and choose Disallow Deployments from the menu.
  3. Click OK.
To undeploy all virtual machines for each Managed Server system:
  1. In the left pane of the Lab Manager Web console, click Servers.

  2. Move the pointer over the Managed Server system and choose Undeploy all and cleanup from the menu.

  3. Click OK.
To disable and remove the local SMB storage server:
  1. In the left pane of the Lab Manager Web console, click Storage.

  2. Move the pointer over the local SMB storage server and choose Disable from the menu.

  3. Click OK.

  4. Move the pointer over the local SMB storage server and choose Remove from the menu.
To back up the Lab Manager database from the old server:
  1. Open a DOS command prompt on the old server.

  2. Type the following:

    OSQL -S localhost\vlm -E slingshot -Q "backup database labmanager TO DISK='c:\lm_backup.bak'"

Tasks to Perform on the New Lab Manager Server

To Restore the LM database on the new server:

  1. Copy the backup database to C:\ on the new server.

  2. Stop the default Web site from the IIS Manager.

  3. Go to Windows services and stop the following services:

    1. Vmware LM Monitor
    2. Vmware LM SupportLink
    3. World Wide Web Publishing service

  4. Open a DOS command prompt on the new server.

  5. Type the following:

    OSQL -S localhost\vlm -E -Q "restore database labmanager FROM DISK='c:\lm_backup.bak' with replace"

  6. After a successful restore, restart the stopped service and restart the default Web site.
To alter the host IP address and name of the Lab Manager Server in the Lab Manager Web console:
  1. In the left pane of the Lab Manager Web console, click Settings.

  2. On the General tab, change the information for the Server Host IP Address and Server HostName fields.

  3. Click OK.
To set the password for VMwareLMUser:
  1. From the desktop of the Lab Manager Server, right-click the My Computer icon and choose Manage from the menu.

  2. In the left pane of the Computer Management window, navigate to the Users directory in the Local Users and Groups directory.

  3. Right-click VMwareLMUser and set the password.
To add the media storage server back to Lab Manager using VMwareLMUser and the new password:
  1. In the left pane of the Lab Manager Web console, click Storage.

  2. Click Add Server.

  3. Enter a new name for the storage. The name can only contain alphanumeric characters (a-z, A-Z, 0-9), hyphens, underscores, or periods. The maximum length is 15 characters.

  4. (Optional) If you do not want the storage server immediately available for use, deselect the Enabled check box.

  5. Enter a value for Disk Space Threshold Yellow. When available disk space falls below this level, Lab Manager sends an email warning message to all Administrators.

  6. Enter a value for Disk Space Threshold Red. When available disk space falls below this level, Lab Manager sends an email alert (more severe than the Disk Space Threshold Yellow message) to all Administrators.

  7. Specify SMB storage (if applicable), enter the UNC path of the folder where Lab Manager will store files, and enter the user name (VMwareLMUser) and new password. Use English characters for the UNC path.

  8. Click OK. The new storage server appears on the Storage Servers page.
To synchronize the media library with files in the /ISO directory of the storage servers:
  1. In the left pane of the Lab Manager Web console, click Media.

  2. Click Synchronize.

  3. Click OK.
To allow the deployment of virtual machines on each Managed Server system:
  1. In the left pane of the Lab Manager Web console, click Servers.

  2. Move the pointer over the Managed Server system and choose Allow Deployments from the menu.

  3. Click OK.
To migrate the local virtual machine storage to a shared storage:
  1. Attach a supported shared virtual machine storage to the Managed Server.

  2. Disallow Deployment on the Managed Server.

  3. Undeploy all virtual machines on the Managed Server.

  4. Go to Storage and disable the local storage for the Managed Server.

  5. Using Microsoft Operations Manager (MOM) on the local storage, select the Move option.

  6. Select the shared virtual machine storage as the destination and click the Execute Move button.

Note: Moving local virtual machine storage from a Managed Server to another local virtual machine storage on another Managed Server is unsupported.

Keywords

urlz; migrate; change; proof of concept; POC; move

Attachments

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (1 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (1 Ratings)   
Actions