curl –header “Content-Type: application/json” \–request POST \–data ‘{“username”:”xyz”,”password”:”xyz”}’ \https://IP/suite-api/api/auth/token/acquire
NSLCD based auth on Linux machine/Usage meter 4.4 LDAP
Below is the sample configuration to get UM-Ad intigation via LDAP (replace the contents of /ec/nslcd.conf with what is appropriate in your environment. root@photon-machine [ /etc ]# cat /etc/nslcd.conf cat /etc/nsswitch.conf cat /etc/pam.d/system-auth cat /etc/pam.d/system-account cat /etc/pam.d/system-password cat /etc/pam.d/system-session cat /etc/pam.d/vmware-um-pam aside from this, NSLCD also needs some pre-requisites for the user that is used […]
vRA patching: clearing the patch tab from a failed patch
Symptoms: vRA patching failed and is now stuck with a patch in the repository, the remove button does not do anything, the retry button is grayed out: Note: Its always recommended that you take a powered off snapshot of all the nodes before patching and before performing the below: Take a powered off snapshot of […]
Usage Meter 4.x picks up vRops although vRops no longer exist on the environment
usage meter 4.x picks up vRops from vCenter mob. after adding the vCenter , UM does dynamic discovery. if for any reason, vRops extension is left stale behind on vCenter, UM will continue to think the product exists. To resolve this, log in to the vCenter mob and remove com.vmware.vrops and com.vmware.vcops Instructions to remove the extensions can be found here: https://kb.vmware.com/s/article/1025360 , Kindly […]
reuse a previously used password on photon/VMware appliances?
If for some reason the password had to be reset to the original, the below config file can be changed to allow re-using passwords edit /etc/pam.d/system-password change remember=5 to remember=1 and reboot the appliance Once the appliance boots up, set the password using
adding a webhook to vRA-Code Stream fails
adding a webhook to vRA-Code Stream fails with error: browser console: Symptoms: Gitlab is installed on the same network as of vRA/Codestream Cause: Gitlab does not allow connections to create a webhook from local subnet by default. Resolution :Allow requests to the local network from web hooks and services Steps: On gitlab, go to admin […]
vcsa update “stage only” and “stage and install grayed out”
screenshot: Solution: remove/rename the software update status config file On a side note: I ran into the issue after attempting to “stage and install” my homelabs vcsa, logs reveal: so, I did the above, staged the upgrade repository this time: Then ran the install:
vrbc 7.6 security patch (7.6.0.46000) installation fails
installing vRBC security patch fails: logs: /opt/vmware/var/log/vami/vami.log /opt/vmware/var/log/vami/updatecli.log Cause: the /boot partition ran out of space Resolution: Take a snapshot of the vrb appliance and perform the below: SSH to vRB VA. Create temp directory and move old kernel files. re-run the upgrade to the security build
Usage meter 4.3/4.4 vCenter server Partial collection failure: Events
Usage meter reports partial collection failure: events Cause: Connection was closed before the data could be retrieved successfully. Usage meter requests vCenter for events, this api generally takes some time to respond either due to the huge number of events or slowly due to heavy processing on the vCenter. Resolution: Increase timeouts* take a snapshot […]
Saltstack + vSphere: Deploying Windows VM’s with Windows Minion
Ensure that you have set up sphere provider provider, refer my previous blog https://blog.ntitta.in/?p=597 create a windows profile /etc/salt/cloud.profiles.d/w16k.conf Ensure that you have the smbprotocol and pypsexec installed on the guest windows server template, ensure vmware tools is installed and create a PowerShell script in the path: c:\scripts\e.winrm.ps1, refer salt doc for more information: https://docs.saltproject.io/en/latest/topics/cloud/windows.html […]