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


Importing a policy set and policy set binding

Use the mqsichangeproperties command to import a policy set and associated policy set binding.

About this task

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

Procedure

  1. Create a configurable service for the policy set, if one does not already exist.
    mqsicreateconfigurableservice myBroker -c PolicySets -o myPolicySet
    BIP8071I: Successful command completion.  
  2. Create a configurable service for the policy set binding, if one does not already exist.
    mqsicreateconfigurableservice myBroker -c PolicySetBindings -o myPolicySetBinding  
    BIP8071I: Successful command completion.
  3. Import the policy set.
    mqsichangeproperties myBroker -c PolicySets -o myPolicySet -n ws-security -p myPolicySet.xml
  4. Import the policy set binding.
    mqsichangeproperties myBroker -c PolicySetBindings -o myPolicySetBinding
       -n ws-security -p myPolicySetBinding.xml 
  5. Change the value of the associatedPolicySet attribute. Set it to the name of the policy set with which this policy set binding was originally associated.
    mqsichangeproperties myBroker -c PolicySetBindings -o myPolicySetBinding
       -n associatedPolicySet -v myPolicySet
  6. You must stop and start the integration server for the changes of property values to take effect.

ac60370_.htm | Last updated 2019-07-13 08:12:16