CLI Operation
This is an example of operating validateEnv.py by providing input information via the CLI.
[root@localhost ~]# validateEnv.py -d 10.3.3.4 --msa-ip 192.168.130.50 --msa-fqdn js-swc-msa-01.js.local -c Cluster-1 -vi 10.130.0.2 -vf vc.5fa34e0256f34b8aa2a583.swedencentral.avs.azure.com -vu [email protected] --obj-uri <storage_account_name> --obj-type Azure --obj-bandwidth-test --drvas drva1,drva2,drva3 --pre-install
vCenter password for user [email protected]:
Enter Azure Blob Storage Account Key:
Checking MSA...
Checking MMS server access...
Checking vCenter access...
Checking object/blob store access...
Checking object store bandwidth...
.. Done
Checking ESXi hosts...
Checking DRVAs...
*** JS-Tools VM Network Details ***
Interface IPv4 Address Is DHCP Network Name IP routes
----------- --------------- --------- ---------------------- -----------------------------------------------------------------------
ens161 192.168.131.93 True seg-192-168-131 default via 192.168.131.1 proto dhcp src 192.168.131.93 metric 100
192.168.131.0/24 proto kernel scope link src 192.168.131.93 metric 100
ens192 192.168.130.145 True seg-192-168-130-mgmt default via 192.168.130.1 proto dhcp src 192.168.130.145 metric 101
192.168.130.0/24 proto kernel scope link src 192.168.130.145 metric 101
ens193 0.0.0.0 False seg-192-168-133-static
ens224 192.168.131.172 True seg-192-168-131 default via 192.168.131.1 proto dhcp src 192.168.131.172 metric 103
192.168.131.0/24 proto kernel scope link src 192.168.131.172 metric 103
ens225 0.0.0.0 False seg-192-168-130-mgmt
ens256 192.168.132.173 True seg-192-168-132 default via 192.168.132.1 proto dhcp src 192.168.132.173 metric 104
192.168.132.0/24 proto kernel scope link src 192.168.132.173 metric 104
*** MSA - [Input IP - (192.168.130.50), IP from DNS - (192.168.130.50)] ***
[Input FQDN - (js-swc-msa-01.js.local), FQDN from DNS - ()]
*** DNS - ['10.3.3.4'] ***
Interface DNS record found? Reachable? Cert state 443 8443
----------- ------------------- ------------ ------------ ----- ------
- True True NA NA NA
*** MMS Subscription link - jsdr-mms.azurewebsites.net ***
Interface DNS record found? Reachable? 443
------------------------ ------------------- ------------ -----
ens161 (192.168.131.93) True True open
ens192 (192.168.130.145) True True open
ens193 (0.0.0.0) True False -
ens224 (192.168.131.172) True True open
ens225 (0.0.0.0) True False -
ens256 (192.168.132.173) True True open
*** vCenter - [Input IP - (10.130.0.2), IP from DNS - (10.130.0.2)] ***
[Input FQDN - (vc.5fa34e0256f34b8aa2a583.swedencentral.avs.azure.com), FQDN from DNS - ()]
Interface DNS record found? Reachable? Cert state 80 443 8443 Login Version
------------------------ ------------------- ------------ -------------- -------- ----- -------- ------- --------------------
ens161 (192.168.131.93) True True Unsigned certs open open filtered SUCCESS 7.0.3 build-21290409
ens192 (192.168.130.145) True True Unsigned certs open open filtered SUCCESS 7.0.3 build-21290409
ens193 (0.0.0.0) True False NA - - - NA 7.0.3 build-21290409
ens224 (192.168.131.172) True True Unsigned certs filtered - - SUCCESS 7.0.3 build-21290409
ens225 (0.0.0.0) True False NA - - - NA 7.0.3 build-21290409
ens256 (192.168.132.173) True True Unsigned certs open open filtered SUCCESS 7.0.3 build-21290409
*** Object/Blob store: Type - Azure, Account name - <storage_account_name> ***
[FQDN - (<storage_account_name>.blob.core.windows.net), IP from DNS - (20.150.44.4)]
Interface DNS record found? Reachable? Port Bandwidth
------------------------ ------------------- ------------ ---------- ------------------------------------------------
ens161 (192.168.131.93) True True 443 - open uploadSpeed = 471 MBps, downloadSpeed = 191 MBps
ens192 (192.168.130.145) True True 443 - open -
ens193 (0.0.0.0) True False 443 - - -
ens224 (192.168.131.172) True False 443 - - -
ens225 (0.0.0.0) True False 443 - - -
ens256 (192.168.132.173) True True 443 - open -
*** ESXi hosts ***
Host Name Cluster Name Interface Reachable? 5989 CIM running? IOF daemon running? Version
---------------------------------------------------------------- -------------- ----------- ------------ ------ -------------- --------------------- --------------------
esx02-r08.p01.5fa34e0256f34b8aa2a583.swedencentral.avs.azure.com Cluster-1 ens161 True open True True 7.0.3 build-21313628
- ens192 True open
- ens193 False -
- ens224 False -
- ens225 False -
- ens256 True open
esx07-r17.p01.5fa34e0256f34b8aa2a583.swedencentral.avs.azure.com Cluster-1 ens161 True open True True 7.0.3 build-21313628
- ens192 True open
- ens193 False -
- ens224 False -
- ens225 False -
- ens256 True open
esx05-r16.p01.5fa34e0256f34b8aa2a583.swedencentral.avs.azure.com Cluster-1 ens161 True open True True 7.0.3 build-21313628
- ens192 True open
- ens193 False -
- ens224 False -
- ens225 False -
- ens256 True open
esx11-r15.p01.5fa34e0256f34b8aa2a583.swedencentral.avs.azure.com Cluster-1 ens161 True open True True 7.0.3 build-21313628
- ens192 True open
- ens193 False -
- ens224 False -
- ens225 False -
- ens256 True open
esx06-r17.p01.5fa34e0256f34b8aa2a583.swedencentral.avs.azure.com Cluster-1 ens161 True open True True 7.0.3 build-21313628
- ens192 True open
- ens193 False -
- ens224 False -
- ens225 False -
- ens256 True open
esx05-r18.p01.5fa34e0256f34b8aa2a583.swedencentral.avs.azure.com Cluster-1 ens161 True open True True 7.0.3 build-21313628
- ens192 True open
- ens193 False -
- ens224 False -
- ens225 False -
- ens256 True open
*** DRVAs ***
Interface DRVA Name DNS record found? IP(from DNS) Reachable(from DNS IP)? Visible in MSA? IP(from MSA) Reachable(from MSA)? 32877 32878
----------- ----------- ------------------- -------------- ------------------------- ----------------- -------------- ---------------------- ------- -------
- drva1 False No Record False NA NA NA NA NA
- drva2 False No Record False NA NA NA NA NA
- drva3 False No Record False NA NA NA NA NA
The results are updated in ./validateEnvLastRun.txt file