Home » Infrastructure » Linux » How To check Connectivity from Linux using hostname/IP (Linux version 2.6.32-431.20.3.el6.x86_64 (mockbuild@sl6.fnal.gov) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #1 SMP Thu Jun 19 14:01:59 CDT 2014)
How To check Connectivity from Linux using hostname/IP [message #669946] Fri, 25 May 2018 02:08 Go to next message
ssyr
Messages: 65
Registered: January 2017
Member
Hi All,

could you please suggest me the command used to check connectivity from Linux OS. In my case MYSQL, MSSQL all databases are available I want to test its connectivity from Linux

How Can I check this please suggest me some help on this.

I have hostname also IP .


Thanks In Advance.
Re: How To check Connectivity from Linux using hostname/IP [message #669954 is a reply to message #669946] Fri, 25 May 2018 09:35 Go to previous messageGo to next message
EdStevens
Messages: 1376
Registered: September 2013
Senior Member
"connectivity" could mean several things, representing several layers.
The simplest, most fundamental, is 'ping <hostname>' That will send a packet from the client to <hostname>. If a response is received, you've got basic network connectivity.

No connectivity (vbdb112-01 is down at the moment)
ed@ed-Gazelle-00:~$ ping vbdb112-01
PING vbdb112-01 (192.168.56.102) 56(84) bytes of data.
From ed-Gazelle-00 (192.168.56.1) icmp_seq=1 Destination Host Unreachable
From ed-Gazelle-00 (192.168.56.1) icmp_seq=2 Destination Host Unreachable

Connectivity (vbdb112-01 is now up)
ed@ed-Gazelle-00:~$ ping vbdb112-01
PING vbdb112-01 (192.168.56.102) 56(84) bytes of data.
64 bytes from vbdb112-01 (192.168.56.102): icmp_seq=1 ttl=64 time=0.667 ms
64 bytes from vbdb112-01 (192.168.56.102): icmp_seq=2 ttl=64 time=0.367 ms
Re: How To check Connectivity from Linux using hostname/IP [message #669955 is a reply to message #669954] Fri, 25 May 2018 10:34 Go to previous messageGo to next message
gazzag
Messages: 1119
Registered: November 2010
Location: Bedwas, UK
Senior Member
Just try connecting to the databases over the network. See here.

[Edit: munged link]

[Updated on: Fri, 25 May 2018 10:37]

Report message to a moderator

Re: How To check Connectivity from Linux using hostname/IP [message #669979 is a reply to message #669955] Mon, 28 May 2018 01:36 Go to previous message
ssyr
Messages: 65
Registered: January 2017
Member
Thank you all.
Previous Topic: Migration database from windows to linux using RMAN
Next Topic: Getting Error When Executing Java jar file from Linux
Goto Forum:
  


Current Time: Tue Nov 12 19:14:08 CST 2024