Bootstraping a new private whois instance
Hi all, I'm new to the db-wg, and I'm just beginning to explore the code from https://github.com/RIPE-NCC/whois.git. I'd like to use the code to run a private whois server to integrate with our Infoblox IPAM system. I've cloned the repository and followed the instructions posted at https://github.com/RIPE-NCC/whois/wiki/Installation-instructions . The instructions, however, don't include any details on 'priming' the whois database - using the SQL from the whois-commons/target/classes/<database>_schema.sql files, I get all my databases and tables created, but there is no data in the tables. I'm assuming that I need to have at least a 'mntner' in the WHOIS_LOCAL/mntner table, and I added a single entry manually with an object_id of 0, but I still can't seem to use any update method (synchupdates, REST, etc.) to add new information to the database. Would it be possible to get a push in the right direction for manually populating the WHOIS database with enough stuff (user IDs, passwords, etc.) to begin using the APIs to modify the database? Regards, Scott Cubic cubic@att.com<mailto:cubic@att.com>
Dear Scott, we added the following section to the installation instructions with more information on how you can load the local Whois database with some initial test content and run a telnet or a REST API query: https://github.com/RIPE-NCC/whois/wiki/Installation-instructions#load-local-... We hope that this is in the right direction! Kind regards, Theodoros Polychniatis Software Engineer RIPE Database Team On 17/11/15 18:26, CUBIC, SCOTT wrote:
Hi all,
I’m new to the db-wg, and I’m just beginning to explore the code from https://github.com/RIPE-NCC/whois.git. I’d like to use the code to run a private whois server to integrate with our Infoblox IPAM system. I’ve cloned the repository and followed the instructions posted at https://github.com/RIPE-NCC/whois/wiki/Installation-instructions . The instructions, however, don’t include any details on ‘priming’ the whois database – using the SQL from the whois-commons/target/classes/<database>_schema.sql files, I get all my databases and tables created, but there is no data in the tables. I’m assuming that I need to have at least a ‘mntner’ in the WHOIS_LOCAL/mntner table, and I added a single entry manually with an object_id of 0, but I still can’t seem to use any update method (synchupdates, REST, etc.) to add new information to the database.
Would it be possible to get a push in the right direction for manually populating the WHOIS database with enough stuff (user IDs, passwords, etc.) to begin using the APIs to modify the database?
Regards,
Scott Cubic
cubic@att.com <mailto:cubic@att.com>
participants (2)
-
CUBIC, SCOTT
-
Theodoros Polychniatis