Source code: https://github.com/saltstack/salt/blob/v3006.7/salt/proxy/vcenter.py Documentation: https://docs.saltproject.io/en/3007/ref/proxy/all/salt.proxy.vcenter.htmlmodule: https://docs.saltproject.io/en/3006/ref/modules/all/salt.modules.vsphere.html Depending on the version of vsphere, you must install pyvomi sample configs: version: proxy-minion config: start minion: Accept keys Test minion: Available module for vCenter:my-vcenter-proxy: ———- vsphere.: vsphere.add_capacity_to_diskgroup: Adds capacity disks to the disk group with the specified cache disk. cache_disk_id The canonical name of the cache disk. capacity_disk_ids […]
Delete Dead ALB from VCD
Alb records are normally stored in the below tables, Since in my case, my ALB env was unrecoverable, delete the below record from VCD be fore adding a new integration here’s the DB schema (from VCD10.6.1) vcloud=# \d load_balancer_controllersTable “public.load_balancer_controllers”Column | Type | Collation | Nullable | Default——————–+————————-+———–+———-+———id | uuid | | not null |name […]
Proxmox! set persistent USB NIC bindings
find the ID_USB_SERIAL_SHORT of the USB NIC: grab mac address Create a new File with the below content
Nested Esxi, Silence unsupported controller health
Check check all SSH to VCSA, USE rvc to log in to vcsa vsan.health.silent_health_check_status vcsa01.ntitta.local/Cloud-DC01/computers/mgm02/ vsan.health.silent_health_check_configure vcsa01.ntitta.local/Cloud-DC01/computers/mgm-01 -a controlleronhcl
Nginx Proxy manager config for VMware Cloud Director 10.5
Tested with VCD 10.5.1 In proxy host > advanced > add the below. fastcgi_buffers 16 200k;fastcgi_buffer_size 100k;proxy_buffer_size 128k;proxy_buffers 4 256k;proxy_busy_buffers_size 256k;proxy_set_header Upgrade $http_upgrade;proxy_set_header Connection “upgrade”;
Nested Esxi vSAN sample scripts
vRA8, Sample blueprint to Deploy a Windows AD with Cloudinit.
IP ALLOCATE failed: Action run failed with the following error: (‘Error allocating in network or range: Failed to generate hostname. DNS suffix missing’, {})
Earlier this week, I was trying to integrate my test vRA deployment with Infoblox and all deployments failed with the error: When looking at the Extensibility tab > action runs > (filter) change from user runs to all runs and look for a failed action: Infoblox_AllocateIP. There are 2 ways to remediate this. Workaround 1: […]
Troubleshooting saltconfig (aria config) Minion Deployment Failure
When troubleshooting a minion deployment failure, I would recommend hashing out the salt part of the blueprint and run this as a day2 task. This would help save significant deployment time and help focuss on the minion deployment issue alone. So in my scenario, I Finished my deployment and run the salt as a day2 […]
VMware PowerCli installation fails
VMware powerCli installation fails with the below: Workaround: install PowerShell by skipping publisher checks: Cause: This is due to the fact that the certificate we used to sign the modules was replaced with a new one from a new publisher.