Monday, April 24, 2023
Wednesday, April 19, 2023
Check ESXi host license, features and expiration date using command line
Type " vim-cmd vimsvc/license --show
will display with ESXi host license, features and expiration date.
Tuesday, March 28, 2023
Create custom reports for vm's IOPS min/max/avg iops for 30 days
Create custom reports for vm's IOPS min/max/avg iops for 30 days
After name
Add vm's min/max/avg iops view in the views and dashboard that’s it, report will be ready to generate.
Sunday, March 12, 2023
Managing HCX service using the HCX CLI
Switch user to root: su –
Type systemctl <action> <service name>
Action can be status, stop, start, restart
Service name: Web-engine or app-engine
Example: systemctl status web-engine
systemctl status web-engine
systemctl stop web-engine
systemctl restart web-engine
Saturday, February 11, 2023
Here is a handy bit of PowerCLI to return the VMhost Name, Product, ESXi build, Serial number of all hosts in vCenter.
Thursday, February 9, 2023
Create NSX-T segments using the terraform
Export the template from GitHub https://github.com/vmware/terraform-provider-nsxt and modify the template as mentioned below.
“`variables.tf“` file mention the manager IP, user name, password
# NSX Manager
variable "nsx_manager" {
default = "IP here"
}
# Username & Password for NSX-T Manager
variable "username" {
default = "user name here"
}
variable "password" {
default = "password here"
}
This is the “`main.tf“` file:
# Prerequisites:
# 1. Add NSX-T License
# Data Sources we need for reference later
data "nsxt_policy_transport_zone" "overlay_tz" {
display_name = "Overlay-TZ"
}
data "nsxt_policy_transport_zone" "vlan_tz" {
display_name = "VLAN-TZ"
}
# NSX-T Manager Credentials
provider "nsxt" {
host = var.nsx_manager
username = var.username
password = var.password
allow_unverified_ssl = true
max_retries = 10
retry_min_delay = 500
retry_max_delay = 5000
retry_on_status_codes = [429]
}
# Create NSX-T VLAN Segments
resource "nsxt_policy_vlan_segment" "vlan100" {
display_name = "VLAN100"
description = "VLAN Segment created by Terraform"
transport_zone_path = data.nsxt_policy_transport_zone.vlan_tz.path
vlan_ids = ["11"]
}
Wednesday, January 11, 2023
How to read the vrops pre-upgrade assessment report using support bundle
1. Generate support bundle
2.extract the support bundle file.
3.Go to apuat-dat > report
4. open Index.html file read the vrops pre-upgrade assessment report before proceeding with the vrops upgrade.
Sample assessment report.
RAV migration cutover was failing after sync
Issue: HCX RAV migration was failing after base sync and while cutover the VM. Noticed below error in hcx connector app logs. TxId: 4cda256...
-
SSH into the HCX Manager Switch user to root: su – Type systemctl <action> <service name> Action can be status, stop, sta...
-
SSH the ESXi host using putty. Type " vim-cmd vimsvc/license --show will display with ESXi host license, features and expiration da...
-
Issue: The "No Connection to VR Server: Not Responding" indicates a network communication issue between the ESXi host and the vSp...


