Manages the global location broker database.
/etc/ncs/glbd [ -create { -first [-family FamilyName] | -from HostName } ] [ -change_family FamilyName ] [ -listen FamilyList] [ -version ]
The glbd daemon manages the global location broker (GLB) database. The GLB database, part of the Network Computing System (NCS), helps clients to clients to locate servers on a network or internet. The GLB database stores the locations (specifically, the network addresses and port numbers) of servers on which processes are running. The glbd daemon maintains this database and provides access to it.
There are two versions of the GLB daemon, glbd and nrglbd.
You can replicate the GLB database to increase its availability. Copies of the database can exist on several hosts, with a glbd running on each of those hosts to maintain the consistency of the database replicas. (In an internet, at least one glbd must be running in each network.) Each replica of the GLB keeps a list of all the other GLB replicas. The drm_admin tool administers the replication of the GLB database and of the replica list.
Currently, glbd supports both the DARPA IP and Domain DDS network protocols. A GLB replica can allow access to its database from both IP and DDS clients. However, when communicating with each other to maintain replication of the GLB database, GLB replicas should use only one protocol family. You choose which family the GLBs will use. In an internet, all routing nodes must support this family.
The glbd daemon can be started in one of two ways:
startsrc -s glbd
/etc/ncs/glbd &
TCP/IP must be configured and running on your system before starting the glbd daemon. The llbd daemon must also be started and running before you start the glbd daemon.
Item | Description |
---|---|
-create | Creates a replica of the GLB. This option creates a GLB database
in addition to starting a broker process. It must be used with either
-first or -from.
|
-change_family FamilyName | Changes the address family of every GLB replica. Use this option only if network reconfigurations require that you make such a change. Currently, FamilyName can be either dds or ip. |
-listen FamilyList | Restricts the address families on which a GLB listens. Use
it only if you are creating a special configuration where access to
a GLB is restricted to a subset of hosts in the network or internet.
The FamilyList is a list of the address families on which the GLB will listen. Names in this list are separated by spaces. Possible family names include dds and ip. The GLB will always listen for requests from the family by which it is listed on the replica list, even if that family is not specified in FamilyList. If glbd is started without the -listen option, the GLB will listen on all address families that are supported both by NCS and by the local host. On Apollo systems, this set of families always includes dds and may also include ip. On most other systems, ip is currently the only family. |
-version | Displays the version of NCS that this glbd belongs to, but does not start the daemon. |
Item | Description |
---|---|
/etc/ncs/glb_log | Contains diagnostic output from glbd. |
/etc/rc.ncs | Contains commands to start the NCS daemons. |
/etc/ncs/glbd -create -first -family ip &
/etc/ncs/glbd -create -from ip:jeeves &
/etc/ncs/glbd &