Hi Scott,
thanks for response. I tested using hostname/user/password. All seems to be correct:
ssh delphix_admin@<hostname>
password:
elabdelphix> exit
-------------
Now I am using port # 443 and protocols : https
successfully tested with dxtoolkit
Appliance Status Version Total (GB) Used (GB) Free (GB) PctUsed(%) dSource# VDBs# Total Ob
-------------------- -------- -------- ---------- ---------- ---------- ---------- -------- -------- --------
xxxxxxx.nyc-p02 UP 5.2.5.1 191.81 11.12 180.69 0.06 3 11 14
-------------------
But with python script , I am getting same:
-----------------------------
File "/usr/lib64/python2.7/httplib.py", line 1075, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 1037, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 881, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 843, in send
self.connect()
File "/usr/lib64/python2.7/httplib.py", line 824, in connect
self.timeout, self.source_address)
File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
raise err
socket.error: [Errno 111] Connection refused
-----------------------------
Please suggest , what else should I test ?
Does delphixpy needs dxtools.conf file in same directory where my script is located?
I have given hostname, login, passwd in the script itself...