IBM Integration Bus, Version 10.0.0.2 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS


Exporting a policy set and policy set binding

Use the mqsireportproperties command to export a policy set and associated policy set binding to a file.

About this task

This topic shows how to export policy set myPolicySet from integration node myBroker to a file called myPolicySet.xml. The associated binding is myPolicySetBinding, which you export to myPolicySetBinding.xml.

Procedure

  1. Export the policy set to a file:
    mqsireportproperties myBroker -c PolicySets -o myPolicySet -n ws-security -p myPolicySet.xml  
  2. Export the policy set binding to a file:
    mqsireportproperties myBroker -c PolicySetBindings -o myPolicySetBinding
       -n ws-security -p myPolicySetBinding.xml 

What to do next

Make a note of the policy set that is associated to the binding; you will need this information when you import the policy set and binding. This command displays the policy set associated with a binding:
mqsireportproperties myBroker -c PolicySetBindings -o myPolicySetBinding -n associatedPolicySet
This displays:
PolicySetBindings   myPolicySetBinding     associatedPolicySet='myPolicySet'     
BIP8071I: Successful command completion.  
Note: To export a policy set with more than one policy, you must run the mqsireportproperties command once for each policy. For example, a policy set might contain a WS-Security policy and a WS-RM policy.

ac60360_.htm | Last updated 2015-09-24 12:51:56