X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fdoc%2Flctl.lyx;h=268dc3be2e298cd8282dec7a1a8129cfbfe6744f;hb=cd49f3321b4b69bc7bbb24b0340299d4d5e6b014;hp=33b40b279d47866d6592d5bb09c86db97afef154;hpb=2e5dc5bbe9da8d3b30cf49ec7f852b7ed1a95a8f;p=fs%2Flustre-release.git diff --git a/lustre/doc/lctl.lyx b/lustre/doc/lctl.lyx index 33b40b2..268dc3b 100644 --- a/lustre/doc/lctl.lyx +++ b/lustre/doc/lctl.lyx @@ -1,5 +1,5 @@ -#LyX 1.2 created this file. For more info see http://www.lyx.org/ -\lyxformat 220 +#LyX 1.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 221 \textclass amsart-plain \language english \inputencoding auto @@ -132,7 +132,7 @@ help \family default \size default at the lctl prompt. - To get basic help on the meaning and syntax of a command, type + To get basic help on the meaning and syntax of a command, type \family typewriter \size small help command @@ -165,9 +165,9 @@ command --device The device number to be used for the operation. The value of devno is an integer, normally found by calling \emph on -lctl name2dev +lctl device_list/dl \emph default -on a device name. +. \layout Description @@ -179,8 +179,14 @@ on a device name. devno \emph default option is used as above. -\layout LyX-Code +\layout Description + +--ignore_errors\SpecialChar ~ +|\SpecialChar ~ +ignore_errors Ignore errors that occur during script processing. +\layout Description +dump Save ioctl buffer to file. \layout LyX-Code \layout Description @@ -190,26 +196,133 @@ Configuration \begin_deeper \layout Description +--net\SpecialChar ~ + +\series bold + +\series default +\SpecialChar ~ + +\series bold + +\series default +Indicate the network type to be used for the operation. +\layout Description + network\SpecialChar ~ Indicate what kind of network applies for the configuration commands that follow. \layout Description +interface_list Print the interface entries. +\layout Description + +add_interface\SpecialChar ~ + +\series bold +< +\series default +ip>\SpecialChar ~ +[netmask] Add an interface entry. +\layout Description + +del_interface\SpecialChar ~ +[ip] Delete an interface entry. +\layout Description + +peer_list Print the peer entries. +\layout Description + +add_peer\SpecialChar ~ + +\series bold +< +\series default +nid>\SpecialChar ~ + +\series bold +< +\series default +host>\SpecialChar ~ + +\series bold +< +\series default +port> +\series bold +Add a peer entry. +\layout Description + +del_peer\SpecialChar ~ +[ +\series bold +< +\series default +nid>]\SpecialChar ~ +[ +\series bold +< +\series default +host>]\SpecialChar ~ +[ks] Remove a peer entry. +\layout Description + +autoconn_list Print autoconnect entries. +\layout Description + +add_autoconn\SpecialChar ~ + +\series bold +nid +\series default +\SpecialChar ~ + +\series bold +ipaddr +\series default +\SpecialChar ~ + +\series bold +port +\series default +\SpecialChar ~ + +\series bold +[ise] +\series default + Add an autoconnect entry. +\layout Description + +del_autoconn\SpecialChar ~ + +\series bold +[] +\series default +\SpecialChar ~ + +\series bold +[] +\series default +\SpecialChar ~ + +\series bold +[ks] +\series default + Remove an autoconnect entry. +\layout Description + +conn_list Print all the connected remote nid. +\layout Description + connect\SpecialChar ~ -[[\SpecialChar ~ -]\SpecialChar ~ -|\SpecialChar ~ -] This will establish a connection to - a remote network network +\SpecialChar ~ +\SpecialChar ~ +[iIOC] This will establish a connection to a remote + network, network \emph on id \emph default - given by the hostname/port combination, or the elan -\emph on -id -\emph default -. + given by the hostname/port combination. \layout Description disconnect\SpecialChar ~ @@ -220,6 +333,10 @@ nid . \layout Description +active_tx This command should print active transmits, and it is only used + for elan network type. +\layout Description + mynid\SpecialChar ~ [nid] Informs the socknal of the local \emph on @@ -230,15 +347,20 @@ nid elan/myrinet networks. \layout Description +shownid Print the local NID. +\layout Description + add_uuid\SpecialChar ~ \SpecialChar ~ - Associate a given UUID with an +\SpecialChar ~ + Associate a given UUID with an \emph on nid. \layout Description close_uuid\SpecialChar ~ - Disconnect a UUID. +\SpecialChar ~ + Disconnect a UUID. \layout Description del_uuid\SpecialChar ~ @@ -248,34 +370,52 @@ del_uuid\SpecialChar ~ add_route\SpecialChar ~ \SpecialChar ~ \SpecialChar ~ -[target] Add an entry to the routing table for - the given target. +[] Add an entry to the portals routing + table for the given target. + The arguments should be nid. + If only one is provided, this command should only add the route + for this target. + But, if both of the s are provides, this command should add the + route for all the target in the range specified by the two targets(from + low nid to high nid). \layout Description del_route\SpecialChar ~ - Delete an entry for the target from the routing table. +\SpecialChar ~ +[]\SpecialChar ~ +[] Delete the route entry for the given + targets from the portals routing table. + The arguments should be nid. + \layout Description -route_list Print the complete routing table. +set_route\SpecialChar ~ +\SpecialChar ~ +\SpecialChar ~ +[