VMWARE Horizon View - 6.0 Installation Manual [fr]

View Integration
VMware Horizon 6.0
This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
EN-001484-00
View Integration
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:
docfeedback@vmware.com
Copyright © 2014 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at
http://www.vmware.com/go/patents.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com
2 VMware, Inc.

Contents

View Integration 7
1 Introduction 9
View Components 9 Integration Interfaces to View 10
2 Integrating with the Event Database 11
Event Database Tables and Schemas 11 Connection Broker Events 13 View Agent Events 19 View Administrator Events 19 Event Message Attributes 26 Sample Database Queries and Views 28
3 Using View PowerCLI 31
Introduction to View PowerCLI 31
Start the PowerShell Console with View PowerCLI Loaded 32 Displaying Help for a View PowerCLI cmdlet 32 Error Handling 33 Error When Piping and Specifying Objects at the Same Time 33
Escaping Characters in vCenter Path Names 33 View PowerCLI Cmdlets 34 View Administrator, View PowerCLI Cmdlet, and vdmadmin Operations 36 View PowerCLI Cmdlet Parameters 38
Default Display Protocol Settings 38
Deletion Policy Settings 38
Flash Quality Settings 38
Flash Throttling Settings 39
LDAP Backup Frequency 39
Pool Type Settings 39
Power Policy Settings 40
Refresh Policy Settings 40
Smart Card Authentication Settings 41
View Composer Maintenance Task Types 41 Examples of Using View PowerCLI Cmdlets 41
Displaying Information About a View Connection Server Instance 41
Updating the Configuration of a View Connection Server Instance 41
Managing the Configuration of vCenter Servers in View 42
Managing Desktop Pools 42
Creating and Updating Automatically Provisioned Desktop Pools 42
Creating and Updating Linked-Clone Desktop Pools 43
Creating and Updating Manually Provisioned Desktop Pools 43
Creating Manual Unmanaged Desktop Pools 44
Creating and Updating Desktops Provisioned by RDS Hosts 44
Obtaining Information About Users and Groups from Active Directory 44
Managing Desktop Entitlements 44
Managing Remote Sessions 45
Managing Virtual Machines 45
VMware, Inc. 3
View Integration
Displaying Information About Physical Computers 45
Updating the Ownership of Machines 46
Displaying Information About Events 46
Managing the Global Configuration of View 46
Managing View Licenses 46 Examples of Using View PowerCLI for Enhanced Functionality 47
Checking if a View Connection Server Instance Is Running 47
Resize Automatic and Linked-Clone Desktop Pools 48
Determining Paths to vSphere Inventory Objects 49
Determining Paths to vSphere Datastore Objects 49
Adding and Removing Datastores 50 Assign Multiple Network Labels to a Desktop Pool 51
Obtain NIC and Network Label Information in a Configuration File 52
Edit the Network Label Configuration File 54
Deploy a Desktop Pool with Network Label Assignments 55
Display the Network Label Assignments for an Existing Pool or Desktop 56
Disable Automatic Network Label Assigments 58
4 Customizing LDAP Data 59
LDAP Configuration Data 59 Export LDAP Configuration Data 60 Modify LDAP Configuration Data 60 Import LDAP Configuration Data 63 Import LDAP Configuration Data Using the LDIFDE Command 64
5 Integrating with SCOM 65
View Management Packs 65 Name a View Connection Server Group 66 Import the View MPs 66 View Discovery Script 66 Run the Discovery Script 67 Display Discovered Objects 67 Display Managed Objects 68 Views and Monitors 68
Performance Data Collection Settings 69 Enable a Proxy Agent on a Server 70 Display Performance Data 70 Display Information About an Alert 70 Restart a Service 70 Exclude a Domain from Connectivity Monitoring 70 Close Alerts 71 Class and Relationship Definitions 71
6 Examining PCoIP Session Statistics 75
Usage Notes for Recorded Statistics 75 General Session Statistics 76 Audio Statistics 76 Imaging Statistics 77 Network Statistics 78 USB Statistics 79 Examples of Using PowerShell to Examine PCoIP Statistics 79
4 VMware, Inc.
7 Dynamically Setting Desktop Policies with Start Session Scripts 81
Overview of Configuring Start Session Scripts 81 Example Start Session Scripts 82 Enable the VMware View Script Host Service 83
Configure a User Account to Run the Start Session Script 83 Add Windows Registry Entries for a Start Session Script 83
Index 85
Contents
VMware, Inc. 5
View Integration
6 VMware, Inc.
View Integration
This guide describes how to integrate View™ software with third-party software such as Windows PowerShell, business intelligence reporting engines, and Microsoft System Center Operations Manager (SCOM).

Intended Audience

This book is intended for anyone who wants to customize or integrate software to work with View. The information in this manual is written for experienced Windows or Linux system administrators who are familiar with virtual machine technology and datacenter operations.
VMware, Inc. 7
View Integration
8 VMware, Inc.
1

Introduction

With View, system administrators can provision desktops and control user access to these desktops. Client software connects users to virtual machines running in VMware vSphere™, or to physical systems running within your network environment. In addition, View administrators can configure Remote Desktop Services (RDS) hosts to provide View desktop and application sessions to client devices.
This chapter includes the following topics:
“View Components” on page 9
“Integration Interfaces to View” on page 10

View Components

You can use View with VMware vCenter Server to create desktops from virtual machines that are running on VMware ESX RDS hosts to deploy desktops and applications to end users. View uses your existing Active Directory infrastructure for user authentication and management.
After you create a desktop or application, authorized end users can use Web-based or locally installed client software to securely connect to centralized virtual machines, back-end physical systems, or Remote Desktop Services (RDS) hosts.
®
or VMware ESXi™ hosts and deploy these desktops to end users. You can also install View on
1
View consists of the following major components:
View Connection Server – a software service that acts as a broker for client connections by authenticating
and then directing incoming user requests to the appropriate virtual machine, physical system, or Remote Desktop Services (RDS) host.
View Agent – a software service that is installed on all guest virtual machines, physical systems, or RDS
hosts in order to allow them to be managed by View. The agent provides features such as connection monitoring, Virtual Printing, USB support, and single sign-on.
Horizon Client – a software application that communicates with View Connection Server to allow users
to connect to their desktops.
View Administrator – a Web application that allows View administrators to configure View Connection
Server, deploy desktop and application pools, manage machines, control user authentication, initiate and examine system events, and carry out analytical activities.
vCenter Server – a server that acts as a central administrator for ESX/ESXi hosts that are connected on a
network. A vCenter Server provides the central point for configuring, provisioning, and managing virtual machines in the datacenter.
View Composer – a software service that is installed on a vCenter server to allow View to rapidly deploy
multiple linked-clone desktops from a single centralized base image.
VMware, Inc. 9
View Integration

Integration Interfaces to View

You can use several interfaces to integrate View with external applications.
Event database – you can configure View to record events to a Microsoft SQL Server or Oracle database.
You can then use business intelligence reporting engines to access and analyze this database.
View PowerCLI – you can use the PowerShell interface to perform a wide variety of administration tasks
on View components.
Lightweight Directory Access Protocol (LDAP) – you can export and import LDAP configuration data
from and into View. You can create scripts that update this configuration data without accessing View Administrator directly.
Microsoft System Center Operations Manager (SCOM) – you can monitor the operations of View
components from the SCOM console.
Windows Management Instrumentation (WMI) – you can examine performance statistics for a PCoIP
session.
10 VMware, Inc.
2w

Integrating with the Event Database

