A.8.4 Custom Port Number Validation for MMG and Data Studio Services

This section helps to validate port number changes for MMG and Data Studio services.

MMG Graph Service

To view update port number for MMG graph service, follow these steps:

  1. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-load-to-graph/graph-service/bin directory.
  2. Open config.sh file and view port numbers as mentioned in the following table.

    Table A-18 config.sh file

    Service Port Number
    GRAPH_SERVICE_URL 3059
    GRAPH_SERVICE_PORT 3059
    ER_SERVICE_URL 3051
    GRAPH_DATA_PIPELINE_URL 8006
    MMG_SERVICE_URL 3002
    PGX_SERVER_URL 3007
  3. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-load-to-graph/graph-service/conf directory.
  4. Open application.yml file and view port numbers as mentioned in the following table.

    Table A-19 application.yml file

    Service Port Number
    port 3059
    mmg-url 3002
    jdbcUrl ##JDBC_PORT##
    dataPipeline-url 8006
    pgx-url 3007
    entityResolution-url 3051
  5. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-load-to-graph/graph-service/utility/bin directory.
  6. Open CreatePasswordlessKeystore.sh file and view graphServiceUrl port number as 3059.
  7. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-load-to-graph/graph-service/utility/bin directory.
  8. Open ResetGraphMetadata.sh file and view graphServiceUrl port number as 3059.
  9. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-load-to-graph/graph-service/utility/bin directory.
  10. Open SetConnectionPoolConfig.sh file and view graphServiceUrl port number as 3059.

MMG Pipeline Service

Note:

Users cannot update hazelcast port number manually.

To view updated port number for MMG pipeline, follow these steps:

  1. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-pipeline/pipeline/data-metadata-job-<version>/conf directory.
  2. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-20 application.properties file

    Service Port Number
    server.port 8007
    pipeline.url 8005
  3. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-pipeline/pipeline/data-pipeline-service-<version>/conf directory.
  4. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-21 application.properties file

    Service Port Number
    server.port 8006
    mmg.url 3002
    pipeline.url 8005
    cors.url 3063
    datapipeline.url 8006
  5. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-pipeline/pipeline/data-pipeline-service-UI-<version>/conf directory.
  6. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-22 application.properties file

    Service Port Number
    server.port 3067
    mmg.url 3002
    pipeline.url 8005
    cors.url 3063
    datapipeline.url 8006
  7. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-pipeline/pipeline/pipelinegateway/conf directory.
  8. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-23 application.properties file

    Service Port Number
    server.port 3063
    mmgservice.uri 3002
    pipelineservice.uri 8005
    pipelineserviceui.uri 3065
    datapipelineservice.uri 8006
    datapipelineserviceui.uri 3067
  9. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-pipeline/pipeline/pipeline-service-<version>/conf directory.
  10. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-24 application.properties file

    Service Port Number
    server.port 8005
    mmgurl 3002
    pipeline.url 8005
    cors.url 3063
    datapipeline.url 8006
    gatewayUrl 8006
  11. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-pipeline/pipeline/pipeline-service-<version>/files directory.
  12. Open Metadata_DATA_3.json file and view "nPortNumber" as "8080".
  13. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-pipeline/pipeline/pipeline-service-UI-<version>/conf directory.
  14. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-25 application.properties file

    Service Port Number
    server.port 3065
    mmr.url 3002
    pipeline.url 8005
    cors.url 3063
    datapipeline.url 8006
    gatewayUrl 8006

MMG Schema Creator Service

To view updated port number for MMG schema creator, follow these steps:

  1. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-schema-creator/conf directory.
  2. Open application.properties file and view server.port as 3003.
  3. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-schema-creator/bin directory.
  4. Open config.sh file and view port numbers as mentioned in the following table.

    Table A-26 config.sh file

    Service Port Number
    SCHEMA_PORT 3003
    DATASTUDIO_URL 3008
    BE_PORT 3002
    UI_PORT 3001
    DATAPIPELINE_UI_URL 3063
  5. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-schema-creator/bin directory.
  6. Open startup.sh file and view port numbers as mentioned in the following table.

    Table A-27 startup.sh file

    Service Port Number
    schemaHealth

    3003

    Note: Search and view in two places

    graphschemaHealth 3003

