[chap:hostmanage]

The curses(3X) based program, host_manage, allows the Archie administrator to examine and/or change the contents of the Host Information files. These activities include the addition and deletion of Data Hosts, as well as providing information about specific catalogs that are updated from the Data Host sites. Invoked as:

it will display the information about the given , or the first entry in the Host Information File (alphabetically sorted) if no is given. The screen display is illustrated below.

Primary hostname: blizzard.cc.mcgill.ca
Preferred hostname: www.mcgill.ca
Databases: webindex 
Operating System: Unknown                     Prospero Host: No 
Primary IP address: 132.206.27.11             Timezone: -5:00 


Database: webindex


Source: archie.bunyip.com                      Generated by: insert
Retrieve time: 19:02:34 31 Mar 1996 EST        Number of records: 136
Parse time: 17:06:00 25 Apr 1996 EST
Update time: 05:47:23 26 Apr 1996 EST          Fail count: 0


Msg:


Port: 80                                       Path:

Current status: Active
Force Update: No
Action: Update

The commands for editing the information are based on the standard emacs key bindings. These will be configurable in a future release of the system.

The configuration file associated with the host_manage program is /etc/hm_db.cf. It describes how the various catalog-specific information is to be displayed on the screen. Currently, the default file handles anonftp and webidnex catalog entries. This file need not change unless you add new catalogs.

Many of the fields displayed by the program are informational only and may not be modified directly by the Archie administrator. Others may be modified, but have a restricted range of values (such as the Operating System value). In all cases, the information given by the Archie administrator is verified against the existing information file, as well as the Domain Name System. Any errors that are encountered will be indicated.

Only the major functions of the program are described in detail below. For full details on how to configure and use host_manage, please see the manual page entry.

Adding individual Data Hosts

The easiest way to add an individual Data Host to the Host Information Files is to use the host_manage program. Adding a site to the database is a straightforward operation.

Use the various DNS tools, such as host, nslookup, or nstest to determine the primary name before proceeding. In general, we recommend that you check all names before starting.

Using host_manage, do the following:

Deleting a Data Host

Before a site can be removed from the Host Database of the Archie system, all catalogs tracked on that host must be scheduled for deletion.

Using host_manage, do the following:

Often a site will offer multiple services, such as anonymous FTP and webindex. It is possible to add multiple catalogs for the same site with the following steps:

Forcing an early update

If, for whatever reason, you would like a particular site to be inspected before it normally would be scheduled, use the Force Update function of the Host Modification Menu in host_manage.

This will cause the particular Data Host/catalog pair to be retrieved and processed during the next Update Cycle, if it conforms to the domain and catalog restrictions of that Retrieval Phase. That is, this feature only overrides the time of the update, not the type.

And now the catalogs...

Now that we know how to look at the information stored in the Host Databases we can start to look at configuring individual catalogs.