Removing policy set bindings using wsadmin scripting

You can use the Jython or Jacl scripting language to remove binding configurations for policies and resources to match your installation environment or requirements.

Before you begin

在使用這個主題中的指令之前,請確認您使用 wsadmin 工具的最新版本。 在舊版的 wsadmin 工具中,不支援接受內容物件作為 attributesbindingLocation 參數值的原則集管理指令。 例如,在 6.1.0.x 版節點上,不執行這些指令。

When administrative security is enabled, verify that you use the correct administrative role, as the following table describes:
Table 1. Administrative roles. This table describes the administrative roles and associated authorization when administrative security is enabled.
Administrative role Authorization
Administrator The Administrator role must have cell-wide access to delete bindings. If you have access to a specific resource only, you can delete bindings for the resource for which you have access.
Configurator The Configurator role can unassign bindings, but cannot delete bindings.
Deployer The Deployer role can unassign bindings, but cannot delete bindings.
Operator The Operator role cannot modify bindings.
Monitor The Monitor role cannot modify bindings.

About this task

Use the following steps to remove specific policies from your application-specific binding configuration, or to remove your entire binding configuration. For both of these removal options, you must use the -bindingLocation parameter to specify whether you are deleting an application-specific binding, server-specific default binding, or a binding for the trust service. Use the following table for examples using Jython syntax when specifying the type of binding to modify or remove:

Table 2. bindingLocation parameter options. Use the following values for the -bindingLocation parameter for the associated types of bindings.
Type of binding Value for the -bindingLocation parameter
Server-level (for Version 6.1 bindings only) -bindingLocation "[[node node1][server server1]]"
Application -bindingLocation "[[application application1][attachmentId 123]]"
Trust service binding -bindingLocation "[[systemType trustService] [attachmentId 123]]"
WS-Notification client -bindingLocation "[[bus myBus][WSNService myService][attachmentId 123]]"
General bindings -bindingLocation []

Procedure


指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:19
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=txml_wsfpremovebinding
檔名:txml_wsfpremovebinding.html