Please find the response below.
Wells Fargo Bank, N.A.
Original Message:
Sent: 03-05-2024 10:29:41 AM
From: Neal Stack
Subject: >dx_connection_check Not working
Hi Karteek,
It looks like one of the engines is returning an unexpected response so it gives "Engine responded with unknown state.".
What version of dxtoolkit are you using ( ./dx_connection_check -v)?
Can you rerun the command with the "-debug" flag?
dx_connection_check -all -hostip 10.5.xx.200 -port 22 -debug
Thanks,
Neal
------------------------------
Neal Stack
Senior Principal Technical Support Engineer
Delphix
Original Message:
Sent: 03-05-2024 05:10:24 AM
From: Karteek Muthyala
Subject: >dx_connection_check Not working
Hi Andrew
Thank you for your message, but its not working and giving the error message.
D:\Users\kartmuthyala\Downloads\dxtoolkit2> dx_connection_check -all -hostip 10.5.xx.200 -port 22
Use of uninitialized value $out in pattern match (m//) at script/dx_connection_check.pl line 99.
Use of uninitialized value $out in pattern match (m//) at script/dx_connection_check.pl line 102.
Engine responded with unknown state. Please check below:
$VAR1 = undef;
$VAR1 = undef;
Terminating on signal SIGINT(2)
^C
D:\Users\kartmuthyala\Downloads\dxtoolkit2>
D:\Users\kartmuthyala\Downloads\dxtoolkit2>./dx_connection_check -all -hostip 10.5.xx.200 -port 22
'.' is not recognized as an internal or external command,
operable program or batch file.
D:\Users\kartmuthyala\Downloads\dxtoolkit2>dx_connection_check -all -hostip 10.5.xx.200 -port 22
------------------------------
Karteek Muthyala
Information Security Engineer
Wells Fargo Bank, N.A.
Original Message:
Sent: 03-05-2024 03:32:47 AM
From: Andrew McLennan
Subject: >dx_connection_check Not working
Hi Karteek
To run dx_connection_check against all engines in your dxtools.conf file, use the flag -all
eg:
./dx_connection_check -all -hostip <host-ip-to-test> -port <port-to-test>
Cheers
Andrew
------------------------------
Andrew McLennan
Senior Technical Support Engineer
Delphix
Original Message:
Sent: 03-05-2024 12:00:37 AM
From: Karteek Muthyala
Subject: >dx_connection_check Not working
Thank you neel, for single servers its working now, but how about all engines to run?
------------------------------
Karteek Muthyala
Information Security Engineer
Wells Fargo Bank, N.A.
Original Message:
Sent: 03-04-2024 10:48:14 AM
From: Karteek Muthyala
Subject: >dx_connection_check Not working
Hi Neal
Thank you for your response, but its not working for me.
D:\Users\kartmuthyala\Downloads\dxtoolkit2> dx_connection_check -d 53 -hostip 10.xxx.55.22 -port 1521
Can't find 53 in config file.
Can't connect to Dephix Engine 53
D:\Users\kartmuthyala\Downloads\dxtoolkit2> dx_connection_check -d 2 -hostip 10.xxx.55.22 -port 1521
Can't find 2 in config file.
Can't connect to Dephix Engine 2
D:\Users\kartmuthyala\Downloads\dxtoolkit2> dx_connection_check -d 53 -hostip 10.xxx.55.22 -port 22
Can't find 53 in config file.
Can't connect to Dephix Engine 53
I tried removing the no 53, not sure from where you got the 53. but I replaced with different numbers from our config file. but still its did not worked.
we have around 4 servers, I wanted to test connection all at a time. please suggest.
------------------------------
Karteek Muthyala
Information Security Engineer
Wells Fargo Bank, N.A.
Original Message:
Sent: 03-04-2024 08:43:38 AM
From: Neal Stack
Subject: >dx_connection_check Not working
Hello Karteek,
The help screen states that "Option hostip and port are required".
This command is designed to test connectivity between a given Delphix Engine (or all of them in the config file) and the specified host/IP & port combination.
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
Thanks,
Neal
------------------------------
Neal Stack
Senior Principal Technical Support Engineer
Delphix
Original Message:
Sent: 03-04-2024 07:57:12 AM
From: Karteek Muthyala
Subject: >dx_connection_check Not working
Hi Team
I have list of delphix engines in the config file, but when I run the command for all to check connections, its not working and its giving the error message.
D:\Users\kartmuthyala\Downloads\dxtoolkit2>dx_connection_check -all
Option hostip and port are required.
Usage:
dx_connection_check [ -engine|d <delphix identifier> | -all ] [ -configfile file ] -hostip IP/FQDN -port portno [ --help|? ] [ -debug ]
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
D:\Users\kartmuthyala\Downloads\dxtoolkit2>
Not sure whats the issue, could you please check and assist the right command to use?
------------------------------
Karteek Muthyala
Information Security Engineer
Wells Fargo Bank, N.A.
------------------------------