Apama 10.15.0 | Deploying and Managing Apama Applications | Deploying Apama Components with Command Central | Administering Apama in Command Central | Configuration types that Apama components support | Usage notes | Component ports
 
Component ports
You can update the port configuration of an Apama component instance using the web interface and the command line interface. Port configuration can only be updated. It cannot be created or deleted. The port number is validated when a request to update the port number is specified. The update of the port number fails if the validation fails.
Examples when executing on Command Central
*To update the port configuration for a correlator instance:
sagcc update configuration data local Apama-correlator-myCorrelator
COMMON-PORTS-port -i Correlator.xml
*To update the port configuration for an IAF instance:
sagcc update configuration data local Apama-iaf-myIAF
COMMON-PORTS-port -i IAF.xml
*To update the data port configuration for a display server instance:
sagcc update configuration data local Apama-displayserver-myDisplayServer
COMMON-PORTS-dataPort -i DataPort_displayServer.xml
*To update the management port configuration for a display server instance:
sagcc update configuration data local Apama-displayserver-myDisplayServer
COMMON-PORTS-managementPort -i ManagementPort_displayServer.xml
*To update the data port configuration for a data server instance:
sagcc update configuration data local Apama-dataserver-myDataServer
COMMON-PORTS-dataPort -i DataPort_dataServer.xml
*To update the management port configuration for a data server instance:
sagcc update configuration data local Apama-dataserver-myDataServer
COMMON-PORTS-managementPort -i ManagementPort_dataServer.xml
Example format of the XML file for the IAF and correlator for the instance ID COMMON-PORTS-port:
<PortSettings>
<Port alias="port">
<Number>12345</Number>
<Protocol>HTTP</Protocol>
</Port>
</PortSettings>
Example format of the XML file for the dashboard management port with the instance ID COMMON-PORTS-managementPort:
<PortSettings>
<Port alias="managementPort">
<Number>12345</Number>
<Protocol>HTTP</Protocol>
</Port>
</PortSettings>
Example format of XML file for the dashboard data port with the instance ID COMMON-PORTS-dataPort:
<PortSettings>
<Port alias="dataPort">
<Number>12345</Number>
<Protocol>HTTP</Protocol>
</Port>
</PortSettings>
Note:
The protocol value HTTP is not optional. However, it will not be considered by Apama configuration managers.