Search This Blog

Monday, 31 July 2023

Handling Infra Issues

 1. ESXI Host connection not responding 

Ping  Esxi Host from VC

Tracert log

Ping default gateway

check the vLAN number 

Check what IP host got?

Check if host able to get IP from DHCP

check DNS resolution 

 

902  - UDP - Incomming - ESXi Management IP addresses - vCenter Server Management IP address - Core management communications between vCenter Server and ESXi (vpxd)

Powershell : 

Test-NetConnection ESXI_HOST_NAME -port 902 -InformationLevel Detailed

Python: 

import socket as sock
create_socket = sock.socket(sock.AF_INET, sock.SOCK_STREAM)

destination = ("ESXI_HOST_NAME", 902)

result = create_socket.connect_ex(destination)

if result == 0 :
    print("Port is open")
else:
    print("Port is not open")

create_socket.close()

Ansible_Notes

   ansible -i inventory.ini -m ping all   # inventory.ini it will ping to the hosts which are in inventory # ansible -i inventory.ini -m pin...