isnssetup is a command line utility for for bootstrapping your iSNS installation. It sets up the authentication credentials, sets up the ServerAddress to be localhost, and registers the appropriate values in the iSNS database. The isnssetup script does not take any options.
Running this script performs the following steps:
- Set ServerAddress to localhost and Security to 1 for isnsadmin.conf and isnsdd.conf.
- Initialize security files by running isnsd --init, copying the public key to the server key, then restarting the isnsd daemon, so that it sees the new authorization files.
- Registering the control node policy, the control node itself, and lastly registering the server policy.
Note that this script is supplied as an example, although you should be able to use it directly if you wish. You have to be root to run this script successfully.
This script does not take systemd into account, so you may have to modify it to get it to work on a modern system.
RFC 4171, isnsadm(8), isnsd(8), isns_config(5).
Olaf Kirch <email@example.com>