Network Management
How to Migrate Log Analyzer Rules
This article explains how to migrate Log Analyzer rules from one database to another database, including the database on another Server.
First published date
Last published date
Overview
Use these instructions if you are migrating any LA configured rules.
Product section
Cause
- Migration
Resolution
- First Backup the database.
- Stop all LA services on the application server.
- You can then proceed to run the script below and after script execution completes
- Start services again.
Warning!
- This script replaces all rules in new DB by rules migrated from old DB.
- In SQL management studio right click on LA DB you want to migrate.
- Hover over Tasks and click on Generate Scripts... button.
- Wizard opens
- Go next, in choose object click on Select specific database objects. Under Tables choose dbo.OrionLog_RuleProcessingDefinitions.
- On next screen click on Advanced button.
- Under General section
- Find option Script DROP or CREATE and set it to Script DROP and CREATE value.
- Find option Types of data to script. Set it to Data only.
- Under General section
- On same screen select option Save to new query window or choose file where to store generated script.
- On next Summary screen just click next.
- Wait on script to generate and finish the wizard.
- Execute generate script over your new DB where you want to migrate data.