You can configure View to record events to a Microsoft SQL Server or Oracle database. View records events such as the following examples:
End-user actions such as logging in and starting a desktop or application session.
Administrator actions such as adding entitlements and creating desktop or application pools.
Alerts that report system failures and errors.
Statistical sampling such as recording the maximum number of users over a 24-hour period.
You can use business intelligence reporting engines such as Crystal Reports, IBM Cognos, MicroStrategy 9, and Oracle Enterprise Performance Management System to access and analyze the event database.
This chapter includes the following topics:
“Event Database Tables and Schemas” on page 11
“Connection Broker Events” on page 13
“View Agent Events” on page 19
“View Administrator Events” on page 19
“Event Message Attributes” on page 26
2
“Sample Database Queries and Views” on page 28

Event Database Tables and Schemas

Tab le 2-1 shows the tables that implement the event database in View.
Tabl e 2-1. Event Database Tables
Table Name Description
event Metadata and search optimization data for recent events.
event_data Data values for recent events.
event_data_historical Data values for all events.
event_historical Metadata and search optimization data for all events.
The event database prepends the names of these tables with a prefix that you define when you set up the database. See the View Installation document for more information.
IMPORTANT View does not restrict the growth of the event_historical and event_data_historical tables. You must implement a space management policy for these tables.
VMware, Inc. 11
View Integration
View records details about events to all the database tables. After a certain period of time has elapsed since writing an event record, View deletes the record from the event and event_data tables. You can use View Administrator to configure the time period for which the database keeps a record in the event and event_data tables. See the View Installation document for more information.
N
database is not running. For a solution that avoids this problem see http://kb.vmware.com/kb/1021461.
A unique primary key, EventID, identifies each event that View records in the event and event_historical tables. View records data values for each event in the event_data and event_data_historical tables. You can obtain the complete set of information for an event by joining the event and event_data tables or the event_ historical and event_data_historical tables on the EventID column.
The EventType, Severity, and Time columns in the event and event_historical tables identify the type and severity of an event and the time at which it occurred.
Tab le 2-2 shows the schema for the event and event_historical tables.
Tabl e 2-2. Schema for the event and event_historical Tables
Column Name
Acknowledged SMALLINT tinyint Whether View acknowledged the event.
DesktopId NVARCHAR2(512) nvarchar(512) Desktop ID of the associated pool.
EventID INTEGER int Unique primary key for the event.
EventType NVARCHAR2(512) nvarchar(512) Event name that corresponds to an item in
FolderPath NVARCHAR2(512) nvarchar(512) Full path of the folder that contains the
GroupId NVARCHAR2(512) nvarchar(512) SID of the associated group in Active
LUNId NVARCHAR2(512) nvarchar(512) ID of the LUN that stores the associated
MachineId NVARCHAR2(512) nvarchar(512) ID of the associated physical or virtual
Module NVARCHAR2(512) nvarchar(512) View component that raised the event. For
ModuleAndEventText NVARCHAR2(512) nvarchar(512) Event message with values substituted for
Node NVARCHAR2(512) nvarchar(512) Name of the virtual device node.
Severity NVARCHAR2(512) nvarchar(512) Severity level. For example, INFO,
Source NVARCHAR2(512) nvarchar(512) Identifier for the source of the event.
ThinAppId NVARCHAR2(512) nvarchar(512) ID of the associated ThinApp™ object.
Time TIMESTAMP datetime Time at which the event occurred,
UserDiskPathId NVARCHAR2(512) nvarchar(512) ID of the user disk.
UserSID NVARCHAR2(512) nvarchar(512) SID of the associated user in Active
OTE It is possible for events to be lost if you restart View Connection Server instances while the event
Oracle Data Type
SQLServer Data Type Description
0 = false
1 = true
the message catalog. For example, BROKER_USERLOGGEDIN.
associated object.
Directory.
object.
machine.
example, Admin, Broker, Tunnel, Framework, Client, or Agent.
attribute parameters.
WARNING, ERROR, AUDIT_SUCCESS, AUDIT_FAIL.
measured from the epoch (January 1, 1970).
Directory.
12 VMware, Inc.
Chapter 2 Integrating with the Event Database
Tab le 2-3 shows the schema for the event_data and event_data_historical tables.
Tabl e 2-3. Schema for the event_data and event_data_historical Tables
Oracle
Column Name
BooleanValue SMALLINT tinyint Value of a Boolean attribute.
EventID INTEGER int Unique primary key for the event.
IntValue INTEGER int Value of an integer attribute.
Name NVARCHAR2(512) nvarchar(512) Attribute name (for example,
StrValue NVARCHAR2(512) nvarchar(512) Value of a string attribute. For other types
TimeValue TIMESTAMP datetime Value of a date and time attribute.
Type SMALLINT tinyint The data type of the attribute.
Data Type
SQLServer Data Type Description
0 = false
1 = true
UserDisplayName).
of attributes, this column contains an interpretation of the data type as a string.
0 = StrValue
1 = IntValue
2 = TimeValue
3 = BooleanValue

Connection Broker Events

Tab le 2-4 shows the event types for the connection broker.
The BROKER_DAILY_MAX_DESKTOP_SESSIONS event reports the maximum number of concurrent desktop sessions over a 24-hour period. If a user runs multiple desktop sessions concurrently, each desktop session is counted separately. The BROKER_DAILY_MAX_APP_USERS event reports the maximum number of concurrent application users over a 24-hour period. If a user runs multiple applications concurrently, the user is counted only once. Short-lived sessions might not be included in the count because the sampling is performed every five minutes.
The BROKER_VC_DISABLED and BROKER_VC_ENABLED events report the state of of the vCenter driver that View uses to track a vCenter Server. The BROKER_VC_STATUS_* events report the state of a vCenter Server.
Tabl e 2-4. Connection Broker Events
EventType Severity ModuleAndEventText
BROKER_AGENT_OFFLINE WARNING The agent running on machine
BROKER_AGENT_ONLINE WARNING The agent running on machine
BROKER_APPLICATION_LAUNCH_FAILURE ERROR Unable to launch from Pool ${PoolId} for
BROKER_APPLICATION_MISSING WARNING At least ${ApplicationMissingCount}
${MachineName} has not responded to queries, marking it as offline
${MachineName} is responding again, but did not send a startup message
user ${UserDisplayName}: The broker encountered an error while processing the request, please contact support for assistance.
applications, including ${ApplicationExecutable}, are not installed on ${MachineName} in Pool ${PoolId}
VMware, Inc. 13
View Integration
Tabl e 2-4. Connection Broker Events (Continued)
EventType Severity ModuleAndEventText
BROKER_APPLICATION_NOT_ENTITLED AUDIT_FAIL Unable to launch from Pool ${PoolId} for
BROKER_APPLICATION_PROTOCOL_NOT_ SUPPORTED
BROKER_APPLICATION_REQUEST INFO User ${UserDisplayName} requested
BROKER_APPLICATION_SESSION_REQUEST INFO User ${UserDisplayName} requested an
BROKER_DAILY_MAX_DESKTOP_SESSIONS INFO ${Time}: Over the past 24 hours, the
BROKER_DAILY_MAX_APP_USERS INFO ${Time}: Over the past 24 hours, the
BROKER_DESKTOP_LAUNCH_FAILURE ERROR Unable to launch from Pool ${DesktopId}
BROKER_DESKTOP_NOT_ENTITLED AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_DESKTOP_PROTOCOL_NOT_ SUPPORTED
BROKER_DESKTOP_REQUEST INFO User ${UserDisplayName} requested Pool
BROKER_EVENT_HANDLING_STARTED INFO Broker ${BrokerName} has started
BROKER_EVENT_HANDLING_STOPPED INFO ${BrokerName} has stopped handling
BROKER_MACHINE_ALLOCATED INFO User ${UserDisplayName} requested Pool
BROKER_MACHINE_ASSIGNED_ UNAVAILABLE
BROKER_MACHINE_CANNOT_CONNECT AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_MACHINE_CONFIGURED_VIDEO_ SETTINGS
BROKER_MACHINE_NOT_READY WARNING Unable to launch from Pool ${DesktopId}
BROKER_MACHINE_OPERATION_DELETED INFO machine ${MachineName} has been
user ${UserDisplayName}: User is not entitled to this Pool
AUDIT_FAIL Unable to launch from Pool ${PoolId} for
user ${UserDisplayName}: Requested protocol ${ProtocolId} is not supported
Application ${ApplicationId}
application session from Pool ${PoolId}
maximum number of concurrent desktop sessions was ${UserCount}.
maximum number of users with concurrent application sessions was ${UserCount}.
for user ${UserDisplayName}: The broker encountered an error while processing the request, please contact support for assistance
for user ${UserDisplayName}: User is not entitled to this Pool
AUDIT_FAIL Unable to launch from Pool ${DesktopId}
for user ${UserDisplayName}: Requested protocol ${ProtocolId} is not supported
${DesktopId}
handling events
events
${DesktopId}, allocated machine ${MachineName}
AUDIT_FAIL Unable to launch from Pool ${DesktopId}
for user ${UserDisplayName}: Assigned machine ${MachineName} is unavailable
for user ${UserDisplayName}: Failed to connect to Machine ${MachineName} using ${ProtocolId}
INFO Successfully configured video settings for
Machine VM ${MachineName} in Pool ${DesktopId}
for user ${UserDisplayName}: Machine ${MachineName} is not ready to accept connections
deleted
14 VMware, Inc.
Chapter 2 Integrating with the Event Database
Tabl e 2-4. Connection Broker Events (Continued)
EventType Severity ModuleAndEventText
BROKER_MACHINE_PROTOCOL_NOT_ SUPPORTED
BROKER_MACHINE_PROTOCOL_ UNAVAILABLE
BROKER_MACHINE_REJECTED_SESSION WARNING Unable to launch from Pool ${DesktopId}
BROKER_MACHINE_SESSION_TIMEDOUT WARNING Session for user ${UserDisplayName}
BROKER_MULTIPLE_DESKTOPS_FOR_KIOSK_ USER
BROKER_POOL_CANNOT_ASSIGN AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_POOL_COMANAGER_REQUIRED AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_POOL_EMPTY AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_POOL_NO_MACHINE_ASSIGNED AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_POOL_NO_RESPONSES AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_POOL_OVERLOADED AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_POOL_POLICY_VIOLATION AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_POOL_PROTOCOL_NOT_ SUPPORTED
BROKER_POOL_PROTOCOL_UNAVAILABLE AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_POOL_TUNNEL_NOT_SUPPORTED AUDIT_FAIL Unable to launch from Pool ${DesktopId}
BROKER_PROVISIONING_ERROR_CONFIG_ CLEARED
AUDIT_FAIL Unable to launch from Pool ${DesktopId}
for user ${UserDisplayName}: Machine ${MachineName} does not support protocol ${ProtocolId}
AUDIT_FAIL Unable to launch from Pool ${DesktopId}
for user ${UserDisplayName}: Machine ${MachineName} did not report protocol ${ProtocolId} as ready
for user ${UserDisplayName}: Machine ${MachineName} rejected the start session request
timed out
WARNING User ${UserDisplayName} is entitled to
multiple desktop pools
for user ${UserDisplayName}: There are no machines available to assign the user to
for user ${UserDisplayName}: No co-management availability for protocol ${ProtocolId}
for user ${UserDisplayName}: The Desktop Pool is empty
for user ${UserDisplayName}: No machine assigned to this user
for user ${UserDisplayName}: No machines in the Desktop Pool are responsive
for user ${UserDisplayName}: All responding machines are currently in use
for user ${UserDisplayName}: This Desktop Pool does not allow online sessions
AUDIT_FAIL Unable to launch from Pool ${DesktopId}
for user ${UserDisplayName}: There were no machines available that support protocol ${ProtocolId}
for user ${UserDisplayName}: There were no machines available that reported protocol ${ProtocolId} as ready
for user ${UserDisplayName}: Tunnelling is not supported for protocol ${ProtocolId}
INFO The previously reported configuration
problem is no longer present on Pool ${DesktopId}
VMware, Inc. 15
View Integration
Tabl e 2-4. Connection Broker Events (Continued)
EventType Severity ModuleAndEventText
BROKER_PROVISIONING_ERROR_CONFIG_ SET
BROKER_PROVISIONING_ERROR_DISK_ CLEARED
BROKER_PROVISIONING_ERROR_DISK_LC_ RESERVATION_CLEARED
BROKER_PROVISIONING_ERROR_DISK_LC_ RESERVATION_SET
BROKER_PROVISIONING_ERROR_DISK_SET WARNING Provisioning error occurred on Pool
BROKER_PROVISIONING_ERROR_LICENCE_ CLEARED
BROKER_PROVISIONING_ERROR_LICENCE_ SET
BROKER_PROVISIONING_ERROR_ NETWORKING_CLEARED
BROKER_PROVISIONING_ERROR_ NETWORKING_SET
BROKER_PROVISIONING_ERROR_RESOURCE_ CLEARED
BROKER_PROVISIONING_ERROR_RESOURCE_ SET
BROKER_PROVISIONING_ERROR_TIMEOUT_ CUSTOMIZATION_CLEARED
BROKER_PROVISIONING_ERROR_TIMEOUT_ CUSTOMIZATION_SET
BROKER_PROVISIONING_ERROR_VM_ CLONING
BROKER_PROVISIONING_ERROR_VM_ CUSTOMIZATION_ERROR
BROKER_PROVISIONING_ERROR_VM_ CUSTOMIZATION_NETWORKING
BROKER_PROVISIONING_ERROR_VM_ CUSTOMIZATION_TIMEOUT
BROKER_PROVISIONING_SVI_ERROR_ COMPOSER_AGENT_INIT_FAILED
ERROR Provisioning error occurred on Pool
${DesktopId} because of a configuration problem
INFO The previously reported disk problem is no
longer present on Pool ${DesktopId}
INFO The previously reported error due to
available free disk space reserved for linked clones is no longer present on Pool ${DesktopId}
ERROR Provisioning error occurred on Pool
${DesktopId} because available free disk space is reserved for linked clones
${DesktopId} because of a disk problem
INFO The previously reported licensing problem
is no longer present on Pool ${DesktopId}
ERROR Provisioning error occurred on Pool
${DesktopId} because of a licensing problem
INFO The previously reported networking
problems with a View Agent are no longer present on Pool ${DesktopId}
ERROR Provisioning error occurred on Pool
${DesktopId} because of a networking problem with a View Agent
INFO The previously reported resource problem
is no longer present on Pool ${DesktopId}
ERROR Provisioning error occurred on Pool
${DesktopId} because of a resource problem
INFO The previously reported timeout while
customizing is no longer present on Pool ${DesktopId}
ERROR Provisioning error occurred on Pool
${DesktopId} because of a timeout while customizing
ERROR Provisioning error occurred for Machine
${MachineName}: Cloning failed for Machine
ERROR Provisioning error occurred for Machine
${MachineName}: Customization failed for Machine
ERROR Provisioning error occurred for Machine
${MachineName}: Customization error due to no network communication between the View agent and Connection Server
ERROR Provisioning error occurred for Machine
${MachineName}: Customization operation timed out
ERROR Provisioning error occurred for Machine
${MachineName}: View Composer agent initialization failed
16 VMware, Inc.
Chapter 2 Integrating with the Event Database
Tabl e 2-4. Connection Broker Events (Continued)
EventType Severity ModuleAndEventText
BROKER_PROVISIONING_SVI_ERROR_ RECONFIG_FAILED
BROKER_PROVISIONING_SVI_ERROR_REFIT_ FAI LED
BROKER_PROVISIONING_SVI_ERROR_ REMOVING_VM
BROKER_PROVISIONING_VERIFICATION_ FAILED_USER_ASSIGNED
BROKER_PROVISIONING_VERIFICATION_ FAILED_USER_CANNOT_BE_ASSIGNED
BROKER_PROVISIONING_VERIFICATION_ FAILED_VMNAME_IN_USE
BROKER_SECURITY_SERVER_ADD_FAILED AUDIT_FAIL Failed to add security server
BROKER_SECURITY_SERVER_ADD_FAILED_ PASSWORD_EXPIRED
BROKER_SECURITY_SERVER_ADD_FAILED_ PASSWORD_INCORRECT
BROKER_SECURITY_SERVER_ADD_FAILED_ PASSWORD_NOT_SET
BROKER_SECURITY_SERVER_ADDED AUDIT_SUCCESS Security server ${SecurityServerId} added
BROKER_SVI_ARCHIVE_UDD_FAILED AUDIT_FAIL Failed to archive user data disk
BROKER_SVI_ARCHIVE_UDD_SUCCEEDED AUDIT_SUCCESS Archived user data disk ${UserDiskName}
BROKER_SVI_ATTACH_UDD_FAILED AUDIT_FAIL Failed to attach user data disk
BROKER_SVI_ATTACH_UDD_SUCCEEDED AUDIT_SUCCESS Attached user data disk ${UserDiskName}
BROKER_SVI_DETACH_UDD_FAILED AUDIT_FAIL Failed to detach user data disk
BROKER_SVI_DETACH_UDD_SUCCEEDED AUDIT_SUCCESS Detached user data disk ${UserDiskName}
BROKER_USER_AUTHFAILED_ACCOUNT_ DISABLED
BROKER_USER_AUTHFAILED_ACCOUNT_ EXPIRED
BROKER_USER_AUTHFAILED_ACCOUNT_ LOCKED_OUT
ERROR Provisioning error occurred for Machine
${MachineName}: Reconfigure operation failed
ERROR Provisioning error occurred for Machine
${MachineName}: Refit operation ${SVIOperation} failed
ERROR Provisioning error occurred for Machine
${MachineName}: Unable to remove Machine from inventory
WARNING Provisioning verification failed for
Machine ${MachineName}: User is already assigned to a machine in Pool ${DesktopId}
WARNING Provisioning verification failed for
Machine ${MachineName}: A user cannot be assigned because Pool ${DesktopId} is not persistent
WARNING Provisioning verification failed for
Machine ${MachineName}: A machine already exists in Pool ${DesktopId} with name ${MachineName}
${SecurityServerId}
AUDIT_FAIL Failed to add security server
${SecurityServerId}, pairing password expired
AUDIT_FAIL Failed to add security server
${SecurityServerId}, pairing password incorrect
AUDIT_FAIL Failed to add security server
${SecurityServerId}, pairing password not set
${UserDiskName} to location ${SVIPath}
to location ${SVIPath}
${UserDiskName} to VM ${SVIVMID}
to VM ${SVIVMID}
${UserDiskName} from VM ${SVIVMID}
from VM ${SVIVMID}
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because the account is disabled
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because the account has expired
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because the account is locked out
VMware, Inc. 17
View Integration
Tabl e 2-4. Connection Broker Events (Continued)
EventType Severity ModuleAndEventText
BROKER_USER_AUTHFAILED_ACCOUNT_ RESTRICTION
BROKER_USER_AUTHFAILED_BAD_USER_ PASSWORD
BROKER_USER_AUTHFAILED_GENERAL AUDIT_FAIL User ${UserDisplayName} failed to
BROKER_USER_AUTHFAILED_NO_LOGON_ SERVERS
BROKER_USER_AUTHFAILED_PASSWORD_ EXPIRED
BROKER_USER_AUTHFAILED_PASSWORD_ MUST_CHANGE
BROKER_USER_AUTHFAILED_SECUREID_ ACCESS_DENIED
BROKER_USER_AUTHFAILED_SECUREID_ NEWPIN_REJECTED
BROKER_USER_AUTHFAILED_SECUREID_ WRONG_NEXTTOKEN
BROKER_USER_AUTHFAILED_SECUREID_ WRONG_STATE
BROKER_USER_AUTHFAILED_TIME_ RESTRICTION
BROKER_USER_NOT_AUTHORIZED AUDIT_FAIL User ${UserDisplayName} has
BROKER_USER_NOT_ENTITLED AUDIT_FAIL User ${UserDisplayName} has
BROKER_USERCHANGEDPASSWORD AUDIT_SUCCESS Password for ${UserDisplayName} has
BROKER_USERLOGGEDIN AUDIT_SUCCESS User ${UserDisplayName} has logged in
BROKER_USERLOGGEDOUT AUDIT_SUCCESS User ${UserDisplayName} has logged out
BROKER_VC_DISABLED INFO vCenter at address ${VCAddress} has been
BROKER_VC_ENABLED INFO vCenter at address ${VCAddress} has been
BROKER_VC_STATUS_CHANGED_CANNOT_ LOGIN
BROKER_VC_STATUS_CHANGED_DOWN INFO vCenter at address ${VCAddress} is down
BROKER_VC_STATUS_CHANGED_INVALID_ CREDENTIALS
BROKER_VC_STATUS_CHANGED_NOT_YET_ CONNECTED
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because of an account restriction
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because of a bad username or password
authenticate
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because there are no logon servers
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because the password has expired
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because the password must change
AUDIT_FAIL SecurID access denied for user
${UserDisplayName}
AUDIT_FAIL SecurID access denied for user
${UserDisplayName} because new pin was rejected
AUDIT_FAIL SecurID access denied for user
${UserDisplayName} because wrong next token entered
AUDIT_FAIL SecurID access denied for user
${UserDisplayName} because of incorrect state
AUDIT_FAIL User ${UserDisplayName} failed to
authenticate because of a time restriction
authenticated, but is not authorized to perform the operation
authenticated, but is not entitled to any Pools
been changed by the user
temporarily disabled
enabled
WARNING Cannot log in to vCenter at address
${VCAddress}
WARNING vCenter at address ${VCAddress} has
invalid credentials
INFO Not yet connected to vCenter at address
${VCAddress}
18 VMware, Inc.
Tabl e 2-4. Connection Broker Events (Continued)
EventType Severity ModuleAndEventText
BROKER_VC_STATUS_CHANGED_ RECONNECTING
BROKER_VC_STATUS_CHANGED_UNKNOWN WARNING The status of vCenter at address
BROKER_VC_STATUS_CHANGED_UP INFO vCenter at address ${VCAddress} is up

