NAME

lookup - Look up items (by name) in the database and print the values.


MODULE

base


SYNOPSIS

lookup [ --help ] [ -db connectstring ] [--follow] <item>...


DESCRIPTION

This script takes a named item and prints out the corresponding entry in the cluster database. The item 'equipment' contains a list of all known database entries.


OPTIONS

--db <connectstring> Database type and connection information. For GDBM, "GDBM:" followed by the filename of the cluster database to use. For LDAP, the syntax is "LDAP:host:port:dbname"


--follow
  Direct lookup to recurse into groups or collections.

--help Print extended usage information

--man Print this manpage.


NOTES

If more than one item is specified, they will be printed out sequentially, with each item prefixed by a line like: ========= "<item>"


FILES

The default paths for location of the cluster configuration database, cloned directories, supporting libraries, and other settings are recorded in the CConf.pm config file. Set the environment variable CLUSTER_CONFIG to the location of CConf.pm, or use the default of /cluster/config


SEE ALSO

boot, clone, console, discover, dumpdb, power, status