b2bp-initialize-secondary

This command initializes the B2B persistence store in secondary mode.

Syntax

b2bp-initialize-secondary

Availability

Requires the B2B feature.

Guidelines

The b2bp-initialize-secondary command initializes the B2B persistence store for the passive member in the high availability configuration in secondary mode. When you run this command and the persistence store contains transaction data, this data is removed.

Note: Before you use this command, disable the B2B Persistence configuration with the admin-state disabled command.

After you use this command, enable the B2B Persistence configuration for high availability with the ha-enabled on command and enable the B2B Persistence configuration again with the admin-state enabled command. The persistence store for the secondary member synchronizes with the primary member.

When the synchronization process completes, the persistence store for the secondary member is an exact replica of the persistence store for the primary member. Although their persistence stores are the same, each member has different permission.
  • The primary member has read/write permission to its persistence store.
  • The secondary member has read-only permission to its persistence store.

To validate the persistence state and the connection status for the high availability configuration, use the show b2b-high-availability-status command.

Example

Initialize the B2B persistence store in secondary mode.
(config)# b2b-persistence
(config b2b-persistence)# admin-state disabled
(config b2b-persistence)# exit
(config)# b2bp-initialize-secondary
(config)# b2b-persistence
(config b2b-persistence)# ha-enabled on
(config b2b-persistence)# admin-state enabled
(config b2b-persistence)# exit
(config)#