Delphix Products

Expand all | Collapse all

Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

  • 1.  Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-25-2015 11:40:00 PM
    Landshark auto config is failing on both LINUXSOURCE and LINUXTARGET during "Discover information and objects for environment" with 
    Does not seem to be a connectivity problem (VirtualBox with NAT Network) as Refresh Host is working (and ping works ok). Looking at dlpx_dhm.log on one of the servers I can see errors related to accessing scripts/bin directory which is missing after tarsal extraction:-


    *** DHM extraction of "/u01/app/toolkit/Delphix_COMMON_e39ff22d_54a5_4da8_9a91_616568a660fd_delphix_host/tmp/5ccd2d45-7f56-49b4-9b39-94b0410aebbf_scripts_1a26fde6-70b4-40c8-93f3-42905ac424c0.tar" into "/u01/app/toolkit/Delphix_COMMON_e39ff22d_54a5_4da8_9a91_616568a660fd_delphix_host/scripts" at Wed Nov 25 18:26:55 EST 2015 ***
    chmod: cannot access '/u01/app/toolkit/Delphix_COMMON_e39ff22d_54a5_4da8_9a91_616568a660fd_delphix_host/scripts/bin/*': No such file or directory

    Both source and target have space:-

    [delphix@linuxsource Delphix_COMMON_e39ff22d_54a5_4da8_9a91_616568a660fd_delphix_host]$ df -hFilesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/vg_linuxsource-lv_root
                           14G  2.1G   12G  16% /
    tmpfs                 719M     0  719M   0% /dev/shm
    /dev/sda1             477M   74M  378M  17% /boot
    /dev/sdb               30G  2.4G   26G   9% /u01
    /dev/sdc               20G  363M   19G   2% /u02
    [delphix@linuxsource Delphix_COMMON_e39ff22d_54a5_4da8_9a91_616568a660fd_delphix_host]$

    thanks in advance
    #DemoEnvironment


  • 2.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-26-2015 12:20:00 AM
    Hmmm. Did Landshark add these environments, or did you manually add them? Did this work at one time, and then fail? Or is this the initial attempt?


  • 3.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-26-2015 06:55:00 AM
    hi Adam, Landshark added all these envs. Its not the initial attempt. The only thing I did manually was to do a manual refresh on Target/Source, which failed with same error on UI.


  • 4.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-26-2015 12:06:00 PM
    Ok. Can you check the IP of the hosts on the Environments page to ensure it matches what the actual IP's are of the systems? If so, 

    Are there any dSources or VDB's present?


  • 5.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-26-2015 02:22:00 PM
    IPs match, no dSources or VDBs present (all groups have been created).


  • 6.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-26-2015 02:47:00 PM
    Looking closer at your screenshot, it appears that Landshark has added your hosts to the Delphix Engine with the NAT addresses (10.X), as opposed to the 172.X  addresses (host-only). The VM's cannot talk to each other over that network. Can you provide to me the output of ifconfig -a on the Linuxsource and Linuxtarget?

    To get you moving forward:
    1. Delete the environments in Delphix
    2. In the landshark_properties.xml (found at http://<172-address of the Linuxtarget>:8000), set discovery to false, and enter the 172 address of the Linuxsource and delphix engine in the appropriate fields)
    3. click submit
    4. Reboot the linuxtarget.


  • 7.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-26-2015 09:00:00 PM


    When I initially setup Landshark I followed instructions here :- for network setup...

    https://docs.delphix.com/display/LS22/Setting+Up+Networking+in+VirtualBox

    Result was :-
    Target -> Source "Found the LINUXSOURCE. Will proceed with Linux Landshark actions"
    Target -> Delphix Engine "Did not find a suitable Landshark Delphix Engine."

    Trying to fix this I tried following the instructions here - https://community.delphix.com/delphix/topics/basic-virtualbox-networking-setup-for-landshark-2-x and created a NAT Network.

    This seemed initially 'better' both source and engine were found by Landshark, however the failure above - 'no hosts available' occurred.

    I just deleted Environments and reset networking, following the first link above trying Host only network. With this config, Target -> Source was fine but Delphix Engine was not found.

    (also tried Bridged with same result)

    Went to Engine Setup to get Engine IP to hardcode in landshark_properties.xml, but found only first adapter configured (10.0.2.15). When I tried to configure second adapter and after "Updating network configuration" I get :-

    An internal error occurred. Maintenance service may be required.KEY: BC0B95-9C2001-15F3C3-97264F

    Error Code:
    exception.webservices.internal

    Suggested Action:
    Contact Delphix Support.

    Thanks for the help:)




  • 8.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE
    Best Answer

    Posted 11-26-2015 09:32:00 PM
    No problem. Happy Thanksgiving from me to you.

    So, definitely follow the link from the documentation:
    https://docs.delphix.com/display/LS22/Setting+Up+Networking+in+VirtualBox

    The other links you referenced are older and before the two-nic approach of 2.2. 

    As for why the engine was not found, it was likely due to not having setup the second NIC properly in the Delphix Engine (step 8 at the below link)
    https://docs.delphix.com/display/LS22/Quick+Start+Guide+for+the+Delphix+Landshark+Environment#QuickS...

    When you set the e1000g1 interface, are you setting it to static with the address from the instructions? If that interface is enabled and set to DHCP, it will cause an error identical to what you posted as Delphix can only have one DHCP interface. 


  • 9.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-26-2015 09:48:00 PM
    Ah, happy thanksgiving to you! 

    So the problem was I went off to configure VirtualBox networking and never returned to the main line instructions to complete that networking setup on 2nd i/f, doh! - fixing that now and trying again.

    And thanks again for your help on the holiday!




  • 10.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-26-2015 11:48:00 PM
    Supreme. Please let me know the outcome. 


  • 11.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-27-2015 12:04:00 PM
    All good, everything working great.


  • 12.  RE: Landshark setup failing - "no hosts available" during "Discover information and objects for environment" error on LINUXTARGET/LINUXSOURCE

    Posted 11-27-2015 12:55:00 PM
    Huzzah!