Commands for the CoreGroupBridgeManagement group of the AdminTask object
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.
For more information about the AdminTask object, see the Commands for the AdminTask object article.
The following commands are available for the CoreGroupBridgeManagement group of the AdminTask object:
Command name: Description: Target object: Parameters and return values: Examples: createCoreGroupAccessPoint
The createCoreGroupAccessPoint command creates a default core group access point for the core group that you specify 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. Core group bridge settings object for the cell. (ObjectName, required).
- Parameters:
- - coreGroupName
- The name of the core group for which the core group access point will be created. (String required)
- Returns: None
Batch mode example usage:
Using Jacl
$AdminTask createCoreGroupAccessPoint (cells/ rohitbuildCell01|coregroupbridge.xml# CoreGroupBridgeSettings_1) "-coreGroupName DefaultCoreGroup"Using Jython string
AdminTask.createCoreGroupAccessPoint('cells/ rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1', '[-coreGroupName DefaultCoreGroup]')
Interactive mode example usage:
Using Jacl
$AdminTask createCoreGroupAccessPoint {-interactive}Using Jython string
AdminTask.createCoreGroupAccessPoint ('[-interactive]')
deleteCoreGroupAccessPoints
The deleteCoreGroupAccessPoints command deletes all the core group access points that are associated with a group that you specify. Core group bridge settings object for the cell. (ObjectName, required)
- Parameters:
- - coreGroupName
- The name of the core group whose core group access points will be deleted. (String required)
- Returns: None
Batch mode example usage:
Using Jacl
$AdminTask deleteCoreGroupAccessPoints (cells/ rohitbuildCell01|coregroupbridge.xml# CoreGroupBridgeSettings_1) "-coreGroupName DefaultCoreGroup"Using Jython string
AdminTask.deleteCoreGroupAccessPoints('(cells/ rohitbuildCell01|coregroupbridge.xml# CoreGroupBridgeSettings_1)', '[-coreGroupName DefaultCoreGroup]')
Interactive mode example usage:
Using Jacl
$AdminTask deleteCoreGroupAccessPoints {-interactive}Using Jython string
AdminTask.deleteCoreGroupAccessPoints ('[-interactive]')
getNamedTCPEndPoint
The getNamedTCPEndPoint command returns the port associated with the bridge interface that you specify. The port that is returned is the one that is specified on the TCP inbound channel of the transport channel chain for bridge interface that you specify. The bridge interface object for which the port will be listed. (ObjectName, required)
- Parameters: None
- Returns: The port (named end point) object name of the TCP inbound channel instance which resides on the DCS transport channel chain of the bridge interface.
Batch mode example usage:
Using Jacl
$AdminTask getNamedTCPEndPoint (cells/rohitbuildCell01| coregroupbridge.xml#BridgeInterface_2)Using Jython string
AdminTask.getNamedTCPEndPoint('(cells/ rohitbuildCell01|coregroupbridge.xml#BridgeInterface_2)')
Interactive mode example usage:
Using Jacl
$AdminTask getNamedTCPEndPoint {-interactive}Using Jython string
AdminTask.getNamedTCPEndPoint ('[-interactive]')
listCoreGroups
The listCoreGroups command returns a collection of core groups that are related to the core group that you specify. The name of the core group for which the related core groups will be listed. (String, required)
- Parameters:
- - cgBridgeSettings
- The group bridge settings object for the cell. (ObjectName, required)
- Returns: A set of core group names.
Batch mode example usage:
Using Jacl
$AdminTask listCoreGroups DefaultCoreGroup "-cgBridgeSettings (cells/rohitbuildCell01|coregroupbridge.xml# CoreGroupBridgeSettings_1)"Using Jython string
AdminTask.listCoreGroups('DefaultCoreGroup', '[-cgBridgeSetting (cells/ rohitbuildCell01|coregroupbridge.xml#CoreGroupBridgeSettings_1)]')
Interactive mode example usage:
Using Jacl
$AdminTask listCoreGroups {-interactive}Using Jython string
AdminTask.listCoreGroups ('[-interactive]')
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. The core group access point object for which bridge interfaces will be listed. (ObjectName, required)
- Parameters: None
- Returns: 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)
Batch mode example usage:
Using Jacl
$AdminTask listEligibleBridgeInterfaces CGAP_DCG_2 (cells/rohitbuildCell01|coregroupbridge.xml# CoreGroupAccessPoint_1089636614062)Using Jython string
AdminTask.listEligibleBridgeInterfaces('CGAP_DCG_2 (cells/rohitbuildCell01|coregroupbridge.xml# CoreGroupAccessPoint_1089636614062)')
Interactive mode example usage:
Using Jacl
$AdminTask listEligibleBridgeInterfaces {-interactive}Using Jython string
AdminTask.listEligibleBridgeInterfaces ('[-interactive]')
Related tasks
Using the AdminTask object for scripted administration Related reference
Commands for the AdminTask object