NSP configuration for MAG-c appliance DB VM failure automation

Purpose

You must complete the following configuration tasks in NSP to support MAG-c appliance DB VM failure automation.

Create a workflow environment
 

In NSP, open Workflows.


Select Environments from the menu.


Click + Environment.


Type MAG-AUTOMATION in the Environment Name field.

If this environment already exists, click More, Update on the MAG-AUTOMATION item.


In the Environment form, click + Add and add the following variables if they are missing. You must repeat this step to add each variable.

Variable name

Default value

Configurable value

Description

Behavior

enableDBVMFailureAutomation

false

true/false

Controls execution of the DB VM failure use case.

true: the DB VM Failure workflow is executed.

false: the workflow is not executed.

enableSWToAvoidSubsChurn

false

true/false

Controls switchover behaviour to avoid subscriber churn.

true: switchover occurs irrespective of whether a DBRoleActive alarm is received within two seconds, to avoid subscriber churn.

false: switchover occurs only if a DBRoleActive alarm is not received within two seconds.

switchoverStatusRetryTime

120 (secs)

This combination should match NE switchover timing.

Indicates the time gap between retries, in seconds.

switchoverStatusRetryCount

12

Indicates the maximum number of retries the workflow makes to infer completion state of switchover.


Click Add/Update, to create the MAG-AUTOMATION environment.

End of steps

Create a Kafka trigger
 

In NSP, open Workflows.


Select Kafka Triggers from the menu.


In the Kafka Trigger form, configure the following parameters with the values provided:

  • Workflow: LSO_Magc_DBVM_Failure

  • Kafka Topic: nsp-db-fm

  • Trigger Name: MAGc_DB_VM_Failure_Create_Trigger

  • Trigger Rule: $[?(@.alarmName=='TmnxMobDbStatusChanged')]

  • Kafka Event: CREATE


Select the Enabled check box.


Click Create.

End of steps