Application Hosting Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Application Hosting Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Assign IP addresses to peer interfaces

Want to summarize with AI?

Log in

Configure the active and standby peer addresses that support container high availability traffic between route processors.


Use this task to configure the peer addresses that the application manager consumes for active and standby RP connectivity.

The application manager uses this interface to configure peer addresses to keep the active and standby RPs synchronized with the running configuration

Before you begin

  • Choose active and standby peer addresses that do not conflict with any existing management, container, or infrastructure interface address.

  • Confirm that the router has active and standby RPs.

Follow these steps to configure app manager peer interfaces:

Procedure

  1. Enter the application manager configuration mode.

    Example:

    Router(config)# appmgr
  2. Configure the active peer address using the IPv4 address and subnet mask or IPv4 address and prefix.

    Example:

    Router(config-appmgr)# peer active 192.0.2.1 255.255.255.252

    OR

    Example:

    Router(config-appmgr)# peer active 192.0.2.1/30
  3. Configure the standby peer address.

    Example:

    Router(config-appmgr)# peer standby 192.0.2.2 255.255.255.252

    OR

    Example:

    Router(config-appmgr)# peer standby 192.0.2.2/30

    The application manager consumes the peer configuration and programs the addresses on the to_peer interface.

The active and standby peer addresses are available for the application manager to synchronize container high availability actions across RPs.


Verify Containerz on active and standby route processors

Use this task to confirm the control-plane state before trusting container placement on both RPs.

This verification sequence checks the configuration first, then the platform and redundancy state, and finally the live Docker process state on each RP.

Before you begin

  • Confirm that the router has an active RP and a standby RP.

  • Configure the application manager active and standby peer addresses.

Procedure

  1. Use the show platform command to verify the active and standby RP platform state.

    Example:

    Router# show platform
    Node              Type                     State                    Config state
    --------------------------------------------------------------------------------
    0/RP0/CPU0        8800-RP2(Active)         IOS XR RUN               NSHUT
    0/RP1/CPU0        8800-RP2(Standby)        IOS XR RUN               NSHUT

    This output is applicable only for Containerz on active and standby route processors.

  2. Use the show running-config appmgr command to verify the application manager peer configuration.

    Example:

    Router# show running-config appmgr
    appmgr
     peer active 192.0.2.1 255.255.255.252
     peer standby 192.0.2.2 255.255.255.252
    !