Reconfiguring Hostname / Routername for Appliances

Follow these steps to reconfigure the hostname / routername for appliances in a replication pair.

  1. Check and record which message VPNs are enabled for replication and shutdown message VPN replication:
    primary(configure)# message-vpn <vpn-name>
    primary(configure/message-vpn)# replication shutdown
    dr(configure)# message-vpn <vpn-name>
    dr(configure/message-vpn)# replication shutdown
  2. Shutdown config-sync:
    primary(configure)# config-sync shutdown
    dr(configure)# config-sync shutdown
  3. Shutdown the msg-backbone service:
    primary(configure)# service msg-backbone shutdown
    dr(configure)# service msg-backbone shutdown
  4. Configure the new hostname; the appliance will automatically reboot after executing this command:
    primary(configure)# hostname <new-primary-hostname>
    dr(configure)# hostname <new-standby-hostname>
  5. After the appliance restarts, reconfigure the replication mate's virtual-router-name:
    primary(configure)# replication
    primary(configure/replication)# mate virtual-router-name v:<new-dr-routername> connect-via <dr-ip>
    dr(configure)# replication
    dr(configure/replication)# mate virtual-router-name v:<new-primary-routername> connect-via <primary-ip>
  6. Re-enable message-vpn replication:
    primary(configure)# message-vpn <name>
    primary(configure/message-vpn)# replication
    primary(configure/message-vpn/replication)# no shutdown
    dr(configure)# message-vpn <name>
    dr(configure/message-vpn)# replication
    dr(configure/message-vpn/replication)# no shutdown
  7. Re-enable the msg-backbone service:
    primary(configure)# no service msg-backbone shutdown
    dr(configure)# no service msg-backbone shutdown
  8. Re-enable config-sync:
    primary(configure)# config-sync
    primary(configure/config-sync)# no shutdown
    dr(configure)# config-sync
    dr(configure/config-sync)# no shutdown