Replacing Solace Appliance Event Brokers

This section shows the steps required to replace operating appliance event brokers with newer ones. Instructions are provided for standalone appliance event brokers and those operating in High Availability (HA) redundant pairs.

This procedure applies only to compatible replacements where:

  • The appliance event broker chassis models are the same.
  • The NAB is the same type and in the same slot number on both appliance event brokers.
  • The ADB configuration matches one of these scenarios:
    • Both appliance event brokers have no ADB.
    • Both appliance event brokers have matching ADB models (ADB-000000-02-A, ADB-04210M-01-A, or ADB-000004-01-A).
    • You're swapping an ADB-04210M-01-A with an ADB-000004-01-A.

For different chassis models or other NAB/ADB configurations, contact Solace because there could be scaling differences and a custom procedure may be required.

Replacing Standalone Appliance Event Brokers

This procedure shows you how to replace a single standalone appliance event broker.

Before You Begin

The procedure shown in the Steps section assumes that:

The procedure doesn't affect the external disk-array used for message spooling as the disk-array is reused with the new hardware.

Steps

  1. Prepare the old appliance event broker.
    1. Shutdown the message-backbone to ensure the event broker is not providing any services.

      Enter the following commands in the Solace Event Broker CLI:

      solace(configure)# service
      solace(configure/service)# msg-backbone
      solace(configure/service/msg-backbone)# shutdown
      All clients will be disconnected.
      Do you want to continue (y/n)? y
    2. If the appliance event broker uses an ADB, its contents must be backed up so that it can be restored later on the new hardware.

      Enter the following commands:

      solace(configure)# hardware message-spool
      solace(configure/hardware/message-spool)# shutdown
      All message spooling will be stopped.
      Do you want to continue (y/n)? y
      solace(configure/hardware/message-spool)# end
      solace# admin
      solace(admin)# system message-spool
      solace(admin/system/message-spool)# backup-adb-to-disk
      On the next system startup, the backed-up ADB state on disk will overwrite the current ADB state.
      Do you want to continue (y/n)? y

      This creates a directory /usr/sw/adb, which needs to be moved to an external file server.

      To move the directory, enter the following commands:

      solace# shell "Backup adb to external file server"
      login: support
      Password: <password>
      [support@solace ~]$ sudo su - [sudo] password for root: <password> [root@solace ~]# cd /usr/sw
      [root@solace sw]# tar zcf /tmp/adb.<hostname>.tar.gz adb
      [root@solace sw]# scp /tmp/adb.<hostname>.tar.gz <username>@<hostname>:/<path-to-remote-dir> [root@solace sw]# exit logout [support@solace ~]$ exit logout
    3. Backup the current configuration database to an external file server.

      Example:

      copy current-config sftp://<username>@<hostname>/<path-to-remote-dir>/config_<date>.tar.gz

      For information on how to back up a current configuration to a remote destination, refer to Backing Up and Restoring Event Broker Configurations. Pay particular attention to the need to capture product-keys and certificate files, which are not automatically included in the backup.

    4. If the event broker hosts Solace Geneos Agent, its Solace Geneos Agent properties file (solgeneos/config/solgeneosagent.properties) must be copied to an external file server.
  2. Swap the appliance event brokers.
    1. Power-down the old appliance event broker.

      Enter the following commands:

      solace# power-down
      This command powers off the appliance event broker and does not restart it afterwards
      Do you want to continue (y/n)? y
    2. Label all cables and disconnect them from the appliance event broker.
    3. Remove the appliance event broker from the rack and replace it with the new one. For information on how to physically install appliance event brokers, refer to the help for the type of appliance event broker being removed (refer to Prerequisites & Installation).
    4. Reconnect all cables to the new appliance event broker.
    5. Power up the new appliance event broker, and through the management console, use the setup Config command to perform basic network parameters (refer to Initial Setup).
    6. If the appliance event broker has an HBA installed, register the HBA with the external array (refer to Configuring an External Disk Array for Guaranteed Messaging), then use the reload command to restart it.
  3. Prepare the new appliance event broker.
    1. Get the new appliance event broker to run the same Solace version the old appliance event broker ran. This may involve either an upgrade or a downgrade depending on what is shipped on the new hardware.
    2. Restore the old appliance event broker's configuration database from the external file server to the new appliance event broker.

      Example:

      <username>@192.168.2.xx's password: <password>
      solace# copy scp://<username>@<host>/<path-to-remote-dir>/config_<date>.tar.gz configs
      solace# reload config config_<date>.tar.gz
      This command causes a reload of the system
      Do you want to continue (y/n)? y

      Restoring a configuration from a remote destination is discussed in Backing Up and Restoring Event Broker Configurations. Pay particular attention to the need to restore product-keys and certificate files, which are not automatically included in the backup.

    3. If the appliance event broker hosts Solace Geneos Agent, install Solace Geneos Agent and restore its properties file from the external file server. For information about installing and configuring Solace Geneos Agent, refer to Solace Geneos Agent.
    4. If the appliance event broker has an ADB installed, its contents needs to be restored. Enter the following commands:
      solace# shell "Restore adb from external file server"
      login: support
      Password: <password>
      [support@solace ~]$ sudo su - [sudo] password for root: <password> [root@solace ~]# cd /usr/sw [root@solace sw]# scp <username>@<hostname>:/<path-to-remote-dir>/adb-<hostname>.tar.gz /tmp [root@solace sw]# tar xvfz /tmp/adb.<hostname>.tar.gz [root@solace sw]# exit logout [support@solace ~]$ exit logout

      For the ADB contents to take effect, the appliance event broker must be reloaded.

      Enter the following commands:

      solace# reload
      This command causes a reload of the system
      Do you want to continue (y/n)? y

      After the appliance event broker restarts, log back in and enable message spooling:

      solace(configure)# hardware message-spool
      solace(configure/hardware/message-spool)# no shutdown primary
    5. Re-enable message-backbone service:
      solace(configure)# service
      solace(configure/service)# msg-backbone
      solace(configure/service/msg-backbone)# no shutdown

