CoreGroupBridgeManagement
Use the Jython or Jacl scripting languages to manage deployed applications using scripting. The commands and parameters in the CoreGroupBridgeManagement group can be used to create and manage core group access points, TCP inbound channel port, and bridge interfaces. A bridge interface specifies a particular node and server that runs the core group bridge service.
The CoreGroupBridgeManagement includes the following commands:
- createCoreGroupAccessPoint
- deleteCoreGroupAccessPoints
- exportTunnelTemplate
- getNamedTCPEndPoint
- importTunnelTemplate
- listCoreGroups
- listEligibleBridgeInterfaces
createCoreGroupAccessPoint
The createCoreGroupAccessPoint command creates a default core group access point for the core group specified and adds it to the default access point group. If the default access point group does not exist, the command creates a default access point group.Target object
Core group bridge settings object for the cell. (ObjectName, required).
Required parameters
- -coreGroupName
- The name of the core group for which the core group access point will be created. (String, required)
Optional parameters
None
Examples
Batch mode example usage:
- Jacl...
$AdminTask createCoreGroupAccessPoint (cells/rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1) "-coreGroupName DefaultCoreGroup"- Use Jython string:
AdminTask.createCoreGroupAccessPoint('cells/rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1', '[-coreGroupName DefaultCoreGroup]')- Use Jython list:
AdminTask.createCoreGroupAccessPoint('cells/rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1', ['-coreGroupName', 'DefaultCoreGroup'])
Interactive mode example usage:
- Jacl...
$AdminTask createCoreGroupAccessPoint {-interactive}- Jython...
AdminTask.createCoreGroupAccessPoint('-interactive')
deleteCoreGroupAccessPoints
The deleteCoreGroupAccessPoints command deletes all the core group access points that are associated with a group specified.Target object Core group bridge settings object for the cell. (ObjectName, required)
Required parameters
- -coreGroupName
- The name of the core group whose core group access points will be deleted. (String, required)
Optional parameters
None
Examples
Batch mode example usage:
- Jacl...
$AdminTask deleteCoreGroupAccessPoints (cells/rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1) "-coreGroupName DefaultCoreGroup"
- Use Jython string:
AdminTask.deleteCoreGroupAccessPoints('cells/rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1', '[-coreGroupName DefaultCoreGroup]')- Use Jython list:
AdminTask.deleteCoreGroupAccessPoints('(cells/ rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1)', ['-coreGroupName', 'DefaultCoreGroup'])
Interactive mode example usage:
- Jacl...
$AdminTask deleteCoreGroupAccessPoints {-interactive}- Jython...
AdminTask.deleteCoreGroupAccessPoints('-interactive')
exportTunnelTemplate
The exportTunnelTemplate command exports a tunnel template and its associated children to a simple properties file.Target object
None
Required parameters
- -tunnelTemplateName
- Name of the tunnel template to export. (String, required)
- -outputFileName
- Name of the properties file to create. (String, required)
Optional parameters
None
Examples
Batch mode example usage:
- Use Jython string:
AdminTask.exportTunnelTemplate('[-tunnelTemplateName tunnelTemplate1 -outputFileName tunnelTemplate1.props]')- Use Jython list:
AdminTask.exportTunnelTemplate(['-tunnelTemplateName', 'tunnelTemplate1', '-outputFileName', 'tunnelTemplate1.props'])
Interactive mode example usage:
- Jython...
AdminTask.exportTunnelTemplate('-interactive')
getNamedTCPEndPoint
The getNamedTCPEndPoint command returns the port associated with the bridge interface specified. The port that is returned is the one specified on the TCP inbound channel of the transport channel chain for bridge interface specified.Target object
The bridge interface object for which the port will be listed. (ObjectName, required)
Required parameters
None
Optional parameters
None
Examples
Batch mode example usage:
- Jacl...
$AdminTask getNamedTCPEndPoint (cells/rohitbuildCell01|coregroupbridge.xml#BridgeInterface_2)- Use Jython string:
AdminTask.getNamedTCPEndPoint('cells/rohitbuildCell01|coregroupbridge.xml#BridgeInterface_2')- Use Jython list:
AdminTask.getNamedTCPEndPoint('cells/rohitbuildCell01|coregroupbridge.xml#BridgeInterface_2')
Interactive mode example usage:
- Jacl...
$AdminTask getNamedTCPEndPoint {-interactive}- Use Jython string:
AdminTask.getNamedTCPEndPoint('-interactive')
importTunnelTemplate
The importTunnelTemplate command imports a tunnel template and its children to the cell configuration.Target object
None
Required parameters
- -inputFileName
- Name of the tunnel template file to import. (String, required)
- -bridegeInterfaceNodeName
- Name of the secure proxy node to use for the core group bridge interface. (String, required)
- -bridegeInterfaceServerName
- Name of the secure proxy server to use for the core bridge interface. (String, required)
Optional parameters
None
Examples
Batch mode example usage:
- Use Jython string:
AdminTask.importTunnelTemplate('[-inputFileName tunnelTemplate1.props -bridegeInterfaceNodeName secureProxyNode -bridegeInterfaceServerName mySecureProxyServer]')- Use Jython list:
AdminTask.importTunnelTemplate(['-inputFileName', 'tunnelTemplate1.props', '-bridegeInterfaceNodeName', 'secureProxyNode', '-bridegeInterfaceServerName', 'mySecureProxyServer'])
Interactive mode example usage:
- Jython...
AdminTask.importTunnelTemplate('-interactive')
listCoreGroups
The listCoreGroups command returns a collection of core groups that are related to the core group specified.Target object
The name of the core group for which the related core groups will be listed. (String, required)
Required parameters
- -cgBridgeSettings
- The group bridge settings object for the cell. (ObjectName, required)
Optional parameters
None
Examples
Batch mode example usage:
- Jacl...
$AdminTask listCoreGroups DefaultCoreGroup "-cgBridgeSettings (cells/rohitbuildCell01|coregroupbridge.xml# CoreGroupBridgeSettings_1)"- Use Jython string:
AdminTask.listCoreGroups('DefaultCoreGroup', '[-cgBridgeSetting (cells/ rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1)]')- Use Jython list:
AdminTask.listCoreGroups('DefaultCoreGroup', ['-cgBridgeSetting', '(cells/ rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1)'])
Interactive mode example usage:
listEligibleBridgeInterfaces
The listEligibleBridgeInterfaces command returns a collection of node, server, and transport channel chain combinations that are eligible to become bridge interfaces for the specified core group access point.Target object
The core group access point object for which bridge interfaces will be listed. (ObjectName, required)
Required parameters
None
Optional parameters None
Example output
A set of bridge interfaces. (Set of String) Each bridge interface is represented by a combination of a node, a server and a DCS channel chain: <node name>, <server name>, <DCS
Channel Chain objectName. For example, an element of the set returned by this command may look like the following: rohitbuild dmgr DCS-Secure(cells/rohitbuildCell/nodes/rohitbuild/servers/dmgr|server.xml#Chain_4)
Examples
Batch mode example usage:
- Jacl...
$AdminTask listEligibleBridgeInterfaces CGAP_DCG_2(cells/rohitbuildCell01|coregroupbridge.xml#CoreGroupAccessPoint_1089636614062)- Use Jython string:
AdminTask.listEligibleBridgeInterfaces('CGAP_DCG_2(cells/rohitbuildCell01|coregroupbridge.xml#CoreGroupAccessPoint_1089636614062)')
Interactive mode example usage:
- Jacl...
$AdminTask listEligibleBridgeInterfaces {-interactive}- Jython...
AdminTask.listEligibleBridgeInterfaces('-interactive')
Related tasks
Use AdminTask for scripted administration
Related
Commands for AdminTask