If you want to use FNS commands to register your server and you already have FNS installed at your location, use the following command to register the specified URL as a documentation server for your organization (domain):
# fnbind -r thisorgunit/server/answerbook2 onc_answerbook2 \ onc_addr_answerbook2 server_url |
Where server_url is the fully qualified URL to get to this server (for example: http://imaserver.eng.sun.com:8888/).
To find out what servers are currently registered, use the following command:
% fnlookup -v thisorgunit/service/answerbook2 |
This returns a list of registered servers that looks similar to the following:
Reference type: onc_answerbook2 Address type: onc_addr_answerbook2 length: 19 data: 0x68 0x74 0x74 0x70 0x3a 0x2f 0x2f 0x61 0x6e 0x73 http://ans 0x77 0x65 0x72 0x73 0x3a 0x38 0x38 0x38 0x38 wers:8888 |
In this example, the registered server is http://answers:8888/.
If you get a response similar to the following, then no documentation servers are registered with FNS:
Lookup of 'thisorgunit/service/answerbook2' failed: \ Name Not Found: 'answerbook2' |
For more information about FNS, including how to install it, see the FNS documentation.