In order to avoid this situation we need to configure password less ssh login. Please follow below link.
HOW TO CONFIGURE PASSWORD LESS SSH LOGIN.
Now execute below commands to gather mount point information from all the three servers.
SERVERS_LIST=”192.168.216.131 192.168.216.132 192.168.216.133″
for i in $SERVERS_LIST
do
echo “——————————–” >> df_info
echo “* HOST: $i ” >> df_info
echo “——————————–” >> df_info
ssh manmohan@$i df >> df_info
done
and finally all mount point details can be collected from the “df_info” file.
Pages: 1 2
Leave a Reply