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
- Locate the sample policy folder:
/opt/IBM/tivoli/netcool/ncm/compliance/db/export/samplePolicies
- 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
- 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.
- 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
- 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.