To manage port and interface bindings when a new Rhino node joins the cluster, use the following rhino-console commands to configure Rhino SNMP system settings for the default subnet and port range, allowing loopack addresses, and saving address and port bindings.

Warning These settings only affect nodes which don’t have previously saved interface/port configuration settings. If a node has previously saved settings, it will attempt to use those values. If it cannot (for example, if the port is in use by another application), then the SNMP agent will not start on that node.

Any changes to these settings will require a restart of the SNMP agent to take effect.

setsnmpsubnet

Argument

a subnet (x.x.x.x/y)

What it configures

The default subnet to use to determine which interfaces are ok to bind to.

Note Leaving this as 0.0.0.0/0 will bind to all interfaces present on a host, except those excluded by other options (see below). This option is primarily intended for use in situations where a host has multiple interfaces of which only one is intended for SNMP use.

setsnmpportrange

Argument

a port range (low-high)

What it configures

The default port range the SNMP agent tries to bind to. If a port is in use, it tries the next port in the range.

Note This setting is intended for hosts which run multiple Rhino nodes.

setloopbackaddressesallowed

Argument

true|false

What it configures

Loopback addresses:

  • if true (allowed), loopback addresses (such as 127.0.0.1) are allowed when looking for an interface to bind to

  • if false (ignored), loopback addresses are not considered.

Note Even if this is option is set to false (ignored), the Rhino SNMP agent still tries to bind to loopback addresses if there are no other interfaces available.

setaddressbindingssaved

Argument

true|false

What it configures

Whether to save address bindings when the SNMP agent initially binds to an interface.

Note

This is set to false by default to allow seamless operation on machines which may have changing interface settings.

If set to true, the first interface(s) that the SNMP agent for a node binds to will be saved as per-node configuration, and will be reused on subsequent restarts.

setportbindingssaved

Argument

true|false

What it configures

Whether to save bindings for the port initially bound to for a particular node, in the per-node configuration, for subsequent reuse on restart.

Note This is set to true by default, to ensure that the SNMP agent for individual nodes retains the same port across restarts.
Previous page Next page
Rhino Version 2.5.0