Additional Steps When Replication Is Configured

If Replication is configured, you must perform the following steps:

  1. Shutdown Message VPN Replication on both sites.
  2. Shutdown Config-Sync on both sites.
  3. Perform the procedure shown in Steps.
  4. Re-enable Config-Sync on both sites.
  5. Re-enable Message VPN Replication on both.

Additional steps When Guaranteed VPN Bridges Are Configured

If Guaranteed VPN Bridges are configured, you must perform the following steps:

  1. Identify the other appliance event brokers that connect to the appliance event broker that is to be replaced.
  2. On each of those connected appliance event brokers reconfigure the remote Message VPN by removing the bridge queue.
  3. Perform the Steps on the appliance event broker to be replaced.
  4. On each of the connected appliance event brokers add back the bridge queues.

Additional Steps When Both Replication and Guaranteed VPN Bridges Are Configured

  1. On both sites involved in the Replication configuration perform the following:
    • Shutdown Message VPN Replication on both sites.
    • Shutdown Config-Sync on both sites.
  2. Identify the other appliance event brokers that connect via Guaranteed VPN Bridges to the appliance event broker that is to be replaced.
    • On each of those connected appliance event brokers reconfigure the remote Message VPN by removing the bridge queue.
  3. Perform the procedure shown in Steps on the appliance event broker to be replaced.
  4. On both sites involved in the Replication configuration perform the following:
    • Re-enable Config-Sync on both sites.
    • Re-enable Message VPN Replication on both.
  5. On each of the other appliance event brokers connected via Guaranteed VPN Bridges add back the bridge queues.

Replacing Both Appliance Event Brokers in an HA Pair

This procedure covers how to replace both appliance event brokers in an HA redundant pair. To perform this procedure, you must have access from the appliance event brokers to an external file server capable of temporarily holding the appliance event brokers' configuration databases and the contents of their ADBs (if installed). This procedure does not affect the external disk array used for message spooling—the disk-array is reused with the new hardware.

Be aware that if the appliance event brokers contain HBAs, you must register the new appliance event brokers' HBAs with the external array. For details, refer to Configuring an External Disk Array for Guaranteed Messaging.

