Installation guide
ab2admin −o scan command to have them automatically found and
added to the server’s document database.
This function only works for locally installed packages.
To serve document collections located on some other system, use the
Add Collection to List function or the ab2admin -o add_coll
command and provide the full path name to the ab_cardcatalog or
collinfo file. For example, if the document server is imayoyo and you want
it to serve document collections located on the system elsewhere, you might
use the following command:
ab2admin −o add_coll −d /net/elsewhere/books/SUNWdtad
6. (Optional) Register the server.
If you want other users to automatically find your document server through
Federated Naming Services (FNS), you need to register the server. To register
your server, use the following command:
# /usr/lib/ab2/bin/ab2regsvr server_url
where server_url is the fully qualified URL to get to this server (for example:
imayoyo.eng.sun.com:8888). See “Registering the Server” on page 9-18 for
more information.
Registering the Server
To include your document server in a pool of servers for a site, or to give users the
ability to choose from several document servers, you can register the name of your
server with the Federated Naming Services system. Users can still access
unregistered document servers if they know the URL.
To register your server, use the ab2regsvr command. The ab2regsvr command
looks at your system’s configuration and, depending on the naming service you are
using, sets up the appropriate name space for your server.
To register your server, use the following command:
# /usr/lib/ab2/bin/ab2regsvr server_url
where server_url is the fully qualified URL to get to this server (for example:
imayoyo.eng.sun.com:8888).
To find out what servers are currently registered, use the following command:
9-18
Information Library for Solaris 2.6 (Intel Platform Edition) ♦ August 1997