Davoud Teimouri - Virtualization and Data Center Blog

How To Detect PCoIP Session Disconnection Problem? 0

How To Detect PCoIP Session Disconnection Problem?

As you know, VMware View using PCoIP and RDP protocols for transfer multimedia data and other data between virtual desktop and clients. One session will be opened between virtual desktop and client that managing by connection server. Some times, this session closed cause of many problems such as network problems, virtual desktop problem and etc. You can use some log files that stored on virtual desktop for detect problem and find solution for resolve that. VMware release a KB1027744 about location of VMware View log files. you can find the log files and use the below table for detect PCoIP disconnection problem: This table lists the common PCoIP Disconnection Codes:   Variable Name Code Description TERA_DISCONNECT_CAUSE_NONE 0x00000000 PCoIP session terminated due to lost network. TERA_DISCONNECT_CAUSE_HOST_BROKER_INTERNAL_SERVER_FAILURE 0x00000100 PCoIP connection not established due to failure of PCoIP server initialization. This should not occur. Please contact Teradici support. TERA_DISCONNECT_CAUSE_HOST_BROKER_GENERIC 0x00000101 PCoIP connection not established due to failure of PCoIP server initialization. This should not occur in normal operation. Note: If the Welcome Screen is enable in the View Administrator a ConnectionTicketTimeout will trigger a disconnect after 15 min with this code. TERA_DISCONNECT_CAUSE_HOST_BROKER_SESSION_EXPIRY_TIMEOUT 0x00000102 PCoIP session terminated due to VMware View Connection Server (broker) maximum...

Windows 8.1 Slow with USB 3.0 0

Windows 8.1 Slow with USB 3.0

Finally, Windows 8.1 preview is released on last month and we can test it in our virtual platforms. I want to deploy Windows 8.1 for our Call Center users because Windows 8 has lower IOPS compare to Windows 7. Also it has very faster start-up compare to earlier versions. I had poor performance with USB controller on this version of Windows. xHCI controller (USB 3.0) is default controller for Windows 8. I found solution on VMware KB2057809 and if you are facing with same issue, You should remove current controller and replace it with  EHCI+UHCI controller.

0

View Agent 5.1: Best Solution to Install Silently

I had a big problem on last week for upgrade my clients View Agent from 5.0 to 5.1. We are using Windows XP 64-bit form 2 years ago for our Call Center’s clients and I have a plan for upgrade my View servers from 5.1 to 5.2, so I have to upgrade View agents t0 5.1 for compatibility with View 5.2 at least. As you may know, this OS is not supporting by View agent officially but View agent 4.6, 5.0 and 5.1 can working on that properly. I had upgrade from 4.6 to 5.0 before but I faced with some issues in test step and wrote a script for upgrade agents completely silent. First Step, Prepare Client for View Agent Installation First, I want to mention that if you have plan for deploy the agent by SCCM, you should forget that, because it’s impossible. Anyway, you have 3 issues that you should resolve them to do silent installation: First step, copy your installation data and scripts to a shared folder with everyone access. Second step, if you have very secure environment like me that administrative share is disabled on that by your security manager, you have to enable it via registry....

1

Update VMware Tools Automatically

Oh, VMware released a critical patch or new vSphere version, you need to upgrade your environment. Your environment is upgraded but VMware recommended that keep VMware Tools updated on your virtual machines, so you have to update. How do you update VMware tools? Using vSphere client, PowerCLI or … . Best way is enable a settings in virtual machine settings, “Check and upgrade Tools during power cycling”. But you need to check it on every VM. You can use this script for enable that on all Windows virtual machines in vCenter.

Introducing VMware NSX – The Platform for Network Virtualization 0

Introducing VMware NSX – The Platform for Network Virtualization

The VMware NSX platform delivers the entire networking and security model in software, decoupled from traditional networking hardware, representing a transformative leap forward in data center networking architecture. Overview:  Today’s data center is largely virtualized from a compute perspective, and has unleashed unprecedented benefits of agility, efficiency and capex/opex savings. What is less known is that virtual network access ports have exceeded physical network access ports in number, and this trend is accelerating. In fact, today, 40% of vAdmins manage virtual networks. Beyond virtual switching, the time is ripe to virtualize the rest of the networking stack, and accelerate our customer’s journey to the software-defined data center. At VMware, we’ve put together an all-star team, the Networking & Security Business Unit (NSBU), to address this opportunity, and bring virtualization-centric innovation to networking. This team has been responsible for many key foundational innovations toward network virtualization. We started with the best of Nicira, vSphere networking and vCloud networking and security technologies, and embarked on a mission to build a unified solution that will transform networking and security in the virtualized data center.  Today, VMware CEO Pat Gelsinger will be launching VMware NSX™, the platform for network virtualization, in his keynote at...

