Category: How To

VMware Workstation Unity Mode 0

VMware Workstation Unity Mode

I love this feature in VMware Workstation, you can run your application on a guest OS and use it same as native application on your host machine. You can switch virtual machines that have Windows XP or later guest operating systems to Unity mode to display applications directly on the host system desktop. In Unity mode, virtual machine applications appear on the host system desktop, you can use the virtual machine Start or Applications menu from the host system, and the virtual machine console view is hidden. Items for open virtual machine applications appear on the host system taskbar in the same way as open host applications. On host system and virtual machine applications that are displayed in Unity mode, you can use keyboard shortcuts to copy, cut, and paste images, plain text, formatted text, and email attachments between applications. You can also drag and drop and copy and paste files between the host system and the guest operating system. If you save a file or attempt to open a file from an application in Unity mode, the file system you see is the file system inside the virtual machine. You cannot open a file from the host operating system...

Netlogon Event ID 5719 or Group Policy Event 1129 is logged when you start a Domain Member 0

Netlogon Event ID 5719 or Group Policy Event 1129 is logged when you start a Domain Member

I have this issue on my physical machine when NAC Agent is installed on them and sometimes, we faced with “There are currently no logon servers available to service the logon request“. The issue was happened randomly and we have to restart the machine for resolving issue. Microsoft has published a KB and you can read the solutions for the problem: Netlogon Event ID 5719 or Group Policy Event 1129 is logged when you start a Domain Member Also a hotfix has been released for Windows 7 about DHCP relay agent delay, I suggest that installed the hotfix on your clients: Event ID 5719 and event ID 1129 may be logged when a non-Microsoft DHCP Relay Agent is used

Linked-Clone Virtual Machine Without VMware Horizon View 0

Linked-Clone Virtual Machine Without VMware Horizon View

You may know, we have two types of VM, Full-Clone and Linked-Clone. Now, you have two questions, what are Full-Clone and Linked-Clone? Full-Clone: The Full Clone — A full clone is an independent copy of a virtual machine that shares nothing with the parent virtual machine after the cloning operation. Ongoing operation of a full clone is entirely separate from the parent virtual machine. Linked-Clone: The Linked Clone — A linked clone is a copy of a virtual machine that shares virtual disks with the parent virtual machine in an ongoing manner. This conserves disk space, and allows multiple virtual machines to use the same software installation. You can find more information on “VMware Documentation Center”. VMware offers VMware Horizon View Composer for creating and delivering linked-clone machines to your user but is it possible without View Composer? Answer is yes. You can create linked-clone VM without using VMware Horizon View on VMware ESXi or VMware Workstation. You can create a linked-clone VM on VMware Workstation easily by its GUI, you should follow the below steps: Step 1: Create new virtual machine, install OS, install VMware Tools and other applications. Step 2: Power off VM and create a snapshot from...

Veeam ONE Settings Error 0

Veeam ONE 8.x – Cannot Open Database “DB Name” Requested By The Login.

We had a change for migrating our SQL databases to new SQL 2012 instance and Veeam ONE database was one of our databases. Also we have Veeam B&R and its DB has been moved to another instance, we changed DB configurations via Registry and it had no issue. You can find Veeam B&R migration process to another server/another DB server on these links: Also you can user DBConfig utility for Veeam B&R 8.x and above: You need to check your credentials by “Manage Credentials” dialog via “Veeam Backup & Replication” main window as well. What’s The Error in Veeam ONE? Anyway, we had an issue with our “Veeam ONE” and we get the below error when we were trying to open “VeeamONESettings.exe” because you have to change DB configuration via this utility: I’ve searched it and I couldn’t find anything for resolving this issue but based on my experiences about Veeam B&R, I could find some settings on Registry about DB configurations on these registry paths: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam “HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam ONE Monitor\db_config” But it seems, changing the values will not help us on this regard. Because as you can see in the below screenshot, “db_login” and “db_password” are encrypted values and “SQLConnectionString” has been...

vSphere HA virtual machine monitoring action 0

vSphere HA virtual machine monitoring action

When you enabled HA on a clster, some definition alarm will be activated. “vSphere HA virtual machine monitoring action” is one of them, this alarm has two triggers: vSphere HA enabled VM reset with screenshot. vSphere HA is resetting VM. These are useful alarms for troubleshooting and know, what was happened for a virtual machines during fail-over. Also you can find the screenshot on the VM’s folder as a PNG file. [quotes_and_tips]  

HP FW UP 1 0

Updating HP Server Firmware – vSphere

  If you want to update an specific firmware on your server, you can download firmware package from the product support page and do your installation via ESXi Tech Support Mode or ESXi shell via SSH. You need to download the package at the first step, so go to your product Technical Support / Manual page and choose your vSphere version as Operating System: Then download the firmware and upload it on your server’s disk for fast access. After uploading the firmware, you should follow the below instruction: Login as root. (You must be root in order to apply the ROM update.) Place the Smart Component in a temporary directory. Unzip the file CPXXXXXX.zip Ensure that CPXXXXXX.vmexe is executable by using the command: chmod +x CPXXXXXX.vmexe From the same directory, execute the Smart Component. For example: ./CPXXXXXX.vmexe Follow the directions given by the Smart Component. Logout You can also upload unzipped folder before doing the above instruction. There is some other ways to update server’s firmware: Offline: Place the HP Service Pack for ProLiant on a USB key using the HP USB Key Creator Utility. Place the desired firmware to be updated in the directory, /hp/swpackages on the USB key. Boot from...

Upgrade iLO firmware via SSH 2

Upgrade iLO firmware via SSH

AS you may know, you can connect to OA (HP Onboard Administrator) or iLO via SSH. This is a good solution to upgrade iLO firmware without logging on to OA or iLO. So just you needs to access to OA or iLO and you must have administrator role on the consoles. Download proper iLO images from HP site for each of iLO version and put it on a web server, then open a SSH console and run the following commands: First iLO: cd map1/firmware1 load -source http://webserver/ilox_x.bin After running the commands you have to wait for some minutes and iLO will reset. You may see the below results: status=1 status_tag=COMMAND SPAWNED Attempting to load iLOX firmware image. status=0 status_tag=COMMAND COMPLETED Resetting iLO.   I got no error when I was upgrading iLO via iLO SSH console but if you face with any error, share it with me. Now OA: update ilo <all/device bay number> http://webserver/ilox_x.bin If you want to upgrade all iLO firmwares in OA, you should use ALL otherwise you should use device bay number. I got some errors during iLO upgrade via OA SSH console: An error occurred while executing the script on iLO. Please review the RIBCL...

Run ESXi Commands Via PowerShell And SSH 1

Run ESXi Commands Via PowerShell And SSH

Some ESXi CLI commands have no alternative in PowerCLI and you have to run the commands on ESXi via SSH or locally. But there is another easier way to run batch commands and get result. You can use PLINK on this regard. Plink is one of Putty components, so you need to have plink.exe on your local drive or any location which to be accessed. Change the below script parameters and run your commands as you like: $User = <User> $Pswd = <Host Password> $hostName = <Host> $plink = <PLink Path> “\plink.exe” $plinkoptions = ” -v -pw $Pswd” $cmd1 = ‘ esxcli vm process list’ $remoteCommand = ‘”‘ + $cmd1 + ‘”‘ $command = “Echo Yes| “+$plink + ” ” + $plinkoptions + ” ” + $User + “@” + $hostName + ” ” + $remoteCommand $result = Invoke-Expression -command $command $result [quotes_and_tips]

Remove MSOCache from VDI template 0

Remove MSOCache from VDI template

If you are going to deploy VDI for your users and you have to install Microsoft Office for the users, you need to keep 1GB free space for the software installation cache files on the virtual machine’s C drive. One gigabyte space is important when you have plan to deploy the VMs as Linked-Clone VMs and it can reduce your storage cost and you can create more VMs. Now, what is solution to remove the files without any impact: At first step, install Office components as you want and take a backup from this folder “C:\MSOCache” on a network shared folder our another drive. Remove the folder from the VM’s C drive. Make an ISO file from the backup folder. You can also rename the folder, it doesn’t matter. Create a symbolic link by MKLINK command and make a “Directory Junction” on C drive, for example: MKLINK /J C:\MSOCahce E:\MSOCache E: is your CD-ROM drive your VM. Then, if you need to modify Office components, you can mount the ISO file and do your modification. Of course, you can make the symbolic link when you need to this. There is another solution but it’s very difficult, you have to change...

False Caution or Critical Temperature HP 0

False Caution or Critical Temperature On HP C-Class Enclosure

If you have C-Class enclosure in your environment and you have plan for upgrading OA firmware to 4.30 (or later) or you have installed OA module with 4.30 (or later) firmware, you need to configure delay time in “Device Power Sequence”. Seems, there is a problem during OA initializing process which OA shows incorrect “Caution” and/or “Critical” temperature. This is confirmed by HP officially and you can check this document for more information: c04655261 Anyway, you can configure the delay time via OA GUI same as the below:  

java net exception 1

Java.net.SocketException: No buffer space available – VMware View Connection Server

