om node set¶
Set a service configuration parameter.
–add=<string>¶
A list member to add to the value pointed by –param. If –index is set, insert the new element at the specified position in the list.
–color=<string>¶
Colorize output. Possible values are:
auto: guess based on tty presence
always|yes: always colorize
never|no: never colorize
–debug¶
Increase stream log verbosity up to the debug level.
–eval¶
If set with the om node get action, the printed value of –param is evaluated, scoped and dereferenced. If set with the om node set action, the current value is evaluated before mangling.
–filter=<string>¶
A JSONPath expression to filter a JSON output.
–format=<string>¶
Specify a data formatter. Possible values are json, flat_json, csv or table. csv and table formatters are available only for commands returning tabular data.
–index=<int>¶
The position in the list pointed by –param where to add the new list element on a set action
–kw¶
An expression like
[<section>.]<keyword>[@<scope>][[<index>]]<op><value>
where
<section> can be:
a resource id
a resource driver group name (fs, ip, …). In this case, the set applies to all matching resources.
<op> can be:
-=
remove value from the current list
+=
append value to the current list
|=
append value to the current list if not already includedMultiple –kw can be set to apply multiple configuration change in a file with a single write.
Examples:
app.start=false Turn off app start for all app resources
app#1.start=true Turn on app start for app#1
nodes+=node3 Append node3 to nodes
nodes[0]+=node3 Preprend node3 to nodes
–local¶
Set to disable cluster-wide operations.
–node=<string>¶
A node selector expression. Embedded in requests for the daemon to route and multiplex the request to a list of nodes. If not specified the local node is targeted.
–param=<string>¶
An expression like
[<section>.]<keyword>
where
<section> can be:
a resource id
a resource driver group name (fs, ip, …). In this case, the set applies to all matching resources.
–remove=<string>¶
A list member to drop from the value pointed by –param.
–server=<string>¶
The server uri to send a request to. If not specified the local node is targeted. Supported schemes are https and raw. The default scheme is https. The default port is 1214 for the raw scheme, and 1215 for https. The uri can be a fullpath to a listener socket. In this case, the scheme is deduced from the socket. Examples: raw://1.2.3.4:1214, https://relay.opensvc.com, /var/lib/opensvc/lsnr/h2.sock.
–value=<string>¶
The value to set for the keyword pointed by –param
-h, –help¶
Show this help message and exit