role

The role command is used to assign roles to individual appliances in high availability configurations.

Note

These commands can alter Plixer Replicator functionality and should be used with caution.

Options and syntax

role set ha master [ip_address]

Sets the IP address of the primary replicator.

role set ha off

Reverts the primary and secondary Plixer Replicator appliances to their previous state.

role set ha on [priority] [virtual_ip] [ifname] <master|backup>

Enables single-network high availability on the primary replicator.

role set primary

Assigns the replicator the primary role. If the replicator is set as a secondary and you wish to make it a primary, make sure to set the current primary replicator offline first, else, duplicate packets will be replicated to the configured collectors.

role set secondary [primary_replicator_ip:listener_port] [timeout]

Assigns the appliance the secondary role. [timeout] represents number of sample cycles (10 seconds) before the secondary appliance deems the primary appliance unavailable and then springing into action as the primary. The default timeout is 2 sample cycles (or 20 seconds).

role test <ha|secondary>

Tests the secondary appliance’s connectivity to the primary appliance.

Hint

For assistance, enter <command> help, help <command>, <command> ?, or ? at any time.