ESXi 5.0 / ESXi 5.1 Host Backup & Restore GUI Utility 1

ESXi 5.0 / ESXi 5.1 Host Backup & Restore GUI Utility

Host configuration is important for an administrator. If you have a valid backup from your host’s configurations, you can restore that on your host or also new host in any case of issue. For example, when your upgrade process is failed or you have to replace your faulty server with new one. You can restore your backup on your server. It’s possible by use PowerCLI or vCLI but I found an utility made by Sean Duffy. What it is essentially, is a GUI that allows you to Backup ESXi 5.0 or ESXi 5.1 hosts to a destination of your choice on a local drive. You can download that from this link:http://www.shogan.co.uk/vmware/esxi-5-0-host-backup-restore-gui-utility-powercli-based/  

Horizon View Events Notifier 0

Horizon View Events Notifier

Chris Halstead wrote an application for reviewing and sending VMware Horizon View server event as notification via email. It’s very useful tool for administrators. You can download it form this link: http://goo.gl/WP7Vnt Also you can read more about that on Chirs’s blog and Andre’s blog.  

0

Accessing Direct Console User Interface (DCUI) from an SSH session

I read a VMware article (2039638) about Accessing Direct Console User Interface (DCUI) today. I’m surprised about that becuase, I didn’t know any thing about accessing to that from SSH. I tested that and found it very useful, if you can’t access to your KVM, it can help you to access to DCUI and do your settings easily. Just you should run your SSH client and enter “dcui” on command line. Press CTRL+C to close that. You can use it on slow networks or from your home or in travel by using VPN.

VMware OS Optimization Tool: Best Tool for Optimize Operationg System 0

VMware OS Optimization Tool: Best Tool for Optimize Operationg System

Jack McMichael has released the tool that helps to optimize Windows 7 desktops for use with VMware Horizon View and VDI in general. The optimization tool includes customizable templates to enable or disable Windows system services and features, per VMware recommendations and best practices, across multiple systems. Since most Windows system services are enabled by default, the optimization tool can be used to easily disable unnecessary services and features to improve performance. What Can We Do by VMware OS Optimization Tool? You can perform the following actions using the VMware OS Optimization Tool: The tools also include a Remote OS Optimization Tool, which uses the same functionality as the Optimization Tool, but connects to a remote VMware View broker so that remote parent and template VMs can be enumerated and optimized. Check out Jack’s new tool at the VMware Labs website. Click here. Further Reading I/O Block Size (> 3 MB) Best Practice on EMC AFA/HFA and Linux (Physical and Virtual) Download and Install Windows Updates Remotely via PSWindowsUpdate PowerShell Module LINBIT (DRBD, LINSTOR): One of The Best Software Defined Storage Solutions

Top 7 VMware Management Challenges 0

Top 7 VMware Management Challenges

The challenges that come with virtualization must be addressed to achieve successful implementation. Virtualization affects everything in the data center. Don’t ignore the challenges that come with virtualization. Learn how to conquer the top management challenges of implementing VMware virtualization, including: VM sprawl Storage management Monitoring/reporting and more About author: Eric Siebert is an IT industry veteran, author and blogger with more than 25 years of experience, most recently specializing in server administration and virtualization. He is a very active member of the VMware VMTN support forums, where he′s attained the elite Guru status by helping others with their virtualization-related challenges. Reference: http://go.veeam.com/wp-eric-siebert-2011-top-7-vmware-management-challenges.html?ad=vmware-esx-management-one-solution.html  

VMware View indicates a ThinApp package application is invalid 0

VMware View indicates a ThinApp package application is invalid

Streaming Application You may get this error when trying to scan a streaming application and the View Connection Server logs may report these errors: 12:35:31,020 ERROR <MessageFrameWorkDispatch> [ws_thinappmgmt] OpenPackage failed, path = \\thinappserver\ThinAppStore\WinSCP\WinSCP.msi. Error details. HRESULT hr = 0x8c420002. Internal error: unable to create API object 12:35:31,022 INFO <TP-Processor1> [ThinAppMSIManager] Application MSI with path:\\thinappserver\ThinAppStore\WinSCP\WinSCP.msi skipped. Reason:Error details. HRESULT hr = 0x8c420002. Internal error: unable to create API object   This issue occurs if all package components are not available during the scanning.   To resolve this issue, confirm that in addition to the application’s .msi file, the directory where the .msi file is located contains all associated .exe and .dat files that were created during the build process. A streaming application has an .msi and an .exe file. If the .exe file is not present the application was not captured with streaming activated, rebuild the application with the MSIStreaming paramater’s value set to 1 in the package.ini file located at the project directory when the package is built. Full Assignment Application If this is Full Assignment application and all the files from the package is in the thinapp repository folder and the logs on the View Connection Server is showing...

Desktop Search – Event 3083 window search Mapi2Handler.1 cannot be loaded 0

Desktop Search – Event 3083 window search Mapi2Handler.1 cannot be loaded

Problem ========= Windows 2003/Event 3083 window search Mapi2Handler.1 cannot be loaded EventID:3083 Category: Gatherer Description:The protocol handler Search.Mapi2Handler.1 cannot be loaded. Error description: Class not registered Desktop Search Version 4 Analyze ======== The background on this issue is that there are two processes that can index on 64-bit machines. One process is 64-bit and can load 64-bit protocol handlers and the other is a 32-bit process, which can load 32-bit protocol handlers. In this case, since mapi (which is used to index outlook email) is 32-bit only when the 64-bit protocol handler process starts it tries to load the 64-bit version of the non-existent mapi protocol handler. It should call into the WOW64-32 layer to determine that this handler is correctly registered in the other CLSID hive and not display the error. For some reason this check is not passing most likely due to some incompatible vista only flag we are using when calling to WOW64.32 bit applications use [HKEY_CLASSES_ROOT\Wow6432Node\CLSID64 bit applications use [HKEY_CLASSES_ROOT\CLSID Solution Remove Windows Desktop Search or add the following registry entry ===== Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\CLSID{9E175BAF-F52A-11D8-B9A5-505054503030}] @=”Windows Search Service Office Outlook Protocol Handler” [HKEY_CLASSES_ROOT\CLSID{9E175BAF-F52A-11D8-B9A5-505054503030}\InprocServer32] @=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\ 00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73,00,\ 73,00,70,00,68,00,2e,00,64,00,6c,00,6c,00,00,00 “ThreadingModel”=”Both” [HKEY_CLASSES_ROOT\CLSID{9E175BAF-F52A-11D8-B9A5-505054503030}\ProgID] @=”Search.MAPI2Handler.1″ [HKEY_CLASSES_ROOT\CLSID{9E175BAF-F52A-11D8-B9A5-505054503030}\VersionIndependentProgID] @=”Search.MAPI2Handler” =====

Delprof2 – User Profile Deletion Tool 0

Delprof2 – User Profile Deletion Tool

Delprof2 is the inofficial successor to Microsoft’s Delprof which does not work with operating systems newer than Windows XP. Here are the main facts: Delprof2 is syntax compatible to the original Delprof, but more powerful Delprof2 lets you explicitly specify which profiles to delete Delprof2 bypasses security to delete profiles regardless of current permissions/owner Delprof2 supports very long paths Delprof2 works on nearly all versions of Windows Delprof2 is free for private use, for educational and non-profit organizations What Does it Do? Delprof2 deletes inactive user profiles. If you want to reclaim disk space just run it without parameters and it will delete all profiles except your own and some special profiles needed by the operating system (like “Default”). Delprof2 has additional filtering options: you might want to delete locally cached copies of roaming profiles only or delete only those profiles that have not been used in a specified number of days. Delprof2 does it all, both on the local system and remotely. Special Features Exclusions and Inclusions with Wildcards It is a frequent requirement to delete all profiles except one or two which should be left unchanged. With version 1.5 of Delprof2 that is easily possible: profiles can be...

Fix for Windows Search Service Startup Error 1053 in Windows 7 0

Fix for Windows Search Service Startup Error 1053 in Windows 7

Recently I came across a problem in a Windows 7 PC where the Windows Search service failed to start, and manually starting the service using Services MMC resulted in Error 1053, with the following error message verbatim. Windows could not start the Windows Search service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion. And the following entry is recorded in the event viewer. Log Name: System Source: Service Control Manager Date: Event ID: 7009 Task Category: None Level: Error Keywords: Classic User: N/A Computer: Description: A timeout was reached (30000 milliseconds) while waiting for the Windows Search service to connect. Because the Windows Search service failed to start, the Indexing doesn’t run, and the controls in Indexing Options are dimmed out. Note that the Windows Search (WSearch) service is set to start automatically (delayed start) by default in Windows 7. Registry Fix To resolve the problem, download wsearch-1053-fix.zip, unzip and apply the wsearch-1053-fix.reg file (This fix is for Windows 7 PCs only.) After applying, open Services MMC (Services.msc), right-click Windows Search and click Start. Reference: http://www.winhelponline.com/blog/fix-windows-search-service-error-1053-windows-7/