Delphix Products

Expand all | Collapse all

Adding target server on new engine

Jump to Best Answer
  • 1.  Adding target server on new engine

    Posted 11-16-2016 03:52:00 PM
    Thanks for all the comments.

    I'm trying to add a target server to a new engine.  This target already exists in another delphix engine.  I try and run addhostgui.exe on the target but it says delphix connector service is not running.  I try and start this but it immediately stops....the event log doesn't really say much apart from 

    failed to kill process 400: System.ArgumentException: Process with an Id of 400 is not running.   at System.Diagnostics.Process.GetProcessById(Int32 processId, String machineName)
       at DelphixConnectorService.DelphixConnector.kill(Int32 pid)

    Should the delphix connector start up and stay running?  should I create a support ticket? Note: This conversation was created from a reply on: Combining dSources and target servers in multiple Delphix engines.


  • 2.  RE: Adding target server on new engine
    Best Answer

    Posted 11-16-2016 06:21:00 PM
    Mark did you try restarting (vs just starting) the connector? 


  • 3.  RE: Adding target server on new engine
    Best Answer

    Posted 11-16-2016 07:50:00 PM
    Does the Delphix Connector stay alive when you start it as a different user?

    Do you see a log in the Delphix Connector install directory?



  • 4.  RE: Adding target server on new engine

    Posted 11-16-2016 08:05:00 PM
    Hi david. We tried a different user today and again it just started and then stopped straight away. . I'll check the log file in the directory if one exists to see if it says anything. Thanks


  • 5.  RE: Adding target server on new engine
    Best Answer

    Posted 11-16-2016 08:53:00 PM
    Hi Mark-

    That would be great. I am most interested in knowing if the DC process writes the logs in the first place. Would you post an update when you have a chance?

    Thank you for your time,

    -DM


  • 6.  RE: Adding target server on new engine

    Posted 11-17-2016 08:41:00 AM
    Hi David...where would I find the log?

    We currently have a few issues
    a) We can't add an existing target server from our current delphix engine into our new delphix engine due to delphix connector not starting
    b) We can't add a new target server to either our old or new delphix engine.  Sometimes the connector just hangs on adding environment, and other times it errors with

    ENVIRONMENT_CREATE_AND_DISCOVER job for "PKH-SRV-PPT07.CityIndex.co.uk" failed due to an error during execution: An error occurred when attempting to connect to remote host "172.16.146.9" for environment "PKH-SRV-PPT07.CityIndex.co.uk": "java.io.EOFException".

    I probably need to create a support ticket I think


  • 7.  RE: Adding target server on new engine

    Posted 11-17-2016 08:43:00 AM
    It seems that all our target services delphix connector service stops pretty much after starting it.


  • 8.  RE: Adding target server on new engine

    Posted 11-17-2016 08:44:00 AM
    we are getting this error when starting the connector

    [2016-11-17 09:43:27,380][FATAL][com.delphix.appliance.server.connector.Connector][main][Connector.main] Connector failure: java.net.BindException: Address already in use: JVM_Bind:Address already in use: JVM_Bind[Ljava.lang.StackTraceElement;@65596e13
    [2016-11-17 09:43:27,911][FATAL][com.delphix.appliance.server.connector.Connector][main][Connector.main] Connector failure: java.net.BindException: Address already in use: JVM_Bind:Address already in use: JVM_Bind
    [Ljava.lang.StackTraceElement;@65596e13
    [2016-11-17 09:43:28,489][FATAL][com.delphix.appliance.server.connector.Connector][main][Connector.main] Connector failure: java.net.BindException: Address already in use: JVM_Bind:Address already in use: JVM_Bind
    [Ljava.lang.StackTraceElement;@65596e13


  • 9.  RE: Adding target server on new engine

    Posted 11-17-2016 11:23:00 AM
    Created a support ticket for this as well...for b) we have fixed this....just having issues connecting existing target servers to both old and new delphix engines


  • 10.  RE: Adding target server on new engine

    Posted 11-17-2016 12:48:00 PM
    Hi Mark,

    Under the presumption, as you describe, the DelphixConnector service is not running, it might be java.exe hung up on the windows machine. To find out:

    From command line see if port 9100 is in use:

    netstat -noba | findstr "9100 java"

    Take notice of the process id (PID), the number at the end of output

    Check to see if process java.exe is running - command location would be under DelphixConnector installation, coming from the jre\bin directory under the DelphixConnector directory.

    It's possible maybe java process is stuck.  If you see this in task manager, try to kill it there.

    Alternatively, you can use taskkill:

    taskkill /PID <PID Number> /F

    Now, start connector to see if it will run this time.

    Cheers,
    -Paul


  • 11.  RE: Adding target server on new engine

    Posted 11-21-2016 03:04:00 PM
    Thanks Paul...it does seem like the Java process is stuck and it's a known bug in older versions of delphix (we are running 4.3.3).  will kill and restart