Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. Check database bugs

Check database bugs

Scheduled Pinned Locked Moved Support (Russian)
2 Posts 1 Posters 5.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E
    E
    enp
    wrote on last edited by
    #1

    Здравствуйте!

    При попытке удалить ненужные ноды и сети я получил OOM killed process 10856 (netxmsd) и необходимость запуска nxdbmgr check. Удалять пришлось много, поэтому перезапустил с ключем -f и, возможно, перестарался.

    Теперь у меня есть нода, которая видна в Entire network и не видна Infrastructure Services. Как поместить ее в какой-нибудь контейнер в Infrastructure Services? Как найти все ноды без контейнеров?

    Есть более неприятная проблема - две ноды с одинаковыми именами и Primary IP Address, но разными ID/GUID. В Entire network видны обе, в Infrastructure Services - только одна.

    Хуже всего то, что наверняка это не все - nxdbmgr check проблему с двумя одинаковыми нодами не обнаружил и вполне мог еще что-то пропустить.

    1 Reply Last reply
    0
    • E
      E
      enp
      wrote on last edited by
      #2

      Ноды без контейнеров можно найти так:

      select id, name, primary_ip
      from nodes inner join object_properties on id = object_id
      where id not in (select object_id from container_members)
      

      Поля guid/name/primary_ip сейчас в БД не являются уникальными, поэтому особых проблем, получается, и нет. Просто мне казалось, что в каких-то предыдущих версиях что-то из перечисленного было уникальным.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups