2017-11-14 20:55:03 +00:00
|
|
|
nodeconfig(8) -- Show or change node configuration
|
|
|
|
==================================================
|
|
|
|
|
|
|
|
## SYNOPSIS
|
|
|
|
|
2019-04-01 18:16:20 +00:00
|
|
|
`nodeconfig <noderange> [options] [<configuration>..]`
|
|
|
|
`nodeconfig <noderange> [options] [<configuration=value>..]`
|
2017-11-14 20:55:03 +00:00
|
|
|
|
|
|
|
## DESCRIPTION
|
|
|
|
|
|
|
|
**nodeconfig** manages the configuration of nodes managed by confluent.
|
|
|
|
Rather than manipulating the confluent database, this actually modifies the
|
|
|
|
running configuration on the node firmware. Calling without '=' will show the
|
|
|
|
current value, and '=' will change the value. Network information can be
|
|
|
|
given as a node expression, as documented in the man page for nodeattribexpressions(5).
|
|
|
|
|
2021-01-27 14:04:24 +00:00
|
|
|
Note that when using nodeconfig to submit changes, it will exit when the change
|
|
|
|
is accepted, but the endpoint may not have fully processed it. Doing a show
|
|
|
|
immediately after doing a set may reflect older information. Also, if changing
|
|
|
|
BIOS/UEFI settings, the change may appear in output, but generally won't
|
|
|
|
actually be in effect until a reboot.
|
|
|
|
|
2018-02-08 16:32:05 +00:00
|
|
|
## OPTIONS
|
|
|
|
|
|
|
|
* `-c`, `--comparedefault`:
|
|
|
|
Take the given settings and compare against default value, if available. If
|
|
|
|
no configuration values are specified, it will show only those that differ.
|
|
|
|
If combined with `-x`, will show all differing values except those indicated
|
|
|
|
by `-x`
|
|
|
|
|
2020-01-29 15:15:32 +00:00
|
|
|
* `-e`, `--extra`:
|
|
|
|
Read settings that are generally not needed, but may be slow to retrieve.
|
|
|
|
Notably this includes the IMM category of Lenovo systems. The most popular
|
|
|
|
IMM settings are available through faster 'bmc' attributes.
|
|
|
|
|
2018-02-08 16:32:05 +00:00
|
|
|
* `-x`, `--exclude`:
|
|
|
|
Rather than listing only the specified configuration parameters, list all
|
|
|
|
attributes except for the specified ones
|
|
|
|
|
|
|
|
* `-d`, `--detail`:
|
|
|
|
Provide detailed data as available. This can include help text and valid
|
|
|
|
values for a setting.
|
|
|
|
|
2018-08-29 18:49:19 +00:00
|
|
|
* `-r`, `--restoredefault`:
|
2018-08-30 13:35:16 +00:00
|
|
|
Request that the specified component of the targeted nodes will have its
|
|
|
|
configuration reset to default. Currently the only component implemented
|
|
|
|
is uefi.
|
2018-08-29 18:49:19 +00:00
|
|
|
|
2018-08-02 20:53:56 +00:00
|
|
|
* `-b`, '--batch':
|
|
|
|
Provide arguments as lines of a file, rather than the command line.
|
|
|
|
|
2018-02-08 16:32:05 +00:00
|
|
|
|
2017-11-14 20:55:03 +00:00
|
|
|
## EXAMPLES
|
|
|
|
* Showing the current IP configuration of noderange BMC/IMM/XCC:
|
|
|
|
`# nodeconfig s3,s4 bmc`
|
|
|
|
`s3: bmc.ipv4_address: 172.30.254.193/16`
|
|
|
|
`s3: bmc.ipv4_method: DHCP`
|
|
|
|
`s3: bmc.ipv4_gateway: 172.30.0.6`
|
|
|
|
`s4: bmc.ipv4_address: 172.30.254.192/16`
|
|
|
|
`s4: bmc.ipv4_method: DHCP`
|
|
|
|
`s4: bmc.ipv4_gateway: 172.30.0.6`
|
|
|
|
|
|
|
|
* Changing nodes `s3` and `s4` to have the ip addressess 10.1.2.3 and 10.1.2.4 with a 16 bit subnet mask:
|
|
|
|
`# nodeconfig s3,s4 bmc.ipv4_address=10.1.2.{n1}/16`
|
|
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
|
|
|
|
nodeattribexpressions(5)
|
|
|
|
|