manage_index.1m (2012 03)
m
manage_index(1M) manage_index(1M)
With -r: delete all cfg clauses for that release.
-e Establish the default cfg clause to be whatever clause is specified in the
-c option. If any
other cfg clause in
/var/opt/ignite/data/INDEX
is already the default, the old default
is turned off. The only possible errors are if the cfg clause specified by
-c does not exist or if
there is more than one instance of it.
-l List the names of the cfg clauses as specified by the other options:
With
-c: list the desired cfg clause named. This is a quick way to check whether a clause
exists.
With
-r: list the names of all cfg clauses for the specified release. Also see
-o.
-w List the names of the configuration files in the cfg clause specified by the
-c option.
-x Display the description of the cfg clause specified by the
-c option.
-y Set the description of the cfg clause specified by the
-c option.
-m Move (rename) an existing cfg clause. The old clause name is specified after the
-m and the
new name is specified via the
-c option. For example:
manage_index -m ’old_name’
-c ’new_name’
-n Create a new cfg clause from an existing clause (copy). The existing clause name is specified
after the
-n option and the new clause name is specified via the -c
option. For example:
manage_index -n ’existing_name’
-c ’new_name’
-t Trim a cfg clause or clauses; that is, remove a configuration file from them. This option
requires that a configuration file be specified via the
-f option. Which cfg clause(s) gets
trimmed depends on the other options:
With
-c: trim a particular cfg clause.
With
-r: trim all cfg clauses for that release.
If neither
-c nor -r are specified and the configuration file name begins with
/opt/ignite/data/Rel_release
or /var/opt/ignite/data/Rel_release, the part
after the
Rel_ until the next / is the default release . In this case, all cfg clauses for this
default release are trimmed.
When the
-s option is specified, trim a script clause from the INDEX file. That is, remove a
script from it. The
-t option deals with scripts when the -s option is also specified.
-? Display the help screen.
The remaining options are used to modify the preceding options:
-c cfg_clause_name
Only process the cfg clause with the specified name. The name is the label attached to a cfg
clause; e.g., "HP-UX 11.23 default".
-f cfg_filename
Use the specified configuration file name.
-o When specified with -l, the name of the default cfg clause is returned. If there is no default
clause, the return code will be non-zero.
-p Preview. Don’t actually make any changes, just write messages to stdout explaining what
would be done without the -p option.
-r release
Only process cfg clauses from a given release. An example release is B.11.23. A cfg clause is
said to belong to a particular release if any of the configuration files specified in it are located
in the release-specific directory for that release. For example, if a cfg clause contains the
/opt/ignite/data/Rel_B.11.23/core_cfg file, this cfg clause belongs to the B.11.23
release.
-s script_filename
Use the specified script. When specified, this option makes the behavior of the -a and -t
options operate on the scripts clause instead of the cfg clause.
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: March 2012