Author: Davoud Teimouri

VeeamBR BackupJob 1

Veeam Backup & Replication – Bottleneck Analysis

Veeam BR informing you about backup job and backup infrastructure performance when job is finished and you will see a window same as the below: Load: Source 54% > Proxy 27% > Network 47% > Target 33% Primary bottleneck: Source What does it mean? No matter what job you are running, and how you have the product deployed, there are 4 main data processing stages that data passes in the specific order (think data processing conveyor). These are Source > Proxy > Network > Target, and each processing stage has a load monitoring counter associated with it. “Source” is the source (production) storage disk reader component. The percent busy number for this component indicates percent of time that the source disk reader spent reading the data from the storage. For example, 99% busy means that the disk reader spent all of the time reading the data, because the following stages are always ready to accept more data for processing. This means that the source data retrieval speed is the bottleneck for the whole data processing conveyor. As opposed to that, 1% busy means that the source disk reader only spent 1% of time actually reading the data (and required data blocks...

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.

Veeam BR – Backup Mode I/O Consideration 2

Veeam BR – Backup Mode I/O Consideration

If you want to use Veeam BR as you backup and recovery software in your virtual environment, you have to consider the below I/O table about your backup mode and choose best backup mode according to your backup infrastructure and your company backup policies: Backup Mode I/O Cost Incremental Backup 1x I/O on target (write for each changed block) Reversed Incremental Backup 3x I/O on target (write + read + write for each changed block) Active Full Backup 1x I/O on target (write for each block) Synthetic Full Backup For Incremental Backup Mode 2x I/O on target (read + write for each block) Synthetic Full Backup For Incremental Backup Mode With Transform 4x I/O on target (read + write + read + write for each block) Reversed Incremental will reduce your storage cost but increase I/O cost.  

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

Veeam Backup & Replication – Tape Backup Compatibility 0

Veeam Backup & Replication – Tape Backup Compatibility

There is some consideration about Veeam Backup & Replication and native tape support and most important thing is: Veeam Backup & Repliction doesn’t support tape via ESXi Passthrough.  So if you want to deploy a backup solution with tape and backup your repositories on tape drives, you have to use a physical server as tape server. Plug your tape device via FC or SCSI or any other supported connection types to tape server. You can assign tape server role to any server or also assign to Veeam Backup & Replication server too. Hope this post help you to prevent facing with some strange issues and confusion. Read this KB: 1016407 for more information.

Loading RDS Applications on Tera2 Zero Client 0

Loading RDS Applications on Tera2 Zero Client

Firmware 4.8 is released by Teradici for Tera2 Zero clients and new firmware has new feature for RDS applications. Users be able to load RDS applications on zero client and there is no need to load any OS. This feature very useful for using the devices in some public locations such as libraries, for example you can install your book finder application on a RDS server and add it to your connection server, then your subscribers can access to this app without loading that via any OS. You can download the firmware via Teradici support site. But as I mentioned before, this firmware is released for Tera2 generation.

Reverting to a previous version of ESXi 0

Reverting to a previous version of ESXi

When you have updated your ESXi to newer version or patch it but you have some problems with new ESXi, you can revert to previous version easily: Note: Back up your configuration data before making any changes. Further Reading VMware Horizon View Connection (Session) Duration Report vSphere 7 Upgrade Series – Part 2: Hardware Compatibility vSphere 7 Upgrade Series – Part 1: Define Upgrade Path

VMware View Agent Disabled 0

VMware View Agent Disabled

When you have cloned a virtual machine from another and customization is failed or machine ID is not changed during customization, both virtual machines trying to communicate with connection server and you face with “Agent Disabled” status on View manager portal because View server ignores conflict messages. You need to remove the below key from the registry after removing View Agent: HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VDM\ Then reinstall View Agent on the machine. [quotes_and_tips]  

Reset your Windows Sever 2008 / R2 Domain Controller administrator password 0

Reset your Windows Sever 2008 / R2 Domain Controller administrator password

It’s possible to reset your Windows Sever 2008 / R2 Domain Controller administrator password using your installation CD. Restart your Windows server 2008 DC with the installation CD Choose your language and click next Select your partition and installation version and click Next Click on Command Line Prompt Change directory to the access the system 32 directory. Then your original C:drive is changed to D: or E: depending on the number of drive and partitions you have on that system. Rename the file Utilman.exe to Utilman.exe.bak using the comm and Copy Utilman.exe Utilman.exe.bak.   Using Command Move Cmd.exe Utilman.exe to move CMD.exe file into Utilman.exe. Press O or Y to accept after that restart your Computer normaly   At the user logon screen, press a combination of Windows KEY+U, then the CMD.exe will appear. Type net user “Username””new password”;   Then your system Admin Password is reset. Please don’t forget to rename back Utilman. Exe ->Cmd.exe and Utilman.exe.bak-> Utilman.exe after getting back access.

Add domain user to administrators group on remote machine (VBScript) 2

Add domain user to administrators group on remote machine (VBScript)

We have a support team that they need to our assistance about adding their accounts to local administrators group of some computers. My colleagues have to open “Computer Management”, connect to remote computer and add the user to the group. I don’t like this process. The below script helps my colleagues, maybe useful for you as well: Further Reading Run ESXi Commands Via PowerShell And SSH Windows 7 USB Sound Problem On PCoIP How to change the listening port for Remote Desktop

Adding persistent route on Ubuntu 0

Adding persistent route on Ubuntu

I have to using VPN in my office for connecting to some services and add some routes to my Ubuntu routing table. But the routes will be removed after reboot. So I have to add them manually again. I googled that and find a solution for adding the routes when interface is coming up. You need to create a script under “/etc/network/if-up.d/”, for creating the script, follow the below steps: 1. Create script file by using “cat” command or other text editors: #cat > your-script-file #!/bin/bash route add -net x.x.x.x netmask x.x.x.x gw x.x.x.x route … route … CTRL+D (For saving file) Make the script file as an executable script file: #chmod +x your-script-file Then restart networking service or unplug and plug your network and run “route -n”. If the routes network are available, then the routes will be added to routing table. Note: You script should be saved without “.sh”. I tested it on Ubuntu 14.04. Run the below command for test: run-parts –test /etc/network/if-up.d

Windows Profile Cleanup Script 0

Windows Profile Cleanup Script

This script can help you to clean your users profiles without installing any third party application, you can put it as shutdown or startup script: If you want to run it as scheduled task, you need to run that via batch file with a local administrator account. This batch file create a local administrator account, run the previous script under the user’s privilege and then remove the user. The scripts tested under Windows XP and Windows 7. Further Reading Veeam Backup & Replication – Re-IP Rule on Linux VM Recommended Settings on Windows 10 for VDI

Final 1

Add existing virtual desktops to “Automated Pool” in VMware View manually

VMware View offers two basic pools for create and manage virtual desktops, “Automated Pool” and “Manual Pool”. Each of them has own benefits. “Automated Pool” has better management features and “Manual Pool” has more flexibility. You can create virtual machines within a “Automated Pool” and the virtual machines will be created based on a pattern or manual name from a template. In other hand, you able to add virtual desktops that created from different templates, with different name pattern and from different vCenter folders to a “Manual Pool”.Some times, you have to remove some virtual machines from a pool or you have to add an existing virtual machines to a “Automated Pool”, but you can’t replace deleted virtual machines with new virtual machines with same name on a “Automated Pool” with specific naming pattern and you can’t add any existing virtual machines from vCenter to that. There is a solution that you can convert your “Automated Pool” to a “Manual Pool” temporary and add your virtual machines to that. Then you can convert that to “Automated Pool” again. In this case, I’ve created an automated pool with pattern naming (Test) and one VM is created in the pool (VM-1) ....

Windows7 Zero Client 1 3

View Client Device Detector

Some times, you need to know some things about devices that your users are connected to their virtual machines by them. For example, you need to Zero Client IP address for changing some configurations on that or need to its MAC address for changing some ACL on your switches and router. Some information storing in virtual machine registry under “Current User” registry hive when VMware View session is established. You can check them in virtual machine registry directly and use them for the above situations or other situations. I’ve developed an application that it can do it for you. VCD (View Client Device Detector) can retrieve the information from registry easily and even, your users can use that and send needed information to you by use “Copy to clipboard” feature.The application will run automatically on start-up and you can find its notify icon beside of Windows clock. It’s compatible with 32/64 bit of any Windows just you need to .Net Framework 2.0 and above. *Windows XP (Figure 1) – Windows 7 (Figure 2) Click to download I’ve developed that in 2012.