[Errno 14] curl#7 – “Failed connect to XX.XX.XX.XX21; No route to host”

disable iptables in Yum server it will work

[root@rhel7 ~]# iptables -F
[root@rhel7 ~]# iptables -L


ftp://xx.xx.xx.xx/pub/softwareupdate/repodata/repomd.xml: [Errno 14] FTP Error 55 0 – Given file does not exist

[root@rhel7 ~]# getenforce

disable SELINUX in Yum server side it will work

[root@rhel7 ~]# getenforce

while deploying VCSA from Linux environment to ESXi host check below condition are correct on your system.

  • DNS server should be needed in Linux machine
  • /etct/hosts entry should have esxi and vcsa DNS name entry in Linux machine
  • in the esxi side means where you are deploying esxi from there nslookup sholud work in ESXi
  • in /etct/resolv.conf entry should have only one DNS server. esxi should not have multiple entry like below.

in the above screen shot /etc/resolv.conf have both Ipv4 and IPv6. Actually in this case automatically ipv6 added by some other dhcp in the same network. is actual dns entry rest added by DNS name server because same network multiple dhcp server is running . remove that entry if saw in /etc/resolv.conf.

Solution :

TFTP open time out because server not able to reach tftp server.  If you added iptables rule for tftp dhcpd and http server. Add the rules for this server also and re-trigger the same


echo -e “—————————————————————————————————————————-”
echo -e “\t Hardware Resource and Model”
echo -e “—————————————————————————————————————————-”
echo -e “CPU Resources Allocated = $cpu core”
M=`dmidecode -t 17 | grep -w MB | awk ‘{ SUM += $2} END { print SUM }’`
res=$(echo “scale=3;$M/$GB” | bc)
echo -e “Memory Resoruces Allocated = $res GB”
P=`dmidecode -t processor | grep -i intel | grep -i version | head -1 | cut -d’:’ -f2`
echo -e “Processor Model = $P”
TH=`fdisk -l | grep -i sd | grep -i gb |wc -l`
echo -e “Total Number Disk connected = $TH”
TSH=`fdisk -l | grep -i sd | grep -i gb | awk ‘{ SUM += $3} END { print SUM }’`
dkres=$(echo “scale=3;$TSH/$GB” |bc)
echo -e “Total Size of all Disk = $dkres TB”
NN=`lspci | grep -i ethernet | cut -d ‘:’ -f3 | head -1`
echo -e “Network Interface card Model = $NN”
TN=`lspci | grep -i ethernet | wc -l`
echo -e “Total Number of NIC Connected = $TN”
NS=`ethtool eth0 | grep -i speed |awk ‘{print $2,$3}’`
echo -e “Network Interface Speed = $NS”
echo -e “—————————————————————————————————————————-”

[root@VM ~]# ./test.sh
Hardware Resource and Model
CPU Resources Allocated = 16 core
Memory Resoruces Allocated = 32.000 GB
Processor Model = Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz
Total Number Disk connected = 8
Total Size of all Disk = 7.891 TB
Network Interface card Model = VMware VMXNET3 Ethernet Controller (rev 01)
Total Number of NIC Connected = 1
Network Interface Speed = 10000Mb/s

Command to find out when (Time & Date) i connected HDD or added HDD in Linux Box

[root@vm1 ~]# ll /dev/sd*
brw-rw—- 1 root disk 8,  0 Mar  8 11:03 /dev/sda
brw-rw—- 1 root disk 8,  1 Mar  8 11:03 /dev/sda1
brw-rw—- 1 root disk 8,  2 Mar  8 11:03 /dev/sda2
brw-rw—- 1 root disk 8, 16 Mar 13 07:42 /dev/sdb




while doing pxe boot of any VM or server we will give mac address under this path /tftpboot/linux-install/pxelinux.cfg that time if u gave Upper mac address as below  it will fail

lrwxrwxrwx 1 root root  10 Feb 20 07:32 01-00-50-A6-9C-CE-E7 -> vm68
lrwxrwxrwx 1 root root  10 Feb 20 07:32 01-00-50-A6-9C-C1-C7 -> vm19

change as below it work 🙂 🙂 🙂

lrwxrwxrwx 1 root root  10 Feb 20 07:32 01-00-50-a6-9c-ce-e7 -> vm68
lrwxrwxrwx 1 root root  10 Feb 20 07:32 01-00-50-a6-9c-c1-c7 -> vm19