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 도구를 사용하고 있는지 확인하십시오. attributes 또는 bindingLocation 매개변수 값으로 특성 오브젝트를 허용하는 정책 세트 관리 명령은 이전 버전의 wsadmin 도구에서 지원되지 않습니다. 예를 들어, 이 명령은 버전 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 6:15
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=txml_wsfpremovebinding
파일 이름:txml_wsfpremovebinding.html