[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 3

lb_find Command

Purpose

Gets a list of global location broker (GLB) server daemons and their attributes.

Syntax

lb_find [ -q ] [ -v ] [ -dl ]

Description

The lb_find command sends out inquiries to the NCS location broker daemons and gathers the responses. The results are analyzed to determine whether the global location broker is replicatable, and which cell each daemon serves. After ten seconds, the results are summarized, showing the GLB broker type, the server host's network address, a cell name of either default or alternate_N, and the cell's UUID.

Flags

-q Queries for a GLB server, using the standard RPC mechanism. At most, one GLB server is printed, and only servers in the current machine's cell are searched. The program exits with a status of 0 if a GLB server is found; otherwise the status is nonzero.
-v Prints out the NCS version string.
-dl Turns on RPC debugging while searching for GLB servers.

Examples

A network contains one glbd in each of two NCS cells and one nrglbd in a third cell.

/etc/ncs/lb_find
 
sent to broadcast address 192.92.110.255
  
waiting for replies 
 
received response from glb daemon at ip:stimpy(192.92.110.43) 
port 1072.
 
received response from glb daemon at ip:oscar(192.92.110.16) port
1168.
 
received response from glb daemon at ip:vmess(192.92.110.21) port
1114.
 
.....
 
replicatable       ip:stimpy      default       333b91c50000.0d.0
0.00.87.84.00.00.00
 
replicatable       ip:oscar       alternate_1   54bdad9a4000.0d.0
0.01.83.0f.00.00.00
 
non_replicatable    ip:vmess      alternate_2   5c0e4acb8fa7.02.c
0.5c.6e.15.00.00.00

Related Information

The lb_admin command.

The glbd (NCS) daemon, llbd (NCS) daemon, nrglbd (NCS) daemon.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]