Configuring alert replication using the CLI

Prev Next

Use the commands in this section to configure whether aggregated alert data is continuously passed to the secondary node. By default, alert replication is enabled on both nodes. (See Alert replication for information about this configuration option.)

Note

This is a global configuration. The configuration actions are performed from only one node, but are applied to the cluster.

Disabling alert replication

Disable alert replication:
  1. Disable alert replication:

    node-hostname (config) # no ha replicate alerts enable
  2. Verify your change:

    node-hostname (config) # show ha configuration
  3. Save your change:

    node-hostname (config) # write memory

Enabling alert replication

Enable alert replication:
  1. Enable alert replication:

    node-hostname (config) # ha replicate alerts enable
  2. Verify your change:

    node-hostname (config) # show ha configuration
  3. Save your change:

    node-hostname (config) # write memory

Example

The following example disables alert replication on the cluster from the primary node.

node2 (config) # ha engine stop
node1 (config) # ha engine stop
node1 (config) # no ha replicate alerts enable
node1 (config) # show ha configuration
CM HA Cluster Settings:
   ...
   Replicating:
       Configuration:         yes
       Alerts:                no
       Security content:      yes
...
node1 (config) # write memory
node1 (config) # ha engine restart
node2 (config) # ha engine restart