Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-1631

DcsMaster WebUI doesn't list all mxosrvrs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0-incubating
    • None
    • connectivity-dcs
    • None
    • SUSE

    Description

      From DcsMaster website: example http://10.10.10.173:24400/servers.jsp
      It only listed mxosrvr processes in the current node, all other 2 nodes are not listed.

      But zookeeper has all information needed about it as following:
      ls /trafodion/dcs/servers/registered
      [suse-5.novalocal:2:3, suse-5.novalocal:2:2, suse-4.novalocal:1:1, suse-4.novalocal:1:2, suse-5.novalocal:2:1, suse-4.novalocal:1:3, suse-6.novalocal:3:1, suse-6.novalocal:3:2]

      ls /trafodion/dcs/servers/running
      [suse-4.novalocal:1:40031:1447657377137, suse-5.novalocal:2:40032:1447657365625, suse-6.novalocal:3:40033:1447657361336]

      get /trafodion/dcs/servers/registered/suse-6.novalocal:3:1
      AVAILABLE:212314417363443618::2:47143:$Z0213GY:10.10.10.175:23402:::::
      cZxid = 0xd0000183f
      ctime = Mon Nov 16 15:02:47 CST 2015
      mZxid = 0xd00001840
      mtime = Mon Nov 16 15:02:47 CST 2015
      pZxid = 0xd0000183f
      cversion = 0
      dataVersion = 1
      aclVersion = 0
      ephemeralOwner = 0x1510ee8276a028f
      dataLength = 70
      numChildren = 0
      get /trafodion/dcs/servers/registered/suse-6.novalocal:3:2
      CONNECTED:212314457331460542:446830027:2:47157:$Z0213HC:10.10.10.175:23403:ESG-SH-PC022:192.168.3.14:61867:ProcessInvocation86.exe:
      cZxid = 0xd00001842
      ctime = Mon Nov 16 15:02:47 CST 2015
      mZxid = 0xd00013359
      mtime = Tue Nov 17 02:08:55 CST 2015
      pZxid = 0xd00001842
      cversion = 0
      dataVersion = 3
      aclVersion = 0
      ephemeralOwner = 0x1510ee8276a0290
      dataLength = 131
      numChildren = 0

      After analyzed by Kevin, and found the system time is a little bit different, but dcsmaster (on suse4) is using this to show only mxosrvrs started after the time it get started.
      trafodion@suse-4:~/esgynDB-20151115_0900-bin/dcs-2.0.0/conf> pdsh $MY_NODES date
      suse-5: Tue Nov 17 06:53:38 CST 2015
      suse-6: Tue Nov 17 06:53:34 CST 2015
      suse-4: Tue Nov 17 06:53:50 CST 2015

      Attachments

        Activity

          People

            Unassigned Unassigned
            Jasonzhou Jianguo Zhou (Jason)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: