Migration commands

cpc-migration

Command Modes: Exec > Global Configuration

Syntax Description:
cpc-migration { enable { true | false } | external-ips <IP1> <IP2> 
| replicas <1-5> | logger-port <port> | ip-hostnames <IP> hostname <name> 
| properties <prop> value <val> }

enable: Enables or disables the migration process.

external-ips: Sets the external IP addresses for the SOAP Proxy.

replicas Sets the number of migration replicas (Range: 1-5).

logger-port: Sets the port number for debug logging.

ip-hostnames: Associates an IP address with a specific hostname.

properties: Configures migration-specific properties (e.g., server.port, cps.url, cnaaa.url, enable.getsubscriber).

SOAP Kafka Proxy configuration

This section describes the configuration parameters for the SOAP Kafka Proxy.

cpc-migration soap-kafka-proxy

Command Modes: Exec > Global Configuration

Syntax Description:
cpc-migration soap-kafka-proxy { enable { true | false } | port <port> 
| external-ips [ <IP_Address> ] | affinity-label { key <key> | value <val> } 
| producer properties <prop> value <val> | consumer properties <prop> value <val> |
 kafka { local-site-id <name> | remote-site-id <name> | external-ip <IP> <port> | 
remote-site kafka-server <IP> <port> | failedapi-dlq { retentionbytes bytes | retentionms ms } 
| soapapi-details { retentionbytes bytes | retentionms ms } | consumer-heartbeat { retentionbytes bytes 
| retentionms ms } | soap-api-partition <value> } }

enable: Enables the SOAP Kafka Relay solution.

port: Sets the SOAP proxy port.

affinity-label: Configures pod affinity labels.

producer/consumer properties: Configures URL endpoints and cluster coordination settings.

kafka: Configures site identifiers, local/remote Kafka server connectivity, and topic-specific retention/partition settings.

Usage Guidelines

Use these commands to configure the SOAP Kafka Relay solution for subscriber migration between CPS 7.5 and cnAAA.

soap-kafka-proxy kafka failedapi-dlq

Command Modes: Exec > Global Configuration

Syntax Description:
soap-kafka-proxy kafka failedapi-dlcpc-migrationq retentionbytes retentionbytes  retentionms retentionms 

retentionbytes: Specify the retention size in bytes. Default: 2147483648.

retentionms: Specify the retention time in milliseconds. Default: 2592000000.

Example: soap-kafka-proxy kafka failedapi-dlq retentionbytes 2147483658 retentionms 2592000020

Usage Guidelines

Use this command to configure the retention policy for the failedapi-dlq topic.

cpc-migration soap-kafka-proxy kafka soapapi-details

Command Modes: Exec > Global Configuration

Syntax Description:

cpc-migration soap-kafka-proxy kafka soapapi-details retentionms retentionms  retentionbytes retentionbytes 

retentionms: Specify the retention time in milliseconds. Default: 259200000.

retentionbytes: Specify the retention size in bytes. Default: 7516192768.

Example: cpc-migration soap-kafka-proxy kafka soapapi-details retentionms 259200020 retentionbytes 7516192788

Usage Guidelines

Use this command to configure the retention policy for the soapapi-details topic.

cpc-migration soap-kafka-proxy kafka consumer-heartbeat

Command Modes: Exec > Global Configuration

Syntax Description:

cpc-migration soap-kafka-proxy kafka consumer-heartbeat retentionms retentionms  retentionbytes retentionbytes 

retentionms: Specify the retention time in milliseconds. Default: 86400000.

retentionbytes: Specify the retention size in bytes. Default: 104857600.

Example: cpc-migration soap-kafka-proxy kafka consumer-heartbeat retentionms 86400010 retentionbytes 104857610

Usage Guidelines

Use this command to configure the retention policy for the consumer-heartbeat topic.

cpc-migration soap-kafka-proxy kafka soap-api-partition

Command Modes: Exec > Global Configuration

Syntax Description:

cpc-migration soap-kafka-proxy kafka soap-api-partition soap-api-partition

value: Specify the number of partitions for SOAP API Kafka topics. Range: 1 to 5. Default: 1.

Example: cpc-migration soap-kafka-proxy kafka soap-api-partition 1

Usage Guidelines

Use this command to configure the number of partitions for SOAP API Kafka topics.