View Agent Events

Tab le 2-5 shows the event types for View Agent.
Tabl e 2-5. View Agent Events
EventType Severity ModuleAndEventText
AGENT_CONNECTED INFO User ${UserDisplayName} has logged in to a new session on
AGENT_DISCONNECTED INFO User ${UserDisplayName} has disconnected from machine
AGENT_ENDED INFO User ${UserDisplayName} has logged off machine
AGENT_PENDING INFO The agent running on machine ${MachineName} has accepted an
AGENT_PENDING_ EXPIRED
AGENT_RECONFIGURED INFO Machine ${MachineName} has been successfully reconfigured
AGENT_RECONNECTED INFO User ${UserDisplayName} has reconnected to machine
AGENT_RESUME INFO The agent on machine ${MachineName} sent a resume message
AGENT_SHUTDOWN INFO The agent running on machine ${MachineName} has shut down,
AGENT_STARTUP INFO The agent running on machine ${MachineName} has contacted the
AGENT_SUSPEND INFO The agent on machine ${MachineName} sent a suspend message
Chapter 2 Integrating with the Event Database
INFO Reconnecting to vCenter at address
${VCAddress}
${VCAddress} is unknown
machine ${MachineName}
${MachineName}
${MachineName}
allocated session for user ${UserDisplayName}
WARNING The pending session on machine ${MachineName} for user
${UserDisplayName} has expired
${MachineName}
this machine will be unavailable
connection server and sent a startup message