MMG Service

To view updated port number for MMG service, follow these steps:

  1. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-service/conf directory.
  2. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-28 application.properties file

    Service Port Number
    server.port 3002
    BASE_URL 3002
    GRAPH_DATA_PIPELINE_URL 3063
    GRAPH_MR_PIPELINE_URL 3051
    GRAPH_MATCH_RULE_BASE_URL 3051
    GRAPH_LOAD_GRAPH_BASE_URL 3059
    GRAPH_DATAPIPELINE_SERVICE_URL 8006
    GRAPH_INDEX_BASE_URL 3053
  3. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-service/bin directory.
  4. Open config.sh file and view port numbers as mentioned in the following table.

    Table A-29 config.sh file

    Service Port Number
    DATASTUDIO_URL 3008
    BE_PORT 3002
    DATAPIPELINE_URL 3063
    MATCHRULE_BASE_URL 3051
    LOADGRAPH_BASE_URL 3059
    DATAPIPELINE_SERVICE_URL 8006
    GRAPH_INDEX_BASE_URL 3053
  5. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-service/bin directory.
  6. Open startup.sh file and view serviceHealth port number as 3002 in two places.

MMG Studio Service

To update port number for MMG studio service, follow these steps:

  1. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/conf directory.
  2. Navigate to line 9, press Enter and add the following lines.
    thrift-server:
    enabled: true
    port: 3432
    mode: TCP
  3. Open application.yml file and view port numbers as mentioned in the following table.

    Table A-30 application.yml file

    Service Port Number
    mmgserviceUrl 3002
    authserviceUrl 3041
    metaserviceUrl 3045
    erserviceUrl 3051
    batchserviceUrl 3043
    saml-issuer 3008
    saml-assertion-consumer-service-url 3008
  4. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/bin directory.
  5. Open config.sh file and view port numbers as mentioned in the following table.

    Table A-31 config.sh file

    Service Port Number
    MMG_SVC_URL 3002
    DATASTUDIO_URL 3008
    PGX_SERVER_URL 3007
    AUTH_SERVICE_URL 3041
    META_SERVICE_URL 3045
    ER_SERVICE_URL 3051
    BATCH_SERVICE_URL 3043
    SAML_ISSUER 3008
    SAML_ASSERTION 3008
  6. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/bin directory.
  7. Open Startup.sh file, navigate to line 14 and press Enter.
  8. Add the following lines.
    export STUDIO_INTERPRETER_PYTHON_INTERPRETER_REST_SERVER_PORT=3038
    export STUDIO_INTERPRETER_PGX_PYTHON_INTERPRETER_REST_SERVER_PORT=3039
    export DS_EVENT_HANDLER_HOST=localhost
    export DS_EVENT_HANDLER_PORT=3432
  9. Search dsHealth and view port number as 3008.
  10. Navigate to HADOOP_HOME parameter and press Enter.
  11. Add the following lines.
    . ./"$DIR"/datastudio --jdbc -1 --shell -1 --external --port 3008 --jdbc
    3011 --python 3012 --markdown 3009 --spark 3014 --pgx 3022 --url http://
    localhost:3007
    exec "$JAVACMD" "$@" &> "$DIR"/nohup.out &
  12. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/bin directory.
  13. Open Shutdown.sh file and view port numbers as mentioned in the following table.

    Table A-32 Shutdown.sh file

    Service Port Number
    I7009 3009
    I7011 3011
    I7012 3012
    I7013 3013
    I7019 3019
    I7022 3022
  14. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/bin directory.
  15. Open install.sh file and view DATASTUDIO_URL as 3008.

Interpreter Service

