just another tech blog site...

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

Weekend Upgrade: ESXi and vCenter

Weekend upgrade in preparation for vRealize Automation 7. – Updated ESXi to latest – Updated vCenter to latest U1 version – Repointed to an External PSC This link details everything that you need to repoint/ leverage the new U1 feature of PSC repointing: https://blogs.vmware.com/vsphere/2015/10/reconfiguring-and-repointing-deployment-models-in-vcenter-server-6-0-update-1.html UPDATE: Of course, no u
Read More

Send Email alert when SSH is enabled

Recently got a request to add Alarms + Email notification whenever SSH is enabled in the hosts for security audit purpose. Seems easy enough until you found out vSphere doesn’t ship with out-of-the-box alert for this kind of events. Fortunately, William Lam has a good reference for vCenter VOB alarms that you can use to define the event. One of those alarm is: esx.audit.ssh.enabled Which triggers when SSH is en
Read More

How to use PowerShell to send REST-API calls to vRA

Doing REST API calls via Powershell is straight forward using the Invoke-RestMethod cmdlet. Using the examples from inkysea’s blogpost, I’ll be showing how to do this calls to vRA using Powershell. To start off, we need to define the header and the body payload   After which, we define the URI/ vRA URL to pass the REST payload We then invoke the Invoke-RestMethod cmdlet ConvertTo-Json was done in $bo
Read More