DATALOC

Manages and lists the client routing table.


Formats

DATALOC ADD group address
DATALOC DEL group
DATALOC LIST group
DATALOC HOST


Parameters

ADD

adds an entry to the client routing table; the entry maps a group name to a server's IP address

DEL

deletes an entry from the client routing table

HOST

refreshes the name server lookup for hosts; must be run if a server's numeric IP address is changed

LIST

lists the client routing table (default)

group

group name (no default for ADD and DEL; default=all groups for LIST)

address

IP address of the server; specify LOCAL-DATA for the local server


Remarks

DATALOC manages the client routing table, which links ADDE groups to IP addresses of servers. When you enter an ADDE command, the client routing table is scanned to locate the server that will receive the data request. When the server receives the data request, it scans its own mapping table to determine which data the client is requesting.

If an ADDE command specifies a group name that is not in the client routing table, the data request is sent to the local server.

You cannot assign the same group name to more than one server because the ADD option overwrites an existing group name without warning. You may, however, assign more than one group name to a server.


Examples

DATALOC

This entry lists the client routing table.

DATALOC ADD MYDATA LOCAL-DATA

This entry modifies the client routing table so that commands requesting data from a dataset in the group MYDATA are routed to the local server.

DATALOC ADD RTSERV WEATHER.SSEC.WISC.EDU

This entry modifies the client routing table so that commands requesting data from a dataset in the group RTSERV are routed to the server at the IP address WEATHER.SSEC.WISC.EDU.

DATALOC ADD RADAR 123.456.789.012

This entry modifies the client routing table so that commands requesting data from a dataset in the group RADAR are routed to the server at the IP address 123.456.789.012.

DATALOC LIST RADAR

This entry lists the client routing table entry for the group RADAR.

DATALOC DEL RADAR

This entry deletes the client routing table entry for the group RADAR.