Configuring the Media Flow Engine

After installing the Media Flow Engine (MFE), follow one of these procedures to identify the MFE to your Converged Application Server.

Remote Console

You may use the Remote Console to identify the MFE to your Converged Application Server instance.

  1. From the Edit Tree, select Custom Resources, and then IntelligentMediaConnector, and then Media Connector Configurations, and then Media Flow Engines.
  2. Click New.
  3. Enter the following required fields:
    • Server Name – Enter a name for this server, such as MFE-1.
    • Management IP – Enter the management IP address for this server.

      This IP address is the same identified in the application.ip-address parameter of the application.yaml file.

    • Management TLS Port – Enter the port that the Media Flow Engine will use for HTTPS management traffic.

      This value must match the value of server.https-port in the application.yaml file.

    • Management Non-TLS Port – Enter the port that the Media Flow Engine will use for HTTP management traffic.

      This value must match the value of server.http-port in the application.yaml file of the MFE.

  4. To enable TLS, move the SSL/TLS Enabled slider to the right.

    Note:

    If you enable TLS, you must create a keystore and update the JAVA_OPTIONS variable to point to your keystore.
    JAVA_OPTIONS="${SAVE_JAVA_OPTIONS} \
      -Djavax.net.ssl.trustStore=${ORACLE_HOME}/client-truststore.jks \
      -Djavax.net.ssl.trustStorePassword=changeit \
      -Djavax.net.ssl.trustStoreType=JKS"

    See the keytool documentation for instructions on creating a keystore.

  5. Select Create.
  6. Select the shopping cart and then Commit Changes.

REST APIs

You may use the REST API to identify the MFE to your Converged Application Server instance.

Send a POST request to the endpoint /management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/mediaFlowEngines/.

curl -X POST \
  --user <ADMIN_USERNAME>:<ADMIN_PASSWORD> \
  -H 'X-Requested-By:MyClient' \
  -H 'Accept:application/json' \
  -H 'Content-Type:application/json' \
  -d @mfe.json \
  "http://10.0.0.1:7001/management/weblogic/latest/edit/customResources/IntelligentMediaConnector/customResource/mediaFlowEngines/"

The contents of the mfe.json file sent in the request must contain the parameters shown below. Modify the values to match with your deployment. Note that 8443 is the default TLS port for the MFE and 8080 is the default non-TLS port for the MFE.

{
  "managementIP": "10.0.0.2",
  "managementPort": 8443,
  "sslEnabled": true,
  "serverName": "MFE-3",
  "secondaryPort": 8080
}