DX Unified Infrastructure Management

 View Only
  • 1.  secondary hub is not seen after installation

    Posted Apr 24, 2017 08:31 AM

    Hi All,

     

    what could be the reason if i installed a sec hub and it cant be seen either in Infrustructure manager nor in Admin console.

     

    the installation output was:

     

    Starting NimBUS:

    Waiting for Hub to start...

    Are you setting up a Tunnel between this Hub and another Hub?
    ==>[no]

    Would you like to initialize the security settings on this Hub (WARNING: This will have widespread consequences as it will reset security for the entire domain)?
    ==>[no]
    Cleaning up temporary files
    Finished Robot installation!

     

    the hub is up:

    root 3260 1 0 14:07 ? 00:00:00 ./nimbus /opt/nimsoft
    root 3262 3260 0 14:07 ? 00:00:00 nimbus(controller)
    root 3263 3262 0 14:07 ? 00:00:00 nimbus(hub)
    root 3294 3262 0 14:07 ? 00:00:00 nimbus(distsrv)
    root 3295 3262 0 14:07 ? 00:00:00 nimbus(hdb)

     

    and the ports 48000-48002 are  reachable from the primary hub (via telnet).

     

    i noticed these log entries, but i didnt congfigure SSL on the primary hub, so im not sure, whether it;s related:

     

    Apr 24 14:07:16:834 [139662897178368] Controller: --------------------------------------------------------------------------------------------------------
    Apr 24 14:07:16:834 [139662897178368] Controller: ----- Robot controller 7.80 [Build 7.80.3132, Jun 1 2015] started -----
    Apr 24 14:07:16:834 [139662897178368] Controller: Name = uimsechub, IP = 192.168.5.35, Port = 48000
    Apr 24 14:07:16:834 [139662897178368] Controller: OS = UNIX / Linux / Linux 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64
    Apr 24 14:07:16:834 [139662897178368] Controller: Domain = uim_mydomain_domain
    Apr 24 14:07:16:834 [139662897178368] Controller: Primary HUB = /uim_mydomain_domain/uimsechub/uimsechub 192.168.5.35
    Apr 24 14:07:16:834 [139662897178368] Controller: Loglevel = 0, Logfile = controller.log
    Apr 24 14:07:16:835 [139662897178368] Controller: Running as user root (0)
    Apr 24 14:07:16:835 [139662897178368] Controller: -----
    Apr 24 14:07:16:835 [139662897178368] Controller: Controller on uimsechub port 48000 started
    Apr 24 14:07:18:865 [139662897178368] Controller: Hub localhost(192.168.5.35) contact established
    Apr 24 14:10:32:785 [139662897178368] Controller: SSL requested but not enabled, closing connection from 127.0.0.1/54038
    Apr 24 14:10:57:673 [139662897178368] Controller: SSL requested but not enabled, closing connection from 192.168.5.33/51430

     

    and in the hub.log:

     

    [root@uimsechub uim]# vi /opt/nimsoft/hub/hub.log
    Apr 24 13:45:05:742 [139994171328256] hub: WARNING: license not set in config file
    Apr 24 13:45:05:742 [139994171328256] hub: --------------------------------------------------------------------------------------------------------
    Apr 24 13:45:05:742 [139994171328256] hub: ----- Hub 7.80 [Build 7.80.3556, Jun 16 2015] initializing -----
    Apr 24 13:45:05:742 [139994171328256] hub: HUB SEC: initialize failed to read security file
    Apr 24 13:45:05:742 [139994171328256] hub: HUB SEC: HMAC file not found (errno=2)
    Apr 24 13:45:05:742 [139994171328256] hub: HUB SEC: failed to open security.cfg (errno=2)
    Apr 24 13:45:05:742 [139994171328256] hub: HUB SEC: generate HMAC failed
    Apr 24 13:45:05:742 [139994171328256] hub: HUB SEC: failed to open security.cfg (errno=2)
    Apr 24 13:45:05:742 [139994171328256] hub: HUB SEC: new security file
    Apr 24 13:45:05:743 [139994171328256] hub: HUB SEC: OFF
    Apr 24 13:45:05:744 [139994171328256] hub: ----- HUB started -----
    Apr 24 13:45:05:744 [139994171328256] hub: Name = uimsechub IP = 192.168.5.35 port = 48002
    Apr 24 13:45:05:744 [139994171328256] hub: Domain = uim_mydomain_domain addr = /uim_mydomain_domain/uimsechub/uimsechub/hub
    Apr 24 13:45:05:744 [139994171328256] hub: log_level= 0 , log_file=hub.log
    Apr 24 13:45:05:744 [139994171328256] hub: license on * robots=10 expire=Fri Jun 2 00:00:00 2017

    Apr 24 13:45:05:744 [139994171328256] hub: -----
    Apr 24 13:45:05:745 [139994072160000] hub: hubi main thread started
    Apr 24 13:45:05:747 [139994171328256] hub: Couldn't open the directory 'q/temp'
    Apr 24 14:07:01:736 [139994171328256] hub: Got STOP command from 192.168.5.35/36771.
    Apr 24 14:07:01:736 [139994171328256] hub: main: nimSessionWait rc =4
    Apr 24 14:07:01:987 [139993989248768] hub: thread shutdown
    Apr 24 14:07:05:740 [139994171328256] hub: EXIT HUB: hub shutdown
    Apr 24 14:07:16:858 [139688428668672] hub: --------------------------------------------------------------------------------------------------------
    Apr 24 14:07:16:858 [139688428668672] hub: ----- Hub 7.80 [Build 7.80.3556, Jun 16 2015] initializing -----
    Apr 24 14:07:16:858 [139688428668672] hub: HUB SEC: HMAC file not found (errno=2)
    Apr 24 14:07:16:858 [139688428668672] hub: HUB SEC: HMAC mismatch
    Apr 24 14:07:16:859 [139688428668672] hub: HUB SEC: new security file
    Apr 24 14:07:16:859 [139688428668672] hub: HUB SEC: OFF
    Apr 24 14:07:16:860 [139688428668672] hub: ----- HUB started -----
    Apr 24 14:07:16:860 [139688428668672] hub: Name = uimsechub IP = 192.168.5.35 port = 48002
    Apr 24 14:07:16:860 [139688428668672] hub: Domain = uim_mydomain_domain addr = /uim_mydomain_domain/uimsechub/uimsechub/hub
    Apr 24 14:07:16:860 [139688428668672] hub: log_level= 0 , log_file=hub.log
    Apr 24 14:07:16:860 [139688428668672] hub: license on * robots=10 expire=Fri Jun 2 00:00:00 2017

    Apr 24 14:07:16:860 [139688428668672] hub: -----
    Apr 24 14:07:16:861 [139688329500416] hub: hubi main thread started
    Apr 24 14:10:35:649 [139688428668672] hub: SSL requested but not enabled, closing connection from 127.0.0.1/43601
    Apr 24 14:10:38:377 [139688319010560] hub: SSL requested but not enabled, closing connection from 127.0.0.1/58530
    Apr 24 14:11:00:233 [139688319010560] hub: SSL requested but not enabled, closing connection from 192.168.5.33/52922
    Apr 24 14:11:02:905 [139688428668672] hub: SSL requested but not enabled, closing connection from 192.168.5.33/51128

     

     

    any tip/suggestion is appreciated!

    thank you, stefan



  • 2.  Re: secondary hub is not seen after installation
    Best Answer

    Broadcom Employee
    Posted Apr 24, 2017 08:39 AM

    Hi,

    Add the following to the robot.cfg and hub.cfg in the setup section

    loglevel = 3

    logsize = 35000

     

    and restart the robot watcher service this will give you more details.

    Check the hosts file make sure the first line is the valid IPV4 entry for the machine and not the 127.0.0.1 entry

    For linux I always set the first_probe_port = 48000 in the robot.cfg

     

    also check the domain name check for spelling and capitalization in robot.cfg and hub.cfg as if this is not exact

    as the other systems they will not show.

     

    last if there is no tunnel in the primary go into the hub GUI and on the name service tab add a static entry for the new hub.



  • 3.  Re: secondary hub is not seen after installation

    Posted Apr 24, 2017 04:29 PM

    Hi Gene,

     

    thank you for your suggestions! adding the secondary hub as static hub in the name service tab helped.

    however, i would be curious what could cause this behaviour. as after installing the ppm probe i have another issue, so i think both of them could be network related. 

    it's a test server with dnsmasq service and i put the loopback IP address on the second place after the eth IP address (as you suggested on the first place) in the /etc/hosts file. it's centos 6.5 and UIM 8.5.1.

    do you have any idea/tips for it's rootcause or idea how to figure it out?

     

     

    Apr 24 22:16:25:315 [main, ppm] ****************[ Starting ]****************
    Apr 24 22:16:25:316 [main, ppm] 3.45
    Apr 24 22:16:25:316 [main, ppm] Nimsoft
    Apr 24 22:16:25:320 [main, ppm] (80) Session error, Unable to open the accept (listen) socket: Port value out of range: 480099
    Apr 24 22:16:25:326 [main, ppm] stderr: (80) Session error, Unable to open the accept (listen) socket: Port value out of range: 480099
    Apr 24 22:16:25:326 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.open(NimSessionListener.java:171)
    Apr 24 22:16:25:326 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.<init>(NimSessionListener.java:52)
    Apr 24 22:16:25:326 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.<init>(NimSessionListener.java:36)
    Apr 24 22:16:25:326 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.newNimSessionListener(NimProbe.java:492)
    Apr 24 22:16:25:327 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.configureMainSessionListener(NimProbe.java:477)
    Apr 24 22:16:25:327 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.doForever(NimProbe.java:416)
    Apr 24 22:16:25:328 [main, ppm] stderr: at com.nimsoft.ppm.PPM.run(PPM.java:949)
    Apr 24 22:16:25:328 [main, ppm] stderr: at com.nimsoft.ppm.Main.main(Main.java:25)
    Apr 24 22:16:25:328 [main, ppm] stderr: Caused by: java.lang.IllegalArgumentException: Port value out of range: 480099
    Apr 24 22:16:25:328 [main, ppm] stderr: at java.net.ServerSocket.<init>(ServerSocket.java:232)
    Apr 24 22:16:25:328 [main, ppm] stderr: at java.net.ServerSocket.<init>(ServerSocket.java:128)
    Apr 24 22:16:25:328 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.connectServerSocket(NimSessionListener.java:182)
    Apr 24 22:16:25:328 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.open(NimSessionListener.java:144)
    Apr 24 22:16:25:328 [main, ppm] stderr: ... 7 more
    Apr 24 22:16:25:328 [main, ppm] stderr: Caused by:
    Apr 24 22:16:25:329 [main, ppm] stderr: java.lang.IllegalArgumentException: Port value out of range: 480099
    Apr 24 22:16:25:329 [main, ppm] stderr: at java.net.ServerSocket.<init>(ServerSocket.java:232)
    Apr 24 22:16:25:329 [main, ppm] stderr: at java.net.ServerSocket.<init>(ServerSocket.java:128)
    Apr 24 22:16:25:329 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.connectServerSocket(NimSessionListener.java:182)
    Apr 24 22:16:25:330 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.open(NimSessionListener.java:144)
    Apr 24 22:16:25:330 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.<init>(NimSessionListener.java:52)
    Apr 24 22:16:25:330 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.<init>(NimSessionListener.java:36)
    Apr 24 22:16:25:330 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.newNimSessionListener(NimProbe.java:492)
    Apr 24 22:16:25:330 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.configureMainSessionListener(NimProbe.java:477)
    Apr 24 22:16:25:330 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.doForever(NimProbe.java:416)
    Apr 24 22:16:25:331 [main, ppm] stderr: at com.nimsoft.ppm.PPM.run(PPM.java:949)
    Apr 24 22:16:25:331 [main, ppm] stderr: at com.nimsoft.ppm.Main.main(Main.java:25)
    Apr 24 22:16:25:331 [main, ppm] stderr: (80) Session error, Unable to open the accept (listen) socket: Port value out of range: 480099
    Apr 24 22:16:25:332 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.open(NimSessionListener.java:171)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.<init>(NimSessionListener.java:52)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.<init>(NimSessionListener.java:36)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.newNimSessionListener(NimProbe.java:492)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.configureMainSessionListener(NimProbe.java:477)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.nimbus.NimProbe.doForever(NimProbe.java:416)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.ppm.PPM.run(PPM.java:949)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.ppm.Main.main(Main.java:25)
    Apr 24 22:16:25:333 [main, ppm] stderr: Caused by: java.lang.IllegalArgumentException: Port value out of range: 480099
    Apr 24 22:16:25:333 [main, ppm] stderr: at java.net.ServerSocket.<init>(ServerSocket.java:232)
    Apr 24 22:16:25:333 [main, ppm] stderr: at java.net.ServerSocket.<init>(ServerSocket.java:128)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.connectServerSocket(NimSessionListener.java:182)
    Apr 24 22:16:25:333 [main, ppm] stderr: at com.nimsoft.nimbus.NimSessionListener.open(NimSessionListener.java:144)
    Apr 24 22:16:25:333 [main, ppm] stderr: ... 7 more

     

    thank you, stefan



  • 4.  Re: secondary hub is not seen after installation

    Broadcom Employee
    Posted Apr 24, 2017 05:21 PM

    So could be one of a couple of things off the top of my head

    1) the robot was binding to IP address 127.0.0.1

    2) the hubs are not on the same broad cast network as by default hubs use network broadcast to find each other

    3) the hubs had the broadcast disabled in the hub setup.

     

    Glad to hear you were able to get the hub to show.

    make sure your firewall is allowing ALL traffic between the hubs since you are not using a tunnel.

    I would make sure you have a range such as 48000-48200 setup bidirectionally.



  • 5.  Re: secondary hub is not seen after installation

    Broadcom Employee
    Posted Apr 24, 2017 09:15 AM

    Hello Stefan, in case you still have a problem after you checked the suggestion from Gene please raise a case with support.

     

    Kind regards,

    Britta Hoffner



  • 6.  Re: secondary hub is not seen after installation

    Posted Apr 24, 2017 10:45 AM

    During the install did it detect the existing UIM Domain name? If not then it won't know about it and report in.

    If you open your existing pri-hub and add a named service entry defining this new 2nd hub that might help.

    Also what I usually do is stop the services on the new hubs, then remove all the security.* files and then start up services so that it pulls down the correct security cfg from pri-hub. 



  • 7.  Re: secondary hub is not seen after installation

    Posted Apr 25, 2017 06:51 AM

    Did you note the typo in the port?

     

    Port value out of range: 480099

     

    Ports range from 0 to 65535 in value and so your six digit port is outside the valid range.

     

    -Garin