How To Add Clients that are not Pingable : The name <client> could not be resolved on the network, or is not reachable

SUMMARY

How To Add Clients that are not Pingable : The name could not be resolved on the network, or is not reachable I

ISSUE

Customer is attempting to add a client and they do not allow ICMP on their network. They receive the following Error when attempting to add a client!
 

 
Summary: Error communicating with system.
 
Cause: Call was unsuccessful.
 
Detail: [System] Failed to save client: Registration for client <Client_Name> failed. The name <Client_Name> could not be resolved on the network, or is not reachable. Please be sure that the name and address are configured in the Hosts Configuration area of the User Interface, and that there is network connectivity between the Unitrends System and <Client_Name>.

RESOLUTION

Edit /usr/bp/bin/ping_check and add STATUS=0  on the line above exit$STATUS line at the end
 
1) vi /usr/bp/bin/ping_check
 
 
 
[ $# -eq 0 ] && exit 1
TMP1=/tmp/cttest_$$
STATUS=0
PING=ping
[ -x /sbin/ping ] && PING=/sbin/ping
[ -x /usr/sbin/ping ] && PING=/usr/sbin/ping
[ -x /etc/ping ] && PING=/etc/ping                   # For HP UX
$PING -? 2> $TMP1
if grep timeout $TMP1 >/dev/null
then
        # SUN OS, Solaris, SVR4 style
        $PING $* 2 > $TMP1 2>&1
        [ $? -eq 1 ] && STATUS=1
else
        # Lachman, SCO, DEC Alpha style, BSD, Linux
        OPTS=""
        SYSNAME=`uname`
        case "$SYSNAME" in
                [Ll]inux) OPTS="-w 5";;
        esac
        $PING -qc 1 $OPTS $* > $TMP1 2>&1
        [ $? -eq 1 ] && STATUS=1
        if egrep "0 packets received|unknown" $TMP1 >/dev/null 2>&1
        then
                STATUS=1
        fi
fi
rm -f $TMP1
STATUS=0
exit $STATUS
 
 
2) add the client 
 
 
3) then remove the STATUS=0 we placed at the end/bottom of the script. Your script should look like what we have below before you logout ***REQUIRED***
 
[ $# -eq 0 ] && exit 1
TMP1=/tmp/cttest_$$
STATUS=0
PING=ping
[ -x /sbin/ping ] && PING=/sbin/ping
[ -x /usr/sbin/ping ] && PING=/usr/sbin/ping
[ -x /etc/ping ] && PING=/etc/ping                   # For HP UX
$PING -? 2> $TMP1
if grep timeout $TMP1 >/dev/null
then
        # SUN OS, Solaris, SVR4 style
        $PING $* 2 > $TMP1 2>&1
        [ $? -eq 1 ] && STATUS=1
else
        # Lachman, SCO, DEC Alpha style, BSD, Linux
        OPTS=""
        SYSNAME=`uname`
        case "$SYSNAME" in
                [Ll]inux) OPTS="-w 5";;
        esac
        $PING -qc 1 $OPTS $* > $TMP1 2>&1
        [ $? -eq 1 ] && STATUS=1
        if egrep "0 packets received|unknown" $TMP1 >/dev/null 2>&1
        then
                STATUS=1
        fi
fi
rm -f $TMP1
exit $STATUS

CAUSE

The appliance will attempt to verify connectivity with the client via ping before adding it to the DPU as a client.  If the client is not verifiable via ICMP it may fail to add as a client.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us