Mirage Administrators Guide
Mirage Administrators Guide
Mirage Administrators Guide
Mirage 5.6
EN-001973-00
You can find the most up-to-date technical documentation on the VMware Web site at:
http://www.vmware.com/support/
The VMware Web site also provides the latest product updates.
If you have comments about this documentation, submit your feedback to:
[email protected]
Copyright 2015 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
VMware, Inc.
Contents
Mirage Administration 9
Centralizing Endpoints 17
Working with Upload Policies 19
Working with CVD Collections 23
Working with Archived CVDs 24
47
VMware, Inc.
49
51
VMware, Inc.
Contents
94
95
107
124
VMware, Inc.
141
Install the Windows Deployment Service Using the Windows Server Manager. 147
Install the Windows Deployment Service by Using Microsoft PowerShell 148
22 Add the WinPE Boot Images to the Windows Deployment Service Server 149
23 Provision a Device with Mirage by Using a WinPE Image 151
24 Mirage Validations for Bare Metal Provisioning 153
25 Provisioning a Device by Using the Self-Service Provisioning Tool 155
Create a Mirage Layer Group Configuration File 155
Import Mirage Layer Groups 156
Export Mirage Layer Groups 156
Provision a Device by Using the Self-Service Provisioning Tool 156
181
VMware, Inc.
Contents
189
33 Troubleshooting 201
VMware, Inc.
219
VMware, Inc.
Mirage Administration
The VMware Mirage Administrator's Guide provides information about how to deploy Mirage to your
endpoints and configure the Mirage system. With Mirage, you can manage base layer and app layer images,
desktop operations such as disaster recovery and hardware and operating system migrations, and
monitoring, reporting, and troubleshooting.
Intended Audience
This information is intended for the Mirage administrator. The information is written for experienced
Windows system administrators who are familiar with typical Windows Data Center environments such as
Active Directory, SQL, and MMC.
VMware, Inc.
10
VMware, Inc.
Mirage software centralizes the entire desktop contents in the data center for management and protection
purposes, distributes the running of desktop workloads to the endpoints, and optimizes the transfer of data
between them.
The Mirage components integrate into a typical distributed infrastructure, with the following relationships
between the system components:
n
Mirage clients connect to a Mirage server, either directly or through a load balancer.
The administrator connects to the system through the Mirage Management server.
Mirage servers and the Mirage Management server share access to the back end Mirage database and
storage volumes. Any server can access any volume.
VMware, Inc.
11
Branch
reflector
MongoDB
WAN
Mirage
database,
storage
volumes
LAN
Mirage clients
LAN
Mirage
server
cluster
Local site
Mirage clients
DMZ
Mirage
Management
server with
file portal
Internet
Mirage Gateway
server
Mobile users
Mirage clients
Mirage Management
console/Web Manager
Mirage Client
The Mirage client software runs on the base operating system and makes sure the images at the endpoint
and the CVD are synchronized. The client does not create or emulate a virtual machine. No virtual machines
or hypervisors are required. The Mirage client software can run on any Type 1 or Type 2 hypervisor.
12
VMware, Inc.
Mirage Server
The Mirage servers, located in the data center, synchronize data between the Mirage client and the
datacenter. The Mirage servers also manage the storage and delivery of base layers, app layers, and CVDs to
clients, and consolidate monitoring and management communications. You can deploy multiple servers as a
server cluster to manage endpoint devices for large enterprise organizations. It is good practice to keep the
server on a dedicated machine or a virtual machine. However, a server can run on the same machine as the
Mirage Management server.
The server machine must be dedicated for the Mirage server software to use. The server machine must not
be used for other purposes.
VMware, Inc.
13
Defined By (Role)
Description
Base layer
Administrator
App layers
Administrator
Driver profile
Administrator
End users
14
VMware, Inc.
VMware, Inc.
15
16
VMware, Inc.
Activating Endpoints
The Mirage client software runs in the base operating system and verifies that the images at the endpoint
and the CVD are synchronized. To prepare an endpoint for centralized management of the device data, you
install the Mirage client on the device and activate the device by synchronizing it to a CVD on the Mirage
server.
You must define upload policies, which determine which files to synchronize, before endpoints are
activated. The activation process selects an existing upload policy for the endpoint.
The client does not create or emulate a virtual machine. No virtual machines or hyper visors are required.
The client can run on physical machines, Type 1 or Type 2 hypervisors.
This chapter includes the following topics:
n
Centralizing Endpoints
After you install the Mirage client, you centralize the device. Centralization activates the endpoint in the
Mirage Management console and synchronizes it with, or assigns it to, a CVD on the Mirage server so that
you can centrally manage the device data.
When you first introduce Mirage to your organization, you must back up each device, creating a copy of it
on the server, in the form of a Centralized Virtual Desktop (CVD) . You can then centrally manage the
device.
The endpoint with the client installed appears in the Mirage Management console as Pending Assignment,
and is pending activation in the system. You can also reject a device that you do not want to manage in the
system.
VMware, Inc.
17
Procedure
1
If the prompt is closed or cancelled, the user can restart this process by right-clicking the Mirage icon in
the notification area and selecting Create New CVD.
In the Mirage Management console, select Common Wizards > Centralize Endpoint.
a
Use Search or filter to find the device or devices you want to assign and click Next.
All devices in the filtered list are included in the centralization procedure.
Select whether you want to add a base layer to the endpoint and click Next.
Select one or more app layers to which you want to add to the device and click Next.
This step only appears when you have selected a base layer from the previous step.
Select a target storage volume to where you want to store the endpoint base layer and app layers
and click Next. Alternatively, you can have Mirage choose the volume according to the sizes of the
base layer and app layers by selecting Automatically choose a volume.
The Compatibility Check window displays whether or not the assigned CVDs connected to the
endpoint passed the compatibility validation check. When the endpoint passes the validation, you
can click Next to proceed.
n
When there are potential problems with the CVDs, a warning window appears. You can select
each item in the Mismatch List and the validation details and resolution are displayed on the
bottom of the window. You can either fix the problem, or click Ignore to bypass the problem.
Alternatively, you can click Ignore All to bypass all warning messages.
When there are fatal errors that must be resolved to centralize the endpoint, a blocking
window appears. You can select an error from the Mismatch List to view the Validation
Details on the bottom of the window. You must resolve these issues before continuing. The
Ignore and Ignore All buttons are unavailable.
Click Finish.
The client starts the scanning phase according to the policy defined during the installation.
After the scanning finishes, the device appears in the All CVDs panel.
18
VMware, Inc.
In the Mirage Management console, expand the Inventory node and click Pending Devices.
Right-click the device that is in the Rejected list, and select Remove.
VMware, Inc.
19
Description
Unprotected area
Lists files and directories on the endpoint device that are not protected, but with a subset
of exceptions defined as protected. By default, Mirage protects all other files and
directories.
User area
Lists end-user files and directories, such as document files, that are excluded from the
restoration and that are kept on the endpoint devices in their current state when the
Restore System Only option is used to revert a CVD. See Restore a Device to a CVD
Snapshot, on page 159
Additionally, the user area is used to filter out information from the base and app layers.
The user area cannot be downloaded or viewed by the end user.
The upload policy that is applied to the CVD consists of various items.
n
A selected built-in factory policy that VMware provides to assist the administrator with first time
deployment
Administrator modifications to that policy to address specific backup and data protection needs
The built-in factory policy is a reference for further customization and includes all the mandatory rules that
the system needs to function. The administrator cannot modify the mandatory rules.
Before you use a built-in policy, evaluate it to be sure it meets backup policy and data protection needs. The
built-in policies, for example, do not upload .MP3 and .AVI files to the CVD.
You can use one of the following customizable built-in upload policies, to help manage mixed Mirage and
View systems:
Mirage default upload
policy
Use on Mirage servers that manage CVDs on virtual machines. This upload
policy is provided for convenience. It is identical to the Mirage default
upload policy, except that the Optimize for Horizon View check box is
selected.
In the Mirage Management console, expand the System Configuration node and click CVD Policies.
20
Parameter
Description
Denotes how frequently the client attempts to synchronize with the server. The
default is every 60 minutes. End users can override the policy in effect at an
endpoint. See Suspend and Reactivate Synchronization. The Upload change
interval affects the frequency of automatic CVD snapshot creation. See CVD
Snapshot Generation and Retention.
VMware, Inc.
Description
Protected volumes
Denotes which volumes to centralize from the endpoint to the CVD in the server.
All fixed volumes are protected by default. You can select to protect only the
system volumes and add more volumes by using the assigned drive letters.
Rule Exceptions
list
Defines the rules to unprotect files and directories defined as user files. These rules
are used instead of Unprotected Area rules when certain system flows specifically
refer to user files.
The tab contains Rules and Rule Exception areas, used in the same way as in the
Unprotected Area tab.
Shows the Factory upload policy settings in the rules list, the Mirage mandatory
settings that the administrator cannot change. The factory rules are dimmed in the
rules list.
Export button
Exports policy rules to an XML file for editing and backup. Mirage factory rules
are not exported, even if they appear in the policy window.
Import button
In the Mirage Management console, expand the System Configuration node, right-click Upload
Policies, and click Add an Upload Policy.
In the Mirage Management console, expand the System Configuration node, and Upload Policies, and
double-click an upload policy.
VMware, Inc.
21
Indicate the scope of the update by selecting a minor version, for example, 1.1, or a major version, for
example, 2.0, and click OK.
The new policy is added to the Mirage Management console with the new version number.
(Optional) To distribute the changed policy, right-click the policy with this policy version and select
Update CVDs.
In the Mirage Management console, expand the System Configuration node, select CVD Policies , and
double-click the required upload policy.
Click Add or Edit next to the required Rule or Rule Exception area.
Specify a filter for this directory or a pattern for matching files under this directory.
For example, to add a rule not to protect Windows search index files for all the users on the desktop,
add the following rule:
%anyuserprofile%\Application Data\Microsoft\Search\*
Click OK.
22
Option
Description
Select this option to indicate that each CVD assigned to this policy is a View
desktop. Mirage limits the number of concurrent layer updates currently
assigned in the System Configuration settings. When this option is selected,
the Layer assignment only and the Optimize for LAN environments options
are automatically enabled.
Select this option to prevent data from the client to be uploaded to the Mirage
server. The client is used as an image management tool without the full
backup of the client. This option is automatically enabled when the Optimize
for VMware Horizon View option is selected.
VMware, Inc.
Description
Select this option to disable the client and network throttling between the
Mirage client and the Mirage server, giving priority to Mirage operations.
Select this option to restore Encrypted File System (EFS) files to their original
encrypted state after files are downloaded in a CVD restore or file-level
restore. This option is unavailable when either the Optimize for VMware
Horizon option, or the Layer Management Only policy are enabled.
In the Mirage Management console, expand the Inventory node, right-click Collections, and select Add
a Collection.
Click OK.
In the Mirage Management console, expand the Inventory node and select All CVDs.
To select the Mirage clients to move to the collection, right-click, and select Manage CVD > Manage
Collections.
Click OK.
VMware, Inc.
23
In the Mirage Management console, expand the Inventory node, right-click Collections, and select Add
a Collection.
a
Select the filter to define the dynamic collection from the Column drop-down list.
You might have to select a condition and value for the filter that you select.
Click OK.
In the Mirage Management console tree, expand the Inventory node, right-click Collections, and select
Add a Collection.
a
In the Column drop-down menu, set the filter to define the dynamic collection by Active Directory
group, Active Directory organizational unit, or Active Directory domain.
You can select additional filters from the Column drop-down menu.
d
2
Click Apply to view the CVDs filtered to the collection. These CVDs appear in the lower pane.
Click OK.
24
VMware, Inc.
Archive CVDs
You can transfer a CVD that is not immediately required to the CVD archive.
Procedure
1
In the Mirage Management console tree, expand the Inventory node, and select All CVDs.
Right-click the CVD that you want to archive, and select Manage CVD > Archive.
In the Mirage Management console tree, expand the Inventory node and select Archive.
In the Mirage Management console tree, expand the Inventory node and select Archive.
Click the Delete from Inventory icon on the CVD Archive toolbar.
In the Mirage Management console tree, expand the Inventory node and select Archive.
Right-click the archived CVD you want to move and select Move to a different volume.
Option
Description
You select where to move the archived CVD, and then select the volume.
Click OK.
VMware, Inc.
25
Prerequisites
Install the Mirage client on the client machine. See the VMware Mirage Installation Guide.
Verify that the drive letters of the new endpoint and the CVD in the data center are compatible. If the drive
letters are different, the system does not allow the restore operation to proceed.
Perform Sync Now on the endpoint before migrating it to a new client machine. This ensures that all data is
saved to the data center before the migration takes place. See Suspend and Reactivate Synchronization, on
page 31.
Select a domain for this endpoint to join after the restore operation . If you want to use the same credentials
each time, perform the following steps:
1
In the Mirage Management console tree, right-click System Configuration and select Settings.
On the General tab, type the credentials you want to use for domain joining.
The join domain account must meet the appropriate security privilege requirements. See General
System Settings, on page 45.
Procedure
1
In the Mirage Management console tree, expand the Inventory node and select Archive.
Select the device where you want to migrate the CVD and click Next.
Only devices compatible with the selected CVD are listed.
Description
This option includes restoring the OS, applications, user data, and user settings.
Use this option for systems with Windows volume licenses or Windows OEM
SLP licenses.
The entire CVD is restored to the replacement device, including OS,
applications, and user files. Any existing files on the replacement device are lost
or overwritten.
If you select this option, you must select a base layer during the migration
procedure.
Use this option only when replacing a device that has a different Windows
OEM license.
The OS of the replacement device must be the same as that of the CVD.
Only applications and user data are restored to the replacement device. The
existing OS and applications installed on the replacement device are retained.
Use this option to migrate users from Windows XP, Windows Vista, and
Windows 7 machines to new Windows 7 machines, or Windows 7 to Windows
8.1 machines.
The OS of the replacement device must be the same as or newer than that of the
CVD.
Only user data and settings are restored to the replacement device. The existing
OS and applications installed on the replacement device are retained.
You can maintain the current layer, if one applies, select a new base layer from the list, or proceed
without a base layer.
b
26
Click Next.
VMware, Inc.
(Optional) Type a name for the CVD and specify the domain options.
a
Select a domain for this endpoint to join after the restore operation.
The current domain is shown by default.
Type the OU and Domain or select them from the drop-down menus.
The drop-down menus are populated with all known domains in the system. Each text box shows
the required syntax pattern.
d
6
Option
Description
OU
The join domain account must meet the appropriate security privilege
requirements as defined in the system general settings.
The account must have access to join the domain. This is not validated.
Click Next.
Use the validation summary to compare the target device with the CVD.
This summary alerts you to any potential problems that require additional attention. You can proceed
only after all blocking problems are resolved.
The migration process proceeds and takes place in two phases. See End User Experience with Restore
Processes, on page 168.
VMware, Inc.
27
28
VMware, Inc.
End users can perform certain operations, independently of the administrator, such as accessing client status
information, restoring files or directories from the CVD, and temporarily suspending or resuming the client
to server synchronization process.
This chapter includes the following topics:
n
Right-click the Mirage icon in the notification area and select Show Status.
File-Level Restoration
Users can restore a previous version of an existing file or a deleted file from snapshots stored on the Mirage
server.
The restore is based on files and directories included in CVD snapshots, in accordance with the upload
policies currently in effect. See Working with Upload Policies, on page 19.
When the CVD contains Encrypted File System (EFS) files, the files are recovered in their original encrypted
form. Only EFS files that the recovering user encrypted are restored from the CVD. Unauthorized files are
filtered from the restore.
The file restore operation generates an audit event on the Mirage server for management and support
purposes.
Files are restored with their original Access Control Lists (ACLs).
VMware, Inc.
29
Click Restore.
In Windows Explorer, right-click the parent directory from where the file was deleted and select
Mirage Recycle Bin.
Click Restore.
Directory-Level Restore
Users can recover entire directories back to their endpoint. The recovery includes all files and subfolders
that the directory contains.
Prerequisites
30
Verify that the directories to be recovered exist in a snapshot saved in the data center.
Verify that you have access permissions for the location to which you want to write. If you do not, you
are redirected to My Documents.
VMware, Inc.
Procedure
1
In Windows Explorer, right-click the parent directory from which the folder was deleted and select
Restore previous versions.
Click Restore.
Action
Sync Now
Right-click the Mirage icon in the notification area and select Sync Now.
Suspend Synchronization
VMware, Inc.
31
32
VMware, Inc.
Users can use the Mirage file portal to browse and view files in their CVD.
In some situations, for example in an MSP environment, user devices cannot access the corporate domain.
To enable users to access their files, an administrator maps a CVD that is centralized in the system to specific
domain users. Users who are not on the domain can access their files through the file portal by using their
domain account.
Users access these files from the data center directly, not from the endpoint, so the endpoint does not need
to be accessible for file portal purposes.
This chapter includes the following topics:
n
The assigned user is in a workgroup, not in a domain, and a domain user account was not mapped to
the workgroup.
Procedure
1
In the Mirage Management console tree, expand the Inventory node and select All CVDs.
VMware, Inc.
Option
Action
33
In the Mirage Management console tree, expand the Inventory node and select All CVDs.
Type the user domain account in the text box to the right of the relevant Local User cell.
Click Save.
Verify that a file portal URL is configured in the Mirage Management server.
End users must have permission to access the file portal by the administrator . See Allow Access to
CVD Files, on page 33.
If you are using Internet Explorer, you must use Internet Explorer 9 or later.
Procedure
1
In the notification area of an endpoint that has the Mirage client installed, right-click and select
Show File Portal
If a file portal URL is not configured in the Management server, you can also access it at https://mirageserver-address/Explorer/.
34
VMware, Inc.
Log in to the file portal for your environment and type the required information.
Option
Description
Enterprise
If you are not a member of a domain, the local profile on the client is
manually mapped to the MSP login. This configuration is similar to the
Hosted MSP with domain option. The administrator can perform the
mapping manually using the Mirage Management console.
Ensure that the Mirage end-user is allowed to browse the File Portal. See Allow Access to CVD Files,
on page 33.
Procedure
1
In the notification area of an endpoint that has the Mirage client installed, right-click and select
Show File Portal
If a file portal URL is not configured in the Management server, you can also access it at https://mirageserver-address/Explorer/.
2
Log in to the file portal for your environment and type the required information.
Option
Description
Enterprise
If you are not a member of a domain, the local profile on the client is
manually mapped to the MSP login. This configuration is similar to the
Hosted MSP with domain option. The administrator can perform the
mapping manually using the Mirage Management console.
VMware, Inc.
35
36
VMware, Inc.
The Mirage file portal runs on Windows Server 2008 or later. You must protect this host from normal OS
vulnerabilities.
Use spyware filters, intrusion detection systems, and other security measures mandated by your enterprise
policies.
Ensure that all security measures are up-to-date, including OS patches.
Table 51. Protection Configuration for Code MFP01
Configuration Element
Description
Code
MFP01
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
Description
Code
MFP02
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
VMware, Inc.
37
Description
Code
MFP03
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
Description
Code
MFP04
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
Description
Code
MFP05
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
38
Configuration Element
Description
Code
MFP06
Name
VMware, Inc.
Description
Description
Risk or control
Recommended level
Enterprise.
Condition or steps
The Mirage file portal is generally deployed in a DMZ or an internal data center to control browser access
and user data over potentially hostile network, such as the Internet. In a DMZ or internal data center it is
important that you use a firewall to control network protocol access.
Table 57. Protection Configuration for Code MFP07
Configuration Element
Description
Code
MFP07
Name
Description
Risk or control
VMware, Inc.
39
Description
Recommended level
40
Configuration Element
Description
Code
MFP08
Name
Description
When you first install the Mirage file portal, the HTTPS
server is unable to work until signed certificates are
prepared. The Mirage file portal and the HTTPS server
require SSL server certificates signed by a commercial
Certificate Authority (CA) or an organizational CA.
Risk or control
Recommended level
Enterprise
Condition or steps
Test
VMware, Inc.
You can apply settings to your Mirage installation that the administrator can configure, including the
retention policy for snapshots. You can also configure the system to use Secure Sockets Layer (SSL)
communication between the Mirage client and server.
This chapter includes the following topics:
n
In the Mirage Management console, right-click System Configuration and select Settings.
VMware, Inc.
41
Description
SubnetMaskV4
Site
Download limit
Upload limit
Start Time
Time that the rule is applied, for example, 7:00 AM. The
time is the local time of the endpoint. It can take up to five
minutes after the start time for the rule to be applied.
End Time
The days of the week that the rule is valid, for example,
Monday, Thursday, and Friday. The day is calculated
according to the local time of the endpoint.
You write the rules in the format SubnetMaskV4,Site,Download Limit,Upload Limit, Start Time, End
Time, Days of Week.
After you write rules, you import the rules to Mirage. You can also export existing rules to edit it, and
import the edited rules to Mirage.
You can add a global limit rule that applies to all clients in the Mirage environment. For example,
0.0.0.0/0,,OutgoingKBps,UploadKBps.
To access the Bandwidth Limitation tab, in the Mirage Management console select System Configuration >
Settings. Click Sample rules to view sample rules.
To add a rule using the Mirage Web manager, click Add and edit the bandwidth limiting parameters. To
edit a rule that you created, double-click the rule and edit the bandwidth limiting parameters.
You write the rules in a .csv file and import the file using the Mirage Web manager. You write the rules in
the format SubnetMaskV4,Site,Download Limit,Upload Limit, Start Time, End Time, Days of Week. Click
Sample Rules to view a sample rule.
After you write rules, you import the rules by using the Mirage Web manager. You can also export existing
rules to edit the rules, and import the edited rules to the Mirage Web manager. Imported rules replace and
overwrite existing rules.
You can add a global limit rule that applies to all clients in the Mirage environment. For example,
0.0.0.0/0,,OutgoingKBps,UploadKBps.
42
Constraints
Rule LImitations
VMware, Inc.
Rule LImitations
Always applicable.
Blank.
Unlimited.
Zero (0).
Blocked.
License Settings
License settings are used to add a license to Mirage or view existing licenses.
For the relevant procedures, see the VMware Mirage Installation Guide.
User profile and data-only restore operations for Windows 7 and Windows 8.1.
To import a USMT library, click the gear icon in the upper-right corner and click USMT. Type the USMT
folder path and click the Validate button to verify that you typed a valid folder path. Click OK to complete
the import procedure. The USMT folder path must be a valid UNC path. The user that is performing the
import procedure must have reader access to this folder.
Procedure
1
Find the USMT folder in the directories installed with the Windows Automated Installation Kit (AIK)
software.
You can download this software free of charge from Microsoft.
Copy the USMT folder and all subdirectories to your Mirage server.
After the Mirage Management console imports the USMT file for the specific operating system, a check
mark is displayed next to each USMT version.
VMware, Inc.
43
In the Mirage Management console, right-click System Configuration and select Settings.
Click the File Portal tab and configure the file portal.
a
Type the path to the file portal in the Enable File Portal text box.
For example, https://<address>/Explorer, where <address> is the host where the Mirage file portal
is installed.
c
3
In the User message text box, enter the user message that a user sees when prompted to activate
the file portal.
Click OK.
44
In the Mirage Management console, right-click System Configuration and select Settings.
VMware, Inc.
Click OK.
Description
Snapshots kept
The number of CVD snapshots the system must keep available for restoration, at hour, day,
week, and month intervals. For more information about how these values are used in snapshot
retention.
See CVD Snapshot Generation and Retention, on page 46.
Volumes
This section configures the threshold percentages of data stored on a volume, which when
reached, trigger a warning
This section configures the threshold percentages of data stored on a volume, which when
reached, trigger a warning or critical events in the Events log.
For more information about using multiple volumes, see Chapter 11, Deploying Multiple
Storage Volumes, on page 85.
n Volume capacity - warning threshold (%): Type the threshold percentage of data stored on
a volume, which triggers a warning event when reached.
n Volume capacity - critical threshold (%): Type the threshold percentage of data stored on a
volume, which triggers a critical event when reached.
n Volume capacity check interval (seconds): Type the elapsed time interval (in seconds) at
which the system rechecks the level of data stored on the volume against the thresholds.
n Driver Library and USMT files volume: To select the volume to be addressed by the
threshold checks, click Change and select the required volume.
CVDs
n
n
CVD size warning threshold (MB): Type the maximum CVD size. An event is generated in
the Event Log when that size is reached.
Default Upload Policy: To choose the default upload policy used when an end user adds
their CVD to the Mirage system, click Change and select the required policy.
Branch Reflector
Report
Specify the report server URL. For more information, see Chapter 30, Working with Reports
for Mirage Operations, on page 185
User and Password: Account that authorizes joining the domain. The join domain account is
used during migration operations. Note: The join domain account must have the following
permissions - Reset Password, Write all properties, Delete, Create computer objects, and Delete
computer objects. Permissions are set using the Advanced Security Settings for Computers
dialog box for this object and all descendant objects.
VMware, Inc.
45
Description
Bandwidth Limiting
You can set an upper limit on Mirage traffic so that Mirage does not consume all of the
bandwidth of a site or subnet. When you use bandwidth limitation, you allocate your network
resources more efficiently. A bandwidth limitation rule contains parameters to set the
limitations.
You can import rules, export rules, and view sample rules, and create new rules by specifying
several parameters. See Managing Bandwidth Limitation Rules, on page 41.
License
You can specify a license key or a license file, and view license information.
Before a base layer update. This allows an administrator to revert to the CVD state before the update if
the update fails or is problematic, or after any migration.
Before reverting to a snapshot. This keeps the current endpoint state available in case a rollback is
required.
Whenever the administrator performs a forced upload. See Reconnect a Device to a CVD, on
page 168.
According to these circumstances, the interval between specific snapshots can be longer or shorter than the
time defined by the Upload Change Interval parameter.
46
VMware, Inc.
Description
Number of snapshots
at 1 hour intervals
Number of snapshots
at 1 day intervals
Number of snapshots
at 1 week intervals
Number of snapshots
at 1 month intervals
The intervals between snapshots retained in each category depend on the factors described in Automatic
Snapshot Generation, on page 46, and how device availability affects the retention rollover timing. For this
reason, the snapshots in the daily, weekly, and monthly retention categories can typically have time
intervals of at least a day, week, or month between them.
Automatic snapshots taken before a base layer update, before reverting to a snapshot, or forced uploads are
counted against the snapshot retention capacity. They cause the number of regular snapshots retained to
decrease.
Installing the SSL server certificate. See Install an SSL Server Certificate for the Mirage Server, on
page 48.
Configuring servers for SSL. See Configure Mirage Servers for SSL, on page 48.
If you enable SSL on the server, you must also enable SSL on clients.
VMware, Inc.
47
Ensure that the certificates are installed in the local Computer Trust Store. If you do not have a
certificate, you can create one with tools such as the Microsoft MakeCert. You must then import the
result into the Certificate Manager.
Procedure
1
Open the Windows Management Console, add the Certificates snap-in, and select the local computer
account.
In the Mirage Management console tree, expand the System Configuration node and select Servers.
48
Option
Action
Max Connections
Port
Change the port used for client-server communication. Either use the
default port of 8000 or change the port. Changing the port might require
adding firewall rules to open the port.
TCP or SSL
Change the connection type to SSL to have clients communicate with the
server using SSL encryption. This is a global change.
(Optional) If you selected SSL, enter the Certificate subject and Issuer values.
Option
Description
Certificate Subject
Certificate Issuer
Usually a known entity like VeriSign. Leave this blank if only one
certificate is on this server.
Click OK.
VMware, Inc.
You can configure Mirage to collect data to help improve your user experience with VMware products. The
following section contains important information about the Customer Experience Improvement Program.
The goal of the Customer Experience Improvement Program is to quickly identify and address issues that
might be affecting your experience. If you choose to participate in the VMware Customer Experience
Improvement Program, Mirage regularly sends encrypted data to VMware. VMware uses the collected data
for product development and troubleshooting purposes. Mirage anonymizes and encrypts the collected data
from your systems or servers before securely transferring the data to VMware.
This chapter includes the following topics:
n
Description
Vertical
Geography
Mirage version
Device number
Subnet number
Mirage collects information about storage volumes, such as size and the number of CVDs stored in the
volume.
VMware, Inc.
49
Description
Size
CVD number
Dedup Ratio
Average IOPS
Mirage collects information about CVDs, such as CVD size and the OS type on the CVD.
Table 73. CVD Information
Property
Description
OS type
Size
Mirage collects information about Mirage operations, such as operation type and the role of the
administrator performing the operation.
Table 74. Operation Information
Property
Description
Time
Duration
Type
Type of operation.
Size
Operator
Invocation point
Mirage collects information about Mirage servers and Mirage Gateway servers, such as network traffic, and
memory use and availability.
Table 75. Server Information
Property
Description
Time
Server type
CPU
Physical memory
Free memory
Concurrent connection
In traffic
Out traffic
Mirage collects information about layers, such as layer size and layer type.
50
VMware, Inc.
Description
Type
Capture date
OS type
Size
Assigned CVD
Click the gear icon in the upper-right corner on the Mirage Web Manager.
Clear the I agree to join the Mirage Customer Experience Improvement Program check box and click
OK.
VMware, Inc.
51
52
VMware, Inc.
Windows PowerShell is a command-line and scripting environment that is designed for Microsoft
Windows. PowerShell uses the .NET object model and provides administrators with management and
automation capabilities. You work with PowerShell by running commands, which are called cmdlets in
PowerShell.
Mirage includes several Mirage PowerCLI cmdlets.
The command-line syntax for the Mirage PowerCLI cmdlets is the same as generic PowerShell syntax. For
more information about using PowerShell, see the Microsoft documentation.
n
Run vSphere PowerCLI and Mirage PowerCLI in a Single PowerShell Session on page 54
You can write scripts that combine vSphere PowerCLI cmdlets and Mirage PowerCLI cmdlets in a
single PowerShell session.
VMware, Inc.
53
Procedure
1
When prompted with the Execution Policy window, access Windows PowerShell as an administrator,
and run the Set-ExecutionPolicy RemoteSigned command.
Type Y and press Enter to accept the execution policy change, and close the Windows PowerShell
window.
54
VMware, Inc.
Description
Apply-MirageAssignment
Apply-MirageOsMigration
Archive-MirageCvd
Connect-MirageServer
Disconnect-MirageServer
Get-MirageAppLayer
Get-MirageAssignment
Get-MirageBaseLayer
Get-MirageCvd
Get-MirageCvdCollection
Get-MirageOsMigration
Get-MiragePendingDevice
Get-MiragePolicy
Get-MirageVolume
New-MirageCvd
New-MirageOsMigration
Migrates the CVD with the specified base layer, app layer,
and related information in the Mirage system.
Remove-MirageCvd
Set-MirageCvd
Set-MirageCvdAppLayer
Sync-MirageCvd
VMware, Inc.
55
To view the full descriptions for a cmdlet, including the command description, parameter description, and
sample usage, type the Get-Help Command -full command in the PowerCLI console, where Command is the
cmdlet, for example, Connect-MirageServer.
ServerIPAddress is the IP address of the Mirage server, and Username and Password are the log-in
credentials of the privileged user for the Mirage server.
2
Run the Get-MiragePolicy cmdlet to retrieve the Mirage policies, and note the name of the Mirage
policy to assign to the CVD.
Run the Get-MirageVolume cmdlet to retrieve the Mirage volumes, and note the name of the Mirage
volume to assign to the CVD.
Run the Get-MiragePendingDevice cmdlet to retrieve the pending devices, and note the names of
the pending devices to assign to the CVD.
Option
Action
Run the $device = Get-MiragePendingDevice | Select-Object First 1 command to retrieve the pending device.
Create a CVD.
Option
Action
Run the $cvd = $device | New-MirageCVD -Policy $policy Volume $volume command.
If volume is not specified, the volume for the new CVD is selected automatically.
56
VMware, Inc.
If you create a CVD using a variable, you can reuse the variable in other Mirage PowerCLI procedures.
The new CVD is created.
VMware, Inc.
57
ServerIPAddress is the IP address of the Mirage server, and Username and Password are the log-in
credentials of the privileged user for the Mirage server.
2
Run the Get-MirageCvd cmdlet to retrieve the Mirage CVDs, and note the name of the MirageCVD
for which to migrate the OS.
Run the Get-MirageBaseLayer cmdlet to retrieve the Mirage base layers, and note the name of the
base layer to apply to the CVD.
Action
Run the $migration = New-MirageOsMigration -CVD $cvd BaseLayer $baselayer -Domain $domain -User $domainuser Password $domainpassword -DownloadOnly -Force | SelectObject -First 1 command.
Run the $migration = New-MirageOsMigration -CVD $cvd BaseLayer $baselayer -Domain $domain -User $domainuser Password $domainpassword -Force | Select-Object -First 1
command.
Run the $migration = New-MirageOsMigration -CVD $cvd BaseLayer $baselayer -WorkGroup $workgroup -DownloadOnly
-Force | Select-Object -First 1 command.
Run the $migration = New-MirageOsMigration -CVD $cvd BaseLayer $baselayer -WorkGroup $workgroup -Force |
Select-Object -First 1 command.
migration is the name you select for this variable. domain is the name of the domain that the
migrated CVD is joining. domainuser and domainpassword are the login credentials for the domain
that the migrated CVD is joining. workgroup is the name of the work group that you want the CVD
to join.
58
VMware, Inc.
If you selected the download only migration option, apply the download only migration.
a
The CVD is migrated with the base layer that you specified in the New-MirageOsMigration command.
VMware, Inc.
59
Start-Sleep -s 20
$migration = Get-MirageOsMigration -Id $cvd.Id
if($migration.Status -eq 'DownloadComplete')
{
$success = $true
}
elseif($migration.Status -eq 'DownloadCancelled')
{
"Download only migration cancelled"
return
}
else
{
$retryCount++
if($retryCount -gt $maxRetries)
{
"Download only migration is not completed, retry times: $retryCount"
return
}
}
}
$migration
"--------Apply-MirageOsMigration--------"
$cvd = Apply-MirageOsMigration $migration
if(!$cvd)
{
"Fail to apply download only migration."
return
}
"OS migration starts"
$maxRetries = 100
$retryCount = 0
while ($true)
{
Start-Sleep -s 20
$assignment = Get-MirageAssignment -CVD $cvd -TaskType 'Migration'
if($assignment)
{
if($assignment.Status -eq 'Failed')
{
"OS migration flow fails"
return
}
if($assignment.Status -eq 'Completed')
{
Get-MirageCvd -Id $cvd.Id
"OS migration flow succeeds."
return
}
}
$retryCount++
if($retryCount -gt $maxRetries)
60
VMware, Inc.
{
"Migration assignment is not created/completed, retry times: $retryCount"
return
}
}
ServerIPAddress is the IP address of the Mirage server, and Username and Password are the log-in
credentials of the privileged user for the Mirage server.
2
Run the Get-MirageVolume cmdlet to retrieve the Mirage volumes, and note the name of the Mirage
volume to assign to the CVD.
Run the Get-MiragePolicy cmdlet to retrieve the Mirage policies, and note the name of the Mirage
policy to assign to the CVD.
Run the Get-MirageBaseLayer cmdlet to retrieve the Mirage base layers, and note the name of the
base layer to apply to the CVD.
VMware, Inc.
Run the Get-MiragePendingDevice cmdlet to retrieve the pending devices, and note the names of
the pending devices to assign to the CVD.
Option
Action
Run the $device = Get-MiragePendingDevice | Select-Object First 1 command to retrieve the pending device.
61
Action
Run the $cvd = $device | New-MirageCVD -Policy $policy Volume $volume -BaseLayer $baselayer -Domain $domain -User
$domainuser -Password $domainpassword -Provision -Force
command.
Run the $cvd = $device | New-MirageCVD -Policy $policy Volume $volume -BaseLayer $baselayer -WorkGroup $workgroup
-Force command.
Run the $cvd = $device | New-MirageCVD -Policy $policy Volume $volume -BaseLayer $baselayer -Domain $domain -User
$domainuser -Password $domainpassword -MachineNamePrefix
$nameprefix -MachineNameStartIndex $nameindex -Provision Force This cmd will provision the devices and change the machine name
with parameter MachineNamePrefix and MachineNameStartIndex. For
example, if MachineNamePrefix is newmachine- and
MachineNameStartIndex is 100, the new machine names would be
newmachine-100, newmachine-101, etc.
If Volume is not specified, the volume for the new CVD is selected automatically.
cvd is the name you select for this variable. domain is the name of the domain that the migrated CVD is
joining. domainuser and domainpassword are the login credentials for the domain that the migrated CVD
is joining. workgroup is the name of the work group that you want the CVD to join.
The new CVD is created with the base layer that you specified in the New-MirageCvd command.
62
VMware, Inc.
VMware, Inc.
63
ServerIPAddress is the IP address of the Mirage server, and Username and Password are the log-in
credentials of the privileged user for the Mirage server.
2
Run the Get-MirageCvd cmdlet to retrieve the Mirage CVDs, and note the name of the Mirage CVD
for which to assign base layer.
Run the Get-MirageBaseLayer cmdlet to retrieve the Mirage base layers, and note the name of the
base layer to apply to the CVD.
Run the Set-MirageCvd cmdlet to assign the base layer to the specified CVD.
Option
Action
(Optional) If you selected the download only assign option, query and apply the download only base
layer assignment.
a
64
VMware, Inc.
if (!$cvd)
{
"Can not get cvd with name $cvdname."
return
}
$cvd
"--------Get-MirageBaseLayer--------"
$baselayer = Get-MirageBaseLayer $baselayername | Select-Object -First 1
if (!$baselayer)
{
"Can not get base layer with name $baselayername."
return
}
$baselayer
"--------Set-MirageCvd -BaseLayer--------"
$cvd = Set-MirageCvd -CVD $cvd -BaseLayer $baselayer -IgnoreWarnings -Force -DownloadOnly
if (!$cvd)
{
"Fail to start download base layer."
return
}
$cvd
"--------Get-MirageAssignment--------"
$success = $false
$maxRetries = 10
$retryCount = 0
while (!$success)
{
Start-Sleep -s 20
$assignment = Get-MirageAssignment -CVD $cvd -TaskType 'DownloadOnlyBaseLayerAssignment'
if($assignment)
{
$success = $true
}
else
{
$retryCount++
if($retryCount -gt $maxRetries)
{
"Download only base layer assignment is not created, retry times: $retryCount"
return
}
}
}
$assignment
"--------Apply-MirageAssignment--------"
$maxRetries = 100
$retryCount = 0
Apply-MirageAssignment -Assignment $assignment -Force
while($true)
{
VMware, Inc.
65
Start-Sleep -s 20
$assignment = Get-MirageAssignment -CVD $cvd -Type 'BaseLayerAssignment'
if($assignment)
{
if($assignment.Status -eq 'Failed')
{
"Assign base layer flow fails"
return
}
if($assignment.Status -eq 'Completed')
{
Get-MirageCvd -Id $cvd.Id
"Assign base layer flow succeeds."
return
}
}
$retryCount++
if($retryCount -gt $maxRetries)
{
"Apply layer assignment is not created/completed, retry times: $retryCount"
return
}
}
ServerIPAddress is the IP address of the Mirage server, and Username and Password are the log-in
credentials of the privileged user for the Mirage server.
2
Select a CVD that you want to update the app layers assigned to it.
a
Run the Get-MirageCvd cmdlet to retrieve the Mirage CVDs, and note the name of the Mirage CVD
for which to assign base layer.
Run the Get-MirageAppLayer cmdlet to retrieve the Mirage app layers, and note the name of the
app layer to assign to the CVD.
66
VMware, Inc.
Action
(Optional) If you selected the download only update option, query and apply the download only app
layer assignment.
a
VMware, Inc.
67
while (!$success)
{
Start-Sleep -s 20
$assignment = Get-MirageAssignment -CVD $cvd -TaskType 'DownloadOnlyAppLayerAssignment'
if($assignment)
{
$success = $true
}
else
{
$retryCount++
if($retryCount -gt $maxRetries)
{
"Download only app layer assignment is not created, retry times: $retryCount"
return
}
}
}
$assignment
"--------Apply-MirageAssignment--------"
$maxRetries = 100
$retryCount = 0
Apply-MirageAssignment -Assignment $assignment -Force
while($true)
{
Start-Sleep -s 20
$assignment = Get-MirageAssignment -CVD $cvd -Type 'AppLayerAssignment'
if($assignment)
{
if($assignment.Status -eq 'Failed')
{
"Update app layer flow fails"
return
}
if($assignment.Status -eq 'Completed')
{
Get-MirageCvd -Id $cvd.Id
"Update app layer flow succeeds."
return
}
}
$retryCount++
if($retryCount -gt $maxRetries)
{
"Apply layer assignment is not created/completed, retry times: $retryCount"
return
}
}
68
VMware, Inc.
The Mirage Gateway server is the secured gateway server that is deployed outside the Mirage datacenter
environment. The Mirage Gateway server lets end users who have installed the Mirage client communicate
securely with the Mirage servers over the Internet without using VPN configurations.
The Mirage Gateway server meets enterprise security and firewall requirements, and integrates with the
Mirage system with minor modifications to the Mirage system and protocol.
You can start, stop, restart, or generate the status of the Mirage Gateway server.
You run the sudo service mirage-gateway-service start command to start the Mirage Gateway server.
You run the sudo service mirage-gateway-service stop command to stop the Mirage Gateway server.
You run the sudo service mirage-gateway-service restart command to restart the Mirage Gateway
server.
You run the sudo service mirage-gateway-service status command to generate the status of the Mirage
Gateway server.
n
Update a Certificate for the Mirage Gateway Server Using a Command Line on page 71
When a certificate expires, or if you want to use a different certificate, you can update the certificate
for the Mirage Gateway server.
Update a Certificate for the Mirage Gateway Server Using the Web Console on page 71
You can update a certificate for the Mirage Gateway server using the Web console.
VMware, Inc.
69
Remove the Mirage Gateway Server from the Mirage Management Console on page 77
You can remove a Mirage Gateway server from the Mirage Management console.
Re-Register the Mirage Gateway Server When the Status is Down in the Mirage Management Console
on page 77
The Mirage Gateway server might have the status of down in the Mirage Management console.
Server maintenance
Disaster recovery
70
Parameter
Description
Mirage server
Port
Use LDAPS
LDAP User DN
Password
VMware, Inc.
Generate a certificate signing request. See the VMware Mirage Installation Guide.
Verify that you submitted the certificate request. See the VMware Mirage Installation Guide.
Verify that you converted the certificate file extension. See the VMware Mirage Installation Guide.
Procedure
1
When prompted, enter the certificate private key password and press Enter.
This is the password you created as part of the certificate export procedure.
Update a Certificate for the Mirage Gateway Server Using the Web
Console
You can update a certificate for the Mirage Gateway server using the Web console.
You can upload a new certificate for the Mirage in the Web console.
To upload a new certificate, navigate to the Web console and select the Certificate tab.
When prompted, enter the Mirage server address, Mirage server port, and Mirage Gateway activation
code.
VMware, Inc.
71
Description
Code
MEG01
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
Employs a system to keep the Mirage Gateway system up to-date with patches, in accordance with industry-standard
guidelines, or internal guidelines where applicable.
Description
Code
MEG02
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
72
Configuration Element
Description
Code
MEG03
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
VMware, Inc.
Description
Code
MEG04
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
Description
Code
MEG05
Name
Description
Risk or control
Recommended level
Enterprise
Condition or steps
Description
Code
MEG06
Name
Description
Risk or control
Recommended level
Enterprise.
Condition or steps
Disable any services that are not required. Run yast on the
Mirage Gateway Suse OS. Disable all network services
except those related to SSHD and iSCSI under the Network
Services drop-down menu.
VMware, Inc.
73
Description
Code
MEG07
Name
Description
Risk or control
Recommended level
74
Configuration Element
Description
Code
MEG08
Name
Description
When you first install the Mirage Gateway server, the SSL
server is unable to work until signed certificates are
prepared. The Mirage Gateway server and the SSL server
require SSL server certificates signed by a commercial
Certificate Authority (CA) or an organizational CA.
Risk or control
Recommended level
Enterprise
Condition or steps
Test
VMware, Inc.
Default Path
MirageGateway
/opt/MirageGateway/bin
cert_manage.sh
/opt/MirageGateway/bin
export.sh
/opt/MirageGateway/bin
gws
/opt/MirageGateway/bin
install.sh
/opt/MirageGateway/bin
ptool
/opt/MirageGateway/bin
GatewayStat.sh
/opt/MirageGateway/bin
GatewayStatTimer.sh
/opt/MirageGateway/bin
reg.sh
/opt/MirageGateway/bin
sysreport_as_system.sh
/opt/MirageGateway/bin
sysreport_full
/opt/MirageGateway/bin
sysreport_logs
/opt/MirageGateway/bin
MirageGateway.conf
/opt/MirageGateway/etc
MirageGateway.pem
/opt/MirageGateway/etc
config.txt
/opt/MirageGateway/etc
gws.pid
/opt/MirageGateway/etc
mirage_gateway_service.log
/opt/MirageGateway/logs
error.log
/opt/MirageGateway/logs
mirage_gateway_backend.log
/opt/MirageGateway/logs
mirage_gateway_stat.log
/opt/MirageGateway/logs
mirage_gateway.log
/opt/MirageGateway/logs
User data
/home/mirage/.mirage-gateway/
mirage-gateway-service
/etc/init.d
VMware, Inc.
75
To increase security of the Mirage Gateway server, the log file must only grant access to the user who is
running the Mirage Gateway process.
The format for a Mirage Gateway log is:
Date Time [Severity]: Component: Event Type: Description
[Error]:
[Debug]:
[Debug]:
[Debug]:
[Debug]:
[Debug]:
Description
Date
The date that the event generated a log entry. The date is in
the local time zone of the Mirage Gateway server.
The format of the date is YYYY-MM-DD.
Time
The time that the event generated a log entry. The time is in
the local time zone of the Mirage Gateway server.
The format of the time is HH:MM:SS
Severity
76
Component
Event Type
Description
VMware, Inc.
Description
Resource Allocate
Parse
IO
Connect
Close
Receive
Send
Save
Load
Forward
Forward information.
Authenticate
Validate
Control
Description
ip
srv
auth
gw
In the Mirage Management console, click the System Configuration node and click Gateway Servers.
Right-click the Mirage Gateway server you want to remove and click Remove.
VMware, Inc.
77
Solution
1
Remove the Mirage Gateway server that has a down status from the Mirage Management console.
a
In the Mirage Management console, select System Configuration > Mirage Gateways.
Right-click the Mirage Gateway server that has a down status and select Remove.
Navigate to https://MirageGWIPaddress:8443/WebConsole.
MirageGWIPaddress is the IP address of the Mirage Gateway server.
Click the Mirage Server tab and enter the Mirage server address and port.
The Mirage Gateway server is registered and available in the Mirage Management console.
78
VMware, Inc.
10
You use the driver library to manage hardware-specific drivers in a separate repository, organized by
hardware families.
You add drivers with an import wizard and view them in the driver librarys console.
You can configure the system to add the necessary driver library to the relevant endpoints based on
matching profiles between the library and the endpoint configuration.
The driver handling is unconnected to layers. Not having to include drivers in the layer results in smaller
and more generic layers.
Mirage does not install the drivers. Mirage delivers the driver to the endpoint and Windows determines
whether to install the driver.
This chapter includes the following topics:
n
VMware, Inc.
79
Drivers
Profile A
Endpoint
Folder 1
List of
folders
Rules match
machines
Drivers
Endpoint
Folder 2
Profile B
Endpoint
Drivers
List of
folders
Rules match
machines
Folder n
Endpoint
Profile A contains drivers from driver folder 1 and 2. When the profile is analyzed, the drivers from
those folders are applied to two endpoints.
Profile B contains drivers only from driver folder 2, which is also used by profile A. When the profile is
analyzed, the drivers from that folder are applied to only one endpoint.
The Mirage system can have multiple driver folders, multiple driver profiles, and many endpoints.
A driver profile can contain drivers from multiple driver folders and multiple driver profiles can use a
driver folder.
You can apply a driver profile to one, many, or no endpoints.
The driver library is used during the following operations:
n
Centralization
Migration
Machine cleanup
Endpoint provisioning
80
You can group drivers by folder, for example, by common model. You can associate a driver with
several folders.
You can enable or disable drivers within a folder, without deleting them.
VMware, Inc.
To view a device drivers details, right-click any driver and select Properties.
NOTE For best results, obtain drivers directly from vendor Web sites, or restore media.
In the Mirage Management console tree, expand the Driver Library node.
In the Mirage Management console tree, and expand the Driver Library node.
Right-click any driver folder and select the appropriate folder option.
Option
Action
Click Rename Folder, type the new name and click OK.
Verify that the Mirage Management server has access to the UNC path where the drivers are stored.
Procedure
1
In the Mirage Management console tree, expand the Driver Library node.
To select a driver import option, right-click any driver folder and select Import drivers.
VMware, Inc.
Option
Description
UNC path
The UNC path where the drivers are stored. The path is scanned
recursively.
Recreates the folder structure on your driver store in the Mirage system.
Click OK.
81
In the Mirage Management console tree, expand the Driver Library node.
Click OK.
In the Mirage Management console tree, expand the Driver Library node, right-click Profiles, and
select Add.
On the General tab, type a profile name and select the check boxes of drivers to apply in this profile.
For example, if you are building a profile for a Dell Latitude E6410, select all the driver folders that
apply to that hardware family.
On the Rules tab, use the drop-down menus to create specific rules for hardware families.
For example, set the Vendor to Dell, and select the appropriate OS type.
Click Apply to test the result set that is returned by these rules.
Click OK.
What to do next
After you define rules, no more work is necessary for them to function. If devices that meet these criteria
already exist in the Mirage system, you must start a driver profile update on those systems.
82
VMware, Inc.
This operation is not needed for clients added to the Mirage system after the driver library was configured.
It is performed on those clients when an operation is performed that can use the driver library, including
image updates, CVD restores, and so on.
Procedure
1
In the Mirage Management console tree, expand the Inventory node and click All CVDs.
Right-click one or more CVDs, or a collection, and select Apply Driver Library.
(Optional) Right-click a CVD and select Properties to view the assigned driver profiles of a CVD.
The driver library download progress appears in the desktop status window, the task list of the
Management console, and the transaction logs.
Devices that match more than one profile receive a driver store that contains a merged view of all the
matching profiles.
A warning or event, or both, is generated for devices that have no matching driver store.
VMware, Inc.
83
84
VMware, Inc.
11
Mirage provides multiple storage volume support to help manage volume congestion.
Each storage volume can contain base layers, app layers, and CVDs. CVDs are assigned to a storage volume
when they are created. The storage volumes must be shared by the servers where Network-attached storage
(NAS) permissions must be in place.
For more information about the relation between multiple servers and storage volumes, see Using Multiple
Servers, on page 99
This chapter includes the following topics:
n
In the Mirage Management console tree, expand the System Configuration node and select Volumes.
For more information about storage volume parameters, see Storage Volume Parameters, on
page 86
VMware, Inc.
85
Description
ID
Name
Volume State
n
n
Run an SIS volume integrity check before returning the volume to the active state. See
Maintain Storage Volumes, on page 89.
Unmounted. Volume was temporarily disconnected by the administrator using the
Unmount Volume function. See Remove or Unmount Storage Volumes, on page 87.
Removing. Volume is in the process of removal from the system.
Volume Type
Indicates the type of contents the volume has (Standard Volume - if it contains only CVDs
and USMT & Driver Library if it contains USMT& Driver library but not limited to CVDs).
Path
Description
Description of the storage volume assigned when the volume was added. You can edit the
volume information. See Edit Storage Volume Information, on page 87.
Capacity (GB)
Number of CVDs
Number of base layers and base layer versions stored on the storage volume.
Status
86
The user account that manages the Mirage system has access permissions to the new volume.
The volume has sufficient privileges for the Mirage Management server and the Mirage server cluster to
access the required volume.
The server service accesses the volume using the user credentials. In a CIFS (clustered) environment,
the volume must be shared and accessible to all Mirage servers.
VMware, Inc.
Procedure
1
In the Mirage Management console tree, expand the System Configuration node, right-click Volumes
and select Add a Volume.
Option
Action
Name
Path
Type the server UNC path of the volume where the volume resides.
Description
Click OK.
In the Mirage Management console tree, expand the System Configuration node and select Volumes.
Option
Action
Name
Description
Click OK.
In the Mirage Management console tree, expand the System Configuration node and select Volumes.
Right-click the required volume and select Remove Volume or Unmount Volume.
VMware, Inc.
87
In the Mirage Management console tree, expand the System Configuration node and select Volumes.
In the Mirage Management console tree, expand the System Configuration node and select Volumes.
88
In the Mirage Management console tree, expand the System Configuration node and select Volumes.
VMware, Inc.
Increase the storage capacity by adding additional storage volumes to the MirageManagement console.
Click System Configuration > Volumes to add storage volumes.
Change the storage capacity of existing volumes in the Mirage Management console. Click System
Configuration > Volumes to manage storage volumes.
You can configure Mirage system settings for storage volume thresholds and alerts to enable you to trigger
events in the events log. For more information, see Configure the System Settings, on page 41.
Additionally, inconsistencies may occur after a volume malfunction, such as following a network disconnect
or storage access error. Performing a Single-Instance Storage (SIS) integrity procedure may help find and fix
them.
When a volume state has changed to Malfunctioned, such as following a network disconnect or a storage
access error, it is good practice to schedule a Single-Instance Storage (SIS) integrity procedure before
mounting the volume on the system.
This procedure might take several hours to complete depending on the number of files on the volume.
CVDs residing on the volume are suspended and base layers stored on the volume are not accessible during
that time.
The SIS integrity procedure can also be run from C:\Program Files\Wanova\Mirage Server.
Prerequisites
Verify that the volume is unmounted before performing any maintenance operations such as integrity
checks. See Remove or Unmount Storage Volumes, on page 87.
Procedure
1
Type
For example:
SisIntegrity -full \\apollo\vol100\MirageStorage
An SIS integrity check summary appears when the SIS Integrity script is completed.
VMware, Inc.
89
90
VMware, Inc.
12
Using Mirage branch reflectors promotes efficient distribution to branch offices and remote sites where
multiple users share the WAN link to the data center. You can enable the branch reflector peering service on
endpoint devices that are installed with a Mirage client.
The branch reflector downloads base layer images, app layers, driver files, and USMT files from the Mirage
server and makes them available for transfer to other Mirage clients in the site. Only files that reside on the
branch reflector machine's disk are transferred and files are not requested from the Mirage server at all.
In this way, files are downloaded to the branch reflector only once, and common files across base layers
become readily available to other clients without duplicate downloads.
This chapter includes the following topics:
n
The algorithm first verifies that a potential branch reflector is in the same subnet as the client.
If the branch reflector is in a different subnet, the algorithm checks if the branch reflector is configured
to service the client subnet.
VMware, Inc.
91
The algorithm checks that the latency between the branch reflector and the client is within the
threshold.
See Configure Defaults for Branch Reflectors, on page 93.
If a client and branch reflector match is found that satisfies these conditions, the client connects to the
branch reflector to download a base layer. Otherwise, the client repeats the matching process with the
next branch reflector.
If no match is found or all suitable branch reflectors are currently unavailable, the client connects to the
server directly.
Alternatively, to keep network traffic as low as possible, you can select Always Prefer Branch Reflector
to force clients to continually repeat the matching process until a suitable branch reflector becomes
available. See Configure Defaults for Branch Reflectors, on page 93.
In this case, the client connects to the Mirage server only if no branch reflectors are defined for the
specific endpoint.
You can see the results of the Mirage IP detection and proximity algorithm for a selected CVD. See Show
Potential Branch Reflectors, on page 97.
Connect the device that will serve as a branch reflector to a switched LAN rather than to a wireless
network.
Verify that enough disk space is available to store the base layers of the connected endpoint devices.
Verify that port 8001 on the branch reflector host is open to allow incoming connections from peer
endpoint devices.
If the branch reflector endpoint also serves as a general purpose desktop for an interactive user, use a
dual-core CPU and 2GB RAM.
To determine if an endpoint has an eligible branch reflector, click the CVD Inventory tab, select a CVD, and
click Show Potential Branch Reflectors.
92
In the Mirage Management console tree, expand the Inventory node and select Assigned Devices.
VMware, Inc.
Right-click an endpoint device and select Branch Reflector > Enable Branch Reflector.
When a device is enabled as a branch reflector, it is listed in the Branch Reflectors window, as well as
remaining on the Device Inventory window.
(Optional) Select System Configuration > Branch Reflectors to view which devices are enabled as
branch reflectors.
In the Mirage Management console tree, right-click System Configuration and click Settings.
Click the Branch Reflector tab and configure the required default values.
Option
Action
Type the maximum time, for example 50 ms, for a branch reflector to
answer a ping before an endpoint considers downloading through the
branch reflector. The endpoint downloads from the server if no branch
reflectors satisfy the specified proximity.
To keep network traffic as low as possible, select this option to force clients
to continually repeat the matching process until a suitable branch reflector
becomes available. In this case, a client connects to the Mirage server only
if no branch reflectors are defined. If the option is not selected, and no
match is found or suitable branch reflectors are currently unavailable, the
client connects to the Mirage server directly as a last resort.
Click OK.
VMware, Inc.
93
Prerequisites
Verify that the branch reflector endpoint has enough disk space for the indicated cache size, in addition to
its other use as a general purpose desktop.
Procedure
1
In the Mirage Management console tree, expand the System Configuration node and click the Branch
Reflectors tab.
Right-click the branch reflector device and select Branch Reflector > Configure.
Option
Action
Maximum Connections
Type the maximum number of endpoint devices that can connect to the
branch reflector at the same time.
Type the cache size in gigabytes that the branch reflector has allocated.
Additional Networks
Click OK.
The branch reflector configuration settings take effect immediately. You do not need to restart the
branch reflector client.
In the Mirage Management console tree, expand the System Configuration node and click the Branch
Reflectors node.
Right-click the branch reflector device and select Branch Reflector > Disable Branch Reflector.
94
In the Mirage Management console tree, right-click System Configuration, select Settings, and click the
Branch Reflectors tab.
VMware, Inc.
Right-click the branch reflector device and reject or accept the peer clients.
Option
Action
In the Mirage Management console tree, right-click System Configuration, select Settings, and click the
Branch Reflectors tab.
Right-click the branch reflector device and select Suspend Network Operations or Resume Network
Operations.
(Optional) Select Connection State from the column headings drop-down menu to view which branch
reflectors are connected or suspended in the Branch Reflectors window.
For more information, see Show Potential Branch Reflectors, on page 97.
Procedure
1
In the Mirage Management console tree, expand the Inventory node and select All CVDs.
Right-click a CVD in the list and select Device > Go to Branch Reflectors.
VMware, Inc.
95
Waiting Peers
Shows how many peer clients connected to a branch reflector are waiting to
download.
Endpoints in excess of the maximum number of simultaneously downloading client peers allowed for this
branch reflector are rejected and receive their download from another branch reflector or directly from the
server. If you observe that the number of downloading peers is constantly close to the Maximum
Connections, consider either increasing the Maximum Connections value or configuring another client in
the site as a branch reflector.
The Connected Peers window shows the following information about connected peers clients:
n
Peer client current activity, for example, waiting and downloading, and the progress of that activity.
Procedure
1
In the Mirage Management console tree, right-click System Configuration, and select Settings, and
click the Branch Reflectors tab.
Click on a branch reflector and select Branch Reflector > Show Connected Peers.
An endpoint in which a peer client has updated its image. The properties of the Update Base Layer
transaction show how much data was downloaded from the branch reflector and how much data was
downloaded directly from the Mirage server.
The Transaction Properties window shows how much data was acquired from a branch reflector by a peer
client, for example, how much data the endpoint transaction downloaded from the branch reflector, and
how much from the server.
Procedure
96
To view the Transaction log, in the Mirage Management console tree, expand the Logs node and select
Transaction Log.
To view transaction properties, right-click a transaction line and select Update Base Layer transaction >
Properties.
VMware, Inc.
Description
Serving column
Maximum Connections
The Show Branch Reflectors View button opens the Branch Reflectors window with the potential branch
reflectors for the CVD filtered in. See View Branch Reflector and Peer Client Information, on page 96.
Procedure
1
In the Mirage Management console tree, expand the Inventory node and select Assigned Devices.
Right-click a CVD in the list and select Branch Reflector > Show Potential Branch Reflectors.
VMware, Inc.
97
98
VMware, Inc.
13
Mirage provides multiple server volume support. Enterprise organizations with large numbers of endpoint
devices can add servers to the system, providing better access and efficiency where a single server is not
sufficient to keep up with data storage requirements.
This chapter includes the following topics:
n
VMware, Inc.
99
Mirage
Management console
WAN
Load balancer
MongoDB
MongoDB
Mirage servers
Mirage
Management
servers
Mirage database
100
In the Mirage Management console tree, expand the System Configuration node and select Servers.
VMware, Inc.
Description
ID
Status
Status of the server. Up Indicates the server is available and running. Down indicates
that the server is not available.
Name
Status duration
Amount of time that the server has been in the same status.
Connections
Max Connections
Maximum number of concurrent CVD connections allowed on the server. You can use
the server configuration to configure this setting. See Configure Mirage Servers for
SSL, on page 48.
Use the default setting. Different server specifications allow changing this setting. For
best results, consult with VMware Support before changing the default settings.
Use SSL
Indicates if this server is configured to have clients connect using SSL. This is a global
configuration.
Port:
Port over which the Mirage server is configured to communicate with clients.
CPU
Average percentage of CPU running for this server over a 15 minute period.
Average amount of memory in megabytes used for the server over a 15 minute period.
Physical Memory
Repeat the process for each server to install on the Mirage Management system.
VMware, Inc.
101
Procedure
u
In the Mirage Management console tree, expand the System Configuration node and select Servers.
Option
Action
Right-click the server and select Stop Server Service. Click Yes to confirm.
Right-click the server and select Start Server Service. The server status is
Up.
Remove Servers
You can remove a Mirage server from the Mirage Management system.
Removing a server does not uninstall the server, but removes only the server from the system. It does not
remove CVD data from the shared storage volumes. You must uninstall a server manually.
Procedure
1
In the Mirage Management console tree, expand the System Configuration node and select Servers.
Description
Alive
Signals that a server is running and is available to receive new client connections.
Full
Signals that a server has reached the maximum number of concurrent connections. The
service is still running, but new client connections are not accepted.
Dead
Signals that a VMware Mirage server service is not responding or is not operational.
When the server state changes, VMware Watchdog calls an external command to communicate the state
change to the load balancer. You can customize and configure the command to match the particular type of
load balancer deployed in the data center. See VMware Watchdog Service Configuration, on page 102
By default, the Watchdog service is initially disabled. You must start the service for it to function.
The Watchdog log file is located at C:\ProgramData\Wanova Mirage\Watchdog\Watchdog.txt.
You use a default script, called NLBControl.vbs, to work with the Microsoft Network Load Balancer (NLB).
This script configures Microsoft Cluster (NLB) according to the system state. It contains a list of actions for
enabling or disabling traffic for a specific server.
102
VMware, Inc.
You then use the Watchdog configuration file Wanova Watchdog.exe.xml to configure the Mirage server host
use the NLBControl.vbs script.
For each Mirage server, replace the IP address with the dedicated IP address of the server node as registered
with the cluster manager.
Some NLB parameters are configurable through the XML file. The PollTimeMs, ServiceName, and ListenPort
commands are relevant for all load balancing scripts.
After you edit XML file settings, you must restart the VMware Watchdog service.
NOTE Any time that you configure an NLB port rule, you must configure it to listen on all the cluster virtual
IP (VIP) addresses and not just on a specific VIP address. This configuration is required for the default script
to work.
Table 133. NBL Parameters in the Watchdog.exe XML File
Command
Description
Syntax
PollTimeMs
ServiceName
ListenPort
Listening port
OnAliveProc
ess
OnAliveArgs
OnDeadProc
ess
OnDeadArgs
OnFullProce
ss
OnFullArgs
VMware, Inc.
103
104
VMware, Inc.
14
Mirage extends the image layer concept to image updates. Layers are not implemented just once during
initial deployment. Separate app layers are used to distribute more specialized applications to specific
groups of users.
The Mirage approach to image management involves a layer life cycle, which includes base layer and app
layer preparation, capture, update, and assignment processes used to synchronize endpoints.
This chapter includes the following topics:
n
VMware, Inc.
105
Reference
machine
Revise
content
Layer
capture
Base layer
or
app layer
Distribute
layer
CVD
Endpoint
CVD
Endpoint
CVD
Endpoint
Sync
CVD
Layer
swapping
You manage and revise the base layer and app layer contents on a reference machine, through
operations such as adding core or specific applications or patching the OS. See Chapter 15, Preparing a
Reference Machine for Base Layer Capture, on page 111.
You perform a base layer or app layer capture from the reference machine using the Mirage
Management console. Mirage collects the data from the reference machine to create the layer, which is
generalized for mass deployment. You give the layer a name and version. You can make multiple
captures from the same reference machine, and store them in the Mirage servers layer repositories. See
Chapter 16, Capturing Base Layers, on page 115, and Chapter 17, Capturing App Layers, on
page 123.
The resulting changes in an endpoint are propagated back to the endpoints CVD on the server. After
the CVD is synchronized with the latest changes, the layer update operation for that endpoint is
completed.
Each endpoint operates at its own pace, and this phase ends at different times for different desktops
depending on network connectivity and whether the desktop is online or offline.
You initiate base layer or app layer assignment, or update, from the Mirage Management console.
n
This operation first distributes and stores the revised layer at each endpoint, ready to be applied.
It then swaps the old base or app layer on the endpoint with the new one, thereby assigning the
layer to that endpoint. The base layer, or specific applications in the app layer, are instantiated on
the endpoint.
See Assign a Base Layer to CVDs, on page 135 and Assign an App Layer to CVDs, on page 142.
When you next update the base layer or an app layer, the process begins again by generating a new version
of the layer.
The management life cycle for base layers is policy driven. For example, the Upload policy that belongs to
the reference CVD contains system rules that determine which elements of the reference machine are not
included in the base layer. Similarly, the Base Layer Rules policy determines which elements of the base
layer are not downloaded to endpoints. Both policies contain system-defined defaults, which are typically
sufficient for standard deployments. You can also add custom rules to the policy. See Working with Base
Layer Rules, on page 115.
106
VMware, Inc.
System-Level Software
For best results, include the following applications in the base layer:
n
Firewalls
System-level software is sensitive to conflicting software. Endpoints must not receive conflicting software
through other distribution methods. If a certain type of system-level software, for example an antivirus, is
distributed with a base layer, do not distribute different versions of the same software or conflicting
software through other software distribution mechanisms, and the reverse.
Include the organization VPN, antivirus, firewall applications, and the driver store in the minimal restore
set.
VMware, Inc.
107
Software Licensing
The base layer generally includes core applications that an organization uses, while more specialized
applications are typically distributed with app layers. Verify that the software is suitable for mass
distribution and uses a volume license that does not require machine-specific identification or individual
manual activation.
Certain applications are protected by hardware-based identification methods or a unique license key that
resides on the endpoint, for example, in a license file, and must not be distributed with the base or app layer
or installed on the reference machine. The user can still install these applications on the endpoint or through
software distribution solutions that target individual endpoints.
Most enterprise software is protected by a floating or volume license that eliminates this problem.
User-Specific Software
On the reference machine, install software as an administrator, and if the option exists, install software for
all users. Exclude user profiles on the reference machine from the base layer so that you do not distribute
them. Do not distribute software installed exclusively for a specific user, because it might not function
properly.
For example, the Google Chrome default installation is to the current user profile. Make sure you install it
for All Users if it is to be included in the base layer.
To ensure the presence of an application shortcut on the end users desktop or Programs menu, verify that
the shortcut is correctly created when the application is installed on the reference machine. If it is not, create
the shortcut manually in the All Users profile.
Applications that set up and use local user accounts or local groups, or both, might not function well on
endpoints when the base layer is applied to them. Consequently, you must exclude definitions of local user
accounts and local groups from the base layer.
OEM Software
Many hardware vendors include special software to enhance the user experience of their platforms. These
applications can support specific hardware buttons, connection management capabilities, power
management capabilities, and so on.
To include special software as part of the base layer, use the base layer only for compatible hardware. Do
not preinstall hardware-specific software on a single base layer that you want to use for multiple hardware
platforms.
Use App layering for OEM software.
108
VMware, Inc.
Certain security software products take measures to protect their software and do not allow other processes
to modify their files. Software of this type cannot be updated through Mirage. Instead, you must use the
update process recommended by the security vendor to implement central control and management of that
software. Mirage does not interfere with or manipulate the operation of these security products, and does
not override the security measures they provide.
BitLocker Support
Microsoft BitLocker, in Windows 7, Windows 8.1, and Windows 10, performs full disk encryption and is
fully compatible with Mirage. The state of BitLocker is maintained and managed on each endpoint and does
not propagate to the Mirage CVD in the data center.
After you use Boot USB to perform a bare metal restore, the BitLocker state is not preserved and the
machine is not encrypted.
You can use BitLocker scenarios:
n
If BitLocker is enabled on the target endpoint. BitLocker remains enabled after Mirage restore, base
layer update, or rebase operations, regardless of the BitLocker configuration in the original endpoint on
which the CVD was running, or on the reference machine from which the base layer was captured.
If BitLocker is disabled on the target endpoint, it remains disabled after Mirage restore, base layer
update, or rebase operations.
IMPORTANT When you build a Windows 7, Windows 8.1, or Windows 10 base layer for migration purposes,
verify that BitLocker is disabled on the reference machine. Otherwise the migration operations cannot be
completed.
VMware, Inc.
109
110
VMware, Inc.
15
A reference machine is used to create a standard desktop base layer for a set of CVDs. A base layer on the
reference machine usually includes operating system updates, service packs and patches, corporate
applications for all target users to use, and corporate configuration and policies.
The reference machine used for app layer capture does not generally require advance preparation. Certain
guidelines apply for special circumstances. A base layer does not have to be present on the reference
machine for app layer capture purposes. For more information, see Prepare a Reference Machine for App
Layer Capture, on page 124 and Recreate a Reference Machine from a Base Layer, on page 113.
This chapter includes the following topics:
n
In the Mirage Management console tree, expand the Inventory node and select Pending Devices.
Right-click the reference machine to be assigned and select Create a new Reference CVD.
VMware, Inc.
111
Description
You select an existing base layer to apply updates and modify content.
Click Finish.
The device is moved from the Pending Devices list to the Reference CVDs view.
After the reference machine is configured with applications and settings for a base layer, you can use it to
capture a base layer.
Directories that reside directly under the root (C:\) are by default included in the base layer. Do not
leave directories in the root that you do not want in the base layer.
Avoid storing unnecessary data on the reference machine. Unnecessary data can consume excessive
disk space on the endpoints.
Verify that the Documents and Settings directory does not contain abandoned user profile directories. If
an old user directory exists under the Documents and Settings directory and no user profile is
registered for it in the system, the system considers it a regular directory and treats it as part of the base
layer.
The base layer captures the power options of the reference machine. Verify that the selected power
options are supported on the target devices.
You can exclude specific areas of the reference machine from the base layer. See Working with Base Layer
Rules, on page 115.
Software Considerations
Consider the following items before you decide on the software to include in your base layers:
112
Do not include software that is licensed specifically to individual pieces of hardware, or whose licenses
are tied to the hardware.
If the reference machine contains OEM software, you can deploy that base layer only to endpoints of
the same hardware family. This restriction is because OEM software is tied to specific hardware
vendors, makes and models.
VMware, Inc.
The following items are examples of core corporate software that is typically the most commonly
included software in a base layer:
n
Antivirus
VPN client
Microsoft Office
You can install disk encryption software on the reference machine, but it must not be part of the
base layer. Always deploy disk encryption software to the endpoints after.
It is recommended that you include in the base layer all .NET Framework versions that might be
required by target endpoints. For example, some users might have applications that require .NET
Framework 3.5, and some users might have applications that require .NET Framework 4.0. Include
both .NET Framework versions in the base layer.
For additional software considerations, see Image Management Planning, on page 107.
System-Wide Settings
System-wide settings are transferred from the reference machine to all machines that receive the base layer.
n
In special cases, you can add specific exclusion rules to the Base Layer Rules policy. See Working with
Base Layer Rules, on page 115.
For more detailed control outside the base layer configuration, you can use Active Directory Group
Policy Objects (GPOs) to configure settings.
Disable automatic updates of Windows Store Applications on reference machines. If automatic updates
of Windows Store Applications is enabled on reference machines, base layers or app layers might be
captured in the middle of an update.
Examples of settings in the reference machine are power management, remote desktop settings, and service
startup options.
The reference machine used for this base layer is a member of the same domain. Otherwise, users of the
target endpoints are prevented from logging in to the domain and only local users can log in.
To keep the reference machine clear of user-specific information, ensure that you do not log in to the
reference machine using a Mircrosoft liveID account.
In the Mirage Management console, expand the Image Composer node and select the Base Layers tab.
Right-click the base layer and select Create Reference CVD from layer.
VMware, Inc.
113
Click Finish.
What to do next
Use a Mirage restore operation to download and apply the image of the original reference machine to a
selected device to serve as a new reference machine. See Restoring to a CVD After Hard Drive Replacement
or Device Loss, on page 160. You then update or install core applications and apply security updates on
the new reference machine before you capture a new base layer using the existing reference CVD.
114
VMware, Inc.
16
After you set up the base layer for a reference machine, you can capture a base layer from it so that
endpoints can be updated with that content.
The base layer capture process creates a point-in-time snapshot of the data and state of the live reference
machine, generalized for mass deployment.
A similar process is employed to capture app layers.
You can use a custom post-base layer script called post_core_update.bat to perform certain actions after the
base layer update.
This chapter includes the following topics:
n
In the Mirage Management console, expand the Image Composer node and select Layer Rules.
VMware, Inc.
115
In the Mirage Management console, expand the Image Composer node and select Layer Rules.
(Optional) Select the Show factory rules checkbox if you want to view the Mirage mandatory settings
that the administrator cannot change. Factory rules are dimmed in the rules list.
Description
Rules list
Defines the files and directories on the reference machine that must not be
applied to the CVD.
Lists specific files and directories within the directories to be excluded that
must be applied.
For example:
C:\Windows\* in the Rules list will exclude all Windows directories and files.
You can then apply only certain system DLLs in C:\Windows by typing specific paths in the Rule
Exceptions list, such as: c:\Windows\system32\myapp.dll.
All files not matching a rule in the Rules list are applied to the CVD.
Option
Action
a
b
a
b
c
Select the rule or exception line and click Remove next to the relevant list.
When you are finished working with this rule set, click OK.
What to do next
Consider whether override policies are needed to prevent specific problems. See Applying a Base Layer
Override Policy, on page 117.
Test the rule set as a draft on several base layers. See Test a Draft Layer Rule Set on a Test Machine, on
page 116.
When you are satisfied with the changes, you can define the new layer rule set as the Default rule set. See
Set the Default Rule Set, on page 117.
116
VMware, Inc.
Prerequisites
You can only test rule sets with Draft status. To test changes to the Default rule set, first create a clone of that
rule set with the changes you want for testing purposes, then define that new rule set as the Default if the
testing is satisfactory. See Create a Rule Set based on an Existing Rule Set, on page 116.
Procedure
1
In the Mirage Management console, expand the Image Composer node and select Layer Rules.
Right-click the layer rule set to test and select Test Rules Draft.
Select the CVD on which you want to test the selected layer rules and click Next.
Click Finish.
In the Mirage Management console, expand the Image Composer node and select Layer Rules.
In the Mirage Management console, expand the Image Composer node and select Layer Rules.
VMware, Inc.
117
Scroll to and configure the Do Not Override By Layer rules and rule exceptions.
Option
Description
Rules list
Defines the files and directories on the reference machine that must not be
applied to the CVD.
Lists specific files and directories within the directories to be excluded that
must be applied.
All files not matching a rule in the Rules list are applied.
Option
Action
a
b
a
b
c
Select the rule or exception line and click Remove next to the relevant list.
When you are finished working with this rule set, click OK.
Avoid Incompatibility When CVD and Base Layer Applications Share a Component
A base layer update can cause a shared component to be unusable by an application that does not support
the new component version.
Microsoft Office and Microsoft Visual Studio have a common shared component. Office is part of the base
layer but Visual Studio is user-installed and part of the layer that maintains user-installed applications and
user machine information.
Microsoft Visual Studio includes a newer version of the shared component that is backwards compatible
with Office, but the Microsoft Office component version is too outdated for Microsoft Visual Studio.
Without an override policy, every base layer update that occurs after Microsoft Visual Studio is installed
might corrupt the Microsoft Visual Studio installation.
Procedure
1
In the Mirage Management console, expand the Image Composer node and select Layer Rules.
Add the path of the component to the Do Not Override By Layer policy section.
118
If the user first installs Microsoft Visual Studio and then receives Microsoft Office with a base layer
update, Mirage recognizes that the component file already exists and does not override it, leaving the
newer version.
If the user first receives the base layer update, the component file does not exist and is downloaded as
part of Microsoft Office. If the user then installs Microsoft Visual Studio, the newer version of the
shared file is installed, and Microsoft Office and Microsoft Visual Studio function properly.
VMware, Inc.
In the Mirage Management console, expand the Image Composer node and select Layer Rules.
Add the configuration file path to the Do Not Override By Layer policy section.
The base layer version of the file is provisioned to users who receive Lotus Notes for the first time, but is not
delivered to existing Lotus Notes users.
If the registry value does not exist, its content is distributed with the base layer.
If a registry key path is included in the Do Not Override By Layer policy section, and the key exists in
the CVD and the base layer, the key, including its subkeys and values, is skipped entirely in the base
layer update.
If the key does not exist in the CVD, it is handled normally and delivered with all of its subkeys and
values with the base layer.
VMware, Inc.
In the Mirage Management console, select Common Wizards > Capture Base Layer.
119
Select the capture type, and an existing CVD or pending device, and click Next.
Option
Action
a
b
a
b
Select the base layer capture action to perform and click Next.
Option
Action
Select this option and specify the new base layer details.
Fix validation problems, click Refresh to make sure they are resolved, and click Next.
(Optional) If Microsoft Office 2010 or Microsoft 2013 is installed on the reference machine, specify your
Microsoft Office 2010 or Microsoft Office 2013 license keys and click Next.
Click Yes to switch to the task list view where you can monitor the progress of the capture task.
When the task is finished, the base layer is moved to the Base Layers list under the Image Composer node
and you can apply the capture to endpoints. See Chapter 18, Assigning Base Layers, on page 131.
120
VMware, Inc.
Procedure
1
After a base layer update operation, create a file called post_core_update.bat under the %ProgramData
OR
After a layer provisioning operation, create a file called post_provisioning.bat under the %ProgramData
%\Wanova\Mirage Service directory.
2
Edit the file on the reference machine to perform the required post-deployment actions on the endpoint.
To monitor the execution of the post-base layer script, the client reports events to the central management
service if the script returns an error value other than zero.
VMware, Inc.
121
122
VMware, Inc.
17
You can provide sets of more specialized applications to specific users through app layers, independent of
the core applications that are generally distributed with the common base layer.
You can capture an app layer that contains a single application, or a suite of applications from the same
vendor. You can create app layers to include applications relevant for a specific department or group. You
can combine app layers with other app layers and deploy them on any compatible endpoint.
You define and deliver app layers by capturing an app layer and then assigning them to endpoints. See
Assigning App Layers.
The app layer capture process creates a snapshot of designated applications installed on a live reference
machine, which is generalized for mass deployment.
You can use a CVD as the reference CVD for app layer purposes. A base layer does not need to be present
on the reference machine.
See Base Layers and App Layers and Layer Management Life Cycle.
This chapter includes the following topics:
n
VMware, Inc.
123
Application Upgrades
When a new version of an application is available, you can replace the existing app layer with a new layer.
1
Capture the upgraded application in an app layer, together with any other applications or updates
required at that time. As described in this procedure, start with a clean reference machine and capture
the installed new application.
After you have a new app layer, update the layers to replace the old app layer with the new app layer.
See Chapter 19, Assigning App Layers, on page 141.
124
A virtual machine is created for capturing all except hardware-specific app layers.
The reference machine has a standard installation of the required OS, for example, Windows XP,
Windows 7 32-bit or Windows 7 64-bit, Windows 8.1 32-bit or Windows 8.1 64-bit, or Windows 10 (64bit).
VMware, Inc.
App layers are deployed to compatible OS versions. You must capture app layers separately for
Windows XP, Windows 7 32-bit, Windows 7 64-bit, Windows 8.1 32-bit, Windows 8.1 64-bit, Windows
10 (64-bit). An app layer captured on Windows 7 cannot be deployed on a Windows 8.1 (32-bit or 64bit) machine, and the reverse. An app layer captured on Windows 8.1 32-bit cannot be deployed to
Windows 8.1 64-bit, and the reverse.
Avoid software in the standard state of the reference machine that have the following characteristics:
n
Can cause changes to be made to the machine while you are installing the applications.
Is auto-updating. If you cannot avoid auto-updating software, try to disable the auto-update
feature of any pre-existing software. For example, turn off automatic Windows Update installation
and automatic anti-virus definition updates.
If you plan to capture a .NET-based application that uses a version of .NET not included in the standard
Windows OS you installed, install the required .NET Framework in the clean reference machine before
you start the capture and install your application. Deliver the .NET Framework itself through the base
layer, if possible.
Verify that the standard reference machine is similar in content to the base layers used throughout the
organization, for example, with the same Windows service pack version and .NET Framework version
as the base layer.
Disable automatic updates of Windows Store Applications on reference machines. If automatic updates
of Windows Store Applications is enabled on reference machines, base layers or app layers might be
captured in the middle of an update.
Procedure
1
What to do next
Continue to capture the pre-install state of the machine. See Start an App Layer Capture, on page 125.
The pre-scan creates an image of the reference machine before the required applications are installed.
See Start an App Layer Capture, on page 125.
The application installation installs the required applications on the reference machine that was selected
in the pre-scan. See Install Applications on the Reference Machine, on page 126.
The post-scan creates an image of the reference machine after the required applications are installed.
The system then detects all changes following the installation and starts the capture process. See PostScan and Layer Creation, on page 127.
VMware, Inc.
125
Prerequisites
You can use any CVD as the reference CVD for app layer purposes.
The Mirage client is installed on a clean reference machine.
A base layer does not need to be present on the reference machine.
Procedure
1
In the Mirage Management console, select Common Wizards > Capture App Layer.
Select a pending device from which to capture an app layer and click Next.
Follow the prompts to remove validation warnings or errors and click Next.
The validations ensure that the machine is ready for capture.
When the task is complete, the app layer is moved to the App Layers list under the Image Composer node.
The pre-scan processing starts. A progress window shows the Pre-Install State Capture progress. Alerts
show the process stage.
The Task Monitoring window shows a Capture App Layer task, from which you can monitor the operation
progress and status.
NOTE If you miss the message, check that the red recording icon appears on the Mirage icon before you
start installing applications.
What to do next
When the Finished capturing pre-installation system state message appears, you can install
applications to the reference machine. See Install Applications on the Reference Machine, on page 126.
126
Mirage does not capture application installations or configuration changes made for specific user
profiles for an app layer. Whenever applications such as Google Chrome give options to install or set
shortcuts for either a specific user or globally for all users, always choose the all users option so that
these installations and configurations are captured as part of the app layer.
VMware, Inc.
When you install applications, do not make any changes that are not wanted in the capture. For
example:
n
Avoid installing software updates or applications that you do not want to capture.
Avoid launching other applications or Windows components that the installation process of the
application you want to capture does not require.
Avoid hardware changes, domain membership changes, and other configurations that are not
required.
Avoid GPO scripts running on the machine during the recording phase.
To reduce conflicts between vendors, install applications of the same vendor in the same single-app
layer.
Whenever possible, install software that can be volume-licensed and does not require hardware-bound
licensing and activation. Delivering hardware-bound licensed applications through app layers usually
triggers reactivation of the software on the endpoints.
Procedure
u
Install all of the applications required to be captured for the app layer on the reference machine.
This process includes applying application updates and patches to the installed applications, and
customizing global settings and configurations.
The CVD remains in a Recording mode until processing is started, which signals that application
installations were completed.
If the reference machine is restarted for any reason, the console reminds you that recording is still in
progress and that you should complete application installation.
What to do next
After all the required applications are installed, run each application one time to ensure that the applications
were installed correctly. After you run the applications, you can perform a post scan and create a layer. See
Post-Scan and Layer Creation, on page 127.
In a Reference CVD view, select the reference CVD where you installed the applications to be captured.
Right-click the reference CVD and select Finalize App Layer Capture.
(Optional) Select the Show Updates checkbox to display hot fixes for Windows that were installed in
the recording phase.
VMware, Inc.
127
Action
Follow the prompts to remove validation warnings or errors and click Next.
If Microsoft Office 2010 or Microsoft Office 2013 is installed, define your Microsoft Office license keys
and click Next.
Click Next again and click Finish to start the capture conclusion processing.
The Mirage client indicates the progress of the post-scan.
The Task list shows that the task is completed. The new app layer appears in the App Layers list.
What to do next
You can now apply the capture to endpoints. See Chapter 19, Assigning App Layers, on page 141.
Supported Entities
An app layer can contain the following entities:
n
For example, an app layer can contain Adobe Reader, Microsoft Visio 2010 or the entire Microsoft Office
2010 suite. An app layer can also be used to capture OEM software, such as the Dell software suite,
including drivers and utilities.
NOTE When an update, patch, or service pack becomes available for an application in the app layer, you
must capture a new complete app layer with the original application and the update installed in the
application software.
VMware Mirage can additionally contain the following elements:
128
Windows services
Kernel drivers
Browser plug-ins
COM objects
OS language packs
VMware, Inc.
Unsupported Entities
The following components are not supported for delivery as part of VMware Mirage app layers:
n
User accounts and groups, both local and domain users, and user-specific changes
OS components or OS-bundled applications, for example, the .NET framework, Windows updates,
Internet Explorer, and Windows Media Player
Windows license
NOTE You can deliver OS components or OS-bundled applications and the Windows license as part of a
base layer instead.
Applications that make changes to the Master Boot Record or to disk blocks
Some vendors provide a single OEM application suite that is compatible with many or most of their
hardware models. Use this suite for the OEM layer capture.
If the vendor only provides an OEM suite that is relevant for a specific hardware model or model line,
install the OEM software on the hardware model for which it is intended or on a compatible model.
Mirage provides the following ways to deliver OEM device drivers to target endpoints.
VMware, Inc.
Through the driver library. For more information about how to deliver device drivers to specific
hardware models in a rule-based manner, see Chapter 10, Managing the Driver Library, on
page 79.
Through base or app layers. In this method, you either install or place all relevant device driver
packages in the reference machine, in a path that is also defined in the Windows DevicePath
registry value. You can also install the corresponding OEM applications in the same reference
machine. You then capture a base or app layer from the reference machine. You can use this layer
to deploy OEM applications and drivers to any endpoint of the matching hardware models.
129
Create a standard reference machine on a virtual machine, install the Mirage client, and centralize the
device to a reference CVD.
In the Management console, use the Start App Layer Capture option to take a snapshot of the clean preinstall state.
In the Management console, use the Finalize App Layer Capture option to complete the creation of the
app layer.
Wait until the app layer appears in the App Layers view of the Management console.
Start the App Layer Capture wizard to complete a prescan of the reference machine.
130
Run the Finalize App Layer Capture wizard to complete the postscan and the creation of the app layer.
After the app layer is deployed to an endpoint, Mirage starts your script.
VMware, Inc.
18
After a base layer capture is completed, the revised base layer is distributed and stored at each endpoint
desktop, and then assigned at each endpoint .
Assigning a base layer to an endpoint, or collection of endpoints, applies the contents of the base layer to the
designated endpoints. Any applications, updates, or patches built in the base layer also reside on the
endpoint device. See Assign a Base Layer to CVDs.
Processes similar to assigning a base layer are employed to assign applications associated with app layers to
endpoints. See Assign an App Layer to CVDs.
For more information about the base layer deployment process, see Layer Management Life Cycle.
For more information, see the VMware Mirage Administrator's Guide.
This chapter includes the following topics:
n
VMware, Inc.
131
Procedure
1
Select at least one base layer to use in the analysis and click Next.
Option
Description
Description
Lists the available app layers that are not currently used by any of the
selected CVDs. When Show only latest layers is selected, older versions of
any software are suppressed from the view.
Lists the app layers currently used by some or all the selected CVDs. Black
lines denote app layers used by all the CVDs, gray lines denote app layers
used by only some of the CVDs.
Description
Select lines in the Available Layers panel and click the right arrow.
Select lines in the Available Layers panel and click the right arrow.
Click Finish.
The HTML report is generated and opened in your default Web browser.
What to do next
Review the listed changes and adjust the reference machine to avoid unintended consequences. In the case
of downgrades, consider upgrading the relevant software to avoid software being downgraded on
endpoints or CVDs excluded from the assignment.
132
Select one or more base layers in the base layers view, right-click, and select Compare Programs with
Layer.
VMware, Inc.
Select at least one base layer to use in the analysis and click Next.
Option
Description
Description
Lists the available app layers that are not currently used by any of the
selected CVDs. When Show only latest layers is selected, older versions of
any software are suppressed from the view.
Lists the app layers currently used by some or all the selected CVDs. Black
lines denote app layers used by all the CVDs, gray lines denote app layers
used by only some of the CVDs.
Description
Select lines in the Available Layers panel and click the right arrow.
Select lines in the Available Layers panel and click the right arrow.
Click Finish.
The HTML report is generated and opened in your default Web browser.
What to do next
Review the listed changes and adjust the reference machine to avoid unintended consequences. In the case
of downgrades, consider upgrading the relevant software to avoid software being downgraded on
endpoints or CVDs excluded from the assignment.
VMware, Inc.
133
This report is one of several Layer Dry-Run reports available from the Management Console Reports
feature. See Layer Dry Run Reports, on page 186.
The report includes general information, user-installed application conflicts, and managed application
changes sections.
General Information
Table 181. General Information Section Parameters
Parameter
Description
Generated By
Enforced
Indicates whether the administrator asked to enforce the content of the layers.
Description
Installed
Removed
Programs to be removed.
Downgraded
Programs to be downgraded.
Upgraded
Description
Installed
Removed
Programs to be removed.
Downgraded
Programs to be downgraded.
Upgraded
134
VMware, Inc.
If the base layer is used with multiple hardware platforms, test one sample per platform. Also do a test
distribution of a base layer to a typical user machine with user-installed applications to verify that the
overall update results are satisfactory before you distribute to multiple endpoints.
The Base Layer Rules policy is used during first-time deployment to identify the parts of the endpoint that
the base layer manages, and the parts to be left unmanaged at the endpoint. In an initial distribution, no
previous base layer exists to compare against, so Mirage does not remove existing software from the
endpoints before applying the base layer.
The file is defined in the Do Not Download rules in the Layer Rules.
The file is defined in the Unprotected Area in the CVD Policy Details.
When software or system registry keys and values exist in the base layer, they overwrite the corresponding
registry keys in the target endpoint, unless the registry entry is defined in the Registry Keys To Exclude in
the System Hive or Software Hive tabs in the Layer Rules.
User profiles, for example c:\users\john, and any corresponding user registry hives are not overwritten by
the base layer update operation.
The process swaps the old base layer with the new one, assigning the base layer to the endpoint and
instantiating the endpoint. The changes in an endpoint are propagated back to the endpoint CVD on the
server.
Before a new or updated base layer is applied, the VMware Mirage server takes a CVD snapshot so that it
can roll back in case of post-update problems.
Before and during base layer download, VMware Mirage verifies that enough disk space is available to
proceed with the operation.
The same interfaces are used to apply or modify a base layer for multiple CVDs, or a collection.
You can upgrade an existing base layer or app layers to all CVDs that are already assigned with previous
versions of those layers. See Assign a Previous Layer Version, on page 137.
During the assignment process, certain system aspects are validated.
Table 184. Assignment Validations
System Aspect
Validation Description
Operating System
The system checks that the CVD and the new base layer have the same OS and type
(32- or 64-bit). If they are different, the system blocks those CVDs from receiving
the base layer.
Computer Type
The system checks that the CVDs and the base layer share the same computer type
(for example, laptop versus desktop). A warning appears if they are different. If the
base layer was prepared to support both desktops and laptops, you can approve
and continue.
VMware, Inc.
135
Validation Description
The system checks that the base layer and the CVDs are from the same computer
vendor. A warning appears if they are different. If the base layer was prepared to
support the different vendor types, you can approve and continue.
Drive Letters
The system checks that the CVDs include the required drive letter in the base layer.
If the CVDs do not have the appropriate drive letters, the system blocks these
CVDs from receiving the base layer.
Prerequisites
Assign a base layer to a CVD only after endpoint centralization is completed for that CVD and its content is
protected in the server. You can revert to the previous CVD state.
Procedure
1
In the VMware Mirage Management console tree, select Common Wizards > Assign Base Layer
Select individual or multiple CVDs, or a collection of CVDs to update, click Select and click Next when
you are finished.
The selected CVD details appear in the bottom pane.
Select the base layer with which you want to update the CVDs and click Next.
The details of a base layer appear in the bottom pane.
Correct mismatches between the base layer and the selected CVDs if needed.
Ignore any warnings that are not applicable. The following system aspects are validated.
Click Finish.
An update task is created. The client periodically checks the server for updates to download as part of
its regular processing.
In the Mirage Management console tree, expand the Inventory node and select All CVDs or
Collections.
Right-click the CVD or collection for which you want to cancel the base layer update.
136
VMware, Inc.
Description
Pending
The layer was assigned to the CVD, but has not begun downloading to the endpoint.
Throttled
The endpoint tried to download the layer from the Mirage server and was rejected because
of server resource throttling.
Downloading
Committing
The layer was downloaded and installed successfully by the endpoint and the client is now
updating the CVD with the new content.
Blocked
The layer was blocked, and was not downloaded to the endpoint.
Canceled
Rejected
The layer was downloaded to the endpoint and failed the validation check on the endpoint.
Done
Procedure
1
In the Mirage Management console tree, expand the Image Composer node and select Base Layers or
App Layers.
Select the base layer or app layers with which you want to update all CVDs with previous versions of
those layers.
VMware, Inc.
Action
137
Option
Action
Expand the Image Composer node, select Base layer or App Layer, rightclick a layer, and select View assignments.
For example, you sent a layer to 100 CVDs. From the Mirage Management
console tree root, select Task Monitoring, right-click the task and select
View assignments.
Use the problematic endpoint as a reference machine to capture a temporary transitional base layer
with the conflicting software.
Apply the transitional base layer to the endpoint and any similar endpoints.
Replace the temporary base layer by applying the base layer of choice, which replaces the conflicting
software.
The initial rollout flow with a transitional base layer includes the following aspects:
1
Any application that is included in the transition base layer becomes a managed application when the
transition base layer is assigned.
Managed applications undergo an update or removal process upon subsequent base layer update
operations.
New base layers are constructed and endpoints are updated with the new base layer.
138
In the Mirage Management console tree, expand the Inventory node and select All CVDs.
VMware, Inc.
Description
Click OK.
VMware, Inc.
139
140
VMware, Inc.
19
After an app layer capture is completed, you can distribute and assign the revised app layer to each
endpoint desktop.
When you assign app layers to an endpoint, their contents are applied to the endpoint, so that all the
changes or modifications to the applications reside on the endpoint devices. See Assign an App Layer to
CVDs.
For more information about app layers, see Base Layers and App Layers.
For more information about the layer deployment process, see Layer Management Life Cycle.
For more information, see the VMware Mirage Mirage Administrator's Guide.
This chapter includes the following topics:
n
VMware, Inc.
141
In the Mirage Management console, select Common Wizards > Update App Layer.
Select individual or multiple CVDs, or a collection of CVDs that you want to update, and click Select.
When you finish selecting CVDs or a CVD collection, click Next.
Select the app layers with which you want to update the CVDs.
The app layer details appear in the bottom pane.
You select a layer in the Available Layers pane and click the right arrow to move it to the Assigned
Layers pane. To remove a layer, select it in the Assigned Layers pane and click the left arrow.
Layers shown in gray indicate that they are already assigned to some CVDs.
142
VMware, Inc.
Correct mismatches between the app layer and the selected CVDs if needed. The following system
aspects are validated. Ignore any warnings that are not applicable.
Table 191. System Aspect Validations
System Aspect
Validation
Operating System
The system verifies that the CVD and the new app layer have the same OS and type
(32- or 64-bit). If they are different, the system blocks those CVDs from receiving the
app layer.
Drive Letters
The system verifies that the CVDs include the required drive letter in the app layer. If
the CVDs do not have the appropriate drive letters, the system blocks these CVDs
from receiving the app layer.
Click Finish.
An update task is created. The Mirage client periodically checks the server for updates to download as
part of its regular processing.
In the Mirage Management console tree, expand the Inventory node and select All CVDs or
Collections.
Right-click the CVD or collection for which you want to cancel the app layer update.
VMware, Inc.
143
144
VMware, Inc.
20
You can use a WinPE image to provision a device that does not have an operating system installed.
Mirage supports running only the WinPE creation script in the English (United States) region. You can stop
the WinPE creation script at any point by pressing CTRL+C. The next time you run the WinPE creation
process, the previous operation leftovers are cleared.
If you change the output directory of the WinPE image to a path in the network, the script fails to run.
Create a new WinPE image for each new version of Mirage. You do not have to recapture the base layers
and app layers.
Prerequisites
n
Install the Windows Assessment and Deployment Kit (ADK) for Windows 8.1 update to the default
location. Windows ADK is supported only on Windows Vista and later.
Select the Windows Preinstall Environment option when you install the Windows ADK.
Procedure
1
Double-click the file for your environment to extract the WinPE creation environment.
Option
Description
64-bit
Mirage.WinPE.x64.buildnumber.zip
32-bit
Mirage.WinPE.x86.buildnumber.zip
The WinPE version must match the capabilities of the processor. If the processor is 32-bit use a WinPE
32-bit image. If the processor is 64-bit use a WinPE 32-bit or WinPE 64-bit image.
VMware, Inc.
145
Description
Do not use a space before and after the equals sign, for example, SERVER_PORT=12345.
3
Add the drivers for the WinPE image to the Drivers directory.
Add the certificates for the WinPE image to the Certificates directory.
Mirage supports .cer, .crt, and .pfx certificate formats.
a
Export the corporate CA server certificate in .cer format and copy it to the certificates directory to
enable secure communication between the Mirage WinPE client and the Mirage server.
Access the command prompt as an administrator and run the BuildMirageWinPE.cmd command from
the extracted directory.
For example, if you extracted the file to your desktop,
desktopdir\WinPeCreation.version\BuildMirageWinPe.cmd.
An .iso file for CDs, DVDs, or USB, and a .wim file for a PXE server are created. The location where these
files are stored appears at the end of the process.
What to do next
Load the .wim file to the PXE server or burn the .iso file to a CD, DVD, or USB. You can reuse the WinPE
image that you create.
146
VMware, Inc.
21
You can use the Windows Deployment Service (WDS) to deploy Windows operating systems over the
network.
You can install the WDS by using either the Windows server manager or Microsoft PowerShell.
If you want the PXE boot to work across VLANs in your organization, configure DHCP options. You access
the DHCP options from the DHCP management console. After you configure the DHCP options, you can
perform a PXE boot to the Mirage environment.
Table 211. DHCP Options
Option
Description
Default value for the boot file name. Do not change this
value.
Install the Windows Deployment Service Using the Windows Server Manager., on page 147
Install the Windows Deployment Service by Using Microsoft PowerShell, on page 148
Access the Server Manager on the server that you are installing the Windows Deployment Service
(WDS).
Right-click Server Roles in the left panel, select Windows Deployment Service, and click Next.
On the Role Services page verify that the Windows Server Deployment and Transport Server roles are
selected and click Next.
VMware, Inc.
147
148
VMware, Inc.
22
You add the WinPE boot images to provision a device with that image.
Install the Windows Deployment Service on the server that you are loading the boot images.
Procedure
1
Select Start > Administrative Tools > Windows Deployment Serviceson the machine that has the
Mirage server.
Expand the Servers node, right-click the Windows Deployment Services server, and select Configure
Server.
Select the remote installation folder that contains the boot images and installation images.
Verify that the drive meets the space requirements.
On the PXE Server Initial Settings page select Respond to all client computers (known and unknown),
and click Next.
On the Operation Complete page, clear the Add images to the server now check box and click Next.
On the Windows Deployment Services window right-click Boot Images and select Add Boot Image....
VMware, Inc.
149
150
VMware, Inc.
23
You can use the WinPE image to provision a device that does not have a Mirage client installed or to
provision a device that does not have an operating system installed.
The image that you create with WinPE runs on memory, not on the hard disk.
On the WinPE image you can only perform provisioning procedures and generate sysreports.
Mirage supports provisioning into legacy systems and EFI systems. In some cases, such as when the disk is
not Windows ready, or when there is insufficient space on the existing volumes, Mirage might re-partition
the disks. Re-partitioning creates a single partition for the whole disk that is selected by Mirage. Repartitioning only succeeds on EFI machines if they are configured to boot in legacy mode.
If WinPE reboots during a provisioning procedure, the device reconnects and is identified as a new pending
device. Previous provisioning orders on the device are not applied and you must restart the provisioning
process.
When the image boots, two command prompt windows appear. One command prompt window is for
troubleshooting. The other command prompt window runs Mirage in the WinPE environment.
IMPORTANT WinPE stops running the shell and restarts after 72 hours of continuous use.
You can provision a device with Mirage by using a base layer with the following operating systems.
POSReady 2009
Windows 7
Windows 8.1
Procedure
1
When the Mirage status window appears, note the host name of the device.
A host name is generated during each reboot.
VMware, Inc.
151
Action
a
b
a
b
Navigate to the Mirage Web console and click the Pending Devices
tab.
Select the device with the host name that you noted and click
Provision Endpoint.
Navigate to the Mirage Management console and select Inventory >
Pending Devices.
Right-click the WinPE device and select Device Provisioning.
After you provision the device, the device boots with the provisioned operating system.
152
VMware, Inc.
24
Mirage runs validations for bare metal provisioning operations to determine if repartitioning is required for
the provisioned device. The validation that Mirage runs is determined by which operating system the
machine had installed before the bare metal provisioning operation.
Machines with Windows
OS
Mirage locates the system drive and determines if sufficient space exists on
the drive for the selected base layer. If sufficient space exists, the drive is
formatted. If the drive does not contain sufficient space for the specified base
layer, then Mirage displays a warning validation message that the disk will
be repartitioned to carry the selected base layer. If the hard drive does not
contain sufficient space, then Mirage displays a blocking validation for
insufficient disk space and the user is prompted to replace the disk.
Mirage checks the boot mode of the device. If the boot mode is UEFI and the
system disk partition layout is MBR, Mirage displays a blocking validation
message. Change the boot mode to legacy boot.
Mirage checks for boot mode and disk partition layout mismatches. Mirage displays a blocking validation if
the boot modes of the machines do not support its boot disk partitioning layout.
MBR on UEFI boot mode
n
n
VMware, Inc.
153
154
VMware, Inc.
25
Users with the Image Manager role or Administrator role can provision new laptops and desktops directly
from the device using the self-service provisioning interface.
1
Layer Group Name is the name you select for the layer group. Description is the description you provide
for the layer group. BaseLayer is the base layer and version. AppLayers is the app layers and version.
3
VMware, Inc.
155
Procedure
1
156
Verify that you have Image Manager role or Administrator role permissions.
VMware, Inc.
Procedure
1
Double-click the file for your environment to extract the WinPE creation environment.
Option
Description
64-bit
Mirage.WinPE.x64.buildnumber.zip
32-bit
Mirage.WinPE.x86.buildnumber.zip
The WinPE version must match the capabilities of the processor. If the processor is 32-bit use a
WinPE 32-bit image. If the processor is 64-bit use a WinPE 32-bit or WinPE 64-bit image.
b
Copy the root CA from the VMware Mirage Management Web Site to the
Mirage.WinPE.version.buildnumber\Certificates\Browser folder.
Access a command prompt and run the BuildMirageWinPE.cmd command to build the WinPE image.
The WinPE machine starts, and when the status of the Mirage client changes to Pending Assignment,
the self-service tool starts.
Access the IIS manager, expand Sites > VMware Mirage Management Web Siteand select ssp >
Application Settings .
Access the IIS manager, expand Sites > VMware Mirage Management Web Siteand select ssp >
Application Settings .
(Optional) Configure the self-service provisioning tool to enable the Skip Steps feature.
a
Access the IIS manager, expand Sites > VMware Mirage Management Web Siteand select ssp >
Application Settings.
Double-click SspSkipSteps and type Volume;Policy in the Value text box. When you enable the
Skip Steps feature, the self-service provisioning wizard skips the steps to select a volume and a
policy. To disable the Skip Steps feature, clear the Value text box.
(Optional) Configure the self-service provisioning tool to enable the Remember Last Value feature.
a
Access the IIS manager, expand Sites > VMware Mirage Management Web Siteand select ssp >
Application Settings.
When you enable the Remember Last Values feature, the Mirage self-service provisioning tool
remembers the values that you entered and applies them as the default values when you perform the
self-service provisioning procedure. To disable this feature, clear the Value text box.
VMware, Inc.
157
Access the Mirage Web manager console with the Image Manager role or the Administrator role.
Users with the Administrator role can set the default policy and domain account. Users with the
Image Manager role can set the default policy.
158
Click the gear icon and select CVDs in the left panel.
Click Domain Account in the left panel and enter the log-in credentials in the text box.
Start the WinPE machine and when the Self-Service Provisioning console appears, enter log-in
credentials for the Image Manager role or Administrator role.
10
VMware, Inc.
26
You can restore device files to an earlier CVD snapshot, or restore a device from a CVD after hard-drive
replacement, file corruption, format operation, or device replacement.
Mirage provides two modes of disaster recovery:
n
Restore files or the entire desktop to a previous CVD snapshot on an existing device. Files and
directories are included in CVD snapshots in accordance with the active upload policies.
Restore a CVD to the same device after a hard-drive replacement, file corruption, or format
operation.
When the CVD contains Encrypted File System (EFS) files, the files are recovered in their original encrypted
form.
NOTE For better deduplication in the revert-to snapshot, the end user must be logged in during the restore
Prefetch operation if the CVD contains EFS files.
This chapter includes the following topics:
n
Restoring to a CVD After Hard Drive Replacement or Device Loss, on page 160
VMware, Inc.
159
You can restore a complete device from a CVD snapshot between the same operating system, for example,
Windows 8.1 to Windows 8.1, or cross-operating systems, for example, Windows 7 to Windows XP or
Windows Vista. However, you cannot revert a Windows XP CVD snapshot to a Windows 7 or Windows 8.1
device.
Procedure
1
In the Mirage Management console tree, expand the Inventory node and select the All CVDs node.
Right-click the CVD that you want to restore to an earlier snapshot and click Revert to Snapshot.
Select whether you want to only restore the system and click Next.
The Restore System Only check box is selected by default. Select This restores system files only,
including the base layer, user-installed applications and user machine settings. The user area
content is not affected and any new files in the user area are not erased.
User data in this option pertains to files and directories listed in the upload policies User area.
The option behavior depends if the reversion you are performing is to the same OS or cross-OS.
Option
Action
Clear this check box if you want to restore the entire CVD, including
the User area, from the CVD snapshot.
If the checkbox is cleared, any application, setting, or document in the
current CVD that does not exist in the snapshot is erased from the
endpoint.
This checkbox is not selected so the entire CVD, including the User
area, is always restored from the CVD snapshot.
160
In the Mirage Management console, select Common Wizards > Disaster Recovery.
VMware, Inc.
Select the device you want to use for the restore operation and click Next.
Only devices that are recognized as connected to CVDs and are pending restore are listed.
To restore system files only, including the base layer, user-installed applications and user machine
settings, select the Restore System Only check box.
The user area content is not affected, and new files in the user area are not erased. User data in this
option pertains to files and directories listed in the upload policies user area. See Working with
Upload Policies, on page 19
To restore the entire CVD, including the user area, from the CVD snapshot, deselect the Restore
System Only check box.
Any application, setting, or document in the current CVD that does not exist in the snapshot is
erased from the endpoint.
Click Finish.
In the Mirage Management console tree, right-click System Configuration and select Settings.
On the General tab, type the credentials you want to use for domain joining.
The join domain account must meet the appropriate security privilege requirements. See General
System Settings, on page 45.
Procedure
1
In the Mirage Management console, select Common Wizards > Disaster Recovery.
Select the device where you want to restore the CVD and click Next.
Only devices to which the CVD can be restored are listed.
VMware, Inc.
161
Description
This option includes restoring the OS, applications, user data, and user settings.
Use this option for systems with Windows volume licenses or Windows OEM
SLP licenses.
The entire CVD is restored to the replacement device, including OS,
applications, and user files. Any existing files on the replacement device are lost
or overwritten.
If you select this option, you must select a base layer during the migration
procedure.
Use this option only when replacing a device that has a different Windows
OEM license.
The OS of the replacement device must be the same as that of the CVD.
Only applications and user data are restored to the replacement device. The
existing OS and applications installed on the replacement device are retained.
Use this option to migrate users from Windows XP, Windows Vista, and
Windows 7 machines to new Windows 7 machines, or Windows 7 to Windows
8.1 machines.
The OS of the replacement device must be the same as or newer than that of the
CVD.
Only user data and settings are restored to the replacement device. The existing
OS and applications installed on the replacement device are retained.
You can maintain the current layer, if one applies, select a new base layer from the list, or proceed
without a base layer.
b
5
Click Next.
(Optional) Type a name for the CVD and specify the domain options.
a
Select a domain for this endpoint to join after the restore operation.
The current domain is shown by default.
Type the OU and Domain or select them from the drop-down menus.
The drop-down menus are populated with all known domains in the system. Each text box shows
the required syntax pattern.
d
6
Option
Description
OU
The join domain account must meet the appropriate security privilege
requirements as defined in the system general settings.
The account must have access to join the domain. This is not validated.
Click Next.
Use the information on the Validation Summary page to compare the target device with the CVD and
click Next.
The summary alerts you to any potential problems that require additional attention. You cannot
proceed until blocking problems are resolved.
162
VMware, Inc.
The migration process takes place in two phases. See End User Experience with Restore Processes, on
page 168.
In the Mirage Management console tree, right-click System Configuration and select Settings.
Select the General tab and then type the credentials you want to use for domain joining.
The join domain account must meet the appropriate security privilege requirements. See General
System Settings, on page 45.
Procedure
1
Select the device where you want to restore the CVD and click Next.
Only devices to which the CVD can be restored are listed.
Select a restore option for the selected CVD and device and Next.
You can maintain the current layer, if one applies, select a new base layer from the list, or proceed
without a base layer.
VMware, Inc.
Option
Description
This option includes OS, applications, user data, and user settings.
Use this option for systems with Windows volume licenses or Windows
OEM SLP licenses.
The entire CVD is restored to the replacement device, including OS,
applications, and user files. Any existing files on the replacement device
are lost or overwritten.
This option requires you to select a base layer.
163
Select a domain for this endpoint to join after the restore operation. The current domain is shown
by default.
Type the OU and Domain or select them from the drop-down menus.
The drop-down menus are populated with all known domains in the system. Each text box shows
the required syntax pattern.
c
6
Option
Description
OU
The join domain account must meet the appropriate security privilege
requirements as defined in the system general settings.
The account must have access to join the domain. This is not validated.
Click Next.
Use the validation summary to compare the target device with the CVD. This summary alerts you to
any potential problems that require additional attention.
You cannot proceed until blocking problems are resolved.
The migration process starts and takes place in two phases. See End User Experience with Restore
Processes, on page 168.
Deploying the Windows image with the VMware Mirage bootable USB key generally takes 15 to 30 minutes.
The following components are required:
n
164
VMware, Inc.
NOTE You can access all other drivers with the Driver Library feature within the VMware Mirage server.
The Windows installation is not activated and does not include a product key. Windows installation
allows you to work with a non-activated machine for a few days. You can work around this limitation
by editing the autounattend.xml file.
Some antivirus products (for example, Trend Micro) are known to prevent copying autorun.inf to
removable disks . As the process of creating a bootable USB disk requires copying such a file, you must
disable the antivirus application while creating the USB disk using this utility.
If you attempt to install VMware Mirage with an SSL-enabled server, the newly deployed client
machine might not be able to connect to the server, as it is not yet a member of the domain. In such a
case, add a custom action on the USB disk to add the client machine to the domain.
The drive letter U:\ must be available to create the bootable USB disk. The creation scripts do not warn
you if it is already in use.
When using a .ISO file for Windows installation, extract the content of the .ISO file by one of the
following methods:
n
Use .ISO image file software to download and save the .ISO image file to a CD-R or a DVD-R.
Procedure
1
Create two subdirectories in C:\BootUSB. One called Drivers and one called MirageClient.
Extract the VMware Boot USB Scripts from the BootUSB.zip file to the root of the C:\BootUSB folder.
Do not modify the file structure or add subdirectories.
VMware, Inc.
165
Open the C:\BootUSB\MirageClient folder and copy the Mirage client installation MSI to this folder.
Find any hardware drivers you need for the new hardware and copy them to the C:\BootUSB\Drivers
folder.
Insert the USB Key and wait until Plug and Play detection completes.
Command
Windows 7
win7usb.cmd
Windows 8.1
win8usb.cmd
A list of the available disks and their disk number is displayed. Look for the disk number of your USB
drive, which you can identify by the size value.
10
Windows 7: win7usb.cmd [win7 dvd path] [msi path] [server address] [use ssl transport
(true/false)] [usb disk number] [Drivers folder (optional)]
Windows 8.1: win8usb.cmd [win8 dvd path] [msi path] [server address] [use ssl transport
(true/false)] [usb disk number] [Drivers folder (optional)]
Option
Description
The path to the Windows 7 or Windows 8.1 DVD or folder containing the
Windows installation files (folder containing the contents of the Windows
DVD).
msi path
server address
The IP address for your Mirage server for client devices to connect.
A flag that indicates whether this client uses SSL. Use true or false.
NOTE The Mirage server must already be configured for the SSL for this to
be enabled.
This is the number of the USB disk to be formatted. A list of connected disk
numbers is displayed upon invocation of the batch file that do not have
any parameters.
Drivers folder
The location where any hardware drivers required on your new device are
stored, from which you can add them to the bootable USB key. This
parameter is optional.
Command String
Windows 7
Windows 8.1
The USB disk is prepared. When the USB key creation is completed, you can customize it in additional
ways. For example, you can have it install additional software, or embed hardware drivers.
166
VMware, Inc.
Perform a one-time boot from the USB disk by choosing the correct option in the startup menu.
For example, most Dell laptops use the F12 key. Windows begins loading.
Install Windows.
Prompts might vary according to the version of Windows you are installing and Windows installations,
if any, currently on the endpoint.
Option
Action
Version of Windows
Partition
Description
User name
TEST.
Password
password
Administrator password
passwd1!
NOTE You can change these passwords by editing the account values in the autounattend.xml file
found on the USB Key. You can use the System Image Manager (SIM) tool that comes with the
Windows Automated Installation Kit (AIK) to do this.
After you log in for the first time, the target machine is ready to use but might perform additional Windows
operations in the background.
Description
InstallClient.cmd
The file that controls the command that runs the Mirage installer. You can modify the
commands here, including the server Mirage connects to, using SSL or not, and any MSI
switches you want to use during installation.
SetupComplete.cmd
The batch file called automatically when the Windows deployment is completed. You can
add more commands to this file as needed (install VPN client, for example).
VMware, Inc.
167
Description
MirageClient.msi
Mirage client installed on the new Windows machine. Make sure the client version matches
the Mirage server version.
Autounattend.xml
An answer file for the unattended Windows installation that you can edit to customize the
deployed Windows installation. This file is found in the root of the USB drive.
Procedure
1
(Optional) Add Boot-critical drivers to the Bootable USB by putting them in USB drive:\$WinPEDrivers
$.
Do this only if the Windows installation cannot proceed due to missing a critical driver, for example, a
missing disk controller, preventing the installation from detecting the hard drive.
2
C:\MirageDrivers.
The Windows installation searches for and uses drivers located in the MirageDrivers folder on the root
of any drive.
3
Copy the contents of USB drive:\sources\$oem$\$$ to the Windows folder on the installation drive,
e.g. C:\Windows.
Copy the contents of USB drive:\sources\$oem$\$1 to the installation drive, e.g. C:\.
In the Mirage Management console, expand the Inventory node and select Pending Devices.
The device then synchronizes all its data to the CVD. Local client changes take precedence (win) over
CVD changes.
Restore Prefetch
The server downloads the minimal set of files and configuration required for the endpoint to boot to the
CVD and connect to the network. This is called the Minimal Restore Set. End users can start working as soon
as this subset of data is resident on their endpoints.
168
VMware, Inc.
Restore Streaming
After the Minimal Restore Set is downloaded and reboot is completed, the server begins streaming the
remaining CVD content to the endpoint in the background while the end user works. If the user or
application request a file that is not yet downloaded, this request takes priority over background transfers.
The end user can view the streaming status of each downloading file by right-clicking the Mirage icon in the
notification area and clicking Show Streaming Status.
When an end user opens a file which is not yet fully downloaded, the system notifies the user that the file is
currently downloading. When the file finishes downloading, the system notifies the end user that the file is
available.
The system might advise the end user to wait until the connection is reestablished.
CVD files which have not yet been streamed to the endpoint appear in Windows Explorer with the Offline
icon overlay. This indicates that the files exist on a remote storage medium and that accessing them involves
a network download delay.
VMware, Inc.
169
170
VMware, Inc.
27
You can move a user from one device to another, for example, when new hardware is purchased. You can
migrate users one at a time or as a mass hardware migration, which includes many user machines.
This chapter includes the following topics:
n
In the Mirage Management console tree, right-click System Configuration and select Settings.
On the General tab, type the credentials you want to use for domain joining.
The join domain account must meet the appropriate security privilege requirements. See General
System Settings, on page 45.
When a CVD is restored from Windows XP or Windows Vista to Windows 7 or from Windows 7 to
Windows 8.1, the system streams down to the endpoint after the CVD has been restored so that the end user
can resume work without waiting for all of their user data to be downloaded first. If a Windows 8.1
endpoint is selected to be restored to a Windows 7 CVD, that Windows 8.1 endpoint becomes a Windows 7
device.
Procedure
1
In the Mirage Management console, select Common Wizards > Hardware Migration.
Select the device where you want to migrate the CVD and click Next.
Only devices compatible with the selected CVD are listed.
VMware, Inc.
171
Description
This option includes restoring the OS, applications, user data, and user settings.
Use this option for systems with Windows volume licenses or Windows OEM
SLP licenses.
The entire CVD is restored to the replacement device, including OS,
applications, and user files. Any existing files on the replacement device are lost
or overwritten.
If you select this option, you must select a base layer during the migration
procedure.
Use this option only when replacing a device that has a different Windows
OEM license.
The OS of the replacement device must be the same as that of the CVD.
Only applications and user data are restored to the replacement device. The
existing OS and applications installed on the replacement device are retained.
Use this option to migrate users from Windows XP, Windows Vista, and
Windows 7 machines to new Windows 7 machines, or Windows 7 to Windows
8.1 machines.
The OS of the replacement device must be the same as or newer than that of the
CVD.
Only user data and settings are restored to the replacement device. The existing
OS and applications installed on the replacement device are retained.
You can maintain the current layer, if one applies, select a new base layer from the list, or proceed
without a base layer.
b
5
Click Next.
(Optional) Type a name for the CVD and specify the domain options.
a
Select a domain for this endpoint to join after the restore operation.
The current domain is shown by default.
Type the OU and Domain or select them from the drop-down menus.
The drop-down menus are populated with all known domains in the system. Each text box shows
the required syntax pattern.
d
6
Option
Description
OU
The join domain account must meet the appropriate security privilege
requirements as defined in the system general settings.
The account must have access to join the domain. This is not validated.
Click Next.
Use the validation summary to compare the target device with the CVD.
This summary alerts you to any potential problems that require additional attention. You can proceed
only after all blocking problems are resolved.
The migration process starts and takes place in two phases. See End User Experience with Restore
Processes, on page 168.
172
VMware, Inc.
Description
Identifier
Identifier of the target base layer (rebase) or no target base layer (universal
restore)
Server address
Procedure
1
Connect the new machines to the network with an initial Windows system and deploy the Mirage client
to them. You can use mass deployment tools to deploy the client. There are several ways to do this:
n
Use the Mirage bootable USB or LAN to deploy the initial image.
Deploy an image using third party solutions, for example, PXE or MDT.
Ask the hardware vendor to integrate the Mirage client in the Windows image deployed on the
machines.
After the Mirage client is deployed, the new client machines appear in the Inventory > Pending
Devices queue.
Create a CSV file mapping of source machine names to target machine names.
The target machine names are the desired names of the machines after the migration. Existing names
are not used as these are sometimes randomly generated by the hardware vendor.
Optionally, you can import this mapping from XML.
Provide the Mirage Management console with a domain join account, with username and password.
This account is used to rejoin the machines to the domain.
VMware, Inc.
Maintain the base layer from the source machines, which removes extraneous applications, such as
OEM applications, from the target machines.
Apply a new base layer to the target machines to apply additional applications to the target
devices.
173
The source CVD is assigned to the selected pending target device, along with the base layer for the
target model, if any.
The migration task is marked as done only when an upload was completed.
What to do next
After the process is completed, the previous CVDs are migrated to the new machines.
174
VMware, Inc.
Windows OS Migration
28
You can migrate existing Windows XP or Windows Vista endpoints to Windows 7, and existing Windows 7
endpoints to Windows 8.1 and Windows 10. The migrations can be either in-place, on the same devices, or
to replacement devices (For migration from Windows 7 to Windows 10, only in-place migration on the same
device is supported10).
The migration installs a Windows 7, Windows 8.1, or Windows 10 base layer on each target endpoint while
preserving user profile data and settings through the Microsoft User State Migration Tool (USMT v4.0,
USMT v5.0 for Windows XP to Windows 7 migration, USMT v6.3 for Windows 7 to Windows 8.1 migration,
and USMT v10.0 for Windows 7 to Windows 10 migration).
Unlike base layer updates, the migration process installs a complete OS image, including local user profiles
as configured on the reference machine when the base layer was captured. You can use this to set up a local
administrator and default user account.
The migration moves existing content of a target endpoint to the C:\Windows.Old directory, which is then
processed by USMT. Application settings and data that are not handled by USMT are kept in the
C:\Windows.Old directory. You can manually restore this data, or delete it when you do not need it.
OS migration with Mirage retains the original computer name but requires rejoining the domain to create a
Windows 7, Windows 8.1, or Windows 10 machine account. You define this account in the Mirage system
configuration.
Custom boot loaders on the target machine are removed by the migration. If an endpoint includes multiple
operating systems, the migration overwrites only the one on the active OS partition and does not provide
boot options for the others. You can manually restore other boot options after booting to the new OS.
NOTE Mirage requires certain Full Disk Encryption applications to be pre-configured before performing an
OS migration. For more information about supported Full Disk Encryption software, contact VMware
technical support.
Prerequisites
n
You must be an advanced administrator and familiar with system operations and the functional
behavior of Mirage to proceed with this operation.
To reduce bandwith during OS migration in a small or remote office, use the Mirage branch reflector
feature. In particular, a Windows 7, Windows 8.1, or Windows 10 test machine configured as a branch
reflector can share its OS files with client endpoints to assist in the migration process.
USMT does not migrate applications installed on Windows XP or Windows Vista to Windows 7, or
applications installed on Windows 7 to Windows 8.1, or Windows 10.
Make sure to remove any sensitive data from the reference machine. All user data on the reference
machine is applied to the target as part of the migration process.
VMware, Inc.
175
You can download and apply the Windows base layer in one step. Each endpoint is migrated as soon as
Windows 7, Windows 8.1 or Windows 10 image is downloaded to the endpoint. Each CVD starts the
migration process as soon as the image is downloaded to the endpoint.
Alternatively, you can download the base layer first and apply it to selected or all CVDs at a later time.
This gives you control over when the new OS is applied to specific endpoints. As the amount of time it
takes to download might vary by endpoint, you might want to migrate certain endpoints that have
finished downloading in advance of the others.
In both cases, you start with a basic procedure, where you can apply CVDs immediately, or can download
and apply them later. See Perform Basic Windows OS In-Place Migration, on page 177.
If you choose to only download a CVD, after the initial procedure is finished, you can complete the
migration procedure by performing the steps described in Download First and Apply in Stages, on
page 178.
To perform a migration to different hardware, see Migrating to Windows OS Replacement Devices, on
page 179.
176
VMware, Inc.
In the Mirage Management console tree, right-click System Configuration and select Settings.
On the General tab, type the credentials you want to use for domain joining.
The join domain account must meet the appropriate security privilege requirements. See General
System Settings, on page 45.
Procedure
1
In the Mirage Management console tree, select Common Wizards > Windows OS Migration.
Choose one or more CVDs to update and click Select and click Next.
You can either choose individual or multiple CVDs from the CVD List pane, or a collection from the
Collections tab.
Select Download and Apply Base Layer or Only Download Base layer.
Option
Description
This performs the migration in one step. The CVDs act independently
and the migration operation starts on each endpoint as soon as the
image completed the download, regardless of the state of the other
CVDs in the task.
Click Next.
Select one or more available app layers to assign to the endpoint, move them to the Assigned layers list
and click Next.
NOTE When performing Windows OS migration with app layers, Mirage is only able to deliver driver
packages as part of the Mirage driver library mechanism. In this scenario, Mirage will not deploy driver
packages which were recorded as part of the app layers.
(Optional) Type a name for the CVD and specify the domain options.
a
Select a domain for this endpoint to join after the restore operation.
The current domain is shown by default.
VMware, Inc.
177
Type the OU and Domain or select them from the drop-down menus.
The drop-down menus are populated with all known domains in the system. Each text box shows
the required syntax pattern.
d
6
Option
Description
OU
The join domain account must meet the appropriate security privilege
requirements as defined in the system general settings.
The account must have access to join the domain. This is not validated.
Click Next.
Use the validation page to resolve any compatibility problems between the base layer and selected
CVDs.
You cannot proceed until blocking problems are resolved.
After the operation is completed, one task is created that contains all the CVDs that you selected.
What to do next
If you chose Download and Apply Base Layer, the migration proceeds and you can now monitor the
migration progress. See Monitor the Windows OS Migration, on page 180.
If you chose Only Download Base Layer, after the basic procedure is finished, you can start to migrate
certain endpoints that finished downloading. See Download First and Apply in Stages, on page 178.
178
VMware, Inc.
If downloads were not completed on at least one of the CVDs in the task, select:
Option
Description
Yes
No
Wait for the downloading to finish on all CVDs in the task and apply
migration automatically to all the CVDs at that time.
The migration starts on the eligible CVDs according to the selected option.
c
3
Continue to step 4.
To view the CVDs in the task, select Image Composer Layer Assignments.
Select the CVDs that you want to migrate, right-click, and select Start Migration.
The Status panel displays how many CVDs were downloaded. Multiple statuses are shown while
downloading is in progress. If downloads were not completed on at least one of the selected CVDs,
a warning appears concerning these assignments.
Description
Yes
No
Wait for the downloading to finish on all the selected CVDs and apply
migration automatically on all the CVDs at that time.
The migration starts on the eligible CVDs according to the selected option.
4
The migration operation starts on the eligible CVDs, according to the option you selected.
What to do next
You can monitor the progress of the migration. See Monitor the Windows OS Migration, on page 180.
You can repeat the procedure as more CVDs complete downloading.
VMware, Inc.
179
Migration to a different device requires restoring only user data and settings, see Restore a CVD to a
Replacement Device, on page 161.
NOTE In-place migration for Windows OS described in Chapter 28, Windows OS Migration, on page 175
is not suitable for migration to replacement devices.
Install software requiring execution on the individual endpoint. This can include hardware-specific
software that is compatible only with certain endpoints.
Update or remove hardware drivers that might already exist on the endpoint.
This file and any auxiliary files used or called by the script are captured as part of the base layer and
distributed to the various endpoints. It is important to verify that the auxiliary files are placed in the same
directory as the script or another directory that is captured in the base layer.
Procedure
u
The Mirage client monitors the post-migration script execution and reports events to the Mirage central
management service if the script returns an error value other than zero.
180
VMware, Inc.
29
The system dashboard assists you to monitor the system status and operations. The transaction log lets you
monitor the progress of updates coming from and to the Mirage server.
This chapter includes the following topics:
n
System Status
The System Status area shows the number of unacknowledged events by severity (Critical, Warning, or Info)
and source (Server or Clients).
System events are propagated from clients, the server, and the management service on the server. Warning
and Info events provide advice or instructions that do not require urgent attention. You can click an event
button to open the Event log view filtered according to the selected severity and source.
Servers
The Server area shows the Up or Down status of Mirage servers. The icon also reflects the server status.
Capacity Status
The Capacity Status area shows the number of devices according to the following statuses:
Table 291. Device Statuses
Status
Description
Pending
Online
Number of activated devices that are online, excluding online devices pending restore.
Offline
Number of activated devices that are offline, excluding offline devices pending restore.
VMware, Inc.
181
You can click the Pending label or counter to link to the Pending Devices window where you can view the
pending devices and apply relevant actions.
An exclamation mark icon indicates license depletion. This occurs if the total number of pending plus online
devices is greater than the licensed capacity.
Update Progress
The Update Progress area histogram shows the number of clients currently downloading updates or
involved in restore activities, for example, following base layer assignment, enforcement, or update, and
CVD restore. The information is presented in percentage progress ranges, from just started (0-20%) to almost
completed (80-100%).
Totals of desktops finished downloading or currently downloading are also provided.
Table 292. Totals of Desktops Finished Downloading or Currently Downloading
Statistic
Description
Total Ready
Number of desktops that have finished downloading (reached 100%), or that have no pending
download.
Total in Progress
Total number of desktops that are currently downloading or have an incomplete download
pending network reconnection.
Data Protection
The Data Protection meter indicates the total protection level of the desktop deployment.
The gauge shows the ratio of total desktop content stored and protected at the server versus total desktop
data at the endpoint in the process of synchronization. The gauge reflects information provided by online
devices. Offline devices report the next time they connect.
Efficiency Benchmarks
The Efficiency Benchmarks area shows the actual traffic between the desktops and the server over the last 24
hours as a histogram.
Table 293. Efficiency Benchmark Histograms
Histogram
Description
Each bar shows the total data for one hour. The bar representing the current hour shows total traffic from
the start of the hour to the last dashboard refresh time.
Table 294. Information Provided in Each Histogram
182
Element
Description
Y axis
Data size in bytes, KB, MB, or GB, according to the maximum data transferred in the 24-hour span.
X axis
VMware, Inc.
Description
Total
Average
Peak
Description
Centralize Endpoint
Synchronizing ongoing changes from the end user machine to the server.
Restore Prefetch
Client downloads the minimum file set required from the CVD to allow the
endpoint to boot the restored CVD and allow network access to complete restore
through background streaming.
Restore Streaming
Client streams the remainder of the restored CVD to the endpoint while the user
works normally online.
NOTE More than one sub-transaction appears when one or more attempts to complete the parent
transaction failed. The sub-transaction status reported is final and does not change.
Description
CVD
CVD Name
Type
Status
Layer
Changed Files
Unique Files
Size (MB)
Total Data size of the files to be transferred, after duplicate files are
eliminated
VMware, Inc.
183
Description
Data Size After Dedup, meaning the total size of file and metadata to be
transferred after it is reduced by intra-file and inter-file block level
deduplication, but before LZ compression
Before Compression size, which is the total network transfer as seen over
WAN, before applying LZ compression
The amount of data that was sent from the branch reflector to the endpoint
(instead of from the Mirage server directly to clients).
Savings
Transfer Savings, meaning the ratio of the total size of the changed files and
actual transfer size
Start Time
End Time
Duration
184
Cleaned up after:
30 days
Layer transactions
180 days
365 days
VMware, Inc.
30
You can generate and view reports on demand. Reports display the status of various Mirage operations.
You access, generate, import, and export reports from the Reports tab in the Mirage Web Manager.
You can preview a report as a PDF. The preview displays in a new tab of the Web browser. Ensure that you
disable pop-up blocker.
The maximum number of records that you can include in a report by default is 2,000. If the report includes
more than 2,000 records, the report fails to generate. When you generate a report that contains more than
200 records, you receive a warning message that the procedure might take some time to generate. You can
configure these parameters by editing the configuration files located in C:\Program Files\Wanova\Mirage
Web Management\web.config.
n
Centralization Progress
You generate the Centralization Progress report during the first phase of the Mirage deployment to view the
progress of CVDs being centralized. The Centralization Progress report displays the centralization status of
CVDs and the average time, average CVD size, and average data transfer size of completed CVDs during
the specified time frame for the report.
OS Migration Process
The OS Migration Process report displays the number of CVDs that have started, are still pending, and have
completed an OS migration procedure.
Custom Report
You can create a custom report based on your organization's requirements.
VMware, Inc.
185
Description
Description
Application-level report
Describes projected applications that are added to, updated in, or deleted from to an
endpoint device when the selected layer changes are applied. It compares the
applications installed on the layers and the CVD and provides a general view of the
result for the change in layers. For more information, see 16.2 Comparison Report
between Base Layer and CVD.
NOTE Depending on the number of CVDs selected, running the report might take some time.
Procedure
1
In the VMware Mirage Management console tree, under the Reports tree, click the report type that you
want to generate or view.
186
VMware, Inc.
Click Finish.
The report is generated. You can view the report when the status is Done.
To delete a report:
a
In the Mirage Management console tree, expand the Reports node and select the CVD Integrity report.
To generate a report:
a
Type a report name in the Report Name text box. If none is given, the default name format is
applied (CVD_Integrity_{User's environment name}_{Short date}).
e
3
Option
Description
Check Only
Generates only the CVD Integrity report, which checks for errors on the
selected CVD. No repair actions are performed.
Use this report option if you were performing a restore process when
you encountered a problem with the CVD. Corrupted files are repaired
so that the interrupted process can resume.
VMware, Inc.
To delete a report:
n
187
188
VMware, Inc.
31
When you configure a secure Mirage environment, you can change settings and make adjustments in
several areas to protect your systems.
This chapter includes the following topics:
n
Commun
ications
Port
Protocol
Notes
Mirage service
External
8000
TCP/IP or
SSL/TLS
Mirage Branch
Reflector
External
8001
TCP/IP
Mirage Management
service
External
8443 ,
1443
TCP/IP
Internal
135,
445
TCP/IP
File portal
Internal
6080,
6443
TCP/IP
Internal
7080,
7443
TCP/IP
VMware, Inc.
189
Port
Protocol
Notes
Internal
8000
TCP/IP
Internal
389,
636
TCP/IP
LDAP or
LDAPS
Internal
8080 /8
443
TCP/IP
External
8000
TLS/SSL
Internal
8093
TCP/IP
Mirage API
Internal
7443
HTTPS
MongoDB File
Database
Internal
27017,
27018
TCP/IP
Component
Mirage Gateway
server
190
VMware, Inc.
Location
Protection
Configuration files
web.config
app.config
Mirage Gateway server:
/opt/MirageGateway/etc/Mi
rageGateway.conf
/opt/MirageGateway/apache
-tomcat-7.0.54/conf
Mirage Web Manager:
/opt/MirageGateway/apache
tomcat-7.0.54/webapps/Web
Console/WEBINF/classes/log4j.propert
ies
Customer Experience
Improvement Program:
%Program Files
%\Wanova\Mirage
Management
Server\Ceip\conf\ceip.pro
p
%Program Files
%\Wanova\Mirage
Management
Server\Ceip\conf\CEIPTime
Control.prop
%Program Files
%\Wanova\Mirage
Management
Server\Ceip\conf\Customer
.conf
%Program Files
%\Wanova\Mirage
Management
Server\Ceip\conf\DataAcce
ss.cfg.xml
%Program Files
%\Wanova\Mirage
Management
Server\Ceip\conf\JoinCEIP
.conf
%Program Files
%\Wanova\Mirage
Management
Server\Ceip\conf\log4j.pr
operties
Mirage API configuration files:
%\Program Files
%\Wanova\Mirage
API\log4net.config
Mirage Management server:
VMware, Inc.
191
Location
Protection
%Program Files
%\Wanova\Mirage
API\web.config
%Program Files
%\Wanova\Mirage
Management
Server\Wanova.Management.
Service.exe.config
Mirage server:
%Program Files
%\Wanova\Mirage
Server\Wanova.Server.Serv
ice.exe.config
Log files
%ProgramFiles
%\Wanova\MirageService\Lo
gs
File Paths
Mirage server
Mirage client
%ProgramFiles%\Wanova\MirageService\Logs
192
VMware, Inc.
File Paths
Mirage API
%ProgramData%\Wanova Mirage\Web
Management\logs\mirage_api.log
/opt/MirageGateway/logs/error.log
/opt/MirageGateway/logs/mirage_gateway.log
/opt/MirageGateway/logs/mirage_gateway_backend.
log
/opt/MirageGateway/logs/mirage_gateway_current_
stat.log
/opt/MirageGateway/logs/mirage_gateway_service.
log
/opt/MirageGateway/logs/mirage_gateway_stat.log
/opt/MirageGateway/apache-tomcat-7.0.54/logs/
MirageGateway.log
Mirage Accounts
You set up system and database accounts to administer Mirage components.
You must set up system and database accounts to administer Mirage system components.
Table 314. Mirage System Accounts
Mirage Component
Required Accounts
Mirage server
Mirage client
Not applicable.
VMware, Inc.
193
194
VMware, Inc.
32
You can perform maintenance operations on Mirage servers and the Management server, including backup,
restore, and upgrade from previous Mirage versions.
This chapter includes the following topics:
n
VMware, Inc.
195
Use the same fully-qualified name of the original Mirage Management server so that existing Mirage servers
can locate the Management server and connect to it.
IMPORTANT Restore all Mirage storage volumes and the database at the same time, even if only a single
volume or only the Mirage database needs to be restored.
Procedure
1
Set the VMware Server Service and VMware Management Service start type to Disabled.
Set the VMware Server Service and VMware Management Service start type to Automatic.
Verify that all Mirage servers and the Mirage Management server are stopped.
Restore all the storage volumes and the database from backup.
Make sure to restore to original UNC paths.
Copy the Server.Tools.zip to the server machine, extract the zip file, and run the following command
from any server machine: Wanova.Server.Tools.exe ResetPendingBI.
What to do next
If the UNC path was changed on any of the volumes, you must change the UNC path in the Edit Volume
dialog box and mount the volume. See Edit Storage Volume Information, on page 87.
196
VMware, Inc.
Set the VMware Server Service and VMware Management Service start type to Disabled.
Set the VMware Server Service and VMware Management Service start type to Automatic.
Cache size
Procedure
1
VMware, Inc.
197
If you cannot make a snapshot, create and run a backup job for each volume's directory using any
available backup program.
This process can take a significant amount of time to complete. The backup software must support
Alternate Data Streams (ADS). For best results, use block-based backup programs rather than file-level
backup using ADS.
Procedure
1
mirage.WebManagement.console.x64.buildnumber.msi file.
198
VMware, Inc.
Follow the prompts until you come to the Web Access Configuration page and provide the Web
access configuration information.
Option
Description
Web Access
Select Admin Web Access to give the administrator full access to all
user CVDs across all CVD snapshots. The administrator can access the
Admin Web Access feature to download all files of any user at
http://server:6080/AdminExplorer.
By default, both the Web Access and Admin Web Access Web applications are configured for the
file portal. You can select not to configure either of these options by clicking the drop-down menu
and selecting Entire feature will be unavailable.
5
To upgrade the Mirage Management console, double-click the .msi file for your environment.
Option
Description
64-bit
mirage.management.console.x64.buildnumber.msi
32-bit
mirage.management.console.x86.buildnumber.msi
By default, the configuration settings you selected during the initial installation are applied. You can
change the configuration settings during the upgrade process.
VMware, Inc.
199
200
VMware, Inc.
Troubleshooting
33
Various troubleshooting mechanisms are available, including the CVD History view, Event log, and other
system logs and reports.
This chapter includes the following topics:
n
Audit events
Procedure
1
You can copy and paste information from the CVD History view for use elsewhere by using the
standard Windows key combinations Ctrl + C to copy, and Ctrl + V to paste.
Problematic CVDs
In the Mirage Management console you can view the CVDs that have open alarms.
There are five alarms that might be triggered for CVDs.
n
Vss alarm
VMware, Inc.
201
You can view a list of the CVDs with open alarms on the Problematic CVDs node in the Mirage
Management console. Alternatively, in the CVD Inventory grid view, CVDs with open alarms display a red
bell icon.
A CVD can only have one open alarm at a time.
Description
Event Log
Lists important system events as propagated from the server and clients.
Transaction Log
Records logical operations between the Mirage server and client. You can use the transaction
log to monitor the progress of updates coming from and to the server. See Using
Transaction Logs, on page 183.
Manager Journal
Description
A static list of files created by the administrator and placed in an XML file that
is fetched during the restore operation. The files restored provide the endpoint
with the minimum environment required to boot to a CVD. The static list is
used for all endpoint devices in the system.
This is a CVD-specific list of files that is acquired during normal CVD use. The
list is built on each boot and captures the system, applications, and user files
over a short time period after booting. A separate dynamic restore set is
created for each CVD in the system and is used in conjunction with the static
minimal restore set when a restore is performed.
202
VMware, Inc.
Chapter 33 Troubleshooting
You can revert to the original (default) VMware minimal set. The file is located at: C:\Program
Files\Wanova\Mirage Server\MinimalSet.xml.
You can used the same file as basis for further customization, such as adding the corporate antivirus and
VPN files.
IMPORTANT The procedure describes how to modify critical Mirage configurations using the CLI. Follow
these steps carefully, as serious problems can occur if the CLI is used incorrectly.
Prerequisites
You must be authenticated as a member of a group with access to the Mirage Management console. See
Managing Role-Based Access Control and Active Directory Groups, on page 210.
Procedure
1
On the Start menu, click Run, type cmd, and click OK.
To export the minimal restore set, type: getminimalset path to output file.
Add the modified file to the minimal set, using the following command:
addMinimalSet path to XML file and press Enter.
NOTE Executing this command overrides any existing static minimal set.
A message appears confirming that the Static Minimal Set was added successfully.
Description
Full report
Collects the most comprehensive set of system logs, registry information, and system
information. While helpful in troubleshooting confirmed problems, this report can be
very large (containing several hundreds of MB of data), and is used only by special
request from VMware Support.
Medium report
Used most frequently, this report type collects a limited set of system logs and system
information. It is faster to generate and more resource efficient than the full report.
Returns a minimal set of log entries. Usually used in early troubleshooting stages to
determine next steps.
Prerequisites
Log in as an administrator.
VMware, Inc.
203
Procedure
1
Action
From a server
Run the sysreport batch file from the Mirage install directory, for
example: C:\Program Files\Wanova\Mirage Server, and run the
required script:
From a client
Right-click the Mirage icon in the notifications area, select Tools, and
select the report you want.
The sysreport commands can be CPU-intensive, especially on the server, so an intermediate impact is
generally expected. A CAB file containing all the logs is created at c:\sysreport-MMDDYYYY-HHMMComputerName.cab.
2
Description
sudo /opt/MirageGateway/bin/sys
report_logs
Collects logs that include Mirage Gateway logs, and Mirage Gateway
performance logs.
sudo /opt/MirageGateway/bin/sys
report_full
204
In the Mirage Management console tree, expand the Inventory node and select All CVDs.
Right-click the CVD for which you want to generate a report and select Device > Generate System
Report.
Description
Full
Medium
Logs
VMware, Inc.
Chapter 33 Troubleshooting
VMware, Inc.
Action
UNC
Select the Remote Share radio button and type the UNC path.
FTP
Select FTP server and type the server name, user name, and password.
Click OK.
205
206
VMware, Inc.
34
Advanced topics serve to supplement information provided in the VMware Mirage Administrator's Guide.
This chapter includes the following topics:
n
Managing Role-Based Access Control and Active Directory Groups, on page 210
If SCCM client is not yet installed, manually install the client following the instructions at
http://technet.microsoft.com/en-us/library/bb693546.aspxhttp://.
Do not specify a SCCM site code for the client in the CCMSetup.execommand-line properties
(SMSSITECODE parameter).
Use ccmdelcert.exe to delete the SMS certificates. ccmdelcert.exe is available as part of the Systems
Management Server 2003 Toolkit, and is also attached to the wiki page.
VMware, Inc.
207
Add Certificates.
Specify that the snap-in will manage certificates for the Computer account and click Next.
Verify that This snap-in will always manage Local computer is selected and click Finish.
Click OK.
Select the Certificates node in the console root, right-click Personal store and select All Tasks >
Advanced Operations > Create Custom Request.
Verify the information on the Custom Request page, select Proceed without enrollment policy.
a
On
Option
Description
Custom Request
Accept the default settings for the CNG Key and PKCS #10 text boxes.
Certificate Information
208
Click the Subject tab, and in the Subject Name area, provide the relevant certificate information.
Option
Description
Server FQDN. This is the certificate subject name that is used in the Mirage
configuration to find the certificate. The FQDN must point to that server
and is validated by the client upon connection.
Organization, value
Country, value
State, value
Locality, value
VMware, Inc.
Click the Extensions tab and select the key use information from the drop-down menus.
Option
Description
Key Usage
Click the Private Key tab and select key size and export options.
Option
Description
Key Options
Select to export the CSR, and later the certificate, with the private key for
backup or server movement purposes.
Click OK to close the Certificate Properties window, and click Next in the Certificate Enrollment
wizard.
Leave the default file format (Base 64), and click Browse to select a filename and location of where to
save the CSR.
The certificate request is completed.
10
Click the Certificate Enrollment Requests & Certificates tab, and click Refresh.
You can export the CSR with the private key for backup purposes.
What to do next
After you generate the certificate signing request, you submit the certificate request. See Submit the
Certificate Request, on page 209
On the Advanced Certificate Request page, select Submit a certificate request using a base-64-encoded
CMC or PKCS #10 file or submit a renewal request by using a base-64-encoded PKCS #7 file.
Open the csr.req file with a text editor and copy the text.
Paste the CSR text in the Base-64-encoded certificate request text box.
Select Web Server from the Certificate Template drop-down menu and click Submit.
On the Certificate Issued page, select Base 64 encoded, and then click Download certificate.
When prompted, select Save As, type the file name, and save the certificate as a .p7b file.
Select the Certificates node in the console root, right-click Personal store and select All Tasks > Import.
VMware, Inc.
209
Click the Personal Certificates tab and click Refresh to load current details.
Open the certificate and verify that it states that you have the private key.
Click the Certification Path tab and check that you have all of the certificates in the chain and that no
validity warnings or missing certificates are present.
Role Definitions
You can define role-based access to specific users for several actions in the system.
210
VMware, Inc.
Table 341. System Actions for which Role-Based Access can be Defined for a User
Action
Description
View dashboard
View the server status node. If not applicable, the server status appears as an empty
list.
View tasks
Manage tasks
View CVDs
Manage CVDs
Delete a CVD, assign a base layer to a CVD, enforce a base layer, assign a policy to a
CVD, and revert to snapshot.
Support CVDs
Enforce base layer, set driver libraries, revert CVDs. confirm restore, and edit CVD
comments.
Manage collections
Edit, create, and delete CVD policies. This role requires the view CVD policies role.
View devices
View the devices in the device inventory and the pending list.
Manage devices
Assign a device to a CVD, reject a device, restore a device, remove a device, suspend a
device, and synchronize the device with the CVD.
Support devices
Suspend and resume devices, collect sysreports, restart a device, and run the Sync
Now procedure on a device.
View layers
Manage layers
Create layers, delete layers, cancel layer assignment , and update layer data (name,
details).
Assign a reference device to a reference CVD, assign a base layer to a reference CVD,
assign a policy to a reference CVD, and delete a reference CVD.
Add new rules, remove rules, test base layer draft rules, and set new default base
layer rules.
See the driver profiles and driver folders and their details in the driver library
Add drivers to the driver folders and create new driver profiles, and modify existing
driver folders and libraries.
View reports
Manage reports
View events
View the events under the Event log and Manager Journal.
Manage events
View transactions
View transactions.
View configuration
Manage configuration
VMware, Inc.
211
Table 341. System Actions for which Role-Based Access can be Defined for a User (Continued)
Action
Description
Access Permission
Perform all system operations except base layer management, user management, and role
management. You can customize the default privilege set for the Desktop Engineer role.
Help Desk
Provides information about the Mirage client user device in order to respond to service
queries. Access with the Help Desk role displays the Select User and Device page by default..
Image Manager
Captures and assigns base layers and app layers to CVDs. The Image Manager role
provisions new devices with a specified image.
Protection Manager
Provides detailed information of the Mirage system. Users with the Protection Manager role
can update the Mirage system to protect Mirage end-user devices.
Administrator
In the Mirage Management console tree, right-click Users and Roles and select Add a Role.
Edit the role check boxes in the right pane as required and click Save.
212
Expand the Users and Roles node, right-click the required user role, and select Add a Group.
Type the group name in the Group Name text box, using the following syntax: domain\group.
VMware, Inc.
System Directories
The following macros are supported for system directory paths:
Table 343. System Directory Macros
Macro
Description
%systemvolume%
%systemtemp%
%windows%
%Anyvolume%
%documentsandsettings%
Expands to one rule of the path that contains the user profiles.
%programfiles%
The program files directory, including support for localized Windows versions,
and the Program Files (x86) in 64-bit.
For example:
C:\Program Files
C:\Program Files (x86)
%systemdir%
Profile Directories
The following macros are supported for profile directory paths:
Table 344. Profile Directory Macros
Macro
Description
%anyuserprofile%
Expands to multiple rules, one per any user profile, including both local user
profiles and domain user profiles.
For example:
C:\Windows\system32\config\systemprofile
C:\Windows\ServiceProfiles\LocalService
C:\Windows\ServiceProfiles\NetworkService
C:\Users\User1
%domainuserprofile%
%localuserprofile%
VMware, Inc.
213
Description
%anyuserlocalappdata%
%anyusertemp%
Description
%ProgramData%
The special Application data directory under the All Users directory.
%defaultuserprofile%
%builtinuserprofile%
Expands to multiple rules, one for each built-in user profile (not including local
or domain users).
For example:
C:\Users\Public
C:\Windows\system32\config\systemprofile
C:\Windows\ServiceProfiles\LocalService
C:\Windows\ServiceProfiles\NetworkService
%localserviceprofile%
%Anyuserroamingappdata%
%Anyusertempinternetfiles%
214
%anydesktopshellpaths%
%desktop%
VMware, Inc.
Description
%favorites%
%videos%
%pictures%
%documents%
%music%
%skydrive%
VMware, Inc.
215
216
VMware, Inc.
35
Mirage lets administrators use Mirage base and app layering capabilities to manage full-clone, dedicated
assignment View desktop machines.
With Mirage, a View administrator of a large scale environment can automatically update operating system
and infrastructure software, add and remove application layers, and fix software problems. Users in View
persistent desktop pools with Mirage image management can preserve user data customizations and user
installed applications through Mirage image updates.
Desktop devices undergoing a Mirage layer update require more resources than usual. Mass image
management operations can affect user experience for users in an updated pool and in neighboring pools
with which it shares resources. To diminish this effect, Mirage must limit the level of concurrency when you
perform image management operations in the View pool. An administrator can control the concurrent level
through the concurrency value, which controls the effect Mirage has on the ESX resources.
Supported Configurations
Mirage supports the following View configurations.
n
Yes
Yes
Enforce layers
Yes
Yes
Centralization
No
File Portal
No
HW migration
No
Layer provisioning
No
Restore
No
Revert to snapshot
No
VMware, Inc.
217
No
Windows OS migration
No
218
No data protection
The corresponding devices do not upload files to the data center. You cannot
revert the devices to a Mirage snapshot or restore user files to previous
versions. Mirage only periodically uploads metadata about these devices, for
example the list of installed applications.
No WAN optimizations
VMware, Inc.
Index
A
about this guide 9
activating endpoints 17
Active Directory groups and role-based access
control 210, 212
advanced administration topics 207
app layer, capturing 123
app layer assignment
cancel assignment in progress 143
detect potential effects 141
monitor assignment progress 143
procedure 142
testing before distribution 141
app layer capture
capture overview 123
capture procedure 125
multiple layer capture 130
OEM software in app layer 129
post-app layer deployment script 130
procedure 125127
reference machine 124
what you can capture 128
app layer definition 105
app layers, Mirage PowerCLI 67
archive CVDs
assign to a device 25
manage CVDs in the archive 25
move to another volume 25
assigning a base layer, Mirage PowerCLI 64
assigning base layers, Mirage PowerCLI 64
audit events in Manager journal 202
authenticating, Mirage Gateway server 44
B
back up servers and Management server 195
bandwidth limitation, rules 41
bare metal provisioning, re-partitioning 153
base layer
and BitLocker support 107
and system-level software 107
and user-specific software 107
and endpoint security software 107
and OEM software 107
and software licensing 107
capturing 115
VMware, Inc.
219
C
centralization progress, report 185
centralize endpoints
by administrator 18
by end-user 17
certificate, updating 71
certificates, Mirage Gateway 71
client status, access 29
cmdlets 55
comparison report
base layer assignment 132, 133
potential effects of app layer 141
potential effects of base layer 131
configuration files
Mirage Gateway 75
protection 191
configure the system, See system settings
configuring, file portal 45
creating layer groups 155
Customer Experience Improvement Program
cancelling 51
data collection 49
joining 51
registering 49
CVD
archive, See archive CVDs
autocreation 44
events history timeline view 201
file portal end-user mapping 34
settings 45
snapshot generation and retention 46
view files in CVD with file portal 33
CVD Integrity report 185, 187
CVD collection
add dynamic collection 24
add dynamic using Active Directory 24
static collection management 23
CVDs, alarms 201
D
dashboard statistics 181
data protection status, report 185
database and volumes restore 196
desktop deployment monitoring 181
detect potential effects of layer change 131133
device provisioning, PowerCLI 61
220
directory-level restore 30
disaster recovery, See endpoint disaster
recovery
drivers
and base layers 107
and folder management 8082
driver library 79
driver library architecture 79
driver profile management 82
import drivers to folders 81
E
end-user operations
directory-level restore 30
file-level restore 29
Snooze to suspend synchronization 31
Sync Now to resume synchronization 31
view files in CVD with file portal 33
endpoint disaster recovery
bootable USB keys 164
reconnect a device to a CVD 168
restore process experience 168
restoring Windows 8 devices 163
endpoint disaster recovery, restore to a CVD
after device loss 160, 161
after hard drive replacement or format 160
specific files from a CVD snapshot 159
endpoints
activate 17
centralize by end-user 17
centralize by administrator 18
centralizing 56, 57
layer provisioning 139
enforce layers on endpoints 138
Event log 202
events history timeline for a CVD 201
exporting, layer groups 156
exporting bandwidth limitation rules 41
F
file portal
allow access to 33
configuration in system settings 44
configuring 45
download folders and files 35
end-user CVD mapping 34
securing 37
view files 34
file-level restore
deleted file from Recycle Bin 30
previous file version 30
VMware, Inc.
Index
Gateway server
configuring 70
removing 77
H
hardware drivers, See drivers
I
image management overview 105
importing, layer groups 156
importing bandwidth limitation rules 41
IP detection and proximity algorithm 91
J
Join Domain Account settings 45
VMware, Inc.
O
OEM software
in app layer 129
in base layers 107
OS migration 58, 59
OS migration progress, report 185
P
pending assignment devices
reinstate using Remove 19
reject 19
ports and protocols 189
potential branch reflectors 97
PowerCLI
cmdlets 53, 54
installing 54
Mirage 54
vSphere 54
provision, bare metal 145, 151
221
R
reassign users to different hardware, See
migrate users to different hardware
reference machine for app layer capture 124
reference machine for base layer capture
data selection 112
recreate from a base layer 113
setup 111
software considerations and settings 112
registry value override in base layer capture 119
rejected devices, reinstating 19
reports
centralization progress 185
CVD integrity 185, 187
data protection status 185
layer dry run 186
OS migration progress 185
system reports 203, 204
restore
customize minimal restore set 202
Management server 195
restore process experience 168
servers 196
specific files from a CVD snapshot 159
standalone server 197
storage volumes and database 196
restore device to a CVD
after device loss 160, 161
after hard drive replacement or format 160
specific files from a CVD snapshot 159
restore files
deleted file from Recycle Bin 30
directories from a CVD 30
files from a CVD 29
previous file version 30
restoring, Windows 8 163
retention policy
CVD snapshots 46
transaction records 183
role-based access control (RBAC) 210
rules for base layer capture 115
S
SCCM client migration preparation 207
scripts for
post-app layer deployment operations 130
post-base layer deployment operations 120
post-Windows OS migration operations 180
secure socket layer communication, See SSL
secure sockets layer, See SSL
222
VMware, Inc.
Index
system components 11
system logs
audit events in Manager journal 202
events 202
Transaction log 202
system maintenance, See maintain the system
system requirements, ports and protocols 189
T
testing
app layers before distribution 141
base layers before distribution 134
layer capture rules 116
Transaction log, record retention policy log 183
troubleshooting 201
W
Watchdog, See VMware Watchdog service
Windows 8, restoring 163
Windows 8 devices, restoring 163
Windows Deployment Service
installation 147, 148
Microsoft PowerShell 148
Windows server manager 147
Windows OS migration
in-place migration to same machine 176178
migration to replacement devices 179
monitor the migration process 180
post-migration operations using a script 180
WinPE image 145, 151
U
unblock volumes 88
unmount volumes 87
update app layer, See app layer assignment
update base layer, See base layer assignment
updating an app layer, Mirage PowerCLI 67
updating app layers, Mirage PowerCLI 66
upgrade Mirage version
before you start 197
upgrade procedure 198
upload policies
advanced options 22
parameters 20
upload policy management 20, 21
upload policy rule macros 213
upload policy rule management 22
USMT setting import 43
V
View desktops, managing with Mirage 217
virtual machine
and base layer 107
multiple app layer capture on 130
VMware Watchdog service, configuration 102
volume deployment
add volumes 86
block volumes 88
edit volume information 87
maintain volumes 89
mount volumes 88
remove volumes 87
restore volumes and database 196
SIS volume integrity procedure 89
unblock volumes 88
unmount volumes 87
volume information 85
volume settings 45
volume reactivation, See mount volumes
VMware, Inc.
223
224
VMware, Inc.