View Administrator Events

Tab le 2-6 shows the event types for View Administrator.
Tabl e 2-6. View Administrator Events
EventType Severity ModuleAndEventText
ADMIN_ADD_DESKTOP_ENTITLEMENT AUDIT_SUCCESS ${EntitlementDisplay} was entitled to Pool
ADMIN_ADD_LICENSE AUDIT_SUCCESS ${UserDisplayName} added license
ADMIN_ADD_LICENSE_FAILED AUDIT_FAIL ${UserDisplayName} failed to add license
ADMIN_ADD_PM AUDIT_SUCCESS ${UserDisplayName} added physical
ADMIN_ADD_PM_FAILED AUDIT_FAIL ${UserDisplayName} failed to add physical
VMware, Inc. 19
${DesktopId} by ${UserDisplayName}
machine ${MachineName} to Pool ${DesktopId}
machine ${MachineName} to Pool ${DesktopId}
View Integration
Tabl e 2-6. View Administrator Events (Continued)
EventType Severity ModuleAndEventText
ADMIN_ADD_THINAPP_ENTITLEMENT AUDIT_SUCCESS Application ${ThinAppDisplayName} was
ADMIN_ADD_THINAPP_ENTITLEMENT_ FAI LED
ADMIN_ADD_THINAPP_POOL_ ENTITLEMENT
ADMIN_ADMINSTRATOR_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove all
ADMIN_ADMINSTRATOR_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed all
ADMIN_CONNECTION_BROKER_UPDATE_ FAI LED
ADMIN_CONNECTION_BROKER_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated connection
ADMIN_CONNECTION_SERVER_BACKUP_ FAI LED
ADMIN_CONNECTION_SERVER_BACKUP_ INITIATED
ADMIN_CONNECTION_SERVER_DISABLE_ FAI LED
ADMIN_CONNECTION_SERVER_DISABLED AUDIT_SUCCESS ${UserDisplayName} is disabling
ADMIN_CONNECTION_SERVER_ENABLE_ FAI LED
ADMIN_CONNECTION_SERVER_ENABLED AUDIT_SUCCESS ${UserDisplayName} is enabling
ADMIN_DATABASE_CONFIGURATION_ADD_ FAI LED
ADMIN_DATABASE_CONFIGURATION_ ADDED
ADMIN_DATABASE_CONFIGURATION_ DELETE_FAILED
ADMIN_DATABASE_CONFIGURATION_ DELETE_FAILED
ADMIN_DATABASE_CONFIGURATION_ UPDATE_FAILED
ADMIN_DATABASE_CONFIGURATION_ UPDATED
ADMIN_DEFAULT_DESKTOPPOOL_ASSIGN AUDIT_SUCCESS ${UserDisplayName} assigned Pool
ADMIN_DEFAULT_DESKTOPPOOL_ASSIGN_ FAI LED
ADMIN_DEFAULT_DESKTOPPOOL_ UNASSIGN
assigned to Desktop ${MachineName} by ${UserDisplayName}
AUDIT_FAIL ${UserDisplayName} failed to add
Application entitlement
AUDIT_SUCCESS Application ${ThinAppDisplayName} was
assigned to Pool ${DesktopId} by ${UserDisplayName}
permissions for Administrator ${AdminPermissionEntity}
permissions for Administrator ${AdminPermissionEntity}
AUDIT_FAIL ${UserDisplayName} failed to update
connection broker ${BrokerId}
broker ${BrokerId}: (${AttrChangeType}: ${AttrName} = ${AttrValue})
AUDIT_FAIL ${UserDisplayName} failed to initiate a
backup of connection broker ${BrokerId}
AUDIT_SUCCESS ${UserDisplayName} initiated a backup of
connection broker ${BrokerId}
AUDIT_FAIL ${UserDisplayName} failed to disable
connection broker ${BrokerId}
connection broker ${BrokerId}
AUDIT_FAIL ${UserDisplayName} failed to enable
connection broker ${BrokerId}
connection broker ${BrokerId}
AUDIT_FAIL ${UserDisplayName} failed to add
database configuration
AUDIT_SUCCESS ${UserDisplayName} has added database
configuration
AUDIT_FAIL ${UserDisplayName} failed to delete
database configuration
AUDIT_SUCCESS ${UserDisplayName} has deleted database
configuration
AUDIT_FAIL ${UserDisplayName} failed to update
database configuration
AUDIT_SUCCESS ${UserDisplayName} has updated
database configuration
${DesktopId} for default desktop to ${UserName}
AUDIT_FAIL ${UserDisplayName} failed to assign Pool
${DesktopId} for default desktop to ${UserName}
AUDIT_SUCCESS ${UserDisplayName} removed pool
assignment for default desktop to ${UserName}
20 VMware, Inc.
Chapter 2 Integrating with the Event Database
Tabl e 2-6. View Administrator Events (Continued)
EventType Severity ModuleAndEventText
ADMIN_DEFAULT_DESKTOPPOOL_ UNASSIGN_FAILED
ADMIN_DESKTOP_ADDED AUDIT_SUCCESS ${UserDisplayName} added Pool
ADMIN_DESKTOP_ASSIGN AUDIT_SUCCESS ${UserDisplayName} assigned Desktop
ADMIN_DESKTOP_ASSIGN_FAILED AUDIT_FAIL ${UserDisplayName} failed to assign
ADMIN_DESKTOP_EDITED AUDIT_SUCCESS ${UserDisplayName} edited Pool
ADMIN_DESKTOP_MAINTENANCE_MODE_ UPDATE_FAILED
ADMIN_DESKTOP_MAINTENANCE_MODE_ UPDATED
ADMIN_DESKTOP_UNASSIGN AUDIT_SUCCESS ${UserDisplayName} removed assignment
ADMIN_DESKTOP_UNASSIGN_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove
ADMIN_ENABLE_DESKTOP_FAILED AUDIT_FAIL ${UserDisplayName} failed to set Pool
ADMIN_ENABLE_DESKTOP_SUCCEEDED AUDIT_SUCCESS ${UserDisplayName} set Pool ${DesktopId}
ADMIN_ENABLED_DESKTOP_PROVISION_ FAI LED
ADMIN_ENABLED_DESKTOP_PROVISION_ SUCCEEDED
ADMIN_EVENT_CONFIGURATION_UPDATE_ FAI LED
ADMIN_EVENT_CONFIGURATION_UPDATED AUDIT_SUCCESS ${UserDisplayName} has updated global
ADMIN_FOLDER_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add folder
ADMIN_FOLDER_ADDED AUDIT_SUCCESS ${UserDisplayName} added folder
ADMIN_FOLDER_CHANGE_FAILED AUDIT_FAIL ${UserDisplayName} failed to change
ADMIN_FOLDER_CHANGED AUDIT_SUCCESS ${UserDisplayName} changed object
ADMIN_FOLDER_DELETE_FAILED AUDIT_FAIL ${UserDisplayName} failed to delete folder
ADMIN_FOLDER_DELETED AUDIT_SUCCESS ${UserDisplayName} deleted folder
ADMIN_GLOBAL_CONFIGURATION_ UPDATE_FAILED
AUDIT_FAIL ${UserDisplayName} failed to remove Pool
assignment for default desktop to ${UserName}
${DesktopId}
${MachineName} to ${UserName}
Desktop ${MachineName} to ${UserName}
${DesktopId} (${AttrChangeType}: ${AttrName} = ${AttrValue})
AUDIT_FAIL ${UserDisplayName} failed to update
desktop ${MachineName} to ${MaintenanceMode} maintenance mode
AUDIT_SUCCESS ${UserDisplayName} updated desktop
${MachineName} to ${MaintenanceMode} maintenance mode
for Desktop ${MachineName}
assignment for Desktop ${MachineName}
${DesktopId} to ${EnableStatus}
to ${EnableStatus}
AUDIT_FAIL ${UserDisplayName} failed to set
provisioning for Pool ${DesktopId} to ${EnableStatus}
AUDIT_SUCCESS ${UserDisplayName} set provisioning for
Pool ${DesktopId} to ${EnableStatus}
AUDIT_FAIL ${UserDisplayName} failed to update
event configuration
configuration
${AdminFolderName}
${AdminFolderName}
object ${ObjectID}(type=${ObjectType}) to folder ${AdminFolderName}
${ObjectID}(type=${ObjectType}) to folder ${AdminFolderName}
${AdminFolderName}
${AdminFolderName}
AUDIT_FAIL ${UserDisplayName} failed to update
global configuration
VMware, Inc. 21
View Integration
Tabl e 2-6. View Administrator Events (Continued)
EventType Severity ModuleAndEventText
ADMIN_GLOBAL_CONFIGURATION_ UPDATED
ADMIN_GLOBAL_POLICY_UPDATE_FAILED AUDIT_FAIL ${UserDisplayName} failed to update
ADMIN_GLOBAL_POLICY_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated global
ADMIN_PERFMON_CONFIGURATION_ UPDATE_FAILED
ADMIN_PERFMON_CONFIGURATION_ UPDATED
ADMIN_PERMISSION_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add
ADMIN_PERMISSION_ADDED AUDIT_SUCCESS ${UserDisplayName} added Permission to
ADMIN_PERMISSION_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove
ADMIN_PERMISSION_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed Permission
ADMIN_POOL_POLICY_UPDATE_FAILED AUDIT_FAIL ${UserDisplayName} failed to update Pool
ADMIN_POOL_POLICY_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated Pool
ADMIN_REMOVE_DESKTOP_ENTITLEMENT AUDIT_SUCCESS ${EntitlementDisplay} was unentitled from
ADMIN_REMOVE_DESKTOP_FAILED AUDIT_FAIL ${UserDisplayName} failed to removed
ADMIN_REMOVE_DESKTOP_SUCCEEDED AUDIT_SUCCESS ${UserDisplayName} removed Pool
ADMIN_REMOVE_THINAPP_ENTITLEMENT AUDIT_SUCCESS Application ${ThinAppDisplayName} was
ADMIN_REMOVE_THINAPP_ENTITLEMENT_ FAI LED
ADMIN_REMOVE_THINAPP_POOL_ ENTITLEMENT
ADMIN_RESET_THINAPP_STATE AUDIT_SUCCESS Application ${ThinAppDisplayName}
ADMIN_RESET_THINAPP_STATE_FAILED AUDIT_FAIL ${UserDisplayName} failed to reset
AUDIT_SUCCESS ${UserDisplayName} updated global
configuration (${AttrChangeType}: ${AttrName} = ${AttrValue})
global policies
policy (${AttrChangeType}: ${AttrName} = ${AttrValue})
AUDIT_FAIL ${UserDisplayName} failed to update
performance monitoring configuration
AUDIT_SUCCESS ${UserDisplayName} has updated
performance monitoring configuration
Permission to ${AdminPermissionEntity} with Role ${AdminRoleName} on Folder ${AdminFolderName}
${AdminPermissionEntity} with Role ${AdminRoleName} on Folder ${AdminFolderName}
Permission to ${AdminPermissionEntity} with Role ${AdminRoleName} on Folder ${AdminFolderName}
to ${AdminPermissionEntity} with Role ${AdminRoleName} on Folder ${AdminFolderName}
${DesktopId} policies
${DesktopId} policy (${AttrChangeType}: ${AttrName} = ${AttrValue})
Pool ${DesktopId} by ${UserDisplayName}
Pool ${DesktopId}
${DesktopId}
unassigned from Desktop ${MachineName} by ${UserDisplayName}
AUDIT_FAIL ${UserDisplayName} failed to remove
Application entitlement
AUDIT_SUCCESS Application ${ThinAppDisplayName} was
unassigned from Pool ${DesktopId} by ${UserDisplayName}
state are reset for Desktop ${DesktopDisplayName} by ${UserDisplayName}
Application state for ${ThinAppDisplayName}
22 VMware, Inc.
Chapter 2 Integrating with the Event Database
Tabl e 2-6. View Administrator Events (Continued)
EventType Severity ModuleAndEventText
ADMIN_ROLE_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add Role
ADMIN_ROLE_ADDED AUDIT_SUCCESS ${UserDisplayName} added Role
ADMIN_ROLE_PRIV_UPDATE_FAILED AUDIT_FAIL ${UserDisplayName} failed to update Role
ADMIN_ROLE_PRIV_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated Role
ADMIN_ROLE_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove Role
ADMIN_ROLE_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed Role
ADMIN_ROLE_RENAME_FAILED AUDIT_FAIL ${UserDisplayName} failed to rename Role
ADMIN_ROLE_RENAMED AUDIT_SUCCESS ${UserDisplayName} renamed Role
ADMIN_SECURITY_SERVER_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add security
ADMIN_SECURITY_SERVER_ADDED AUDIT_SUCCESS ${UserDisplayName} added security server
ADMIN_SECURITY_SERVER_EDIT_FAILED AUDIT_FAIL ${UserDisplayName} failed to edit security
ADMIN_SECURITY_SERVER_EDITED AUDIT_SUCCESS ${UserDisplayName} edited security server
ADMIN_SECURITY_SERVER_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove
ADMIN_SECURITY_SERVER_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed security
ADMIN_SESSION_SENDMSG AUDIT_SUCCESS ${UserDisplayName} sent message
ADMIN_SESSION_SENDMSG_FAILED AUDIT_FAIL ${UserDisplayName} failed to send
ADMIN_SVI_ADD_DEPLOYMENT_GROUP_
AUDIT_FAIL Failed to add deployment group for
FAI LED
ADMIN_SVI_ADD_DEPLOYMENT_GROUP_
AUDIT_SUCCESS Added deployment group
SUCCEEDED
ADMIN_SVI_ADD_UDD_FAILED AUDIT_FAIL Failed to add user data disk
ADMIN_SVI_ADD_UDD_SUCCEEDED AUDIT_SUCCESS Added user data disk ${UserDiskName}
ADMIN_SVI_ADMIN_ADDED AUDIT_SUCCESS ${UserDisplayName} added SVI
${AdminRoleName} with privileges ${AdminPrivilegeName}
${AdminRoleName} with privileges ${AdminPrivilegeName}
${AdminRoleName} to privileges ${AdminPrivilegeName}
${AdminRoleName} to privileges ${AdminPrivilegeName}
${AdminRoleName}
${AdminRoleName}
${AdminRoleName} to ${AdminRoleNewName}
${AdminRoleName} to ${AdminRoleNewName}
server ${SecurityServerId}
${SecurityServerId}
server ${SecurityServerId}
${SecurityServerId} (${AttrChangeType}: ${AttrName} = ${AttrValue})
security server ${SecurityServerId}
server ${SecurityServerId}
(${SessionMessage}) to session (User ${UserName}, Desktop ${MachineName})
message (${SessionMessage}) to session ${ObjectId}
${SVIParentVM} : ${SVISnapshot}
${SVIDeploymentGroupID} for ${SVIParentVM} : ${SVISnapshot}
${UserDiskName}
QuickPrep domain ${SVIAdminFqdn}(${SVIAdminName})
VMware, Inc. 23
View Integration
Tabl e 2-6. View Administrator Events (Continued)
EventType Severity ModuleAndEventText
ADMIN_SVI_ADMIN_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed SVI
ADMIN_SVI_ADMIN_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated SVI
ADMIN_SVI_ATTACH_UDD_FAILED AUDIT_FAIL Failed to request attach user data disk
ADMIN_SVI_ATTACH_UDD_SUCCEEDED AUDIT_SUCCESS Requested attach user data disk
ADMIN_SVI_DELETE_UDD_FAILED AUDIT_FAIL Failed to delete user data disk
ADMIN_SVI_DELETE_UDD_SUCCEEDED AUDIT_SUCCESS Deleted user data disk ${UserDiskName}
ADMIN_SVI_DETACH_UDD_FAILED AUDIT_FAIL Failed to request detach user data disk
ADMIN_SVI_DETACH_UDD_SUCCEEDED AUDIT_SUCCESS Requested detach user data disk
ADMIN_SVI_REBALANCE_VM_FAILED AUDIT_FAIL Failed to rebalance VM ${SVIVMID}
ADMIN_SVI_REBALANCE_VM_SUCCEEDED AUDIT_SUCCESS Rebalanced VM ${SVIVMID}
ADMIN_SVI_REFRESH_VM_FAILED AUDIT_FAIL Failed to refresh VM ${SVIVMID}
ADMIN_SVI_REFRESH_VM_SUCCEEDED AUDIT_SUCCESS Refreshed VM ${SVIVMID}
ADMIN_SVI_RESYNC_VM_FAILED AUDIT_FAIL Failed to resync VM ${SVIVMID} to
ADMIN_SVI_RESYNC_VM_SUCCEEDED AUDIT_SUCCESS Resyncd VM ${SVIVMID} to deployment
ADMIN_SVI_UPDATE_POOL_DEPLOYMENT_ GROUP_FAILED
ADMIN_SVI_UPDATE_POOL_DEPLOYMENT_ GROUP_SUCCEEDED
ADMIN_SVI_UPDATE_UDD_FAILED AUDIT_FAIL Failed to update user data disk
ADMIN_SVI_UPDATE_UDD_SUCCEEDED AUDIT_SUCCESS Set user data disk ${UserDiskName} pool
ADMIN_THINAPP_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add
ADMIN_THINAPP_ADDED AUDIT_SUCCESS ${UserDisplayName} added Application
ADMIN_THINAPP_DESKTOP_AVAILABLE AUDIT_SUCCESS Application ${ThinAppDisplayName} is
ADMIN_THINAPP_DESKTOP_REMOVED AUDIT_SUCCESS Application ${ThinAppDisplayName} has
ADMIN_THINAPP_EDITED AUDIT_SUCCESS ${UserDisplayName} edited Application
ADMIN_THINAPP_FAILED_DESKTOP_ DELIVERY
QuickPrep domain (id=${SVIAdminID})
QuickPrep domain ${SVIAdminFqdn}(${SVIAdminName})
${UserDiskName} to VM ${SVIVMID}
${UserDiskName} to VM ${SVIVMID}
${UserDiskName}
${UserDiskName} from VM ${SVIVMID}
${UserDiskName} from VM ${SVIVMID}
deployment group ${SVIDeploymentGroupID}
group ${SVIDeploymentGroupID}
AUDIT_FAIL Failed to update pool ${DesktopId} to
deployment group ${SVIDeploymentGroupID}
AUDIT_SUCCESS Updated pool ${DesktopId} to deployment
group ${SVIDeploymentGroupID}
${UserDiskName}
to ${DesktopId} and user to ${UserName}
Application ${ThinAppDisplayName}
${ThinAppDisplayName}
now available on Desktop ${DesktopDisplayName}
been removed from Desktop ${DesktopDisplayName}
${ThinAppDisplayName}
AUDIT_FAIL Failed to deliver Application
${ThinAppDisplayName} to Desktop ${DesktopDisplayName}
24 VMware, Inc.
Chapter 2 Integrating with the Event Database
Tabl e 2-6. View Administrator Events (Continued)
EventType Severity ModuleAndEventText
ADMIN_THINAPP_FAILED_DESKTOP_ REMOVAL
ADMIN_THINAPP_GROUP_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add
ADMIN_THINAPP_GROUP_ADDED AUDIT_SUCCESS ${UserDisplayName} added Application
ADMIN_THINAPP_GROUP_EDIT_FAILED AUDIT_FAIL ${UserDisplayName} failed to edit
ADMIN_THINAPP_GROUP_EDITED AUDIT_SUCCESS ${UserDisplayName} edited Application
ADMIN_THINAPP_GROUP_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove
ADMIN_THINAPP_GROUP_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed Application
ADMIN_THINAPP_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove
ADMIN_THINAPP_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed Application
ADMIN_THINAPP_REPO_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add
ADMIN_THINAPP_REPO_ADDED AUDIT_SUCCESS ${UserDisplayName} added Repository
ADMIN_THINAPP_REPO_EDIT_FAILED AUDIT_FAIL ${UserDisplayName} failed to edit
ADMIN_THINAPP_REPO_EDITED AUDIT_SUCCESS ${UserDisplayName} edited Repository
ADMIN_THINAPP_REPO_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed Repository
ADMIN_UNREGISTER_PM AUDIT_SUCCESS ${UserDisplayName} unregistered
ADMIN_UNREGISTER_PM_FAILED AUDIT_FAIL ${UserDisplayName} fails to unregister
ADMIN_USER_INFO_UPDATE_FAILED AUDIT_FAIL ${UserDisplayName} failed to update user
ADMIN_USER_INFO_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated user info
ADMIN_USER_POLICY_DELETE_FAILED AUDIT_FAIL ${UserDisplayName} failed to delete Pool
AUDIT_FAIL Failed to remove Application
${ThinAppDisplayName} from Desktop ${DesktopDisplayName}
Application Template ${ThinAppGroupName}
Template ${ThinAppGroupName} with Applications ${ThinAppGroupApplications}
Application Template ${ThinAppGroupName}
Template ${ThinAppGroupName} with Applications ${ThinAppGroupApplications}
Application Template ${ThinAppGroupName}
Template ${ThinAppGroupName}
Application ${ThinAppDisplayName}
${ThinAppDisplayName}
Repository ${ThinAppRepositoryName}, path ${ThinAppRepositoryPath}
${ThinAppRepositoryName}, path ${ThinAppRepositoryPath}
Repository ${ThinAppRepositoryName}, path ${ThinAppRepositoryPath}
${ThinAppRepositoryName}, path ${ThinAppRepositoryPath}
${ThinAppRepositoryName}
physical machine ${MachineName})
physical machine ${MachineName})
info with AD server for ${UserName}
with AD server for ${UserName}
${DesktopId} override policies for user ${UserName}
VMware, Inc. 25
View Integration
Tabl e 2-6. View Administrator Events (Continued)
EventType Severity ModuleAndEventText
ADMIN_USER_POLICY_DELETED AUDIT_SUCCESS ${UserDisplayName} deleted Pool
ADMIN_USER_POLICY_UPDATE_FAILED AUDIT_FAIL ${UserDisplayName} failed to update Pool
ADMIN_USER_POLICY_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated Pool
ADMIN_USERLOGGEDIN AUDIT_SUCCESS User ${UserDisplayName} has logged in to
ADMIN_USERLOGGEDOUT AUDIT_SUCCESS User ${UserDisplayName} has logged out
ADMIN_VC_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add VC
ADMIN_VC_ADDED AUDIT_SUCCESS ${UserDisplayName} added VC server
ADMIN_VC_EDITED AUDIT_SUCCESS ${UserDisplayName} edited VC server
ADMIN_VC_LICINV_ALARM_DISABLED AUDIT_SUCCESS Alarm on VC server ${VCAddress} for
ADMIN_VC_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove VC
ADMIN_VC_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed VC server
${DesktopId} override policy for user ${UserName} (${AttrChangeType}: ${AttrName} = ${AttrValue})
${DesktopId} policies for user ${UserName}
${DesktopId} policy for user ${UserName} (${AttrChangeType}: ${AttrName} = ${AttrValue})
View Administrator
from View Administrator
server ${VCAddress}
${VCAddress}
${VCAddress} (${AttrChangeType}: ${AttrName} = ${AttrValue})
License Inventory monitoring was disabled as all Hosts have desktop licenses
server ${VCAddress}
${VCAddress}

