Detecting backup anomalies on the media server
This topic provides the workflow and the procedure that enable the media server to detect backup anomalies.
To enable the media server to detect backup anomalies
- Install the NetBackup media server software on your system (or upgrade the media server software).
After the installation, the configuration file template anomaly_config.conf.template is automatically created on the master server.
See Anomaly configuration file and settings.
The configuration file template is available at the following location:
On Windows: Install_Path\NetBackup\var\global\anomaly_detection
On UNIX: /usr/openv/var/global/anomaly_detection
- Update the ANOMALY_PROXY_SERVER configuration option on the master server as follows using the nbsetconfig command.
ANOMALY_PROXY_SERVER = media_server_name
See ANOMALY_PROXY_SERVER option for NetBackup master server.
Once you update the ANOMALY_PROXY_SERVER option on the master server, the anomaly detection services that run on the master server automatically stop after a few minutes.
- On media server, start the nbanomalymgmt service manually. Use the following script:
nbanomalymgmt -start
- (Optional) If you want to preserve the data that the master server has gathered earlier, do the following:
Ensure that the nbanomalymgmt service on master server is stopped.
Copy the NB_Anomaly.db file from the anomaly_detection folder on the master server to the anomaly_detection folder on the media server.
Start the nbanomalymgmt service on the media server.
- Create a new configuration file at the location same as the template file, that is in the anomaly_detection folder.
- Copy the contents of the anomaly_config.conf.template template file and paste them in the new file that you have created.
- Name the new file as anomaly_config.conf.
Caution:
You must not rename or copy the template file. You must create a new file to set configurations.
- Configure the backup anomaly settings in the anomaly_config.conf file. NetBackup takes these settings into account during anomaly detection.
See Anomaly configuration file and settings.
See How a backup anomaly is detected.
If any anomalies are detected, they are notified using the NetBackup web UI.
See View anomalies.