get node ids from the central database