Event Message Attributes

Tab le 2-7 shows the attributes that ModuleAndEventText messages use. To determine the data type of an
attribute, you can examine the value of the Type column in the event_data or event_data_historical table.
Tabl e 2-7. Attributes Used with ModuleAndEventText Messages
Attribute Name Description
AdminFolderName Name of a folder requiring privileged access.
AdminPermissionEntity Name of an object requiring privileged access.
AdminPrivilegeName Name of an administrative privilege.
AdminRoleName Name of an administrative role.
AdminRoleNewName New name of an administrative role.
AttrChangeType Type of change that was applied to a generic attribute.
AttrName Name of a generic attribute.
AttrValue Value of a generic attribute.
BrokerId Identifier of a View Connection Server instance.
BrokerName Name of a View Connection Server instance.
DesktopDisplayName Display name of a desktop pool.
DesktopId Identifier of a desktop pool.
26 VMware, Inc.
Chapter 2 Integrating with the Event Database
Tabl e 2-7. Attributes Used with ModuleAndEventText Messages (Continued)
Attribute Name Description
EntitlementDisplay Display name of a desktop entitlement.
MachineId Identifier of a physical or virtual machine.
MachineName Name of a physical or virtual machine.
MaintenanceMode Maintenance mode state.
ObjectID Identifier of an inventory object.
ObjectType Type of an inventory object.
PolicyDisplayName Display name of a policy.
PolicyObject Identifier of a policy object.
PolicyValue Value of a policy object.
ProtocolId Identifier of a display protocol.
SecurityServerId Identifier of a security server.
SVIAdminFqdn FQDN of a QuickPrep domain.
SVIAdminID Identifier of a QuickPrep domain.
SVIAdminName Name of a QuickPrep domain.
SVIDeploymentGroupID Identifier of a View Composer deployment group.
SVIOperation Name of a View Composer operation.
SVIParentVM Parent virtual machine in View Composer.
SVIPath Path of an object in View Composer.
SVISnapshot Snapshot in View Composer.
SVIVMID Identifier of a virtual machine in View Composer.
ThinAppDisplayName Display name of a ThinApp object.
ThinAppId Identifier of a ThinApp object.
ThinAppRepositoryName Name of a ThinApp repository.
ThinAppRepositoryPath Path of a ThinApp repository.
Time Date and time value.
UserCount Maximum number of desktop users over a 24-hour period.
UserDiskName Name of a user data disk.
UserDisplayName User name in the form DOMAIN\username.
UserName Name of a user in Active Directory.
VCAddress URL of a vCenter Server.
VMware, Inc. 27
View Integration

