logo

Home

just another tech blog site...

Quick Post: One-Liner PowerCLI to get vSphere Replication Statistics

Recently had a request to provide statistics/ script-out the data that is exposed by vSphere Replication report tab. Based from a post from Virtu-al, you can get the transferred bytes from one of the Arguments value in the Completed Event. Here’s a quick one liner to expose all the events.   Get-VIEvent -MaxSamples ([int]::MaxValue) | Where { $_.EventTypeId -match “hbr|rpo” } | Select CreatedTi
Read More

Using vRealize Orchestrator to execute REST operation (MAKER IFTTT)

In this post, I’ll try to (quickly) document how to execute a REST operation using vRO (vRealize Orchestrator). For this example, I’ll be using IFTTT Maker event. Things you need: IFTTT Account (https://ifttt.com) Configured Maker Channel Configured vRealize Orchestrator   First, Add a REST Host Operation using vRO   After you’ve added the host, next step is to Add a REST operation NOTE: &
Read More

VMware vSphere Client : “Windows session credentials cannot be used to log into this server”

In my homelab, since I upgraded to vSphere6, I can’t seem to make the “use windows credentials” button to work for both VMware vSphere Client and Web Client. For VMware vSphere Client, i keep getting the following error: Windows session credentials cannot be used to log into this server   I checked internally in VMware and found the following solution that worked: Make sure components are joine
Read More

Limit number of VM request in vRA 6.2

Recently had a requirement to limit the number of VM requests per submission in vRA 6.2 By default, there are currently no controls in  place to limit this value. Checked around in VMware and found a solution: NOTE: Unsupported solution Go to Windows IaaS server Go to the following path: C:\Program Files (x86)\VMware\vCAC\Server\Website\Leases Edit ConfirmNewRequest.aspx Look for trMachineCount element and edit the n
Read More

Experience in calling Poweshell Scripts from vRealize Orchestrator

Over the weekend, I’ve been trying to call Powershell scripts using vRealize Orchestrator. Quick google yielded the following: http://blogs.vmware.com/orchestrator/2011/12/vco-powershell-plug-in.html I’ve followed the blog and was able to successfully call the script WITH one exception:  every time i started calling resource outside of the WINRM host from the ps script – it kept on failing. One exam
Read More

TIL: ESXi caches IP to avoid excessive DNS lookup

Had a customer using hostname in mounting NFS and i wanted to test if DNS was a dependency for this kind of setup. Removed the DNS and..*poof* NFS mount is still alive and kicking. Apprently, ESXi caches the IP it resolves. Good news for people using NFS and mounted it using hostname   Here’s a KB on how to clear the internal cache: https://kb.vmware.com/kb/2117593
Read More

Simple vRealize Orchestrator Configuration

Didn’t realize there was an “easy” go-to button in vRealize Orchetrator to auto-configure the following: Import license Import certificated Configure SSO Configure vCenter Server Plugin   Just login to vRealize Orchestrator Configuration and setup the component manager lookup – VMware vRealize Orchestrator Configuration -> General -> vSphere Configuration
Read More

Failed to run vdcpromo / Firstboot script execution error when installing additional external PSC – which log to look for

Ok. For people who keep getting this when installing additional PSCs:   Unfortunately, the logs that get’s dump in your local PC (where you initiate the installation) doesn’t provide enough information for you to troubleshoot this. The correct logs to look for would be inside the PSC appliance that gets deployed. SSH to the failed PSC installation Go to the following path:  /var/log/firstboot Look in
Read More

Missing tab in vRealize Automation when using IE

Happy New Year! I’ve had experiences in the field where Users are seeing missing tabs when editing Blue prints, particularly Storage and Properties, is experienced when using Internet Explorer. Overall, weird experiences when using IE. Quick solution to this is: In IE, 1. Select Tools > Compatibility View settings. 2. Deselect Display intranet sites in Compatibility View. That’s it! Explanation: Appare
Read More