AdminTask 오브젝트에 대한 CoreGroupBridgeManagement 명령 그룹
스크립트를 사용하여 배치된 애플리케이션을 관리하는 데 Jython 또는 Jacl 스크립트 언어를 사용할 수 있습니다. CoreGroupBridgeManagement 그룹의 명령 및 매개변수를 사용하여 코어 그룹 액세스 위치, TCP 인바운드 채널 포트 및 브릿지 인터페이스를 작성 및 관리할 수 있습니다. 브릿지 인터페이스는 코어 그룹 브릿지 서비스를 실행하는 특정 노드 및 서버를 지정합니다.
AdminTask 오브젝트에 대한 CoreGroupBridgeManagement 명령 그룹에는 다음 명령이 포함됩니다.
createCoreGroupAccessPoint
createCoreGroupAccessPoint 명령은 지정하여 기본 액세스 위치 그룹에 추가하는 코어 그룹에 대한 기본 코어 그룹 액세스 위치를 작성합니다. 기본 액세스 위치 그룹이 존재하지 않으면 명령이 기본 액세스 위치 그룹을 작성합니다.대상 오브젝트
셀의 코어 그룹 브릿지 설정 오브젝트 (ObjectName, 필수)필수 매개변수
- -coreGroupName
- 코어 그룹 액세스 위치를 작성할 코어 그룹의 이름 (문자열, 필수).
선택적 매개변수
없음예
일괄처리 모드 사용 예제:
- Jacl 사용:
$AdminTask createCoreGroupAccessPoint (cells/cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1) "-coreGroupName core_group_name" - Jython 문자열 사용:
AdminTask.createCoreGroupAccessPoint('cells/cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1', '[-coreGroupName core_group_name]') - Jython 목록 사용:
AdminTask.createCoreGroupAccessPoint('cells/cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1', ['-coreGroupName', 'core_group_name'])
대화식 모드 사용법 예:
- Jacl 사용:
$AdminTask createCoreGroupAccessPoint {-interactive} - Jython 사용:
AdminTask.createCoreGroupAccessPoint('-interactive')
deleteCoreGroupAccessPoints
deleteCoreGroupAccessPoints 명령은 사용자가 지정하는 그룹과 연관된 모든 코어 그룹 액세스 위치를 삭제합니다.대상 오브젝트
셀의 코어 그룹 브릿지 설정 오브젝트 (ObjectName, 필수).필수 매개변수
- -coreGroupName
- 코어 그룹 액세스 위치를 삭제할 코어 그룹의 이름 (문자열, 필수).
선택적 매개변수
없음예
일괄처리 모드 사용 예제:
- Jacl 사용:
$AdminTask deleteCoreGroupAccessPoints (cells/cell_name/coregroupbridge.xml# CoreGroupBridgeSettings_1) "-coreGroupName core_group_name" - Jython 문자열 사용:
AdminTask.deleteCoreGroupAccessPoints('cells/cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1', '[-coreGroupName core_group_name]') - Jython 목록 사용:
AdminTask.deleteCoreGroupAccessPoints('(cells/ cell_name/coregroupbridge.xml# CoreGroupBridgeSettings_1)', ['-coreGroupName', 'core_group_name'])
대화식 모드 사용법 예:
- Jacl 사용:
$AdminTask deleteCoreGroupAccessPoints {-interactive} - Jython 사용:
AdminTask.deleteCoreGroupAccessPoints('-interactive')
exportTunnelTemplate
exportTunnelTemplate 명령은 터널 템플리트 및 해당 연관된 하위를 단순 특성 파일로 내보냅니다.대상 오브젝트
없음필수 매개변수
- -tunnelTemplateName
- 내보낼 터널 템플리트의 이름을 지정합니다. (문자열, 필수).
- -outputFileName
- 작성할 특성의 이름을 지정합니다. (문자열, 필수).
선택적 매개변수
없음예
일괄처리 모드 사용 예제:
- Jython 문자열 사용:
AdminTask.exportTunnelTemplate('[-tunnelTemplateName tunnelTemplate1 -outputFileName tunnelTemplate1.props]') - Jython 목록 사용:
AdminTask.exportTunnelTemplate(['-tunnelTemplateName', 'tunnelTemplate1', '-outputFileName', 'tunnelTemplate1.props'])
대화식 모드 사용법 예:
- Jython 사용:
AdminTask.exportTunnelTemplate('-interactive')
getNamedTCPEndPoint
getNamedTCPEndPoint 명령은 사용자가 지정하는 브릿지 인터페이스와 연관된 포트를 리턴합니다. 리턴되는 포트는 지정하는 브릿지 인터페이스에 대한 전송 채널 체인의 TCP 인바운드 채널에 지정되는 포트입니다.대상 오브젝트
포트를 나열할 브릿지 인터페이스 오브젝트 (ObjectName, 필수).필수 매개변수
없음.선택적 매개변수
- -bridgeInterface
- 이 매개변수는 선택사항이며 사용이 제한됩니다. 이는 액세스 지점 그룹이 코어 그룹 브릿지 인터페이스임을 표시합니다. 유효값은 true 및 false입니다.
예
일괄처리 모드 사용 예제:
- Jacl 사용:
AdminTask.getNamedTCPEndPoint('cells/cell_name/coregroupbridge.xml#BridgeInterface_2')"-bridgeInterface true" - Jython 문자열 사용:
AdminTask.getNamedTCPEndPoint('cells/cell_name/coregroupbridge.xml#BridgeInterface_2','[-bridgeInterface true]') - Jython 목록 사용:
AdminTask.getNamedTCPEndPoint('cells/cell_name/coregroupbridge.xml#BridgeInterface_2') -bridgeInterface
대화식 모드 사용법 예:
- Jacl 사용:
$AdminTask getNamedTCPEndPoint -bridgeInterface {-interactive} - Jython 문자열 사용:
AdminTask.getNamedTCPEndPoint -bridgeInterface ('[-interactive]')
importTunnelTemplate
importTunnelTemplate 명령은 터널 템플리트 및 해당 하위를 셀 구성으로 가져옵니다.대상 오브젝트
없음필수 매개변수
- -inputFileName
- 가져올 터널 템플리트 파일의 이름을 지정합니다. (문자열, 필수).
- -bridegeInterfaceNodeName
- 보안 프록시 노드의 이름을 지정하여 코어 그룹 브릿지 인터페이스용으로 사용할 수 있습니다. (문자열, 필수).
- -bridegeInterfaceServerName
- 보안 프록시 서버의 이름을 지정하여 코어 브릿지 인터페이스용으로 사용할 수 있습니다. (문자열, 필수).
선택적 매개변수
없음예
일괄처리 모드 사용 예제:
- Jython 문자열 사용:
AdminTask.importTunnelTemplate('[-inputFileName tunnelTemplate1.props -bridegeInterfaceNodeName secureProxyNode -bridegeInterfaceServerName mySecureProxyServer]') - Jython 목록 사용:
AdminTask.importTunnelTemplate(['-inputFileName', 'tunnelTemplate1.props', '-bridegeInterfaceNodeName', 'secureProxyNode', '-bridegeInterfaceServerName', 'mySecureProxyServer'])
대화식 모드 사용법 예:
- Jython 사용:
AdminTask.importTunnelTemplate('-interactive')
listCoreGroups
listCoreGroups 명령은 사용자가 지정하는 코어 그룹과 관련된 코어 그룹의 콜렉션을 리턴합니다.대상 오브젝트
관련 코어 그룹을 나열할 코어 그룹의 이름 (문자열, 필수).필수 매개변수
- -cgBridgeSettings
- 셀의 그룹 브릿지 설정 오브젝트 (ObjectName, 필수).
선택적 매개변수
없음예
일괄처리 모드 사용 예제:
- Jacl 사용:
$AdminTask listCoreGroups DefaultCoreGroup "-cgBridgeSettings (cells/cell_name/coregroupbridge.xml# CoreGroupBridgeSettings_1)" - Jython 문자열 사용:
AdminTask.listCoreGroups('DefaultCoreGroup', '[-cgBridgeSetting (cells/ cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1)]') - Jython 목록 사용:
AdminTask.listCoreGroups('DefaultCoreGroup', ['-cgBridgeSetting', '(cells/ cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1)'])
대화식 모드 사용법 예:
- Jacl 사용:
$AdminTask listCoreGroups {-interactive} - Jython 사용:
AdminTask.listCoreGroups('-interactive')
listEligibleBridgeInterfaces
listEligibleBridgeInterfaces 명령은 지정된 코어 그룹 액세스 위치의 브릿지 인터페이스로 사용 가능한 노드, 서버 및 전송 채널 체인 조합의 콜렉션을 리턴합니다.대상 오브젝트
브릿지 인터페이스를 나열할 코어 그룹 액세스 위치 오브젝트 (ObjectName, 필수).필수 매개변수
없음선택적 매개변수
없음예제 출력
브릿지 인터페이스 세트. (문자열 집합) 각 브리지 인터페이스는 노드, 서버 및 DCS 채널 체인의 조합으로 표시됩니다. 이름>, <서버 이름>, <DCS 채널 체인 objectName. 예를 들어, 이 명령으로 리턴된 세트의 요소는
다음과 유사합니다.
node_name dmgr DCS-Secure(cells/cell_name/nodes/node_name/servers/dmgr/server.xml#Chain_4)예
일괄처리 모드 사용 예제:
- Jacl 사용:
$AdminTask listEligibleBridgeInterfaces CGAP_DCG_2(cells/cell_name/coregroupbridge.xml#CoreGroupAccessPoint_1089636614062) - Jython 문자열 사용:
AdminTask.listEligibleBridgeInterfaces('CGAP_DCG_2(cells/cell_name/coregroupbridge.xml# CoreGroupAccessPoint_1089636614062)')
대화식 모드 사용법 예:
- Jacl 사용:
$AdminTask listEligibleBridgeInterfaces {-interactive} - Jython 사용:
AdminTask.listEligibleBridgeInterfaces('-interactive')
removeCoreGroupBridgeInterface
removeCoreGroupBridgeInterface 명령은 사용자가 지정하는 서버에서 지정된 코어 그룹 브릿지 인터페이스를 제거합니다.대상 오브젝트
셀의 코어 그룹 브릿지 설정 오브젝트 (ObjectName, 필수).필수 매개변수
- -coreGroupName
- 브릿지 인터페이스가 제거 중인 코어 그룹의 이름입니다. (문자열, 필수)
- -nodeName
- 브릿지 인터페이스가 제거되는 서버가 속한 노드의 이름입니다.
- -serverName
- 브릿지 인터페이스가 제거 서버의 이름입니다.
선택적 매개변수
없음예
일괄처리 모드 사용 예제:
- Jacl 사용:
$AdminTask removeCoreGroupBridgeInterface (cells/ cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1) -coreGroupName DefaultCoreGroup-nodeName node_name -serverName server_name" - Jython 문자열 사용:
AdminTask.removeCoreGroupBridgeInterface('cells/ cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1', '[-coreGroupName DefaultCoreGroup -nodeName node_name -serverName server_name]') - Jython 목록 사용:
AdminTask.removeCoreGroupBridgeInterface('cells/ cell_name/coregroupbridge.xml#CoreGroupBridgeSettings_1', ['-coreGroupName', 'DefaultCoreGroup', '-serverName', 'server_name', '-nodeName', 'node_name']')
대화식 모드 사용법 예:
- Jacl 사용:
$AdminTask removeCoreGroupBridgeInterface {-interactive} - Jython 사용:
AdminTask.removeCoreGroupBridgeInterface ('[-interactive]') - Jython 목록 사용:
AdminTask.removeCoreGroupBridgeInterface (['-interactive'])