To view updated port number for interpreter service, follow these steps:

  1. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/interpreter-server/jdbc-interpreter-<version>/bin directory.
  2. Open jdbc-interpreter file and view 3011 port number in the classpath.
  3. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/interpreter-server/fcc-interpreter-<version>/bin directory.
  4. Open fcc-interpreter file and view 3011 port number in the classpath.

    Note:

    If the port numbers are not updated, manually update them and restart the Compliance Studio.
  5. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/interpreter-server/markdown-interpreter-<version>/bin directory.
  6. Open markdown-interpreter file and view 3009 port number in the classpath.
  7. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/interpreter-server/pgx-interpreter-<version>/bin directory.
  8. Open pgx-interpreter file and view 3022 port number in the classpath.
  9. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/interpreter-server/plainr-interpreter-<version>/bin directory.
  10. Open plainr-interpreter file and view 3019 port number in the classpath.
  11. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/interpreter-server/python-interpreter-<version>/bin directory.
  12. Open python-interpreter file and view 3012 port number in the classpath.
  13. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/interpreter-server/spark-interpreter-<version>/bin directory.
  14. Open spark-interpreter file and view 3014 port number in all three places.
  15. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/interpreter-server/pgx-interpreter-<version>/conf directory.
  16. Open graph-client.properties file and view port numbers as mentioned in the following table.

    Table A-33 graph-client.properties file

    Service Port Number
    graphServiceUrl 3059
    erserviceUrl 3051
  17. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/server/builtin/interpreters directory.
  18. Open spark.json file, view port number 3014 under "lifecycleConfig" and port number 3077 under "spark.master".
  19. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/server/builtin/interpreters directory.
  20. Open python.json file and view port number 3012 under "lifecycleConfig".
  21. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/server/builtin/interpreters directory.
  22. Open pgx.json file, view port number 3022 under "lifecycleConfig" and port number 3077 under "interpreterClientConfigs".
  23. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/server/builtin/interpreters directory.
  24. Open markdown.json file view port number 3009 under "lifecycleConfig".
  25. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/server/builtin/interpreters directory.
  26. Open jdbc.json file and view port number 3012 under "lifecycleConfig".
  27. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/server/builtin/interpreters directory.
  28. Open fcc-python-sane.json file view port number 3017 under "lifecycleConfig".
  29. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/server/builtin/interpreters directory.
  30. Open fcc-python-ml4aml.json file and view port number 3016 under "lifecycleConfig".
  31. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-studio/server/builtin/interpreters directory.
  32. Open fcc-python.json file and view port number 3010 under "lifecycleConfig".

MMG UI Service

To view updated port number for MMG UI service, follow these steps:

  1. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-ui/conf directory.
  2. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-34 application.properties file

    Service Port Number
    server.port 3001
    BASE_URL 3002
    saml.auth.sp.entity 3001
    saml.auth.consumerserviceurl 3001
    DP_UI_URL 3063
    MATCHSRVC_UI_URL 3061
    LOADINDEX_UI_URL 3061
  3. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-ui/conf directory.
  4. Open application.properties file and view port numbers as mentioned in the following table.

    Table A-35 application.properties file

    Service Port Number
    DATASTUDIO_URL 3008
    BE_PORT 3002
    UI_PORT 3001
    SAML_SP_ENTITY 3001
    SAML_SRV_URL 3001
    DATAPIPELINE_URL 3063
    DATAPIPELINE_UI_URL 3063
    MATCHSRVC_UI_URL 3061
    LOADINDEX_UI_URL 3061
  5. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ mmg-ui/bin directory.
  6. Open startup.sh file and view uiHealth port number as 3001 in two places.

Notification Service

To update coherence cluster port, follow these steps:

  1. Navigate to <OFS_COMPLIANCE_STUDIO_INSTALLATION_PATH>/deployed/mmg-home/ conf/aai-notifications-service directory.
  2. Open cache-config-notif.xml file, navigate to line 12 and add the following lines.
    <cluster-config>
    <multicast-listener>
    <port system-property="coherence.clusterport">3206</port>
    </multicast-listener>
    </cluster-config>
  3. Restart Compliance Studio.