CA Spectrum's Network Configuration Manager can automatically repair configuration issues.
search cancel

CA Spectrum's Network Configuration Manager can automatically repair configuration issues.

book

Article ID: 9724

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

Starting in CA Spectrum 9.4.2.1 and above, the CA Spectrum Network Configuration Manager (NCM) application can be configured to automatically repair device policy violations.

Environment

DX NetOps Spectrum 20.2 or later

Resolution

To enable CA Spectrum to automatically repair policy violations, you need to run the CA Spectrum AlarmNotifier application.  The following section is in the $SPECROOT/Notifier/SetScript file:

# Below NCMAUTOREPAIR must set to TRUE to call auto remediation  for NCM  
# SPECTRUM_USER must be user which spectrum is installed

NCMAUTOREPAIR=FALSE 

SPECTRUM_USER="user"

To enable the functionality, you need to set the NCMAUTOREPAIR=TRUE and verify that the SPECTRUM_USER is a valid user in the SpectroSERVER database. Then run the AlarmNotifier process.  When you run the AlarmNotifier application, CA Spectrum will automatically create a repair task for NCM policy violations.

 

Notes:
It is preferable to have the SPECTRUM_USER set to be the same as the CA Spectrum install owner.

The auto remediation will only work for alarms that are raised on the policy model.  If the alarm is on the device model, the auto remediation will not work.

Spectrum 9.4.x uses the ncmautorepair.sh script. Spectrum 10.x uses the ncmautorepair.jar file. If you are upgrading from Spectrum 9.4.x to 10.x and have created a custom SetScript using the out of the box 9.4 SetScript, you will need to rewrite your customer SetScript using the new 10.x SetScript as Spectrum 10.x does not use the ncmautorepair.sh script.

Additional Information

Information about utilizing the CA Spectrum Network Configuration Manager to generate alarm violations for the auto remediation to work can be found here:

TechDocs : DX NetOps Spectrum 22.2 : NCM - Repair Non-Compliant Devices