Chinaunix首页 | 论坛 | 博客
  • 博客访问: 323925
  • 博文数量: 122
  • 博客积分: 1395
  • 博客等级: 中尉
  • 技术积分: 1340
  • 用 户 组: 普通用户
  • 注册时间: 2009-10-03 20:40
个人简介

智者,既能奋发不休,又能尽人事,顺天命

文章分类

全部博文(122)

文章存档

2014年(39)

2013年(46)

2012年(12)

2011年(3)

2010年(20)

2009年(2)

我的朋友

分类: 虚拟化

2013-10-31 15:50:34

Location of VMware View log files (1027744)

When you install these products, the installation log is created at %TEMP%\vminst.log_date_timestamp:
  • Connection Server
  • View Transfer Server
  • Security Server
  • View Agent
  • View Client
  • View Composer
In addition, an MSI installation log is created at %TEMP%\vmmsi.log_date_timestamp.

Connection Server, Transfer Server, and Security Server logs

The Connection Server, Security Server, and Replica Server logs reside on the servers themselves.

In the View Connection Server or Security Server host, you can find the log files in one of these locations:
  • Windows 2003
    • %ALLUSERSPROFILE%\Application Data\VMware\VDM\logs
    • DriveLetter:\Documents and Settings\All Users\Application Data\VMware\VDM\logs

  • Windows 2008
    • DriveLetter:ProgramData\VMware\VDM\logs
Connection Server Backups

You can find the Connection Server backups at one of these locations in the View Connection Server:
  • %ALLUSERSPROFILE%\Application Data\VMware\VDM\backups
  • DriveLetter:\Documents and Settings\All Users\Application Data\VMware\VDM\backups

View Agent logs

The location of View Agent log files depends on the version of Windows operating system used.

View Agent log files are found in:
  • Windows XP:

    DriveLetter:\Documents and Settings\All Users\Application Data\VMware\VDM\logs

  • Windows Vista and Windows 7:

    DriveLetter:\ProgramData\VMware\VDM\logs
Note: If you have a User Data Disk (UDD), the profiles directory may redirect the log files to the UDD. In this case, substitute the DriveLetterwith the UDD.

PCoIP logs

The virtual desktop PCOIP logs are called pcoip_agent*.log and pcoip_server*.log and they are located in the same location as the agent logs on the view desktop. 

The client PCoIP logs are called pcoip_client*.txt and are located in the user's %temp% directory on Windows Clients.

Note: The PCOIP logs are also gathered in the Client and Agent log bundles.

Persona Management logs

Persona Management logging is managed through the View Persona Management ADM Template. By default, logging is disabled.

To enable Persona Management logging, see View Persona Management Group Policy Settings in the .

The default location of the Persona Management log is:
  • Windows XP: C:\All Users\Application Data\VMware\VDM\logs\VMWVvp.txt
  • Windows 7: C:\ProgramData\VMware\VDM\logs\VMWVvp.txt

View Client and View Client with local mode logs

View Client logs for local mode operations are located on the file system of the operating system in which the VMware View Client is installed. The location of the log files depends on the version of Windows operating system used.

The location of View Client log files:
  • Windows XP:

    C:\Documents and Settings\%username%\Local Settings\Application Data\VMware\VDM\Logs\

  • Windows 7 and Windows Vista:

    C:\Users\%username%\AppData\Local\VMware\VDM\Logs\

  • Linux client:

    • MKS log: /tmp/vmware-username
    • PCoIP log: /tmp/teradici-username

  • The Linux client log collector is located at:

    /usr/bin/vmware-view-log-collector

  • Macintosh Clients do not have a script to collect the logs.

    You must manually collect these files for diagnostic and troubleshooting purposes:

    • ~/Library/Logs/VMware View Client.log
    • ~/Library/Preferences/ByHost/com.microsoft.rdc.plist
    • ~/Library/Preferences/com.microsoft.rdc.plist

    Where ~ indicates the name of the user logged into the Macintosh Client.

QuickPrep/Sysprep Script and Composer Customization logs

The View Composer Guest Agent log contains information about QuickPrep and Sysprep script execution. This log records the start and end time of script execution and contains output or error messages. The View Composer Guest Agent log is located in the Windows Temp directory on the linked clone desktop at:

%system_drive%\Windows\Temp\vmware-viewcomposer-ga-new.log

Composer logs

The View Composer logs are located in the computer in which View Composer and vCenter Server are installed.
  • In Windows 2003, the logs are located at:

    C:\Documents and Settings\All Users\Application Data\VMware\View Composer\Logs\

  • In Windows 2008, the logs are located at:

    C:\ProgramData\VMware\View Composer\Logs\

Changing the log file behavior in VMware View components (1025887)

To change log levels for the View Connection and Security Server:

  1. Click Start > All Programs > VMware Set View Connection Server Log Level.
  2. Select the appropriate logging level.

    1: View Info
    2: View Debug
    3: View Full
    0: Reset to installation defaults

To change log levels for the View Client:

  1. Run the command:

    C:\Program Files\VMware\VMware View\Client\DCT>support.bat loglevels

  2. Select the appropriate logging level:

    1: View Info
    2: View Debug
    3: View Full
    4: PCoIP Info
    5: PCoIP Debug
    6: Virtual Channel Info
    7: Virtual Channel Debug
    8: Virtual Channel Trace
    0: Reset to installation defaults

    Note: Each element is set separately. You must run the command once for each change you wish to make.

To change log levels for the View Agent:

  1. Run the command:

    C:\Program Files\VMware\VMware View\Agent\DCT>support.bat loglevels

  2. Select the appropriate logging level:

    1: View Info
    2: View Debug
    3: View Full
    4: PCoIP Info
    5: PCoIP Debug
    6: Virtual Channel Info
    7: Virtual Channel Debug
    8: Virtual Channel Trace
    0: Reset to installation defaults

    Note: Each element is set separately. You must run the command once for each change you wish to make.

To change the View Composer logging level:

See .

Logging parameters


To change the rotation, the number of log files kept, and the maximum file size parameter, you must change this registry key (this is in view servers and desktops):

[HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VDM\Log]

Note: Before making any registry modifications, ensure that you have a current and valid backup of the registry. For more information on backing up and restoring the registry, see the Microsoft article .

This table outlines the necessary changes:

Description Key Value Type Value
Number of days logs are kept MaxDaysKept REG_DWORD Integer value
Number of debug logs kept MaxDebugLogs REG_DWORD Integer value
Max size (MB) of a debug log MaxDebugLogSizeMB REG_DWORD Integer value

Notes:
  • By default, DWORD values are hexadecimal. Change this to decimal so that the data value is read in plain English.
  • Some keys may not already be defined by default. If undefined, the default values are:
    • MaxDebugLogs: 10
    • MaxDebugLogSizeMB: 50. If you increase the MaxDebugLogSizeMB, you may need an advanced text editor to handle the file size.
Note: You can also change the logging parameters by using the View Common Configuration ADM Template. This contains policy settings common to all View components. For more information, see  in the VMware View 5.1 Documentation Center.


阅读(2703) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~