--ha-initial-active=string
Specifies the server name for the initial YP-HA active server.
This is ignored unless ha-enabled=true. There is no default.
This parameter is used to hard-wire the initial High Availability
roles instead of setting it in the yp-system init1 or init2
callback functions. If this parameter is the same as 'server-id'
then this server will be the initial YP-HA active server.
This parameter is intended for debug mode only. The real operational
mode should use signaling only to set the HA mode. Otherwise if the
server reboots it will use the configured HA mode, which may not be
correct if it has been changed during runtime.
There is no default for ha-initial-active parameter.
The ha-initial-active parameter can be invoked via the command line:
user@system> netconfd-pro --ha-initial-active=server1@192.168.1.101
or you can configure the ha-initial-active server in the /etc/yumapro/netconfd-pro.conf file, though this is not recommended:
#### leaf ha-initial-active # # Specifies the server name for the initial YP-HA active # server. This is ignored unless ha-enabled=true. # This string matches the server-id for the server. # # This parameter is used to hardwire the initial # High Availability roles instead of setting it # in the yp-system init1 or init2 callback functions. # If this parameter is the same as 'server-id' then this # server will be the initial YP-HA active server. # # This parameter is intended for debug mode only. # The real operational mode should use ginalling only # to set the HA mode. Otherwise if the server reboots # it will use the configured HA mode, which may not be # correct if it has been changed during runtime. # # no default for ha-initial-active # ha-initial-active server1@192.168.1.101