Importing sample compliance policies

You can import sample compliance policies. These policies have been installed by default, and after you have imported them they will be available in the Netcool Configuration Manager - Compliance UI.

Before you begin

Before sample policies can be viewed, access permissions must be granted.

About this task

Note: Policies exported from a previous version of Netcool Configuration Manager can be imported into the most current version, but some errors may be reported.

Procedure

  1. Locate the sample policy folder:
    /opt/IBM/tivoli/netcool/ncm/compliance/db/export/samplePolicies
  2. Copy the sample policies from the original location to the following directory:
    /opt/IBM/tivoli/netcool/ncm/compliance/db/export/tables

    You can use the following command:
    cp /opt/IBM/tivoli/netcool/ncm/compliance/db/export/samplePolicies/sample_policies.tar /opt/IBM/tivoli/netcool/ncm/compliance/db/export/tables
  3. Locate the /opt/IBM/tivoli/netcool/ncm/compliance/db/export/tables directory and access the sample_policies.tar tar file. You can use the following command:
    tar xvf sample_policies.tar
    CAUTION:
    This step overwrites existing policies. Back up existing policy xml files, if required.
  4. In the /opt/IBM/tivoli/netcool/ncm/compliance/bin/utils directory, run the following script to install the sample policies, and merge these with any existing policies:
    ./dbImport.sh
  5. To grant access privileges to the users who requires read access to the sample policies, use AdminUser SecurityRealm Access Control, and then add the user to Allowed Groups.