I had a problem on some of our View Connection servers, the servers consumed high CPU and memory and View Connection Server service had crashed after some hours. As I checked on View debug logs (VMware View log files location), the issue was related to Java and a bug on Windows 2008 R2/R2 SP1: I found a published Hotfix about the issue on Microsoft support site: Kernel sockets leak on a multiprocessor computer that is running Windows Server 2008 R2 or Windows 7 I suggest that install the hotfix on your current servers and new servers to preventing that on your server because if the server is a security server, your users’ connection will be disconnected.

Optimizing HP BIOS Settings For VMware vSphere 0

Optimizing HP BIOS Settings For VMware vSphere

Achieving best performance on ESXi by HP ProLiant servers needs to change some default configuration on HP RBSU (ROM-Based Setup Utility) or UEFI (Unified Extensible Firmware Interface). Some of the configurations have been mentioned on “Performance Best Practices for. VMware vSphere” but some them not mentioned. You can change the below configuration to achieve best performance on ESXi: Setting Default Recommended Reason No-Execute Page Protection (AMD)System Options -> Processor Options -> No-Execute Page Protection   No-Execute Memory Protection (Intel) System Options -> Processor Options -> No-Execute Memory Protection   Enabled Enabled It’s recommended by HP and the features protects systems against malicious code and viruses. Intel Virtualization TechnologySystem Options -> Processor Options -> Intel Virtualization Technology   AMD V (AMD Virtualization) System Options -> Processor Options -> AMD V (AMD Virtualization) Enabled Enabled When enabled, a hypervisor supporting this feature can use extra hardware capabilities provided by AMD/Intel. Intel Hyperthreading OptionsSystem Options -> Processor Options -> Intel Hyperthreading Options Enabled Enabled Intel Hyperthreading Options is a toggle setting that allows Intel Hyperthreading Technology to be enabled or disabled. Intel Hyperthreading delivers two logical processors that can execute multiple tasks simultaneously using the shared hardware resources of a single processor core. Enhanced...

HP Integrated Lights-Out 3 (iLO 3) – ESXi VM’s Showing 100% CPU Usage While Host CPU is Low 0

HP Integrated Lights-Out 3 (iLO 3) – ESXi VM’s Showing 100% CPU Usage While Host CPU is Low

If you have read HP or VMware documents about power management on ProLiant servers, both have suggested that configure power management to Static High Performance. I did it on all my ESXi servers and everything was good. But I have performance problem on some of G7 servers, I have checked all factors but I couldn’t find any reason about it. Then I found an article from HP about power management in ESXi and iLO3 (G7 servers). Seems, Static High Performance is root cause of performance issue on the servers with iLO3. This is related to power capping problem on iLO3. Based on the article suggestion, you should configure power management to OS control on the servers to preventing high CPU ready on virtual machines. You can see the instruction on the below link: https://h20566.www2.hp.com/hpsc/doc/public/display?sp4ts.oid=5178763&docId=mmr_kc-0105395&docLocale=en_US

A system shutdown is in progress.(1115) 23

A system shutdown is in progress.(1115)

When you are working on a remote computer and you want shutdown it or you want to shut down it remotely. May be you face with this error when you are trying run shutdown command: A system shutdown is in progress.(1115) First, you need to try to stopping winlogon.exe process remotely, you can use PSKILL tool to kill the process and allow the computer to continue shutdown process. pskill \Computer-Name winlogon Sometimes, the issue is related to “Windows Modules Installer” service. When you open services.msc, the service is in stopping status. You can run the below command: pskill \Computer-Name TrustedInstaller I hope, this post help you to resolve same issues on your servers or remote computers.

How do I export a database query of the PCoIP Management Console? 1

How do I export a database query of the PCoIP Management Console?

I was searching about export PCoIP MC database to a format such as CSV. I found my answer in Teradici’s knowledge base and I want to share it with you: You will first have to upload the management console database query to the management console. The query.sql file can be obtained by submitting a request to Teradici – techsupport.teradici.com Follow the steps below…. Get the MC administrator (root) password (see MC User Guide section 3.6). Use WinSCP to copy the attached query.sql into the teradici  user’s home directory on the MC. SSH into the MC. At the console, cd to where query.sql is (the default directory is /home/teradici, please use this directory). Run sudo -u postgres psql -f query.sql cms_core_db > report.csv Use WinSCP to copy the resulting report.csv off the MC Open report.csv in Excel. query This query will return the following information only: PCoIP Device Name PCoIP Device Description Generic Tag Device Unique ID MAC Address Serial Number Hardware Version Firmware Version Firmware Build ID Firmware Build Date Firmware Build Time PCoIP Processor Revision Device Type IP Address Assigned Profile Peer IP Address Last Updated