It helps to group scattered VMs across multiple datacenters but belongs to same entity.
To elaborate,
Goal - I want to have a heatmap dashboard for all VMs of my client and in a single pane.
Challenge - My client's VMs are scattered around 4 data centers and in multiple folders and it is on vCloud Director platform. But vROPS will not be able to show the data in single pane of view because VMs...
Python | Web page automation with Selenium
Below example is to auto-login in web-page. Already there are lots of websites sharing the same but I would like to have all the info at one place(Because this is my vCloud Notes) :)
#Start here
from selenium import webdriver #Install the selenium package
from selenium.webdriver.common.by import By
import time
import selenium, os, time
from selenium import webdriver
from selenium.webdriver.common.by...
NSX | MicroSegmentation
Micro-segmentation is a fancy term, basically it is kind of next level security provided by NSX. It is well known as "Micro" because it helps us to control the traffic flow even from a vNIC.
This Micro-segmentation basically we achieve by DFW that is Distributed Firewall.
Internet is already flooded...
vROPS | Health Check of cluster
Sometime we have to check the cluster health. In terms of database size, collected metrics size etc..
for that I have a script which gives you very beautiful view of each and every thing of all the vrops cluster nodes. Run the script and you see it by yourself.
Step 1: Login vrops master node with...
Zerto Virtual Manager | Change Recovery VRA VM with powershell cmdlet
As a pre-requisite, you might need to download and install Zerto PowerShell Package from here
#Start here
clear
function LoadSnapin{
param($PSSnapinName)
if (!(Get-PSSnapin | where {$_.Name -eq $PSSnapinName})){
Add-pssnapin -name $PSSnapinName
}
}
# Loading snapins and modules
LoadSnapin -PSSnapinName "Zerto.PS.Commands"
clear
Write-host "Welcome to Zerto Powershell Script to change the Recovery...
Zerto Virtual Manager | Pause replication on all VPGs with CMDlets
It is simple, if you know it. Let's us powershell to do that.
function LoadSnapin{
param($PSSnapinName)
if (!(Get-PSSnapin | where {$_.Name -eq $PSSnapinName})){
Add-pssnapin -name $PSSnapinName
}
}
# Loading snapins and modules
LoadSnapin -PSSnapinName "Zerto.PS.Commands"
$VPGs = Get-ProtectionGroups -ZVMIP 1.1.1.1 -ZVMPort 9080 -Username administrator -Password password -SiteName ALL
#1.1.1.1...
vCenter Server | How to get percentage free space of a datastore?
$vcenter =
read-host "Enter vCenter server FQDN "
Connect-VIServer
$vcenter
echo
"Welcome to Datastore free space calculator tool"
echo
""
echo
" Press 1 to search details for single datastore"
echo
" Press 2 to search details for all the datastores"
$data =
Read-Host "Enter your choice"
If($data
-eq 1 )
{
$a=
Read-Host " Please enter the name of DS"
$DS=
Get-Datastore
Get-Datastore
|...
NSX | How to disable SSH on all NSX edges?
Enabled SSH can be a security threat so it is recommended to keep
it disabled and enable only when highly required.
Again disabling it manually is
a tedious task (at least for me) so I thought to do it through powershell.
Below example is for selected
edges, in case you want it to run for all then simply remove the source file and
run "Get-Nsxedge".
To disable SSH on selected Edges
#Connect...
NSX | How to get IPSec VPN Tunnel Statistics for all NSX edges
I simply recalled the NSX API through powershell and got the required result.
#Start
clear
#replace 1.1.1.1 with actual IP address of NSX Manager
Connect-NSXServer -NSXServer 1.1.1.1
#Put all the edge-IDs in below location, for which you want to see the result.
$edgeids = Get-Content -path C:\Temp\gjohar.txt
foreach($edgeid...
NSX | How to Connect NSX Manager in Rest API client?
To connect with APIs of NSX Manager, you can use any tool like Postman or Insomnia.
Let's see, how we can do that.
I use insomnia, so will demonstrate via insomnia only. However process is quite similar.
Step 1: Install and open Insomnia
1.a : It is freeware tool and downloaded from here. Please...
Zerto Virtual Manager | How to read xml file extracted from ZVM (Zerto Virtual Manager)
To explain it completely, let me share the thought behind this post-
In ZVM, when we recreate any VPG, we export its setting (Which include VMs name, IP settings, failover network, test network etc) before deleting it. So that, we don't need to create it from scratch and manually.
When we have this exported settings, we just import it back and VPG automatically get created. This setting which...
vROPS | Views
vROPS is an amazing tool and it is essential to know about "Views and Reports" feature, which is kind of "must know" thing who work on vROPS. Let's explore how you can create "Views and Reports" and take benefit out of it.
I will explain it with one use case.
Use Case: Under some customer issue,...
NSX | Troubleshooting tricks to solve communication issues between two VMs in NSX environment

When I say between two VMs, there can be many use cases as below
Use Case 1: These two VMs can be on same host and in same VXLAN
Use Case 2: These two VMs can be on same hosts and in different VXLAN
Use Case 3: These VMs can be on different host and in same VXLAN
Use Case 4: These can be on different...
NSX | How to capture network traffic on NSX edge and download captured file?
Capturing network traffic and
downloading .pcap file is kind of must know thing when we do any network
troubleshooting in NSX environment.
To do so, you need to follow below
steps in order-
Step 1: Take console or putty of
NSX edge device
Step 2: login with admin credentials
(username "root"...
NSX | When and why we need to redeploy NSX edge?
Hi Guys,So, Edge or ESG (Edge service Gateway) is component of NSX which provide services from L3-L7 that is from routing to load-balancing.I have seen few cases where communication was impacted between the VMs on either side of ESG. For example, VM in SITE A and VM in SITE B is not pinging with each other and there is a actual outage.And I checked I found no changes were made in physical network...
vCloud Director | How to re-synchronize inventory of vCenter server with vCD
Basically we need to do this due
to stale entries in vCD database. It happens when any object get
removed\deleted directly from vCenter while it was being managed by vCD.
Hence vCD don't know if that was deleted and treat it like live object which
creates issues in vCD operations. By re-sync inventory, vCD re-read all the
inventory of vCenter server and update in database which resolve the issue.
It...
Subscribe to:
Posts (Atom)