HEX
Server: Apache/2.4.34 (Red Hat) OpenSSL/1.0.2k-fips
System: Linux WORDPRESS 3.10.0-1160.118.1.el7.x86_64 #1 SMP Thu Apr 4 03:33:23 EDT 2024 x86_64
User: digital (1020)
PHP: 7.2.24
Disabled: NONE
Upload Files
File: //opt/OV/man/man1/ovconfpar.1
.\"Generated by nroff_template.wdt (12-Sep-06). Do NOT edit this output file. Instead, edit the source FM+SGML file.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Ip \" List item
.br
.ie \\n(.$>=3 .ne \\$3
.el .ne 3
.IP "\\$1" \\$2
..
.TH ovconfpar "" "" ""
.ds )H Hewlett-Packard Company
.ds ]L
.ds ]W June 2007
.SH NAME
ovconfpar - set and return configuration parameters remotely
.SH "SYNOPSIS"

.PP
ovconfpar  -get [-host <\fIhostname\fR> [-targetid [<\fIid\fR>]...] -ovrg <\fIOVRG\fR> -ns <\fInamespace\fR> ] 

.PP
ovconfpar  -change [-host <\fIhostname\fR> [-targetid [<\fIid\fR>]...] -ovrg <\fIOVRG\fR>] -ns <\fInamespace\fR> [ [-set <\fIattr\fR> <\fIvalue\fR>]... | [-clear [<\fIattr\fR>] ]... ] 

.PP
ovconfpar  -help 

.PP
ovconfpar  -version 

.SH "DESCRIPTION"

.LP
ovconfpar reads and sets configuration parameters for installed OpenView components. For information about the parameters you can use with the ovconfpar command, see "Parameters": for information about the options you can use with the ovconfpar command parameters, see "Options".

.Sh "Parameters"

.LP
The ovconfpar command recognizes the following parameters:

.TP
-get \fI<options>\fR

Returns the value or values of one or more keys for the specified namespaces.

.TP
-change \fI<options>\fR

Sets different key-value pairs for multiple namespaces.

.TP
-version

Displays the version of the command.

.TP
-help

Displays the help information.

.Sh "Options"

.LP
You can use the following options with the ovconfpar command parameters:

.TP
-host \fI<hostname>\fR [-targetid \fI<id>\fR]

The host name and target ID of the remote machine.

.TP
-ovrg \fI<OVRG>\fR

If the parameter you want to get or change belongs to an OpenView resource group, use -ovrg to specify the name of the resource group.

.TP
-ns \fI<namespace\fR>

The name of the namespace, whose configuration parameters you want to get or change.

.TP
-set <\fIattr\fR> <\fIvalue\fR> ...

Set the named attribute to the specified value for the specified namespace.

.TP
-clear [<\fIattr\fR>] ... 

Clear the named attribute(s) from the specified namespace. If no attribute is specified, all attributes are cleared for the specified namespace.

.Sh "Return Codes"

.LP
ovconfpar issues the following return codes:

.LP
\fI0\fR

.LP
\fIAll steps were successfully.\fR

.LP
\fI-1\fR

.LP
\fIOne or more steps failed.\fR

.SH "EXAMPLES"

.LP
The following examples show how to use the ovconfpar command. 

.TP 3
\(bu 
To set the key ovo_port_range to 12345 in the namespace ovo.server:

ovconfpar -set -ns ovo.svr01 -set ovo_port_range 12345

.TP
\(bu 
To set the key ovo_port_range to 12345 in the namespaces ovo.svr01 and ovo.svr02:

ovconfpar -set -ns ovo.svr01 -set ovo_port_range 12345 -ns ovo.svr02 -set ovo_port_range 12345

.TP
\(bu 
To set the key MaxFileSize to 128 and the key Protocol to HTTP in the namespace ovo.svr01:

ovconfpar -set -ns ovo.svr01 -set MaxFileSize 128 -ns ovo.svr01 -set Protocol HTTP

.TP
\(bu 
To display all keys and their values for all namespaces:

ovconfpar -g

.TP
\(bu 
To display the value for MaxFileSize in the ovo.svr01 namespace:

ovconfpar -g -ns ovo.svr01 MaxFileSize

.TP
\(bu 
To display the values in the ovo.svr01 namespace:

ovconfpar -g -ns ovo.svr01
.LP

.SH "AUTHOR"

.LP
ovconfpar was developed by Hewlett-Packard Company.

.SH "SEE ALSO"

.LP
ovappinstance, ovclusterinfo, ovpolicy.