Kubernetes | Command Cheat Sheet(KB#00092)

OverviewWell yes, you are thinking right that I am learning Kubernetes so wanted to share some useful insights and will continue to share stuff on this. Below are some commands for daily operations while working with Kubernetes. I will keep on adding stuff here.   table {width:100%} table,th,td {border: 1px solid black;} th,td{text-align:center;} Command to Command ...
, ,

PS | How to get HA restarted VM's Org and OrgvDC info with VM Name

OverviewYou will see many blogs giving solution for fetching the VM names which are restarted by HA in event of esxi host failures using Get-VIEvent powercli command. But the extracted VM Name too is not in well format to use as it is. You have to use excel and text to column and then extract the VM Name etc. For me, I have vCD also so at the time of ESXi host failures and HA events, I not only need...

vRA | How to manually assign the unassigned shards

 OverviewIn one of the vRA upgrade from 7.4 to 7.6, I faced this issue post upgrade. All went well except below error on VAMI page of both vRA appliances (as I had two nodes). If you have more and if you stuck with this error then you will see this error on all the nodes. ================Elasticsearch validation failed:status: rednumber_of_nodes: 2unassigned_shards: 4number_of_pending_tasks:...

Miscellaneous Notes

This is dynamic post and I will keep on adding points in here. I generally add small but useful things here which is not worthy to create long post.   table {width:100%} table,th,td {border: 1px solid black;} th,td{text-align:center;} How to Explanation transfer the tech-support bundle to FTP on Arista Router copy flash:/EOS-4.18.2F.swi ftp:/user:password@192.168.10.15/EOS-4.18.2F.swi...
,

PS | To extract DRS rules with VM names

Hi Guys,This is not a big thing but still I wanted to document it for my own reference. I got a request like which VMs are in which DRS rules so I got below script.#Start here$VC = Read-host "Enter the FQDN\IP of vCenter Server"Connect-VIServer $VC$DRSRules = Get-Cluster | Get-DrsRule$Results = ForEach ($DRSRule in $DRSRules)     {    "" | Select-Object -Property...
,

vROPS | CPU Addition Automation

Hello Friends,In my previous post, I explained the cpu addition automation with PowerShell. Now, I got a request to explain the steps from vROPS as well. As I said that who has vROPS then it is better than doing it from PowerShell. vROPS is undoubtedly Enterprise level solution and I would say PS here...
, ,

Automation | Add vCPU in VM if usage is more than 90%

Hi Guys,I got this question from one of the VMware group so I thought to add it in my blog and then share. Automation of CPU addition is not tough but adding it with condition can be little challenging. You can do it with vROPS very easily but if you don't have vROPS then I have solution for you.Pre-requisite is to enable hot add for CPU. Below is the base code-  Connect-VIServer vcenter_ip #to...

Cloud Director | How it works with VM Snapshot

Hello Guys,Hope all are healthy and safe and enjoying the present. If you are healthy and safe and still not enjoying the life then start enjoying it :) This was today's Gyan! I wish that as VMware has this snapshot feature, life also should have this feature. When you feel that I am most content, successful...