dx_connection_check - delphix/dxtoolkit GitHub Wiki
SYNOPSIS
dx_connection_check [ -engine|d <delphix identifier> | -all ] [ -configfile file ] -hostip IP/FQDN -port portno [ --help|? ] [ -debug ]
DESCRIPTION
Check connectivity between Delphix Engine and host using a specified port
ARGUMENTS
Delphix Engine selection - if not specified a default host(s) from dxtools.conf will be used.
- -engine|d Specify Delphix Engine name from dxtools.conf file
- -all Run script on all engines
- -hostip IP/FQDN Host IP or FQDN
- -port portno Port to check
OPTIONS
- -help Print this screen
- -debug Turn on debugging
EXAMPLES
Check if listener port is open
dx_connection_check -d 53 -hostip 192.168.1.20 -port 1521
Connection to 192.168.1.20:1521 refused - port closed
Check if ssh port is open
dx_connection_check -d 53 -hostip 192.168.1.20 -port 22
Connection to 192.168.1.20:22 sucessful - port seems to be opened