Delphix Products

 View Only
  • 1.  An error occurred when attempting to connect to remote host

    Posted 04-13-2022 12:46:00 PM


    ------------------------------
    hebert souza
    TGV
    TGV Tecnologia Ltda.
    ------------------------------


  • 2.  RE: An error occurred when attempting to connect to remote host
    Best Answer

    Posted 04-13-2022 01:12:00 PM

    Hello Hebert-

    The message indicates the Delphix Engine timed out while attempting to connect via SSH to the IP address indicated, using the specified TCP port (22, by default).  

    This can be encountered as the result of a routing issue, firewall between the Delphix Engine and the host, firewall settings on the host, among other causes.  If you'd like to test further, the Environment creation can be attempted again and monitored by your network team, or you can execute manual tests as well. 

    To execute ping test, you can use the Network Latency test via CLI.  Here's an example, simulated using the IP address from your screenshot:

    delphixEngine> network test latency
    delphixEngine network test latency> create
    delphixEngine network test latency create *> set remoteAddress=192.168.0.157
    delphixEngine network test latency create *> commit
    `NETWORK_LATENCY_TEST-1
    Dispatched job JOB-28
    NETWORK_LATENCY_TEST_EXECUTE job started for "192.168.0.157-2022-04-13T17:58:30.245Z".
    Executing network latency test.
    NETWORK_LATENCY_TEST_EXECUTE job for "192.168.0.157-2022-04-13T17:58:30.245Z" completed successfully.
    delphixEngine network test latency> ls
    Objects
    NAME STATE AVERAGE
    192.168.0.157-2022-04-13T17:58:30.245Z COMPLETED 241usec

    Operations
    create

    Once completed, you can select the test to view results (note, the job completing successfully does not indicate actual ping success). 

    Loss is the primary concern; if packets are lost, this suggests a network routing issue or some other problem with basic TCP connectivity. In the example below, I have 0 loss, so I know I can reach the host.  Note, since this is a basic ping test, if ICMP is suppressed in the network this test may still fail, though the host can be reachable.

    delphixEngine network test latency> select 192.168.0.157-2022-04-13T17:58:30.245Z
    delphixEngine network test latency '192.168.0.157-2022-04-13T17:58:30.245Z'> ls
    Properties
    type: NetworkLatencyTest
    name: 192.168.0.157-2022-04-13T17:58:30.245Z
    average: 241usec
    endTime: 2022-04-13T17:58:49.786Z
    loss: 0
    maximum: 314usec
    minimum: 198usec
    parameters:
    type: NetworkLatencyTestParameters
    remoteAddress: 192.168.0.157
    requestCount: 20
    requestSize: 16B
    reference: NETWORK_LATENCY_TEST-1
    remoteAddress: 192.168.0.157
    startTime: 2022-04-13T17:58:30.245Z
    state: COMPLETED
    stddev: 32usec

    Beyond this, if no loss is indicated, you can perform further ad-hoc tests of SSH connectivity via CLI as well, substituting values as appropriate for username and credentials.password:

    delphixEngine> connectivity ssh
    delphixEngine connectivity ssh *> set address=192.168.0.157
    delphixEngine connectivity ssh *> set username=<username>
    delphixEngine connectivity ssh *> set credentials.type=PasswordCredential
    delphixEngine connectivity ssh *> set credentials.password=<password>
    delphixEngine connectivity ssh *> commit

    Once the SSH connectivity can be successfully tested, you can proceed with adding the Environment.

    If more detailed assistance is required, a Support case can be opened, though your network and admin teams will be the best initial resource to ensure requisite services and routing are available.  

    Please also review our Documentation, which includes port requirements for the Delphix Engine to reach remote Environments.
    https://docs.delphix.com/docs/deployment/network-connectivity-requirements
    https://docs.delphix.com/docs/datasets/oracle-environments-and-data-sources/oracle-support-and-requirements/network-and-connectivity-requirements-for-oracle-environments#NetworkandConnectivityRequirementsforOracleEnvironments-PortAllocationforOracleEnvironments



    ------------------------------
    Sean Nothdurft
    Senior Principal Technical Support Engineer
    Delphix
    ------------------------------



  • 3.  RE: An error occurred when attempting to connect to remote host

    Posted 04-20-2022 12:53:00 PM
    Thank you Sean Nothdurft, it was of great help!

    ------------------------------
    hebert souza
    TGV
    TGV Tecnologia Ltda.
    ------------------------------