VMware View Manager 4.5 Integration Manual

Hide thumbs Also See for View Manager 4.5:
Table of Contents

Advertisement

VMware View Integration Guide
View 4.5
View Manager 4.5
View Composer 2.5
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-000376-00

Advertisement

Table of Contents
loading

Summary of Contents for VMware View Manager 4.5

  • Page 1 VMware View Integration Guide View 4.5 View Manager 4.5 View Composer 2.5 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.
  • Page 2 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.
  • Page 3: Table Of Contents

    Contents About This Book 5 Introduction 7 VMware View Components 7 Integration Interfaces to VMware View 8 Integrating with the Event Database 9 Event Database Tables and Schemas 9 Connection Broker Events 11 View Agent Events 17 View Administrator Events 17 View Transfer Server Events 25 Event Message Attributes 25 Sample Database Queries and Views 27 Using View PowerCLI 29 Introduction to View PowerCLI 29 Start the PowerShell Console with View PowerCLI Loaded 29 Displaying Help for a View PowerCLI cmdlet 30 Error When Piping and Specifying Objects at the Same Time 30 Escaping Characters in vCenter Pathnames 30 View PowerCLI Cmdlets 31 View Administrator, View PowerCLI Cmdlet, and vdmadmin Operations 33 View PowerCLI Cmdlet Parameters 35...
  • Page 4 VMware View Integration Guide Managing Remote Sessions 42 Managing Virtual Machines 42 Displaying Information About Physical Computers 43 Updating the Ownership of Machines 43 Displaying Information About Events 43 Managing the Global Configuration of VMware View 43 Managing View Licenses 44 Customizing LDAP Data 45 LDAP Configuration Data 45 Export LDAP Configuration Data 46 Modify LDAP Configuration Data 46 Import LDAP Configuration Data 49 Import LDAP Configuration Data Using the LDIFDE Command 50 Integrating with SCOM 51 View Management Packs 51 Name a View Connection Server Group 52 Import the View MPs 52 View Discovery Script 52 Run the Discovery Script 53...
  • Page 5: About This Book

    About This Book This guide describes how to integrate VMware 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 Manager.  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 Technical Publications Glossary VMware Technical Publications provides a glossary of terms that might be unfamiliar to you. For definitions  of terms as they are used in VMware technical documentation go to http://www.vmware.com/support/pubs. Document Feedback VMware welcomes your suggestions for improving our documentation. If you have comments, send your  feedback to docfeedback@vmware.com Technical Support and Education Resources The following sections describe the technical support resources available to you. To access the current version  of this book and other books, go to http://www.vmware.com/support/pubs. Online and Telephone Support To use online support to submit technical support requests, view your product and contract information, and  register your products, go to http://www.vmware.com/support. Customers with appropriate support contracts should use telephone support for the fastest response on  priority 1 issues. Go to http://www.vmware.com/support/phone_support. Support Offerings To find out how VMware support offerings can help meet your business needs, go to ...
  • Page 6 VMware View Integration Guide VMware Professional Services VMware Education Services courses offer extensive hands‐on labs, case study examples, and course materials  designed to be used as on‐the‐job reference tools. Courses are available onsite, in the classroom, and live  online. For onsite pilot programs and implementation best practices, VMware Consulting Services provides  offerings to help you assess, plan, build, and manage your virtual environment. To access information about  education classes, certification programs, and consulting services, go to http://www.vmware.com/services.  VMware, Inc.
  • Page 7: Introduction

    Introduction   With VMware View™, system administrators can provision desktops and control user access to these  desktops. Client software connects users to virtual desktops running on VMware vSphere™, or to physical  systems running within your network environment. This chapter includes the following topics:  “VMware View Components” on page 7  “Integration Interfaces to VMware View” on page 8 VMware View Components You can use VMware View with VMware vCenter Server to create desktops from virtual machines that are  ® running on VMware  ESX™ servers and deploy these desktops to end users. In addition, VMware View uses  your existing Active Directory infrastructure for user authentication and management.  After you create a desktop, authorized end users can use Web‐based or locally installed client software to  securely connect to centralized virtual desktops, back‐end physical systems, or terminal servers. VMware 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 desktop, physical desktop, or  terminal server.  View Agent – a software service that is installed on all guest virtual machines, physical systems, or  terminal servers in order to allow them to be managed by VMware View. The agent provides features such  as connection monitoring, Virtual Printing, USB support, and single sign‐on.  View Client – a software application that communicates with View Connection Server to allow users to  connect to their desktops.  View Client with Local Mode – a version of View Client that is extended to support the local desktop  feature, which allows users to download virtual machines and use them on their local systems.  View Administrator – a Web application that allows View administrators to configure View Connection ...
  • Page 8: Integration Interfaces To Vmware View

    VMware View Integration Guide Integration Interfaces to VMware View You can use several interfaces to integrate VMware View with external applications.  Event database – you can configure VMware 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 VMware 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. VMware, Inc.
  • Page 9: Integrating With The Event Database

    “View Administrator Events” on page 17  “View Transfer Server Events” on page 25  “Event Message Attributes” on page 25  “Sample Database Queries and Views” on page 27 Event Database Tables and Schemas Table 2‐1 shows the tables that implement the event database in VMware View. Table 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 VMware View Installation Guide for more information.    VMware View does not restrict the growth of the event_historical and event_data_historical  MPORTANT tables. You must implement a space management policy for these tables. VMware, Inc.
  • Page 10 VMware View Integration Guide VMware View records details about events to all the database tables. After a certain period of time has elapsed  since writing an event record, VMware 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 VMware View Installation Guide for more information.    It is possible for events to be lost if you restart View Connection Server instances while the event  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 VMware View records in the event and event_ historical tables. VMware 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. Table 2‐2 shows the schema for the event and event_historical tables. Table 2-2. Schema for the event and event_historical Tables Oracle SQLServer Column Name Data Type Data Type Description Acknowledged SMALLINT tinyint Whether VMware View acknowledged the ...
  • Page 11: Connection Broker Events

    Table 2-4. Connection Broker Events EventType Severity ModuleAndEventText BROKER_AGENT_OFFLINE WARNING The agent running on machine  ${MachineName} has not responded to  queries, marking it as offline BROKER_AGENT_ONLINE WARNING The agent running on machine  ${MachineName} is responding again, but  did not send a startup message BROKER_DAILY_MAX_USERS INFO ${Time}: Over the past 24 hours, the  maximum number of users with  concurrent desktop sessions was  ${UserCount} BROKER_DESKTOP_LAUNCH_FAILURE ERROR Unable to launch from Pool ${DesktopId}  for user ${UserDisplayName}: The broker  encountered an error while processing the  request, please contact support for  assistance BROKER_DESKTOP_NOT_ENTITLED AUDIT_FAIL Unable to launch from Pool ${DesktopId}  for user ${UserDisplayName}: User is not  entitled to this Pool VMware, Inc.
  • Page 12 VMware View Integration Guide Table 2-4. Connection Broker Events (Continued) EventType Severity ModuleAndEventText BROKER_DESKTOP_PROTOCOL_NOT_ AUDIT_FAIL Unable to launch from Pool ${DesktopId}  SUPPORTED for user ${UserDisplayName}: Requested  protocol ${ProtocolId} is not supported BROKER_DESKTOP_REQUEST INFO User ${UserDisplayName} requested Pool  ${DesktopId} BROKER_EVENT_HANDLING_STARTED INFO Broker ${BrokerName} has started  handling events BROKER_EVENT_HANDLING_STOPPED INFO ${BrokerName} has stopped handling  events BROKER_LOCALMODE_OLD_ANCHOR_ WARNING Old anchor snapshot deletion task failed  DELETE_FAILURE for Machine ${MachineName}.  Error  message: ${LocalModeMessage} BROKER_LOCALMODE_OPERATION_AUDIT_ AUDIT_FAIL Local Mode Operation ...
  • Page 13 BROKER_POOL_TUNNEL_NOT_SUPPORTED AUDIT_FAIL Unable to launch from Pool ${DesktopId}  for user ${UserDisplayName}: Tunnelling  is not supported for protocol ${ProtocolId} BROKER_PROVISIONING_ERROR_CONFIG_ INFO The previously reported configuration  CLEARED problem is no longer present on Pool  ${DesktopId} BROKER_PROVISIONING_ERROR_CONFIG_ ERROR Provisioning error occurred on Pool  ${DesktopId} because of a configuration  problem BROKER_PROVISIONING_ERROR_DISK_ INFO The previously reported disk problem is no  CLEARED longer present on Pool ${DesktopId} BROKER_PROVISIONING_ERROR_DISK_LC_ INFO The previously reported error due to  RESERVATION_CLEARED available free disk space reserved for linked  clones is no longer present on Pool  ${DesktopId} BROKER_PROVISIONING_ERROR_DISK_LC_ ERROR Provisioning error occurred on Pool  RESERVATION_SET ${DesktopId} because available free disk  space is reserved for linked clones BROKER_PROVISIONING_ERROR_DISK_SET WARNING Provisioning error occurred on Pool  ${DesktopId} because of a disk problem VMware, Inc.
  • Page 14 VMware View Integration Guide Table 2-4. Connection Broker Events (Continued) EventType Severity ModuleAndEventText BROKER_PROVISIONING_ERROR_LICENCE_ INFO The previously reported licencing problem  CLEARED is no longer present on Pool ${DesktopId} BROKER_PROVISIONING_ERROR_LICENCE_ ERROR Provisioning error occurred on Pool  ${DesktopId} because of a licencing  problem BROKER_PROVISIONING_ERROR_ INFO The previously reported networking  NETWORKING_CLEARED problems with a View Agent are no longer  present on Pool ${DesktopId} BROKER_PROVISIONING_ERROR_ ERROR Provisioning error occurred on Pool  NETWORKING_SET ${DesktopId} because of a networking  problem with a View Agent BROKER_PROVISIONING_ERROR_RESOURCE_ INFO The previously reported resource problem  CLEARED is no longer present on Pool ${DesktopId}...
  • Page 15 AUDIT_FAIL User ${UserDisplayName} failed to  EXPIRED authenticate because the account has  expired BROKER_USER_AUTHFAILED_ACCOUNT_ AUDIT_FAIL User ${UserDisplayName} failed to  LOCKED_OUT authenticate because the account is locked  BROKER_USER_AUTHFAILED_ACCOUNT_ AUDIT_FAIL User ${UserDisplayName} failed to  RESTRICTION authenticate because of an account  restriction BROKER_USER_AUTHFAILED_BAD_USER_ AUDIT_FAIL User ${UserDisplayName} failed to  PASSWORD authenticate because of a bad username or  password BROKER_USER_AUTHFAILED_GENERAL AUDIT_FAIL User ${UserDisplayName} failed to  authenticate BROKER_USER_AUTHFAILED_NO_LOGON_ AUDIT_FAIL User ${UserDisplayName} failed to  SERVERS authenticate because there are no logon  servers BROKER_USER_AUTHFAILED_PASSWORD_ AUDIT_FAIL User ${UserDisplayName} failed to  EXPIRED authenticate because the password has  expired VMware, Inc.
  • Page 16 VMware View Integration Guide Table 2-4. Connection Broker Events (Continued) EventType Severity ModuleAndEventText BROKER_USER_AUTHFAILED_PASSWORD_ AUDIT_FAIL User ${UserDisplayName} failed to  MUST_CHANGE authenticate because the password must  change BROKER_USER_AUTHFAILED_SECUREID_ AUDIT_FAIL SecurID access denied for user  ACCESS_DENIED ${UserDisplayName} BROKER_USER_AUTHFAILED_SECUREID_ AUDIT_FAIL SecurID access denied for user  NEWPIN_REJECTED ${UserDisplayName} because new pin was  rejected BROKER_USER_AUTHFAILED_SECUREID_ AUDIT_FAIL SecurID access denied for user  WRONG_NEXTTOKEN ${UserDisplayName} because wrong next  token entered BROKER_USER_AUTHFAILED_SECUREID_ AUDIT_FAIL SecurID access denied for user  WRONG_STATE ${UserDisplayName} because of incorrect ...
  • Page 17: View Agent Events

    ${DesktopId} by ${UserDisplayName} 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  machine ${MachineName} to Pool   ${DesktopId} ADMIN_ADD_PM_FAILED AUDIT_FAIL ${UserDisplayName} failed to add physical  machine ${MachineName} to Pool   ${DesktopId} ADMIN_ADD_THINAPP_ENTITLEMENT AUDIT_SUCCESS Application ${ThinAppDisplayName} was  assigned to Desktop ${MachineName} by  ${UserDisplayName} ADMIN_ADD_THINAPP_ENTITLEMENT_ AUDIT_FAIL ${UserDisplayName} failed to add  FAILED Application entitlement ADMIN_ADD_THINAPP_POOL_ AUDIT_SUCCESS Application ${ThinAppDisplayName} was  ENTITLEMENT assigned to Pool ${DesktopId} by  ${UserDisplayName} ADMIN_ADMINSTRATOR_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove all  permissions for Administrator  ${AdminPermissionEntity} VMware, Inc.
  • Page 18 VMware View Integration Guide Table 2-6. View Administrator Events (Continued) EventType Severity ModuleAndEventText ADMIN_ADMINSTRATOR_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed all  permissions for Administrator  ${AdminPermissionEntity} ADMIN_CONFIGURE_TRANSFER_SERVER_ INFO Configure a local Transfer Server  LOCAL_REPO Repository. Path ${PathName} ADMIN_CONFIGURE_TRANSFER_SERVER_ INFO Configure a network Transfer Server  NETWORK_REPO Repository. Path: ${PathName}, domain:  ${DomainName}, user name  ${DomainUser} ADMIN_CONNECTION_BROKER_UPDATE_ AUDIT_FAIL ${UserDisplayName} failed to update  FAILED connection broker ${BrokerId} ADMIN_CONNECTION_BROKER_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated connection  broker ${BrokerId}: (${AttrChangeType}:  ${AttrName} = ${AttrValue})
  • Page 19 ADMIN_FOLDER_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add folder  ${AdminFolderName} ADMIN_FOLDER_ADDED AUDIT_SUCCESS ${UserDisplayName} added folder  ${AdminFolderName} ADMIN_FOLDER_CHANGE_FAILED AUDIT_FAIL ${UserDisplayName} failed to change  object ${ObjectID}(type=${ObjectType}) to  folder ${AdminFolderName} ADMIN_FOLDER_CHANGED AUDIT_SUCCESS ${UserDisplayName} changed object  ${ObjectID}(type=${ObjectType}) to folder  ${AdminFolderName} ADMIN_FOLDER_DELETE_FAILED AUDIT_FAIL ${UserDisplayName} failed to delete folder  ${AdminFolderName} ADMIN_FOLDER_DELETED AUDIT_SUCCESS ${UserDisplayName} deleted folder  ${AdminFolderName} ADMIN_GLOBAL_CONFIGURATION_ AUDIT_FAIL ${UserDisplayName} failed to update  UPDATE_FAILED global configuration ADMIN_GLOBAL_CONFIGURATION_ AUDIT_SUCCESS ${UserDisplayName} updated global  UPDATED configuration (${AttrChangeType}:  ${AttrName} = ${AttrValue}) VMware, Inc.
  • Page 20 VMware View Integration Guide Table 2-6. View Administrator Events (Continued) EventType Severity ModuleAndEventText ADMIN_GLOBAL_POLICY_UPDATE_FAILED AUDIT_FAIL ${UserDisplayName} failed to update  global policies ADMIN_GLOBAL_POLICY_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated global  policy (${AttrChangeType}: ${AttrName} =  ${AttrValue}) ADMIN_LOCALMODE_INITIATE_ INFO Inititate replication for Machine  REPLICATION ${MachineName} ADMIN_LOCALMODE_LOCK_MACHINE INFO Lock Machine ${MachineName} on  vCenter ADMIN_LOCALMODE_LOCK_MACHINE_ WARNING Lock Machine ${MachineName} failed on  FAILED vCenter ADMIN_LOCALMODE_ROLLBACK_DESKTOP INFO Machine ${MachineName} has been rolled  back...
  • Page 21 ${UserDisplayName} renamed Role  ${AdminRoleName} to  ${AdminRoleNewName} ADMIN_SECURITY_SERVER_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add security  server ${SecurityServerId} ADMIN_SECURITY_SERVER_ADDED AUDIT_SUCCESS ${UserDisplayName} added security server  ${SecurityServerId} ADMIN_SECURITY_SERVER_EDIT_FAILED AUDIT_FAIL ${UserDisplayName} failed to edit security  server ${SecurityServerId} ADMIN_SECURITY_SERVER_EDITED AUDIT_SUCCESS ${UserDisplayName} edited security server  ${SecurityServerId} (${AttrChangeType}:  ${AttrName} = ${AttrValue}) ADMIN_SECURITY_SERVER_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove  security server ${SecurityServerId} ADMIN_SECURITY_SERVER_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed security  server ${SecurityServerId} ADMIN_SESSION_SENDMSG AUDIT_SUCCESS ${UserDisplayName} sent message  (${SessionMessage}) to session (User  ${UserName}, Desktop ${MachineName}) ADMIN_SESSION_SENDMSG_FAILED AUDIT_FAIL ${UserDisplayName} failed to send  message (${SessionMessage}) to session  ${ObjectId} VMware, Inc.
  • Page 22 VMware View Integration Guide Table 2-6. View Administrator Events (Continued) EventType Severity ModuleAndEventText ADMIN_SVI_ADD_DEPLOYMENT_GROUP_ AUDIT_FAIL Failed to add deployment group for  FAILED ${SVIParentVM} : ${SVISnapshot} ADMIN_SVI_ADD_DEPLOYMENT_GROUP_ AUDIT_SUCCESS Added deployment group  SUCCEEDED ${SVIDeploymentGroupID} for  ${SVIParentVM} : ${SVISnapshot} ADMIN_SVI_ADD_UDD_FAILED AUDIT_FAIL Failed to add user data disk  ${UserDiskName} ADMIN_SVI_ADD_UDD_SUCCEEDED AUDIT_SUCCESS Added user data disk ${UserDiskName} ADMIN_SVI_ADMIN_ADDED AUDIT_SUCCESS ${UserDisplayName} added SVI  QuickPrep domain  ${SVIAdminFqdn}(${SVIAdminName}) ADMIN_SVI_ADMIN_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed SVI  QuickPrep domain (id=${SVIAdminID})
  • Page 23 ${UserDisplayName} removed Application  Template ${ThinAppGroupName} ADMIN_THINAPP_REMOVE_FAILED AUDIT_FAIL ${UserDisplayName} failed to remove  Application ${ThinAppDisplayName} ADMIN_THINAPP_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed Application  ${ThinAppDisplayName} ADMIN_THINAPP_REPO_ADD_FAILED AUDIT_FAIL ${UserDisplayName} failed to add  Repository ${ThinAppRepositoryName},  path ${ThinAppRepositoryPath} ADMIN_THINAPP_REPO_ADDED AUDIT_SUCCESS ${UserDisplayName} added Repository  ${ThinAppRepositoryName}, path  ${ThinAppRepositoryPath} ADMIN_THINAPP_REPO_EDIT_FAILED AUDIT_FAIL ${UserDisplayName} failed to edit  Repository ${ThinAppRepositoryName},  path ${ThinAppRepositoryPath} ADMIN_THINAPP_REPO_EDITED AUDIT_SUCCESS ${UserDisplayName} edited Repository  ${ThinAppRepositoryName}, path  ${ThinAppRepositoryPath} ADMIN_THINAPP_REPO_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed Repository  ${ThinAppRepositoryName} ADMIN_TRANSFER_SERVER_ADDED AUDIT_SUCCESS ${UserDisplayName} added transfer server  ${TransferServerDisplay} VMware, Inc.
  • Page 24 VMware View Integration Guide Table 2-6. View Administrator Events (Continued) EventType Severity ModuleAndEventText ADMIN_TRANSFER_SERVER_ENTER_ AUDIT_SUCCESS Transfer server ${TransferServerDisplay}  MAINTENANCE enters maintenance mode ADMIN_TRANSFER_SERVER_EXIT_ AUDIT_SUCCESS Transfer server ${TransferServerDisplay}  MAINTENANCE exits maintenance mode ADMIN_TRANSFER_SERVER_REMOVED AUDIT_SUCCESS ${UserDisplayName} removed transfer  server ${TransferServerDisplay} ADMIN_UNREGISTER_PM AUDIT_SUCCESS ${UserDisplayName} unregistered  physical machine ${MachineName}) ADMIN_UNREGISTER_PM_FAILED AUDIT_FAIL ${UserDisplayName} fails to unregister  physical machine ${MachineName}) ADMIN_USER_INFO_UPDATE_FAILED AUDIT_FAIL ${UserDisplayName} failed to update user  info with AD server for ${UserName} ADMIN_USER_INFO_UPDATED AUDIT_SUCCESS ${UserDisplayName} updated user info ...
  • Page 25: View Transfer Server Events

    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. DiskPath Path of a View Transfer Server package. DomainName Domain name for a remote View Transfer Server repository. DomainUser User name with access to a remote View Transfer Server repository. EntitlementDisplay Display name of a desktop entitlement. LocalModeMessage Message for a local desktop operation. LocalModeOperation Name of a local desktop operation. VMware, Inc.
  • Page 26 VMware View Integration Guide Table 2-8. Attributes Used with ModuleAndEventText Messages (Continued) Attribute Name Description 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. PackageName Name of a View Transfer Server package. PathName Path of a View Transfer Server repository. 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.
  • Page 27: Sample Database Queries And Views

    FROM ViewEvents.dbo.VE_event_historical AS ev, ViewEvents.dbo.VE_event_data_historical AS ed1, ViewEvents.dbo.VE_event_data_historical AS ed2, ViewEvents.dbo.VE_event_data_historical AS ed3 WHERE ev.EventID = ed1.EventID AND ev.EventID = ed2.EventID AND ev.EventID = ed3.EventID ev.EventType = ‘ADMIN_THINAPP_REPO_ADDED’ AND ed1.Name = ‘UserDisplayName’ AND ed2.Name = ‘ThinAppRepositoryName’ AND ed3.Name = ‘ThinAppRepositoryPath’ VMware, Inc.
  • Page 28 VMware View Integration Guide VMware, Inc.
  • Page 29: Using View Powercli

     “Examples of Using View PowerCLI Cmdlets” on page 39 Introduction to View PowerCLI 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. As with any other console environment, you work with PowerShell by running commands, which  are called cmdlets in PowerShell. VMware View 4.5 includes 45 View PowerCLI cmdlets. You can use these cmdlets in conjunction with the  vSphere PowerCLI cmdlets, which provide an administrative interface to the VMware vSphere product. You  can also use the View PowerCLI cmdlets to examine the configuration of vCenter Servers in VMware View. The command‐line syntax for the View PowerCLI cmdlets is the same as generic PowerShell syntax. See the  Microsoft documentation for more information about using PowerShell. The View PowerCLI cmdlets are located in the PowershellServiceCmdlets.dll file in the directory  C:\Program Files\VMware\VMware View\Server\bin. This file constitutes the VMware.View.Broker  snapin. The script configuration file for the View PowerCLI cmdlets is named InitViewCmdlets.ps1, and  this file is located in the Extras folder in the View installation directory. You can edit and extend the script to  define cmdlet aliases, to configure the environment, or to set startup actions. Start the PowerShell Console with View PowerCLI Loaded You can run the View PowerCLI cmdlets directly on a View Connections Server host that has the following  software installed.  VMware View 4.5 or later  Microsoft .NET framework  Windows PowerShell 1.0 To use the View PowerCLI cmdlets to change the configuration of View, you must be logged into a View ...
  • Page 30: Displaying Help For A View Powercli Cmdlet

    To start the PowerShell console with View PowerCLI loaded Select Start > All Programs > VMware > View PowerCLI. If you see an error message stating that the script configuration file cannot be loaded because the  execution of scripts is disabled, type the following PowerShell command and restart the PowerShell  console. Set-ExecutionPolicy Unrestricted Displaying Help for a View PowerCLI cmdlet To list all View PowerCLI cmdlets, type this command in the PowerShell console. Get-Command -PSSnapin VMware.View.Broker | more You can get help for a specific cmdlet by using the Get-Help cmdlet in the PowerShell console. For example,  to get help on the Add-ViewVC cmdlet. Get-Help Add-ViewVC | more For more detailed information, add the -full parameter. Get-Help Add-ViewVC -full | more Alternatively, you can use the help alias for Get-Help. help Add-ViewVC -full | more Error When Piping and Specifying Objects at the Same Time If you attempt to pipe an object into a cmdlet and specify an object of the same type to that cmdlet, the cmdlet ...
  • Page 31: View Powercli Cmdlets

    Get-ComposerDomain Returns information about View Composer. Get-ConnectionBroker Returns information about View Connection Server and security server  instances. Update-ConnectionBroker Updates the configuration of a View Connection Server or security server  instance. Get-DesktopPhysicalMachine Returns a list of physical machines that are available for use with  unmanaged desktop pools. Returns information about virtual machines. Get-DesktopVM Get-EventReport Returns an event report for a specified view. Get-EventReportList Returns the views that are available for use with the Get-EventReport  cmdlet. Returns global configuration information about the VMware View  Get-GlobalSetting environment. Updates global configuration information about the VMware View  Update-GlobalSetting environment. Get-License Returns the VMware View licenses on a View Connection Server instance. Sets a VMware View license on a View Connection Server instance. Set-License Rebalances linked‐clone desktops among the available logical drives. Send-LinkedCloneRebalance Send-LinkedCloneRecompose Recomposes linked‐clone desktops from a snapshot of their parent virtual  machine. Refreshes the operating system disks of linked‐clone desktops to their  Send-LinkedCloneRefresh original state and size. Get-LocalSession Returns information about local desktops. VMware, Inc.
  • Page 32 VMware View Integration Guide Table 3-3. View PowerCLI Cmdlets Ordered by Noun (Continued) Cmdlet Description Send-LocalSessionRollback Rolls back a local desktop. Add-ManualPool Adds a manually provisioned pool of managed desktops. Updates a manually provisioned pool of managed desktops. Update-ManualPool Adds a manually provisioned pool of unmanaged desktops. Add-ManualUnmanagedPool Update-ManualUnmanagedPool Updates a manually provisioned pool of unmanaged desktops. Get-Monitor Returns a list of health monitors for View services. Get-Pool Returns information about desktop pools. Remove-Pool Removes a desktop pool. Creates desktop pool entitlements for users. Add-PoolEntitlement Get-PoolEntitlement Returns information about the users who are entitled to use desktop pools. Remove-PoolEntitlement Removes desktop pool entitlement from users. Get-ProfileDisk Returns information about persistent user data disks. Get-RemoteSession Returns information about active remote sessions.
  • Page 33: View Administrator, View Powercli Cmdlet, And Vdmadmin Operations

    Get list Get list Get report Get report Folder Get information Move Remove Kiosk mode Add client account Disable authentication Enable authentication Get information Get defaults Remove client account Set defaults Linked‐clone desktop Rebalance Rebalance Recompose Recompose Recreate Refresh Refresh Restore Set storage overcommit Set storage overcommit Local desktop Decrypt virtual machine Get information Get information Lock checked‐out Roll back Roll back Unlock checked‐out Permission Get information Remove VMware, Inc.
  • Page 34 VMware View Integration Guide Table 3-4. View Administrator, View PowerCLI Cmdlet, and vdmadmin Operations (Continued) View Administrator View PowerCLI Cmdlet vdmadmin Command Object Operations Operations Operations Persistent user data disk Attach Delete Detach Get information Get information Replace Physical computer (with View Agent) Get information Get information Get information Remote session Disconnect Disconnect Get information...
  • Page 35: View Powercli Cmdlet Parameters

    Table 3‐5 shows the settings that you can use with the -defaultProtocol parameter to specify the default  display protocol for a desktop pool. Table 3-5. Default Display Protocol Settings Default Display Protocol Description PCOIP Specifies VMware PCoIP. Specifies Microsoft RDP. Specifies HP RGS (where applicable). Deletion Policy Settings Table 3‐6 shows the settings that you can use with the -deletePolicy parameter to specify a deletion policy  for automatically provisioned floating and linked‐clone desktop pools. Table 3-6. Deletion Policy Settings Deletion Policy Description Default Specifies that the desktop is not deleted when the user logs out. DeleteOnUse Specifies that the desktop is deleted when the user logs out. RefreshOnUse Specifies that the desktop is refreshed when the user logs out. This setting  applies only to linked‐clone desktop pools. VMware, Inc.
  • Page 36: Flash Quality Settings

    VMware View Integration Guide Flash Quality Settings Table 3‐7 shows the settings that you can use with the -flashQuality parameter to specify a maximum  allowable quality for Adobe Flash content. This value overrides the setting on a Web page. If the Flash quality  for a Web page is higher than the maximum value allowed, the client reduces the quality to the specified  maximum. Lowering the quality of Flash content causes it to use less bandwidth. Table 3-7. Flash Quality Settings Flash Quality Description HIGH Specifies that low, medium, or high quality Flash content is allowed. Specifies that only low quality Flash content is allowed. MEDIUM Specifies that low or medium quality Flash content is allowed. NO_CONTROL Allows the Web page settings to determine quality. Flash Throttling Settings Table 3‐8 shows the settings that you can use with the -flashThrottling parameter to specify how often  Adobe Flash should refresh what it shows onscreen. Throttling Flash to increase the refresh interval reduces  the frame rate. This reduction causes Flash content to use less bandwidth, but it might also cause Flash to drop  frames. Table 3-8. Flash Throttling Settings...
  • Page 37: Pool Type Settings

    Persistent (AutomaticPool) Specifies a pool of automatically configured dedicated (persistent)  desktops that are provisioned, managed, and configured by a vCenter Server. SVINonPersistent (AutomaticPool) Specifies a pool of floating (nonpersistent) desktops that are  provisioned, managed, and configured by a vCenter Server and View Composer. SVIPersistent (AutomaticPool) Specifies a pool of dedicated (persistent) desktops that are  provisioned, managed, and configured by a vCenter Server and View Composer. TerminalService Specifies a pool of desktops that are managed and configured by a terminal server. TransferServer Specifies a pool of desktops that are managed and configured by a transfer server. Power Policy Settings Table 3‐11 shows the settings that you can use with the -powerPolicy parameter to specify the power policy  for a desktop pool. Table 3-11. Power Policy Power Policy Setting Description AlwaysOn Configures a desktop to remain powered on, even when no one is using it. If  you shut down the desktop, it restarts immediately. RemainOn Starts a desktop when required if it is powered down. The desktop then remains  powered on until you shut it down. PowerOff Shuts down a desktop when no one is using it. Suspend Suspends a desktop when no one is using it. VMware, Inc.
  • Page 38: Refresh Policy Settings

    VMware View Integration Guide Refresh Policy Settings Table 3‐13 shows the settings that you can use with the -refreshPolicyType parameter to specify a refresh  policy for the OS disks of automatically provisioned dedicated and linked‐clone desktop pools. Table 3-12. Refresh Policy Settings Refresh Policy Description Always Specifies that an OS disk is always refreshed when the user logs out. Conditional Specifies that an OS disk is refreshed when the user logs out if certain conditions  are met. Use the -refreshpolicyDays and -refreshPolicyUsage  parameters to specify the refresh interval in days and the percentage of the  maximum allowable size for the disk. Never Specifies that an OS disk is never refreshed when the user logs out. Smart Card Authentication Settings Table 3‐13 shows the settings that you can use with the -smartCardSetting parameter to specify how users  with smart cards are authenticated. These settings apply to Update-ConnectionBroker, and do not have any  effect unless you also specify -UseSSLClient $true with Update-GlobalSetting. Table 3-13. Smart Card Authentication Settings...
  • Page 39: Examples Of Using View Powercli Cmdlets

    Updating the Configuration of a View Connection Server Instance Update the settings for direct connections and secureID on a View Connection Server instance. Update-ConnectionBroker -displayName connsvr1 -directConnect $false -secureIdEnabled $true -ldapBackupFrequency EveryWeek Managing the Configuration of vCenter Servers in VMware View Add an entry for a vCenter Server to the View configuration. Add-ViewVC -serverName vc01.mydom.int -username Administrator -password clydenw -displayName "VC-01" -createRampFactor 5 -deleteRampFactor 5 Return information about a vCenter Server.
  • Page 40: Creating And Updating Automatically Provisioned Desktop Pools

    VMware View Integration Guide Remove the desktop pool mydesktop, and delete its image from disk. Get-Pool -pool_id mydesktop | Remove-Pool -DeleteFromDisk $true Creating and Updating Automatically Provisioned Desktop Pools Add the automatically provisioned desktop pool auto1, which is managed by the vCenter Server  vc.mydom.int. Get-ViewVC -serverName vc.mydom.int | Add-AutomaticPool -pool_id auto1 -displayName "ADP1" -namePrefix "adp1-{n:fixed=4}" -vmFolderPath /AutoConfig/vm -resourcePoolPath /AutoConfig/host/Resources -templatePath /AutoConfig/vm/ADP_template -dataStorePaths /host/datastore_1/lun10 -customizationSpecName "Windows 7 Variation 3"...
  • Page 41: Creating And Updating Manually Provisioned Desktop Pools

    Obtaining Information About Users and Groups from Active Directory Return information about users in the domain mydom. Get-User -domain mydom Return information about the user fred in the domain mydom and exclude any information about the user’s  group. Get-User -name fred -domain mydom -includeGroup $false Managing Desktop Entitlements Add an entitlement for the user fred in the domain mydom to use desktop pool dtop‐12. Get-User -name mydom\fred | Add-PoolEntitlement -pool_id dtop-12 Add an entitlement to all desktop pools for a user specified by an SID. Get-Pool | Add-PoolEntitlement -sid S-1-5-21-7623811015-3361044348-030300820-1512 Return information about all entitlements to desktop pools. Get-PoolEntitlement Return information about the users who are entitled to use desktop pool dtop‐1. Get-PoolEntitlement -pool_id dtop-1 VMware, Inc.
  • Page 42: Managing Local Desktops

    VMware View Integration Guide Return information about the users who are entitled to use desktop pools whose IDs start with dtpool‐. Get-Pool -pool_id dtpool-* | Get-PoolEntitlement Remove the entitlement to use desktop pool dtpool‐11. Get-PoolEntitlement -pool_id dtpool-11 | Remove-PoolEntitlement If you want to remove all entitlements from the system, specify the -forceRemove parameter set to $true . Get-PoolEntitlement | Remove-PoolEntitlement -forceRemove $true If you do not specify the-forceRemove parameter, you can use the command to find out information about  the entitlements that would be removed. Managing Local Desktops Return information about the local desktop for the specified IP address. Get-LocalSession -hostIP 10.20.54.65 Return information about the local desktops for a range of IP addresses. Get-LocalSession -hostIP 10.20.222.* Roll back the local desktop with a specified host IP address. Get-LocalSession -host_ip 10.20.54.36 | Send-LocalSessionRollback Roll back the local desktops for a range of host IP addresses.
  • Page 43 Get-EventReport -viewName user_events -startDate 2011-12-01:00:00:00 -endDate 2011-12-02:00:00:00 Display user events for the last 24 hours. Get-EventReport -viewName user_events -startDate ((Get-Date).AddDays(-1)) Display user events for the current year. Get-EventReport -viewName user_events -startDate (Get-Date -Day 01 -Month 01 -Hour 0 -Minute 0 -Second 0) Managing the Global Configuration of VMware View Display the global configuration settings. Get-GlobalSetting Set the session timeout to 30 minutes. Update-GlobalSetting -SessionTimeout 30 VMware, Inc.
  • Page 44 VMware View Integration Guide Set the forced logout warning message and delay period. Update-GlobalSetting -DisplayLogoffWarning $true -ForcedLogoffAfter $logoutdelay -ForcedLogoffMessage "Forced log out will occur in $logoutdelay minutes" Require clients to use SSL to connect and set the prelogin message. Update-GlobalSetting -UseSSLClient $true -PreLoginMessage "Insert disclaimer and other notices here." Managing View Licenses Display the installed View license keys. Get-License Add a license key. Set-License -key "08A25-0212B-0212C-4D42E" VMware, Inc.
  • Page 45 This chapter includes the following topics:  “LDAP Configuration Data” on page 45  “Export LDAP Configuration Data” on page 46  “Modify LDAP Configuration Data” on page 46  “Import LDAP Configuration Data” on page 49  “Import LDAP Configuration Data Using the LDIFDE Command” on page 50 LDAP Configuration Data All View configuration data is stored in an LDAP directory. Each View Connection Server standard or replica  instance contains a local LDAP configuration repository and a replication agreement between each of the View  Connection Server instances. This arrangement ensures that changes to one repository are automatically  replicated to all the other repositories. When you use View Administrator to modify the configuration of VMware View, the appropriate LDAP data  in the repository is updated. For example, if you add a desktop pool, VMware View stores information about  users, user groups, and entitlements in LDAP. The View Connection Server instances manage other LDAP  configuration data automatically, and they use the information in the repository to control View operations. You can use LDIF files to perform a number of tasks.  To transfer configuration data between View Connection Server instances.  To define a large number of View objects, such as desktop pools, and add these to your View Connection  Server instances without using View Administrator to do this manually.  To back up your View configuration so that you can restore the state of a View Connection Server instance. In View Manager 3.1 and later, regular backups of the LDAP repository are made automatically. LDAP configuration data is transferred as plain ASCII text and conforms to the Internet Engineering Task  Force (IETF) RFC 2849 standard. VMware, Inc.
  • Page 46 VMware View Integration Guide Export LDAP Configuration Data You can export configuration data from a standard or replica View Connection Server instance to an LDIF file  by running the vdmexport command‐line utility.  By default, the vdmexport command‐line utility is installed in the C:\Program Files\VMware\VMware View\Server\tools\bin directory.  In View Manager 3.1 and earlier, you must be logged into a standard or replica instance View Connection  Server instance as an administrator and be a member of the Local Administrators user group. In VMware View 4.5, you must be logged in to a View Connection Server instance as a user in the  Administrators or Administrators (Read only) role to export configuration data successfully from the View  configuration repository. To export configuration data from a View Connection Server instance Select Start > Command Prompt. At the command prompt, type the vdmexport command and redirect the output to a file. vdmexport > myexport.LDF In VMware View 4.5, you can specify the output file name as an argument to the -f option. vdmexport -f myexport.LDF The command writes the configuration of your View Connection Server instance to the file that you  specify. The command displays errors if your role has insufficient privileges to view the data in the ...
  • Page 47 Chapter 4 Customizing LDAP Data The following extract from an LDIF file shows sample entries for a desktop pool named Pool1, which contains  two virtual desktops named VM1 and VM2. The desktop pool entry is paired with the Desktop Application  entry, which is also named Pool1. # Virtual Desktop VM entry VM1 DN: CN=vm1,OU=Servers,DC=vdi,DC=vmware,DC=int changetype: add objectClass: top objectClass: pae-Server objectClass: pae-WinServer objectClass: pae-ThinWinServer objectClass: pae-VM cn: vm1 description: sample virtual desktop entry pae-VmSuspended:: IA== pae-OptIgnoreProcessList: 0 pae-MOID: vm-1...
  • Page 48 VMware View Integration Guide pae-Disabled: 0 # Further Virtual Desktop VM entries as required # VM Pool entry Pool1 DN: CN=Pool1,OU=Server Groups,DC=vdi,DC=vmware,DC=int changetype: add objectClass: top objectClass: pae-ServerPool cn: Pool1 pae-VCDN: CN=b180b93b-2dd3-4b58-8a81-b8534a4b7565,OU=VirtualCenter,OU=Properties,DC=vdi, DC=vmware,DC=int pae-MemberDN: CN=vm1,OU=Servers,DC=vdi,DC=vmware,DC=int pae-MemberDN: CN=vm2,OU=Servers,DC=vdi,DC=vmware,DC=int pae-VmPowerPolicy: remainon pae-VmProvEnabled: 1...
  • Page 49  Global configuration settings.  Configuration settings for a specific View Connection Server instance or security server.  Configuration settings for a specific user. Import LDAP Configuration Data You can import configuration data from an LDIF file into a standard or replica View Connection Server by  running the vdmimport command. The vdmimport command is available fromVMware View 4.5. In previous releases, you must use the LDIFDE  command instead. See “Import LDAP Configuration Data Using the LDIFDE Command” on page 50. By default, the vdmimport command‐line utility is installed in the C:\Program Files\VMware\VMware View\Server\tools\bin directory. The vdmimport command does not update, create, or delete any LDAP records that are not defined in the LDIF  file. This allows you to customize an LDIF file so that only selected records are affected when you import the  file.  You must be logged into a View Connection Server instance as a user in the Administrators role to import  configuration data successfully into the View configuration repository. To import configuration data into a View Connection Server instance Select Start > Command Prompt. At the command prompt, type the vdmimport command and specify an existing LDIF file as an argument  to the -f option. vdmimport -f myexport.LDF The configuration of your View Connection Server instance is updated with the data from the file, and the ...
  • Page 50 VMware View Integration Guide Import LDAP Configuration Data Using the LDIFDE Command You can import configuration data from an LDIF file into a standard or replica View Connection Server by  running the Microsoft LDIFDE command. In release 4.5, you should use the vdmimport command to import configuration data. The vdmimport  command does not display the large number of error messages that are produced by running the LDIFDE  command. See “Import LDAP Configuration Data” on page 49. The LDIFDE command does not update, create, or delete any LDAP records that are not defined in the LDIF  file. This allows you to customize an LDIF file so that only selected records are affected when you import the  file. For more information about using the LDIFDE command, go to http://support.microsoft.com/kb/237677. In View Manager 3.1 or earlier, you must be logged into a View Connection Server instance as an  administrator, and be a member of the Local Administrators user group. In VMware View 4.5, you must be logged into a View Connection Server instance as a user in the  Administrators role to import configuration data successfully into the View configuration repository. To import configuration data into a View Connection Server instance using LDIFDE Select Start > All Programs > ADAM > ADAM Tools Command Prompt. At the command prompt, type the LDIFDE command and specify an existing LDIF file as an argument to ...
  • Page 51  “Views and Monitors” on page 53  “Enable a Proxy Agent on a Server” on page 55  “Display Performance Data” on page 56  “Display Information About an Alert” on page 56  “Restart a Service” on page 56  “Exclude a Domain from Connectivity Monitoring” on page 56  “Close Alerts” on page 57  “Class and Relationship Definitions” on page 57 View Management Packs The View management packs (MPs) require the default System MP that is installed with Microsoft SCOM and  the MP for Microsoft Windows Server Base OS System Center Operations Manager 2007. The View MPs consists of four individual MPs:  VMware.View.Discovery.mp contains the agent that discovers instances of View Server installations. See  “View Discovery Script” on page 52.  VMware.View.Monitoring.mp contains the views and monitors that you can use with View in the  Operations Manager console. See “Views and Monitors” on page 53. VMware, Inc.
  • Page 52 VMware View Integration Guide  VMware.View.Library.mp contains class and relationship definitions for the managed objects in View.  See “Class and Relationship Definitions” on page 57.  VMware.View.Image.Library.mp contains the graphics that represent the classes that are defined in  VMware.View.Library.mp. Name a View Connection Server Group You can assign a name to a group of one or more View Connection Server hosts and security servers. The  Operations Manager console displays this name to help you identify the group within SCOM. To name the View Connection Server group On one of the View Connection Server hosts in the group, use the -C and -c options with the vdmadmin  command. vdmadmin -C -c <group> For example, set the name of a View Connection Server group to VCSG01. vdmadmin -C -c VCSG01 Import the View MPs When you install the View Connection Server software, the View MPs are also loaded onto the View ...
  • Page 53 Display Discovered Objects You can display the View objects that the discovery script has created for a server. To display the objects that the discovery script has created for a server In the Operations Manager console, go to Monitoring\Discovery Inventory. Display Managed Objects You can display the View objects that SCOM manages, and the relationships between these objects. To display managed objects in View and their relationships In the Operations Manager console, go to Monitoring\VMware View, and select the required view. Views and Monitors The VMware.View.Monitoring MP contains the views and monitors that you can use with View in the  Operations Manager console. Table 5‐1 lists the views that you can use to examine discovered View objects. VMware, Inc.
  • Page 54 VMware View Integration Guide Table 5-1. Views Available for View View Description Active Alerts Displays critical View alerts. Node State Displays the state of all discovered members of all View Connection Server  groups. Group State Displays the state of the discovered View Connection Server groups. Groups Displays a diagram of all discovered View Connection Server groups, members,  roles, and components. You can obtain details about objects and their  relationships by clicking the icons and the connectors. Connection Server Role Performance  Displays the following data sets: Data  All Sessions  All Sessions High  Checked out VMs  Checked out VMs High  SVI Sessions  SVI Sessions High Secure Gateway Role Performance  Displays the following data sets: Data ...
  • Page 55 All Sessions 15 minutes All Sessions High 60 minutes Checked Out VMs 15 minutes Checked Out VMs High 60 minutes Secure Gateway Sessions 15 minutes Secure Gateway Sessions High 60 minutes SVI Sessions 15 minutes SVI Sessions High 60 minutes Enable a Proxy Agent on a Server You must enable the proxy agent on each View Connection Server host or security server that you want to  monitor. To enable the proxy agent on a server In the Operations Manager console, go to Administration\Agent Managed, select the server, and click  Properties. Under the Security tab, select the option Allow this agent to act as a proxy and discover managed objects  on other computers. Click OK. VMware, Inc.
  • Page 56 VMware View Integration Guide Display Performance Data You can display graphical information about the performance of a View Connection Server instance or security  server. To display performance data for a View Connection Server instance or security server In the Operations Manager console, go to Monitoring\VMware View\Performance, select the Connection  Server Role Performance Data or Secure Gateway Role Performance Data view, and select the required data  sets. Display Information About an Alert You can use the Health Explorer to display information about alerts that the health monitors have raised for a  View Connection Server group. To display active alerts for View components In the Operations Manager console, go to Monitoring\VMware View and select the Active Alerts view.
  • Page 57 Table 5-6. View Library Base Classes Class Name Description VMware.View.Cluster.Node Represents a member of a View Connection Server group.  This class has the properties ClusterID, ClusterName,  ProductVersion, and InstallPath. Represents a View component that has been installed on a  VMware.View.Component member of a View Connection Server group. This class has  the property Name. VMware.View.Component.ConnectionServer Represents the Connection Server component that has  been installed on a member of a View Connection Server  group. This class inherits its properties from  VMware.View.Component. VMware.View.Component.Directory Represents the Directory component that has been  installed on a member of a View Connection Server group.  This class inherits its properties from  VMware.View.Component. VMware.View.Component.Framework Represents the Framework component that has been  installed on a member of a View Connection Server group.  This class inherits its properties from  VMware.View.Component. VMware.View.Component.MessageBus Represents the Message Bus component that has been  installed on a member of a View Connection Server group.  This class inherits its properties from  VMware.View.Component. VMware.View.Component.SecurityGateway Represents the Security Gateway component that has been  installed on a member of a View Connection Server group.  This class inherits its properties from  VMware.View.Component. VMware, Inc.
  • Page 58 VMware View Integration Guide Table 5-6. View Library Base Classes (Continued) Class Name Description VMware.View.Component.SecurityServer Represents the Security Server component that has been  installed on a member of a View Connection Server group.  This class inherits its properties from  VMware.View.Component. VMware.View.Component.Web Represents the Web component that has been installed on  a member of a View Connection Server group. This class  inherits its properties from VMware.View.Component. Represents a member of a View Connection Server group  VMware.View.ConnectionServerRole with the Connection Server installed on it. This class  inherits its properties from VMware.View.NodeRole. VMware.View.NodeRole Represents the role of a member of a View Connection  Server group. VMware.View.SecurityServerRole Represents a member of a View Connection Server group  with the Security Server installed on it. This class inherits  its properties from VMware.View.NodeRole. Only version 4.5 instances that are derived from these classes are currently supported. Table 5‐7 shows the  version 4.5 concrete classes that are defined in the VMware.View.Library MP. Table 5-7. View Library version 4.5 Concrete Classes...
  • Page 59 Chapter 5 Integrating with SCOM Table 5-7. View Library version 4.5 Concrete Classes (Continued) Class Name Description VMware.View.ConnectionServerRole.V0405 Represents a member of a View Connection Server group  with version 4.5 of the Connection Server installed on it.  This class inherits its properties from  VMware.View.NodeRole. VMware.View.SecurityServerRole.V0405 Represents a member of a View Connection Server group  with version 4.5 of the Security Server installed on it. This  class inherits its properties from VMware.View.NodeRole. The VMware.View.Library MP also contains friendly name strings for classes and properties. The SCOM  console displays friendly names in preference to class and property names. VMware, Inc.
  • Page 60 VMware View Integration Guide VMware, Inc.
  • Page 61 ADMIN_CONNECTION_SERVER_DISABLED 18 ADMIN_GLOBAL_CONFIGURATION_ ADMIN_CONNECTION_SERVER_ENABLE_ UPDATED 19 FAILED 18 ADMIN_GLOBAL_POLICY_UPDATE_FAILED 20 ADMIN_CONNECTION_SERVER_ENABLED 18 ADMIN_GLOBAL_POLICY_UPDATED 20 ADMIN_DATABASE_CONFIGURATION_ADD_ ADMIN_LOCALMODE_INITIATE_ FAILED 18 REPLICATION 20 ADMIN_DATABASE_CONFIGURATION_ ADMIN_LOCALMODE_LOCK_MACHINE 20 ADDED 18 ADMIN_LOCALMODE_LOCK_MACHINE_ ADMIN_DATABASE_CONFIGURATION_DELETE_ FAILED 20 FAILED 18 ADMIN_LOCALMODE_ROLLBACK_DESKTOP 20 ADMIN_DATABASE_CONFIGURATION_UPDATE_ ADMIN_LOCALMODE_UNLOCK_MACHINE 20 FAILED 18 VMware, Inc.
  • Page 62 VMware View Integration Guide ADMIN_LOCALMODE_UNLOCK_MACHINE_ ADMIN_SVI_DETACH_UDD_SUCCEEDED 22 FAILED 20 ADMIN_SVI_REBALANCE_VM_FAILED 22 ADMIN_PERFMON_CONFIGURATION_UPDATE_ ADMIN_SVI_REBALANCE_VM_SUCCEEDED 22 FAILED 20 ADMIN_SVI_REFRESH_VM_FAILED 22 ADMIN_PERFMON_CONFIGURATION_ ADMIN_SVI_REFRESH_VM_SUCCEEDED 22 UPDATED 20 ADMIN_SVI_RESYNC_VM_FAILED 22 ADMIN_PERMISSION_ADD_FAILED 20 ADMIN_SVI_RESYNC_VM_SUCCEEDED 22 ADMIN_PERMISSION_ADDED 20 ADMIN_SVI_UPDATE_POOL_DEPLOYMENT_ ADMIN_PERMISSION_REMOVE_FAILED 20 GROUP_FAILED 22 ADMIN_PERMISSION_REMOVED 20 ADMIN_SVI_UPDATE_POOL_DEPLOYMENT_ ADMIN_POOL_POLICY_UPDATE_FAILED 20...
  • Page 63 BROKER_LOCALMODE_OLD_ANCHOR_ RESOURCE_SET 14 DELETE_FAILURE 12 BROKER_PROVISIONING_ERROR_TIMEOUT_ BROKER_LOCALMODE_OPERATION_AUDIT_ CUSTOMIZATION_CLEARED 14 FAILURE 12 BROKER_PROVISIONING_ERROR_TIMEOUT_ BROKER_LOCALMODE_OPERATION_ CUSTOMIZATION_SET 14 FAILURE 12 BROKER_PROVISIONING_ERROR_VM_ BROKER_LOCALMODE_OPERATION_ CLONING 14 SUCCESS 12 BROKER_PROVISIONING_ERROR_VM_ BROKER_MACHINE_ALLOCATED 12 CUSTOMIZATION_ERROR 14 BROKER_MACHINE_ASSIGNED_ BROKER_PROVISIONING_ERROR_VM_ UNAVAILABLE 12 CUSTOMIZATION_NETWORKING 14 BROKER_MACHINE_CANNOT_CONNECT 12 BROKER_MACHINE_CHECKEDOUT 12 VMware, Inc.
  • Page 64 BROKER_SVI_ARCHIVE_UDD_SUCCEEDED 15 cmdlets 29 BROKER_SVI_ATTACH_UDD_FAILED 15 columns in event database tables 10 BROKER_SVI_ATTACH_UDD_SUCCEEDED 15 -composerTask parameter 38 BROKER_SVI_DETACH_UDD_FAILED 15 configuration changes, displaying for VMware BROKER_SVI_DETACH_UDD_SUCCEEDED 15 View 43 BROKER_USER_AUTHFAILED_ACCOUNT_ configuration settings DISABLED 15 displaying for View Connection Server 39 BROKER_USER_AUTHFAILED_ACCOUNT_...
  • Page 65 View PowerCLI cmdlets 30 Get-User cmdlet 32 escape character sequences 30 Get-ViewVC cmdlet 32 escaping special characters 30 global configuration, displaying for VMware View 43 event database Group Node State view 54 attributes 25 Group State view 54...
  • Page 66 42 LocalModeMessage attribute 25 LocalModeOperation attribute 25 ramp factor, changing for vCenter servers 39 logout delay period, setting global value for VMware rebalancing linked-clone desktop pools 40 View 44 recomposing linked-clone desktop pools 40 logout warning message, setting global value for...
  • Page 67 Time Send-SessionDisconnect cmdlet 32 attribute 26 Send-SessionLogoff cmdlet 32 column 10 Send-VMReset cmdlet 32 timeout, setting global value for VMware View 43 service component monitors 54 TimeValue column 11 services, restarting from SCOM 56 TRANSFER_SERVER_PACKAGE_ DISPLACEMENT 25 session timeout, setting global value for VMware...
  • Page 68 VMware View Integration Guide Update-ViewVC cmdlet 32 error using pipe with View PowerCLI cmdlets 30 user events, displaying for VMware View 43 introduction to 29 UserCount attribute 26 listing 30 UserDiskPathId column 10 loading 29 UserDisplayName attribute 26 parameters 35...
  • Page 69 Index VMware.View.Component.SecurityGateway class 57 VMware.View.Component.SecurityGateway.V0405 class 58 VMware.View.Component.SecurityServer class 58 VMware.View.Component.Web class 58 VMware.View.Component.Web.V0405 class 58 VMware.View.ConnectionServerRole class 58 VMware.View.ConnectionServerRole.V0405 class 59 VMware.View.Discovery.mp 51 VMware.View.Image.Library.mp 52 VMware.View.Library.mp 52 VMware.View.Monitoring.mp 51 VMware.View.NodeRole class 58 VMware.View.SecurityServerRole class 58 VMware.View.SecurityServerRole.V0405 class 59 WebServiceCheck monitor 54...
  • Page 70 VMware View Integration Guide VMware, Inc.

This manual is also suitable for:

View composer 2.5

Table of Contents