logo

Home

just another tech blog site...

[TKG Series – Part 1] VMware Tanzu Kubernetes Grid introduction and installation

TKG Series [TKG Series – Part 1] VMware Tanzu Kubernetes Grid introduction and installation  [TKG Series – Part 2] Install Kubernetes Cluster(s) using Tanzu Kubernetes Grid   [TKG Series – Part 3] Creating custom plan in Tanzu Kubernetes Grid This is going to be a long post as I will try to keep it as detailed as possible. Quick Introduction VMware Tanzu Kubernetes Grid (TKG for short) is the rebranded PKS
Read More

NSX Intelligence Upgrade experience

Upgrading NSX intelligence is not the most straight-forward process. Here’s experience I’ve had and how to overcome them: How to use IIS to host the .NUB upgrade bundle As part of the upgrade, you need to “host” the *.nub or upgrade bundle to a local webserver so the appliance can pick it off. I only had IIS running in my environment so I had to use it. Now, for IIS to work – you need to
Read More

How to setup govc to automate vSphere Tasks

This post is a long overdue tutorial on how to setup govc. What is govc? It’s a cli utilizing govmomi, a go library used to interact with vSphere API. Why use govc? It’s fast and way better to use for automation tasks. Installation: Download release binary here: https://github.com/vmware/govmomi/releases Depending on the platform, decompress: gzip -d govc_linux_amd64.gz Flag it as executable chmod +x govc
Read More

Identity Manager Cluster : Error 500 after reboot

Encountered issue after a power failure which cause all the nodes of the identity manager cluster to reboot. Based on the error, i’m getting the following: Error 500: org.hibernate.exception.GenericJDBCException: could not prepare statement Bookmark this KB as this explains how the internal Postgres cluster works – basically, if all the nodes failed – you need to manully bring up the VIP of the post
Read More

vRealize Automation 8.0.1 fails (new install/ after reboot)

Making a post on this as I experienced this first hand. Issue is, after reboot, some pods will not run. Specifically, vco and pg. This can be verified by executing the following command in one of the node: kubectl get pods –all-namespaces You’ll notice some pods will be CrashLoop state. To resolve, the following KB will help: https://kb.vmware.com/s/article/78235 For new installs: https://kb.vmware.com/s/
Read More

Site Update: More Secure! More Juice!

With the recent ncov19 situation, this gave me time to start the long overdue updates to my site which include: Migrating to a new (beefier) VPS Server! End-to-End SSL certificates between CDN and the VPS Migrate from docker-compose to ansible for easier rebuild of the site. Overall, happy with the results.. and with that said, I’ll create a more detailed steps on the learning from this and what you can do with
Read More

NSX-T to Log-Insight Steps

Unlike NSX-V, NSX-T configuration for logging is done manually. Syslog configurations are not propagated to objects (Edge, Transport Nodes) created from the manager. (this true with the current version: NSX-T 2.5.1) Anyway, here are the steps on how to configure: Manager / Edge Nodes: SSH to the Management IP. I’m using root Switch to admin to start working with NSX CLI (cmd: su admin) Issue command: set-loggin
Read More

How to packet capture leaving/ entering vmnic in vSphere

I was with a GSS Support today troubleshooting NSX issue on one of my engagement. He did a packet trace from ESXi hosts to see if there is traffic leaving/ entering the physical NIC which really nice. This will be helpful in establishing if the issue is somewhere in the environment or not. Here’s the command Receive: pktcap-uw –uplink vmnic0 –capture UplinkRcvKernel -o -| tcpdump-uw -nr – Send
Read More

Issue adding NSX-V Cloud-account to vRA8

Unable to validate the provided access credentials: Failed to validate credentials. Error: java.security.cert.CertificateException: No subject alternative DNS name matching <nsx> found. Cloud account: null Task: /provisioning/endpoint-tasks/d3f06b7ab13aec7559c1458d6fa20 Got the above error when trying to add NSX-V cloud-account to vRealize Automation 8. Issue: it’s because the self-signed certificate of the
Read More