CoreGroupBridgeManagement command group for the AdminTask object
You can 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 command group for the AdminTask object includes the following commands:
- createCoreGroupAccessPoint
- deleteCoreGroupAccessPoints
- getNamedTCPEndPoint
- 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).
Parameters and return values
- -coreGroupName
- The name of the core group for which the core group access point will be created. (String required)
Examples
Batch mode example usage:
- Use 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:
- Use Jacl:
$AdminTask createCoreGroupAccessPoint {-interactive}
- Use Jython string:
AdminTask.createCoreGroupAccessPoint ('[-interactive]')
- Use Jython list:
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)
Parameters and return values
- -coreGroupName
- The name of the core group whose core group access points will be deleted. (String required)
Examples
Batch mode example usage:
- Use 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:
- Use Jacl:
$AdminTask deleteCoreGroupAccessPoints {-interactive}
- Use Jython string:
AdminTask.deleteCoreGroupAccessPoints ('[-interactive]')
- Use Jython list:
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.Target object The bridge interface object for which the port will be listed. (ObjectName, required)
Parameters and return values
- 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.
Examples
Batch mode example usage:
- Use 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:
- Use Jacl:
$AdminTask getNamedTCPEndPoint {-interactive}
- Use Jython string:
AdminTask.getNamedTCPEndPoint ('[-interactive]')
- Use Jython list:
AdminTask.getNamedTCPEndPoint (['-interactive'])
listCoreGroups
The listCoreGroups command returns a collection of core groups that are related to the core group that you specify.Target object The name of the core group for which the related core groups will be listed. (String, required)
Parameters and return values
- -cgBridgeSettings
- The group bridge settings object for the cell. (ObjectName, required)
Examples
Batch mode example usage:
- Use 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:
- Use Jacl:
$AdminTask listCoreGroups {-interactive}
- Use Jython string:
AdminTask.listCoreGroups ('[-interactive]')
- Use Jython list:
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.Target object The core group access point object for which bridge interfaces will be listed. (ObjectName, required)
Parameters and return values
- 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)
Examples
Batch mode example usage:
- Use 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)')
- Use Jython list:
AdminTask.listEligibleBridgeInterfaces('CGAP_DCG_2 (cells/rohitbuildCell01|coregroupbridge.xml# CoreGroupAccessPoint_1089636614062)')
Interactive mode example usage:
- Use Jacl:
$AdminTask listEligibleBridgeInterfaces {-interactive}
- Use Jython string:
AdminTask.listEligibleBridgeInterfaces ('[-interactive]')
- Use Jython list:
AdminTask.listEligibleBridgeInterfaces (['-interactive'])
Related tasks
Use the AdminTask object for scripted administration
Related Reference
Commands for the AdminTask object
Reference topic