Access Keys:
Skip to content (Access Key - 0)


4 Managing Per-Node State

Print this page

Viewing the saved per-node state
Saved per-node state displays in the output of the snmpstatus command. For example:
Saved per-node configuration
=============================
101 <default>:16100

Here node 101 has a saved address/port binding of "<default>:16100". This <default> is a special case, which means to use the defaults as per the options described earlier, rather than using a fixed address. The port however here remains static for node 101.

To manage clear or modify the saved per-node SNMP configuration. ....

...use the following rhino-console commands.

clearsnmpsavedconfig

Argument <nodeID|all>
What it does Clears the saved configuration for:
  • an individual node (for example, clearsnmpsavedconfig 101
  • or the entire cluster (clearsnmpsavedconfig all).

setsnmpsavedconfig

Arguments <node-id> <addresses|default> <port|default>
What it does Sets the interface addresses (comma-separated) and port binding that the SNMP agent uses for the specified node. This will overwrite any existing configuration for the specified node.
This command can also be used to create saved configuration for nodes that are not currently cluster members. The special address/port <default> may be specified, to use on restart.
Example To set SNMP agent's address and port for node-101:
$ ./rhino-console setsnmpsavedconfig 101 localhost 16100
SNMP configuration for node 101 updated.
Adaptavist Theme Builder Powered by Atlassian Confluence