lb_admin.1ncs

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1NCS 代码 · 共 284 行

1NCS
284
字号
.TH lb_admin 1ncs.\".if '\nv'1' .TH LB_ADMIN 1 domain.\".if '\nv'4' .TH LB_ADMIN 8 domain.\".if '\nv'5' .TH LB_ADMIN 1M domain.\".if !\nh \{.SH Namelb_admin \- Location Broker Administrative Tool.SH Syntax\fB/etc/ncs/lb_admin\fR [ \fB\-version\fR ] [ \fB\-nq\fR].SH DescriptionThe .PN lb_admintool monitors and administers the registrations of DECrpc-based servers inGlobal Local Broker (GLB) or Local Location Broker (LLB) databases.  A.NXR "Location Broker" "lb_admin"server registers Universal Unique Identifiers (UUIDs) specifying anobject, a type, and an interface, along with a socket address specifyingits location.  A client can locate servers by issuing lookup requests toGLBs and LLBs.  .PPIn accepting input or displaying output, .PN lb_adminuses either character strings or descriptive textual names to identifyobjects, types, and interfaces.  A character string directly representsthe data in a UUID in the following format:.sp .5\fInnnnnnnnnnnn.nn.nn.nn.nn.nn.nn.nn.nn\fR.sp .5where each \fIn\fR is a hexadecimal digit..PPWith.PN lb_admin ,you examine or modify only one database at a time, referred to asthe current database.  The    .PN use_brokercommand selects the type of Location Broker database, GLB or LLB.  The.PN set_brokercommand selects the host whose LLB database is to beaccessed..PP       Information about individual command interfaces is available through the.PN helpcommand..SH Options.TP 20 \fB\-nq\fRDo not query for verification of wildcard expansionsin.PN unregisteroperations..TP 20\fB\-version\fRDisplay the version of the Network Computing Kernel (NCK) that this.PN lb_adminbelongs to, but do not start the tool.  (NCK is part of the NetworkComputing System (NCS) on which DECrpc is based.).SH CommandsIn the descriptions of.PN lookup ,.PN register ,and.PN unregister ,the \fIobject\fR, \fItype\fR, and \fIinterface\fRarguments can be either character strings representing UUIDs or textualnames corresponding to UUIDs, as described earlier..PPIn the descriptions of.PN registerand.PN unregister ,the \fIlocation\fR argument is a string in the format\fIfamily:host[port]\fR, where \fIfamily\fR is an address family,\fIhost\fR is a host name, and \fIport\fR is a port number.  The only value for \fIfamily\fR is \fBip\fR.  You can use aleading number sign (#) to indicate that a host name is in the standardnumeric form.  For example, \fBip:vienna[1756]\fR, and\fBip:#192.5.5.5[1791]\fR are both acceptable \fIlocation\fR specifiers..TP 1i.PN a[dd]Synonym for.PN register ..TP .PN c[lean]Find and delete obsolete entries in the current database..IP When you issue the.PN cleancommand, .PN lb_adminattempts to contact each server registered in the database.  If theserver does not respond, .PN lb_admintries to look up its registration in the LLB database atthe host where the server is located, tells you the result of thislookup, and asks whether you want to delete the entry.  If a serverresponds, but its UUIDs do not match the entry in the database, .PN lb_admintells you this result and asks whether you want to deletethe entry, even if you used the \fB-nq\fR option to.PN lb_admin ..IPThere are two situations in which it is likely that a database entryshould be deleted:.RS.IP \(buThe server does not respond, .PN lb_adminsucceeds in contacting the LLB at the host where the server is located,and the server is not registered with that LLB.  The server is probablyno longer running..IP \(buA server responds, but its UUIDs do not match the entry in thedatabase.  The server that responded is not the one that registered theentry..RE.IP Entries that meet either of these conditions are probably safe to deleteand are considered eligible for automatic deletion (described in thenext paragraph).  In other situations, it is best not to delete theentry unless you can verify directly that the server is not running (forexample, by listing the processes running on its host)..IPWhen the .PN cleancommand asks whether you want to delete an entry, choose one of thefollowing responses: .RS.TP .5i\fBy[es]\fR Delete the entry. .TP .5i\fBn[o]\fR Leave the entry intact in the current database. .TP .5i\fBg[o]\fR Invoke automatic deletion, in which all eligibleentries (see the previous paragraph) are deleted and all ineligible entries areleft intact, without your being queried, until all entries have been checked. .TP .5i\fBq[uit]\fR Terminate the.PN cleanoperation..RE.TP.PN d[elete]Synonym for.PN unregister ..TP.PN h[elp]\0[\fIcommand\fR]\0or\0?\0[\fIcommand\fR].IP\fRDisplay a description of the specified \fIcommand\fR or, if none isspecified, list all of the .PN lb_admincommands..TP.PN l[ookup]\0\fIobject\0type\0interface\fR.IPLook up and display all entries with matching \fIobject, type,\fR and\fIinterface\fR fields in the current database.   Use the letter \fBl\fR tolist all of the entries in the database.  You can use asterisks aswildcards for any of the arguments.  If all the arguments are wildcards,or if no arguments are given,.PN lookupdisplays the entire database..TP.PN q[uit]Exit the  .PN lb_admin session..TP.PN r[egister]\0\fIobject\0type\0interface\0location\0annotation\0[flag]\fR.IPAdd the specified entry to the current database.  You can use anasterisk to represent the nil UUID in the \fIobject, type\fR, and\fIinterface\fR fields..IPThe \fIannotation\fR is a string of up to 64 characters annotating theentry.  Use double quotation marks (" ") to delimit a string thatcontains a space or contains no characters.  To embed a double quotationmark in the string, precede it with a backslash (\\). .IPThe \fIflag\fR is either local (the default) or global,indicating whether the entry should be marked for local registrationonly or for registration in both the LLB and the GLB databases.  The\fIflag\fR is a field that is stored with the entry; it does not affectwhere the entry is registered.  The .PN set_broker and.PN use_brokercommands select the particular LLB or GLB database for registration..TP.PN set_broker\0[\fIbroker_switch\fR]\0\fIlocation\fR\fRSet the host for the current LLB or GLB.  If you specify global asthe \fIbroker_switch\fR,.PN set_brokersets the current GLB; otherwise, it sets the current LLB.  The\fIhost\fR is a \fIlocation\fR specifier as described earlier, but the\fI[port]\fR portion is ignored and can be omitted..IPIssue the .PN use_broker command, not the.PN set_brokercommand, to determine whether subsequent operations will accessthe LLB or the GLB..TP .PN set_t[imeout]\0\fI[short\0|\0long]\fR\fRSet the timeout period used by.PN lb_adminfor all of its operations.  With an argument of \fIshort\fR or\fIlong\fR,.PN set_timeoutsets the timeout accordingly.  With no argument, it displays thecurrent timeout value..TP.PN u[nregister]\0\fIobject\0type\0interface\0location\fR.IPDelete the specified entry from the current database..IPYou can use an asterisk as a wildcard in the \fIobject, type,\fR and\fIinterface\fR fields to match any value for the field.  Unless yousuppress queries by specifying the \fB-nq\fR option of.PN lb_admin, .PN unregisterasks you whether to delete each matching entry.  Choose one of the followingresponses:.RS.TP .5i \fBy[es]\fRDelete the entry. .TP .5i \fBn[o]\fRLeave the entry in the database. .TP .5i \fBg[o]\fRDelete all remaining database entries that match, without your being queried. .TP .5i \fBq[uit]\fRTerminate the.PN unregisteroperation, without deleting any more entries..RE.TP.PN us[e_broker]\0\fI[broker_switch]\fR.IPSelect the type of database that subsequent operations will access, GLBor LLB.  The \fIbroker_switch\fR is either global or local.If you do not supply a \fIbroker_switch\fR, .PN use_brokertells whether the current database is global or local..IPUse .PN set_brokerto select the host whose GLB or LLB is to be accessed..\".PP  .\"The Domain/Dialogue menus display object, type, and interface UUIDs.\"when that operand is chosen via the switch at the top of the menu..\"The UUIDs displayed are those belonging to the entries of the broker.\"selected in the top line when the update operation is performed..\"When an item is selected from a menu, the UUID appears in the.\"Entry Information form and the next menu in the object, type, interface trio is displayed. .\".PP.\"The asterisk (*) acts as a wildcard for the \fBlookup\fR and \fBunregister\fR operations. .\"For the unregister operation, the user will be queried for each matching entry.\"when the wildcard is specified for an object, type or interface..\"A "y[es]" response will delete the entry;.\"a "n[o]" response will leave the entry in the database;.\"a "q[uit]" response will return the user.\"from the unregister operation and no further entries will be deleted;.\"a "g[o]" response will delete all the matching database entries;.\"any other response will act as a "n[o]" response..\"Querying can be suppressed.\"by supplying a \fB\-nq\fR flag to the lb_admin command line..SH See Alsollbd(8ncs), nrglbd(8ncs).\".if '\nv'4' drm_admin(8), glbd(8), llbd(8).\".if '\nv'5' drm_admin(1m), glbd(1m), llbd(1m).\".if '\*(pR'ncs' drm_admin, glbd, llbd.br\fIGuide to the Location Broker\fP.\".DD "lb_admin.8 .\"lb_admin  Location Broker Administrative Tool

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?