Download iso  one by one using below command it will take 10 mins means parallel download will take 7 mins

#wget -b -i  url.txt

# cat url.txt
http//:192.168.10.10/os/rhel6.1.iso
http//:192.168.10.10/os/rhel6.2.iso
http//:192.168.10.10/os/rhel6.3.iso
http//:192.168.10.10/os/rhel6.1.iso

-p parallel 4 iso i mentioned …

#time xargs -n 1 -P 4 wget < url.txt

Advertisements

#!/bin/bash
echo “Script to create password less between Linux Server”
echo “Enter Remote_username :”
read user

if [ $user != ‘root’ ]
then
echo “ssh passwordless connection only for full privilege user”
exit 1
fi

echo “Enter Remote_Server_IP :”
read ip

/usr/bin/ssh -o PasswordAuthentication=no $user@$ip /bin/true
if [ $? -eq 0 ]; then
echo Already passwordless connection between two systems
exit 1
else
echo ssh passwordless connection is not yet enabled between two system
fi

if [ -e /root/.ssh/id_rsa.pub ]
then
echo “Already ssh key generated”
else
echo ” Generating ssh key ”
ssh-keygen -t rsa
fi

ssh-copy-id $user@$ip
sleep 2

echo “Testing SSH password less connection”
ssh -q $user@$ip echo “test”
if [ $? -eq 0 ]; then
echo Passwordless enabled successfully and connection also tested
exit 1
else echo test connection have issue
fi


#!/bin/bash
echo “Script to verify password less between Linux Server”
echo “Enter Remote_username :”
read user

echo “Enter Remote_Server_IP :”
read ip

/usr/bin/ssh -o PasswordAuthentication=no $user@$ip /bin/true
if [ $? -eq 0 ]; then
echo Already passwordless connection between two systems
exit 1
else
echo SSH passwordless connection is not yet enabled between two system
fi


[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
Enforcing

disable SELINUX in Yum server side it will work

[root@rhel7 ~]# getenforce
Disabled


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. 192.168.1.10 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