Previous Topic: Create a Service Discovery Policy Set FileNext Topic: Undo the Latest Version of a Service Discovery Policy Set


Upload a Service Discovery Policy Set File

The upload_rules_to_db.bat file lets you upload service policy definitions back into the database from an .xml file you created with read_rules_from_db.bat.

When you upload the .xml file, upload_rules_to_db.bat validates the following:

Uploading a Service Discovery policy set increases the Revision number by one.

Note: Do not edit the .xml file manually. Use the Service Discovery Policy Editor to change your policies.

Follow these steps:

  1. Open a command prompt on the SA Manager system.
  2. Navigate to SOI_HOME\ServiceDiscovery, and run the following command:
    upload_rules_to_db.bat filename.xml
    
    filename

    Specifies the input .xml file created with read_rules_from_db.bat that you want to restore. The upload_rules_to_db.bat file does several semantic checks to avoid loading an invalid file.

    Debug information displays as upload_rules_to_db.bat uploads the .xml file to the database.

    The upload completes and you are returned to the command line.

  3. Close and reopen the Service Discovery Policy Editor so that the policies are refreshed in the Policies tab.