Certain steps are to be applied to one appliance event broker or to both appliance event brokers in the pair.

  1. Prepare the old appliance event brokers:
    1. Verify Config-Sync is operationally "up" (that is, the appliance event brokers are in-sync). Use the following Solace Event Broker CLI command to verify this on both event brokers:
      solace1# show config-sync
      Admin Status : Enabled
      Oper Status : Up

      If the operational status is other than "Up" then this should be corrected before proceeding. Using ConfigSync to keep event broker configuration synchronized is fully described in Config-Sync.

    2. Shutdown the message backbone to ensure that the appliance event brokers do not provide any services. Enter the following commands for both event brokers:
      solace1(configure)# service
      solace1(configure/service)# msg-backbone
      solace1(configure/service/msg-backbone)# shutdown
      All clients will be disconnected.
      Do you want to continue (y/n)? y
    3. Force the primary event broker to have activity. Enter the following commands in the CLI of the backup appliance event broker:
      solace2(configure)# redundancy
      solace2(configure/redundancy)# release-activity
    4. If the appliance event brokers use ADBs, their contents must be backed up so they can be restored later on the new hardware.

      Enter the following commands in the CLI of both appliance event brokers:

      solace1(configure)# hardware message-spool
      solace1(configure/hardware/message-spool)# shutdown
      All message spooling will be stopped.
      Do you want to continue (y/n)? y

      Then enter the following commands only in the CLI of the primary appliance event broker:

      solace1(configure/hardware/message-spool)# end
      solace1# admin
      solace1(admin)# system message-spool
      solace1(admin/system/message-spool)# backup-adb-to-disk
      On the next system startup, the backed-up ADB state on disk will overwrite the current ADB state.
      Do you want to continue (y/n)? y

      This creates a directory /usr/sw/adb, which needs to be moved to an external file server.

      To move the directory, enter the following commands in a support shell on the primary appliance event broker:

      solace1# shell "Backup adb to external file server"
      login: support
      Password: <password>
      [support@solace ~]$ sudo su - [sudo] password for root: <password> [root@solace ~]# cd /usr/sw
      [root@solace sw]# tar zcf /tmp/adb.<hostname>.tar.gz adb
      [root@solace sw]# scp /tmp/adb.<hostname>.tar.gz <username>@<hostname>/<path-to-remote-dir> [root@solace sw]# exit logout
      [support@solace ~]$ exit logout
    1. Backup the current configuration database of both appliance event brokers to an external file server.

      Example:

      solace1# copy current-config sftp://<username>@<hostname>/<path-to-remote-dir>/config_<date>.tar.gz

      For information on how to back up a current configuration to a remote destination, refer to Backing Up and Restoring Event Broker Configurations. Pay particular attention to the need to capture product-keys and certificate files, which are not automatically included in the backup.

    1. If the event broker hosts Solace Geneos Agent, its Solace Geneos Agent properties file (solgeneos/config/solgeneosagent.properties) must be copied to an external file server.
  2. Swap out the old appliance event brokers.
    1. Power-down the old appliance event brokers.

      Enter the following commands in the CLI of both appliance event brokers:

      solace1# power-down
      This command powers off the appliance event broker and does not restart it afterwards
      Do you want to continue (y/n)? y
    2. Label all cables and disconnect them from the appliance event brokers.
    3. Remove the old appliance event brokers from the rack and replace them with the new ones.
    4. Reconnect all cables to the new appliance event brokers.
    5. Power up the new appliance event brokers, and through the management console, use the setup Config command to perform basic network initialization (refer to Initial Setup).
    6. If the appliance event brokers have HBAs installed, register the HBAs with the external array (refer to Configuring an External Disk Array for Guaranteed Messaging), then use the reload command to restart them.
  3. Prepare the new appliance event brokers.
    1. Get the new appliance event broker to run the same Solace version the old appliance event broker ran. This may involve either an upgrade or a downgrade depending on what is shipped on the new hardware.
    2. Restore the old appliance event brokers' configuration databases from the external file server.
      <username>@192.168.2.xx's password: <password>
      solace# copy scp://<username>@<hostname>/<path-to-remote-directory>/config_<date>.tar.gz configs
      solace# reload config config_<date>.tar.gz
      This command causes a reload of the system
      Do you want to continue (y/n)? y
      • Restoring a configuration from a remote destination is discussed in Backing Up and Restoring Event Broker Configurations. Pay particular attention to the need to restore product-keys and certificate files, which are not automatically included in the backup.
      • If replay logs are included in the configuration and the appliance event brokers are set up in the active-active redundancy model, you must do a second restart of the backup appliance event broker after reloading its configuration. Set the active-standby redundancy role of the backup appliance event broker to backup prior to the restart. After the restart, set the active-standby role back to none.
    3. If the appliance event broker hosts Solace Geneos Agent, install Solace Geneos Agent and restore its properties file from the external file server. For information about installing and configuring Solace Geneos Agent, refer to Solace Geneos Agent.
    4. If the appliance event brokers use ADBs, their contents need to be restored. Enter the following commands in the CLI of the primary appliance event broker:
      solace1# shell "Restore adb from external file server"
      login: support
      Password: <password>
      [support@solace ~]$ sudo su - [sudo] password for root: <password> [root@solace ~]# cd /usr/sw [root@solace sw]# scp <username>@<hostname>:/<path-to-remote-dir>/adb-<hostname>.tar.gz /tmp [root@solace sw]# tar xvfz /tmp/adb.<hostname>.tar.gz [root@solace sw]# exit logout [support@solace ~]$ exit logout

      For the ADB contents to take effect, the primary appliance event broker must be reloaded. Enter the following commands:

      solace1# reload
      This command causes a reload of the system
      Do you want to continue (y/n)? y

      Log back into the primary appliance event broker and enable message spooling:

      solace1(configure)# hardware message-spool
      solace1(configure/hardware/message-spool)# no shutdown primary

      Then, on the backup appliance event broker, enter the following CLI commands:

      solace2(configure)# hardware message-spool
      solace2(configure/hardware/message-spool)# no shutdown backup
    5. Re-enable message-backbone service. Enter the following commands in the CLI of both appliance event brokers:
      solace1(configure)# service
      solace1(configure/service)# msg-backbone
      solace1(configure/service/msg-backbone)# no shutdown
  4. Verify Config-Sync is operationally "up" (that is, the event brokers are in-sync).

    Enter the following commands in the CLI of both appliance event brokers:

    dev2-22# show config-sync
    Admin Status : Enabled
    Oper Status : Up

    If the operational status is other than "Up", then this should be corrected before proceeding. For information on how to use Config-Sync to keep event broker configurations synchronized, refer to Config-Sync.

  5. Re-enable the backup appliance event broker's ability to take activity from the primary. Enter the following commands in the CLI of the backup appliance event broker:

    solace2(configure)# redundancy
    solace2(configure/redundancy)# no release-activity