Sample Database Queries and Views

NOTE Replace the dbo.VE_ prefix in the examples with the appropriate prefix for your event database server.
Display all error events from the event_historical table.
CREATE VIEW error_events AS ( SELECT ev.EventID, ev.Time, ev.Module, ev.EventType, ev.ModuleAndEventText FROM dbo.VE_event_historical AS ev WHERE ev.Severity = ‘ERROR’ );
Display all warning events from the event_historical table.
CREATE VIEW warning_events AS ( SELECT ev.EventID, ev.Time, ev.Module, ev.EventType, ev.ModuleAndEventText FROM dbo.VE_event_historical AS ev WHERE ev.Severity = ‘WARNING’ );
List all recent events that are associated with the user fred in the domain MYDOM.
CREATE VIEW user_fred_events AS ( SELECT ev.EventID, ev.Time, ev.Module, ev.EventType, ev.Severity, ev.Acknowledged FROM dbo.VE_event_historical AS ev,
dbo.VE_event_data_historical AS ed
WHERE ev.EventID = ed.EventID AND ed.Name = 'UserDisplayName' AND ed.StrValue =
);
List all recent events where the agent on a machine shut down.
‘MYDOM\fred’
CREATE VIEW agent_shutdown_events AS ( SELECT ev.EventID, ev.Time, ed.StrValue FROM dbo.VE_event_historical AS ev,
WHERE ev.EventID = ed.EventID AND ev.EventType = ‘AGENT_SHUTDOWN’ AND
);
dbo.VE_event_data_historical AS ed
ed.Name = ‘MachineName’
List all recent events where a desktop failed to launch because the desktop pool was empty.
CREATE VIEW desktop_launch_failure_events AS ( SELECT ev.EventID, ev.Time, ed1.StrValue, ed2.StrValue FROM dbo.VE_event_historical AS ev,
dbo.VE_event_data_historical AS ed1, dbo.VE_event_data_historical AS ed2
WHERE ev.EventID = ed1.EventID AND ev.EventID = ed2.EventID AND
ev.EventType = ‘BROKER_POOL_EMPTY’ AND ed1.Name = ‘UserDisplayName’ AND ed2.Name = ‘DesktopId’
);
List all recent events where an administrator removed a desktop pool.
CREATE VIEW desktop_pool_removed_events AS ( SELECT ev.EventID, ev.Time, ed1.StrValue, ed2.StrValue FROM dbo.VE_event_historical AS ev,
WHERE ev.EventID = ed1.EventID AND ev.EventID = ed2.EventID AND
);
dbo.VE_event_data_historical AS ed1, dbo.VE_event_data_historical AS ed2
ev.EventType = ‘ADMIN_DESKTOP_REMOVED’ AND ed1.Name = ‘UserDisplayName’ AND ed2.Name = ‘DesktopId’
28 VMware, Inc.
Loading...
+ 64 hidden pages