5.4 Configure the config.sh file

To configure the config.sh file for installing the application, follow these steps:
  1. Login to the server as a non-root user.
  2. Navigate to the <installation directory>/OFS_MMG/bin directory.
  3. Configure the applicable config.sh attributes as shown here:
    Sample config.sh files:
    #!/bin/sh
    
    # MMG Configuration File
    # This file contains configuration settings for the MMG application.
    # Sections are grouped by function or purpose for better readability.
    # Placeholders are updated to reflect new variable names where applicable.
    # Traceability comments (# was OLD_NAME) are added for renamed keys.
    
    ## Common Application Properties
    # General settings for the application, logging, and context.
    
    export APPLICATION_NAME=##APPLICATION_NAME##
    export APPLICATION_ID=##APPLICATION_ID##
    export MMG_LOG_DIR=##MMG_LOG_DIR##  # was LOG_HOME
    export FTPSHARE_DIR=##FTPSHARE_DIR##  # was FTPSHARE
    export MMG_LOG_TIMEZONE=##MMG_LOG_TIMEZONE##  # was LOG_TIMEZONE
    export WEB_CONTEXT=##WEB_CONTEXT##  # was CONTEXT_PATH
    export RESTRICT_UNMAPPED_DATASTORES_ACCESS=##RESTRICT_UNMAPPED_DATASTORES_ACCESS##
    export MMG_API_USERNAME=##MMG_API_USERNAME##  # was FCC_API_USER
    export MMG_SESSION_SECRET=##MMG_SESSION_SECRET##  # was SESSION_TOKEN_CREDENTIALS
    export MMG_UI_FAVICON_PATH=##MMG_UI_FAVICON_PATH##  # was APPLICATION_FAVICON_PATH
    export MMG_MODEL_PIPELINE_SANDBOX_DEFAULT_VIEW=##MMG_MODEL_PIPELINE_SANDBOX_DEFAULT_VIEW##
    
    # SMTP host and port parameters for email notifications
    export EMAIL_SMTP_HOST=##EMAIL_SMTP_HOST## # was SMTP_HOST
    export EMAIL_SMTP_PORT=##EMAIL_SMTP_PORT## # was SMTP_PORT
    
    ## Database and Wallet Settings
    # Configurations for database connections, wallets, and schemas.
    
    export MMG_DB_WALLET_PATH=##MMG_DB_WALLET_PATH##  # was WALLET_LOCATION
    export MMG_DB_TNS_ADMIN_PATH=##MMG_DB_TNS_ADMIN_PATH##  # was TNS_ADMIN_PATH
    export MMG_DB_SCHEMA_WALLET_ALIAS=##MMG_DB_SCHEMA_WALLET_ALIAS##  # was WALLET_ALIAS
    
    export DATASTUDIO_SCHEMA_WALLET_ALIAS=##DATASTUDIO_SCHEMA_WALLET_ALIAS##
    
    export GRAPH_SCHEMA_WALLET_ALIAS=##GRAPH_SCHEMA_WALLET_ALIAS##
    export GRAPH_SCHEMA_DB_SCHEMA_NAME=##GRAPH_SCHEMA_DB_SCHEMA_NAME##
    export GRAPH_DB_SERVER_NAME=##GRAPH_DB_SERVER_NAME## # was MMG_DB_SERVER_NAME
    export GRAPH_DB_PORT=##GRAPH_DB_PORT## # was MMG_DB_PORT
    export GRAPH_DB_SERVICE_NAME=##GRAPH_DB_SERVICE_NAME## # was MMG_DB_SERVICE_NAME
    
    ## Network and Port Configurations
    # Hostnames, ports for services, interpreters, and components.
    
    export MMG_SERVICE_HOST=##MMG_SERVICE_HOST##  # was BE_HOSTNAME
    export MMG_SERVICE_PORT=##MMG_SERVICE_PORT##  # was BE_PORT
    export MMG_UI_PORT=##MMG_UI_PORT##  # was UI_PORT
    export MMG_SCHEMA_CREATOR_PORT=##MMG_SCHEMA_CREATOR_PORT##  # was SCHEMA_PORT
    
    # Following are the default ports 7008, 7009, 7012, -1. If needed, you can change the port numbers other than the default values.
    export DATASTUDIO_SERVER_PORT=##DATASTUDIO_SERVER_PORT##
    export DATASTUDIO_MARKDOWN_INTERPRETER_PORT=##DATASTUDIO_MARKDOWN_INTERPRETER_PORT##
    export DATASTUDIO_PYTHON_INTERPRETER_PORT=##DATASTUDIO_PYTHON_INTERPRETER_PORT##
    export DATASTUDIO_R_INTERPRETER_PORT=##DATASTUDIO_R_INTERPRETER_PORT##
    export DATASTUDIO_JDBC_INTERPRETER_PORT=##DATASTUDIO_JDBC_INTERPRETER_PORT##
    export DATASTUDIO_PYTHON_INTERPRETER_REST_SERVER_PORT=##DATASTUDIO_PYTHON_INTERPRETER_REST_SERVER_PORT##
    export DATASTUDIO_PGX_PYTHON_INTERPRETER_REST_SERVER_PORT=##DATASTUDIO_PGX_PYTHON_INTERPRETER_REST_SERVER_PORT##
    export DATASTUDIO_THRIFT_EVENT_HANDLER_PORT=##DATASTUDIO_THRIFT_EVENT_HANDLER_PORT##
    export DATASTUDIO_PGX_INTERPRETER_PORT=##DATASTUDIO_PGX_INTERPRETER_PORT##
    
    export DATASTUDIO_SPARK_INTERPRETER_PORT=##DATASTUDIO_SPARK_INTERPRETER_PORT##
    
    export MMG_COHERENCE_CLUSTER_PORT=##MMG_COHERENCE_CLUSTER_PORT##
    
    export MMG_GATEWAY_PORT=##MMG_GATEWAY_PORT##
    
    export GRAPH_SERVICE_PORT=##GRAPH_SERVICE_PORT##
    export GRAPH_SERVICE_CACHE_SERVER_PORT=##GRAPH_SERVICE_CACHE_SERVER_PORT##
    
    export DATAPIPELINE_SERVICE_PORT1=##DATAPIPELINE_SERVICE_PORT1##
    export DATAPIPELINE_SERVICE_PORT2=##DATAPIPELINE_SERVICE_PORT2##
    export DATAPIPELINE_METADATA_IMPORT_SERVICE_PORT=##DATAPIPELINE_METADATA_IMPORT_SERVICE_PORT##
    export DATAPIPELINE_GATEWAY_SERVICE_PORT=##DATAPIPELINE_GATEWAY_SERVICE_PORT##
    export DATAPIPELINE_PIPELINE_UI_SERVICE_PORT=##DATAPIPELINE_PIPELINE_UI_SERVICE_PORT##  # was PIPELINE_UI_SERVICE_PORT
    export DATAPIPELINE_DATA_PIPELINE_UI_SERVICE_PORT=##DATAPIPELINE_DATA_PIPELINE_UI_SERVICE_PORT##  # was DATA_PIPELINE_UI_SERVICE_PORT
    export DATAPIPELINE_HAZELCAST_PORT=##DATAPIPELINE_HAZELCAST_PORT##
    
    ## SSL and Security Settings
    # Settings for SSL, keystores, and security credentials.
    
    export MMG_SSL_ENABLED=##MMG_SSL_ENABLED##  # was SSL_ENABLED
    export SSL_KEYSTORE_PATH=##SSL_KEYSTORE_PATH##  # was SSL_KEYSTORE
    export SSL_KEYSTORE_PASSWORD=##SSL_KEYSTORE_PASSWORD##  # was SSL_KS_SECRET
    export SSL_KEYSTORE_TYPE=##SSL_KEYSTORE_TYPE##  # was SSL_KS_TYPE
    export SSL_CERT_ALIAS=##SSL_CERT_ALIAS##  # was SSL_KS_ALIAS
    export GRAPH_KEYSTORE_PASSWORD=##GRAPH_KEYSTORE_PASSWORD##
    export AUTH_MMG_KEYS_DIR=##AUTH_MMG_KEYS_DIR##  # was MMG_KEYS_LOC
    
    ## Authentication and Authorization
    # Configurations for authentication types, SAML, LDAP, AAI, and sessions.
    
    export MMG_UI_AUTH_TYPE=##MMG_UI_AUTH_TYPE##  # was UI_AUTH_TYPE
    export MMG_SERVICE_AUTH_TYPE=public  # was BE_AUTH_TYPE
    export DATASTUDIO_AUTH_TYPE=##DATASTUDIO_AUTH_TYPE##  # was STUDIO_AUTH_TYPE
    export DATASTUDIO_SHOW_LOGIN=##DATASTUDIO_SHOW_LOGIN##  # was LOGIN_SHOW
    export DATASTUDIO_SESSION_MODE=##DATASTUDIO_SESSION_MODE##  # was SESSION_MODE
    export DATASTUDIO_AUTH_REALM=##DATASTUDIO_AUTH_REALM##  # was STUDIO_REALM
    export DATASTUDIO_AAI_URL=##DATASTUDIO_AAI_URL##  # was OFSAA_URL
    export DATASTUDIO_API_USERNAMES=##DATASTUDIO_API_USERNAMES##  # was API_USERS
    export DATASTUDIO_VALID_ROLES_LIST=##DATASTUDIO_VALID_ROLES_LIST##  # was VALID_ROLES
    
    # AAI Authorization
    # Applicable for SAML/LDAP profiles.
    export IS_USER_AUTHZ_FROM_AAI=##IS_USER_AUTHZ_FROM_AAI##  # was AAI_AUTHZ_ENABLED
    export AUTH_AAI_AUTH_URL=##AUTH_AAI_AUTH_URL##  # was AAI_AUTH_URL
    export AUTH_AAI_OAUTH_CLIENT_ID=##AUTH_AAI_OAUTH_CLIENT_ID##  # was AAI_CLIENT_ID
    export AUTH_AAI_OAUTH_CLIENT_SECRET=##AUTH_AAI_OAUTH_CLIENT_SECRET##  # was AAI_CLIENT_SECRET
    export AUTH_AAI_COOKIE_DOMAIN=##AUTH_AAI_COOKIE_DOMAIN##  # was AAI_COOKIE_DOMAIN
    
    # SAML Configurations
    export AUTH_SAML_IDP_URL=##AUTH_SAML_IDP_URL##  # was SAML_IDP_URL
    export AUTH_SAML_SP_ENTITY_URL=##AUTH_SAML_SP_ENTITY_URL##  # was SAML_SP_ENTITY
    export AUTH_SAML_ACS_URL=##AUTH_SAML_ACS_URL##  # was SAML_SRV_URL
    export AUTH_SAML_LOGOUT_URL=##AUTH_SAML_LOGOUT_URL##  # was SAML_LOGOUT_URL
    export AUTH_SAML_SIGN_AUTHN_REQ=##AUTH_SAML_SIGN_AUTHN_REQ##  # was SAML_SIGN_AUTHN_REQ
    export AUTH_SAML_SP_KEY_PATH=##AUTH_SAML_SP_KEY_PATH##  # was SAML_PRIVATE_KEY_PATH
    export AUTH_SAML_SP_X509_CERT_PATH=##AUTH_SAML_SP_X509_CERT_PATH##  # was SAML_SP_X509_CERT_PATH
    export AUTH_SAML_SIGN_ALGORITHM=##AUTH_SAML_SIGN_ALGORITHM##  # was SAML_SIGN_ALGORITHM
    export AUTH_SAML_BINDING_TYPE=##AUTH_SAML_BINDING_TYPE##  # was AUTH_SAML_REQUEST_TYPE
    export AUTH_SAML_INCLUDE_SP_CERT=##AUTH_SAML_INCLUDE_SP_CERT##  # was AUTH_SAML_INCLUDE_SP_CERT
    
    export AUTH_SAML_DS_ISSUER=##AUTH_SAML_DS_ISSUER##  # was SAML_ISSUER
    export AUTH_SAML_DS_DESTINATION=##AUTH_SAML_DS_DESTINATION##  # was SAML_DESTINATION
    export AUTH_SAML_DS_ASSERTION_CONSUMER_URL=##AUTH_SAML_DS_ASSERTION_CONSUMER_URL##  # was SAML_ASSERTION
    export AUTH_SAML_DS_ROLE_ATTRIBUTE=##AUTH_SAML_DS_ROLE_ATTRIBUTE##  # was SAML_ROLE_ATTRIBUTE
    export AUTH_SAML_DS_STUDIO_LOGOUT_URL=##AUTH_SAML_DS_STUDIO_LOGOUT_URL##  # was SAML_STUDIO_LOGOUT_URL
    export AUTH_SAML_DS_COOKIE_DOMAIN=##AUTH_SAML_DS_COOKIE_DOMAIN##  # was SAML_COOKIE_DOMAIN
    
    # LDAP Configurations
    export AUTH_LDAP_URL=##AUTH_LDAP_URL##  # was LDAP_URL
    export AUTH_LDAP_SEARCH_BASE_DN=##AUTH_LDAP_SEARCH_BASE_DN##  # was LDAP_SEARCH_BASE
    export AUTH_LDAP_USER_FILTER=##AUTH_LDAP_USER_FILTER##  # was LDAP_USER_FILTER
    export AUTH_LDAP_USER_SEARCH_FILTER=##AUTH_LDAP_USER_SEARCH_FILTER##  # was LDAP_USER_SEARCH_FILTER
    export AUTH_LDAP_GROUP_FILTER=##AUTH_LDAP_GROUP_FILTER##  # was LDAP_GROUP_SEARCH_FILTER
    export AUTH_LDAP_GROUP_BASE_DN=##AUTH_LDAP_GROUP_BASE_DN##  # was LDAP_GROUP_SEARCH_BASE
    export AUTH_LDAP_GROUP_MEMBER_ATTR=##AUTH_LDAP_GROUP_MEMBER_ATTR##  # was LDAP_GROUP_MEMBER
    
    # Cookie Settings
    export DATASTUDIO_SERVER_COOKIE_DOMAIN=##DATASTUDIO_SERVER_COOKIE_DOMAIN##  # was SERVER_COOKIE_DOMAIN
    export DATASTUDIO_SERVER_COOKIE_NAME=##DATASTUDIO_SERVER_COOKIE_NAME##  # was SERVER_COOKIE_NAME
    export DATASTUDIO_SERVER_COOKIE_TIMEOUT=##DATASTUDIO_SERVER_COOKIE_TIMEOUT##  # was SERVER_COOKIE_TIMEOUT
    export DATASTUDIO_SERVER_COOKIE_IS_SECURE=##DATASTUDIO_SERVER_COOKIE_IS_SECURE##  # was SERVER_COOKIE_IS_SECURE
    
    ## HTTP and Connection Pooling
    # Settings for HTTP clients and datasource connection pools.
    
    export MMG_HTTP_CLIENT_MAX_CONN=##MMG_HTTP_CLIENT_MAX_CONN##  # was MMG_HTTP_MAX_CONN
    export MMG_HTTP_CLIENT_MAX_CONN_PER_ROUTE=##MMG_HTTP_CLIENT_MAX_CONN_PER_ROUTE##  # was MMG_HTTP_MAX_CONN_PER_ROUTE
    export MMG_HTTP_CLIENT_CONN_TIMEOUT_MS=##MMG_HTTP_CLIENT_CONN_TIMEOUT_MS##  # was MMG_HTTP_CONNECT_TIMEOUT
    export MMG_HTTP_CLIENT_READ_TIMEOUT_MS=##MMG_HTTP_CLIENT_READ_TIMEOUT_MS##  # was MMG_HTTP_READ_TIMEOUT
    
    export MMG_CONFIG_DATASOURCE_MAX_POOL_SIZE=##MMG_CONFIG_DATASOURCE_MAX_POOL_SIZE##  # was MMG_DATASOURCE_MAX_POOL_SIZE
    export MMG_CONFIG_DATASOURCE_MIN_IDLE=##MMG_CONFIG_DATASOURCE_MIN_IDLE## # was MMG_DATASOURCE_MINIMUM_IDLE
    export MMG_CONFIG_DATASOURCE_IDLE_TIMEOUT_MS=##MMG_CONFIG_DATASOURCE_IDLE_TIMEOUT_MS##  # was MMG_DATASOURCE_IDLE_TIMEOUT
    export MMG_CONFIG_DATASOURCE_CONN_TIMEOUT_MS=##MMG_CONFIG_DATASOURCE_CONN_TIMEOUT_MS##  # was MMG_DATASOURCE_CONN_TIMEOUT
    
    export MMG_EXT_DATASOURCE_MAX_POOL_SIZE=##MMG_EXT_DATASOURCE_MAX_POOL_SIZE##  # was EXT_DATASOURCE_MAX_POOL_SIZE
    export MMG_EXT_DATASOURCE_MIN_IDLE=##MMG_EXT_DATASOURCE_MIN_IDLE## # was EXT_DATASOURCE_MINIMUM_IDLE
    export MMG_EXT_DATASOURCE_IDLE_TIMEOUT_MS=##MMG_EXT_DATASOURCE_IDLE_TIMEOUT_MS##  # was EXT_DATASOURCE_IDLE_TIMEOUT
    export MMG_EXT_DATASOURCE_CONN_TIMEOUT_MS=##MMG_EXT_DATASOURCE_CONN_TIMEOUT_MS##  # was EXT_DATASOURCE_CONN_TIMEOUT
    
    # Data Studio Hikari Pool
    export DATASTUDIO_HIKARI_MAXPOOLSIZE=##DATASTUDIO_HIKARI_MAXPOOLSIZE##
    export DATASTUDIO_HIKARI_CONN_TIMEOUT_MS=##DATASTUDIO_HIKARI_CONN_TIMEOUT_MS##
    export DATASTUDIO_HIKARI_MINIMUM_IDLE=##DATASTUDIO_HIKARI_MINIMUM_IDLE##
    export DATASTUDIO_HIKARI_MAX_LIFE_TIME=##DATASTUDIO_HIKARI_MAX_LIFE_TIME##
    
    # External Schema Connection Pooling
    export GRAPH_EXT_SCHEMA_ENABLE_CP=##GRAPH_EXT_SCHEMA_ENABLE_CP##
    export GRAPH_EXT_SCHEMA_CP_MAX_IDLE=##GRAPH_EXT_SCHEMA_CP_MAX_IDLE##
    export GRAPH_EXT_SCHEMA_CP_MIN_IDLE=##GRAPH_EXT_SCHEMA_CP_MIN_IDLE##
    export GRAPH_EXT_SCHEMA_CP_INITIAL_SIZE=##GRAPH_EXT_SCHEMA_CP_INITIAL_SIZE##
    export GRAPH_EXT_SCHEMA_CP_MAX_TOTAL=##GRAPH_EXT_SCHEMA_CP_MAX_TOTAL##
    export GRAPH_EXT_SCHEMA_CP_MAX_WAIT_MILLIS=##GRAPH_EXT_SCHEMA_CP_MAX_WAIT_MILLIS##
    export GRAPH_EXT_SCHEMA_CP_MIN_EVICTABLE_IDLE_TIME=##GRAPH_EXT_SCHEMA_CP_MIN_EVICTABLE_IDLE_TIME##
    export GRAPH_EXT_SCHEMA_CP_SOFT_MIN_EVICTABLE_IDLE_TIME=##GRAPH_EXT_SCHEMA_CP_SOFT_MIN_EVICTABLE_IDLE_TIME##
    
    #Graph HikariCP Configuration Placeholders
    export GRAPH_HIKARI_CP_MIN_IDLE=##GRAPH_HIKARI_CP_MIN_IDLE##
    export GRAPH_HIKARI_CP_MAX_POOL_SIZE=##GRAPH_HIKARI_CP_MAX_POOL_SIZE##
    export GRAPH_HIKARI_CP_IDLE_TIMEOUT=##GRAPH_HIKARI_CP_IDLE_TIMEOUT##
    export GRAPH_HIKARI_CP_MAX_LIFETIME=##GRAPH_HIKARI_CP_MAX_LIFETIME##
    export GRAPH_HIKARI_CP_TIMEOUT=##GRAPH_HIKARI_CP_TIMEOUT##
    
    ## Data Studio Specific Settings
    # Configurations specific to Data Studio, including interpreters and logging.
    
    # By default, Data Studio is assumed to run on the same server. If it's running on a different host, uncomment the line below and provide the appropriate URL.
    #export DATASTUDIO_URL=##DATASTUDIO_URL##
    
    export DATASTUDIO_LOG_LEVEL=##DATASTUDIO_LOG_LEVEL##  # was STUDIO_LOG_LEVEL
    export DATASTUDIO_PYTHON_BINARY=##DATASTUDIO_PYTHON_BINARY##  # was PYTHON_HOME
    export MMG_PYTHON_INTERPRETER_LIST=##MMG_PYTHON_INTERPRETER_LIST##  # was MMG_PYTHON_INTERPRETER
    export DATASTUDIO_R_ENABLED=##DATASTUDIO_R_ENABLED##  # was R_ENABLED
    export DATASTUDIO_R_PYTHON_BINARY=##DATASTUDIO_R_PYTHON_BINARY##  # was R_PYTHON_HOME
    
    ## Spark and R Configurations
    # Settings for Spark integration and R support.
    
    export DATASTUDIO_SPARK_ENABLED=##DATASTUDIO_SPARK_ENABLED##  # was MMG_SPARK_ENABLED
    export DATASTUDIO_SPARK_HOME=##DATASTUDIO_SPARK_HOME##  # was SPARK_HOME
    export DATASTUDIO_HADOOP_HOME=##DATASTUDIO_HADOOP_HOME##  # was HADOOP_HOME
    export DATASTUDIO_SPARK_MASTER=##DATASTUDIO_SPARK_MASTER##  # was SPARK_MASTER
    export DATASTUDIO_SPARK_DEPLOY_MODE=##DATASTUDIO_SPARK_DEPLOY_MODE##  # was SPARK_DEPLOY_MODE
    
    ## External Services and URLs
    # URLs and paths for external services, pipelines, and components.
    
    export CS_AUTH_SERVICE_URL=##CS_AUTH_SERVICE_URL##  # was AUTH_SERVICE_URL
    export CS_META_SERVICE_URL=##CS_META_SERVICE_URL##  # was META_SERVICE_URL
    export CS_ER_SERVICE_URL=##CS_ER_SERVICE_URL##  # was ER_SERVICE_URL
    export CS_BATCH_SERVICE_URL=##CS_BATCH_SERVICE_URL##  # was BATCH_SERVICE_URL
    export CS_TEMPLATE_CONFIG_PATH=##CS_TEMPLATE_CONFIG_PATH##  # was TEMPLATE_CONFIG_PATH
    export CS_TEMPLATE_DEFAULT_LINK=##CS_TEMPLATE_DEFAULT_LINK##  # was TEMPLATE_DEFAULT_LINK
    
    # URLS for pipeline, ER and matching service. Leave as it is if not applicable. Will impact the pipeline that could be added to a graph
    export CS_MATCHRULE_BASE_URL=##CS_MATCHRULE_BASE_URL##  # was MATCHRULE_BASE_URL
    export CS_LOADGRAPH_BASE_URL=##CS_LOADGRAPH_BASE_URL##  # was LOADGRAPH_BASE_URL
    export CS_MATCHSRVC_UI_URL=##CS_MATCHSRVC_UI_URL##  # was MATCHSRVC_UI_URL
    
    # URLS for index service. Leave as it is if not applicable. Will impact the pipeline that could be added to a graph
    export GRAPH_INDEX_BASE_URL=##GRAPH_INDEX_BASE_URL##
    export GRAPH_LOAD_INDEX_UI_URL=##GRAPH_LOAD_INDEX_UI_URL##  # was LOADINDEX_UI_URL
    export GRAPH_MATCHING_MECHANISM=##GRAPH_INDEX_MATCHING_MECHANISM##  # was MATCHING_MECHANISM
    export GRAPH_CANDIDATE_SELECTION_SERVICE_URL=##GRAPH_INDEX_CANDIDATE_SELECTION_SERVICE_URL##  # was CANDIDATE_SELECTION_SERVICE_URL
    export GRAPH_LOAD_TO_OS_URL=##GRAPH_LOAD_TO_OS_URL##  # was LOAD_TO_OS_URL
    
    export EST_ENABLED=##EST_ENABLED##
    export EST_UI_URL=##EST_UI_URL##
    export EST_SERVICE_URL=##EST_SERVICE_URL##
    
    export DATACATALOG_SERVICE_URL=##DATACATALOG_SERVICE_URL##
    
    export DATAPIPELINE_METADATA_ARCHIVE_PATH=##DATAPIPELINE_METADATA_ARCHIVE_PATH##
    
    ## Graph and Advanced Features
    # Configurations for graph services, memory limits, and paths.
    
    export GRAPH_INSTALLATION_PATH=##GRAPH_INSTALLATION_PATH##
    export PGX_SERVER_URLS=##PGX_SERVER_URLS##
    export GRAPH_MAX_TOTAL_SHARED_DATA_MEMORY_SIZE=##GRAPH_MAX_TOTAL_SHARED_DATA_MEMORY_SIZE##  # was MAX_TOTAL_SHARED_DATA_MEMORY_SIZE
    export GRAPH_MAX_TOTAL_PRIVATE_DATA_MEMORY_SIZE=##GRAPH_MAX_TOTAL_PRIVATE_DATA_MEMORY_SIZE##  # was MAX_TOTAL_PRIVATE_DATA_MEMORY_SIZE
    export GRAPH_MAX_PER_SESSION_DATA_MEMORY_SIZE=##GRAPH_MAX_PER_SESSION_DATA_MEMORY_SIZE##  # was MAX_PER_SESSION_DATA_MEMORY_SIZE
    export GRAPH_MAX_DATA_MEMORY_SIZE_DSUSRGRP=##GRAPH_MAX_DATA_MEMORY_SIZE_DSUSRGRP##  # was MAX_DATA_MEMORY_SIZE_DSUSRGRP
    export GRAPH_MAX_DATA_MEMORY_SIZE_DSBATCH=##GRAPH_MAX_DATA_MEMORY_SIZE_DSBATCH##  # was MAX_DATA_MEMORY_SIZE_DSBATCH
    export GRAPH_MAX_DATA_MEMORY_SIZE_DSINTER=##GRAPH_MAX_DATA_MEMORY_SIZE_DSINTER##  # was MAX_DATA_MEMORY_SIZE_DSINTER
    export GRAPH_MAX_DATA_MEMORY_SIZE_DSAPPROVER=##GRAPH_MAX_DATA_MEMORY_SIZE_DSAPPROVER##  # was MAX_DATA_MEMORY_SIZE_DSAPPROVER
    export GRAPH_MAX_DATA_MEMORY_SIZE_DSUSER=##GRAPH_MAX_DATA_MEMORY_SIZE_DSUSER##  # was MAX_DATA_MEMORY_SIZE_DSUSER
    export GRAPH_MAX_DATA_MEMORY_SIZE_IHUSRGRP=##GRAPH_MAX_DATA_MEMORY_SIZE_IHUSRGRP##  # was MAX_DATA_MEMORY_SIZE_IHUSRGRP
    export GRAPH_DOCUMENT_DOWNLOAD_PATH=##GRAPH_DOCUMENT_DOWNLOAD_PATH##
    
    # Graph Proxy Configurations
    export GRAPH_NO_PROXY=##GRAPH_NO_PROXY##
    
    ## GIT and Proxy Configurations
    # Properties for enabling git based import and export of model pipelines
    # set username and PAT(personal access token) to access private remote repositories
    # set proxy url and port if you are behind a firewall
    
    export GIT_ENV_ID=##GIT_ENV_ID##
    export GIT_USERNAME=##GIT_USERNAME##
    export GIT_PAT_SECRET=##GIT_PAT_SECRET##
    export GIT_PROXY_URL=##GIT_PROXY_URL##
    export GIT_PROXY_PORT=##GIT_PROXY_PORT##
    
    ## Performance Tuning and Miscellaneous
    # Performance parameters, timeouts, and optional features.
    
    # The following property can be set to control the pages where MMG can be embedded:
    # Set to 'self' to allow embedding only from the same origin (recommended for most setups).
    # Set to 'all' or '*' to allow embedding from any origin. (less secure) 
    # Set to a comma-separated list of origins to allow embedding from those specified origins and from the same origin.
    # By default, this is set to 'self'.
    export MMG_CSP_FRAME_ANCESTORS=##MMG_CSP_FRAME_ANCESTORS##
    
    # If the Gateway is enabled, this property can be set to control the pages where Data Studio can be embedded:
    # Set to '*' to allow embedding from any origin (less secure).
    # Set to a comma-separated list of origins to allow embedding from those specified origins and from the same origin. 
    # By default, this is set to MMG Gateway URL.
    # If a load balancer or an external gateway is configured for MMG Gateway, the URL must be included in the list of origins.
    export DATASTUDIO_CSP_FRAME_ANCESTORS=##DATASTUDIO_CSP_FRAME_ANCESTORS##
    
    export MMG_MODEL_ENDPOINT_RESTART_INTERVAL=##MMG_MODEL_ENDPOINT_RESTART_INTERVAL##
    
    export DATASTUDIO_JOBS_INCOMPLETE_TIMEOUT=##DATASTUDIO_JOBS_INCOMPLETE_TIMEOUT##
    export DATASTUDIO_JOBS_INCOMPLETE_SCHEDULED_CLEANUP_DELAY=##DATASTUDIO_JOBS_INCOMPLETE_SCHEDULED_CLEANUP_DELAY##
    export DATASTUDIO_SECURITY_SESSION_TIMEOUT_MS=##DATASTUDIO_SECURITY_SESSION_TIMEOUT_MS##
    export DATASTUDIO_SECURITY_ABSOLUTE_SESSION_TIMEOUT_MS=##DATASTUDIO_SECURITY_ABSOLUTE_SESSION_TIMEOUT_MS##
    export DATASTUDIO_INTERPRETER_EXECUTION_RUN_TIMEOUT=##DATASTUDIO_INTERPRETER_EXECUTION_RUN_TIMEOUT##
    export DATASTUDIO_INTERPRETER_IDLE_SESSION_TIMEOUT=##DATASTUDIO_INTERPRETER_IDLE_SESSION_TIMEOUT##
    export DATASTUDIO_INTERPRETER_CLEANUP_ENABLED=##DATASTUDIO_INTERPRETER_CLEANUP_ENABLED##
    export DATASTUDIO_INTERPRETER_CLEANUP_CRON="##DATASTUDIO_INTERPRETER_CLEANUP_CRON##"
    export DATASTUDIO_SERVER_ASYNC_THREADPOOL_SIZE=##DATASTUDIO_SERVER_ASYNC_THREADPOOL_SIZE##
    export DATASTUDIO_SERVER_SCHED_THREADPOOL_SIZE=##DATASTUDIO_SERVER_SCHED_THREADPOOL_SIZE##
    export DATASTUDIO_SERVER_TOMCAT_THREADS_MAX=##DATASTUDIO_SERVER_TOMCAT_THREADS_MAX##
    export DATASTUDIO_ZPLN_SCHED_THREADPOOL_SIZE=##DATASTUDIO_ZPLN_SCHED_THREADPOOL_SIZE##
    
    ## Optional Features
    # Uncomment and set to true/false as needed.
    
    # enabled by default
    #export MMG_HTTP2_ENABLED=##MMG_HTTP2_ENABLED##
    #export MMG_SERVER_ACCESS_LOG_ENABLED=##MMG_SERVER_ACCESS_LOG_ENABLED##
    
    # disabled by default
    #export OJET_CDN_ENABLED=##OJET_CDN_ENABLED##
    
    # DTP Integration Configuration
    
    export DTP_PIPELINE_SERVICE_PORT=##DTP_PIPELINE_SERVICE_PORT##
    export DTP_PIPELINE_FILES=##DTP_PIPELINE_FILES##
    export DTP_DATA_PIPELINE_SERVICE_PORT=##DTP_DATA_PIPELINE_SERVICE_PORT##
    export DTP_SCENARIO_PIPELINE_SERVICE_PORT=##DTP_SCENARIO_PIPELINE_SERVICE_PORT##
    export DTP_SCENARIO_METADATA_JOB_PORT=##DTP_SCENARIO_METADATA_JOB_PORT##
    export DTP_PIPELINE_SCHEMA_ALIAS=##DTP_PIPELINE_SCHEMA_ALIAS##
    
    # UI and Gateway ports for DTP services
    export DTP_DATA_PIPELINE_SERVICE_UI_PORT=##DTP_DATA_PIPELINE_SERVICE_UI_PORT##
    export DTP_PIPELINE_SERVICE_UI_PORT=##DTP_PIPELINE_SERVICE_UI_PORT##
    export DTP_SCENARIO_PIPELINE_SERVICE_UI_PORT=##DTP_SCENARIO_PIPELINE_SERVICE_UI_PORT##
    export DTP_GATEWAY_SERVICE_PORT=##DTP_GATEWAY_SERVICE_PORT##
    
    # Scheduler Timezone Properties. If either SCHEDULER_TIMEZONE or SCHEDULER_TIMEZONE_DISPLAY_NAME is unset, a default value of UTC will be applied during installation. #
    # Configured for aai-scheduler team.
    export SCHEDULER_TIMEZONE=##SCHEDULER_TIMEZONE##
    export SCHEDULER_TIMEZONE_DISPLAY_NAME=##SCHEDULER_TIMEZONE_DISPLAY_NAME##
    
    #ENDOFFILE#
    

    Table 5-1 config.sh file

    Parameter Description Is Mandatory Comments
    Common Application Properties
    ##APPLICATION_NAME## Title of the application; if not replaced, default is : Model Management and Governance.

    YES

    If not replaced, defaults to Model Management and Governance.

    Note:

    Use double quotes if the name contains spaces.
    ##APPLICATION_ID## Unique application identifier stored as app_id. YES Must match the APP_ID column in MMG_PATCHES table. No spaces allowed.
    ##MMG_LOG_DIR## Directory for MMG application logs. YES Ensure that log folder is created before installation.
    ##FTPSHARE_DIR## Writable directory for file transfer and metadata usage. YES

    /scratch/users/ftpshare

    Ensure that ftpshare folder is created before installation.

    This should be same as the metadata directory mentioned above.

    ##MMG_LOG_TIMEZONE## Timezone used for logging. YES If not set, system timezone is used.
    ##WEB_CONTEXT## Context path of the application. YES mmg
    ##RESTRICT_UNMAPPED_DATASTORES_ACCESS## Restricts access to unmapped datastores. YES Set to true/false as required.
    ##MMG_API_USERNAME## API user for MMG integration.

    YES

    Enter NA if not applicable.
    ##MMG_SESSION_SECRET## The password used to generate the Authorization header token to communicate with mmg-services. YES Enter NA if not applicable.
    ##MMG_UI_FAVICON_PATH## Path to application favicon. NO Defaults to css/images/favicon.ico if not set.
    ##MMG_MODEL_PIPELINE_SANDBOX_DEFAULT_VIEW## Default sandbox view configuration. NO Enabled by default unless overridden.
    ##EMAIL_SMTP_HOST## SMTP host for email notifications. YES  
    ##EMAIL_SMTP_PORT## SMTP port for email notifications. YES  
    Database and Wallet Settings
    ##MMG_DB_WALLET_PATH##

    Path containing wallet files (sqlnet.ora, .sso, .p12).

    YES /scratch/users/wallet
    ##MMG_DB_TNS_ADMIN_PATH##

    Path containing tnsnames.ora.

    YES /scratch/users/tns
    ##MMG_DB_SCHEMA_WALLET_ALIAS##

    Wallet alias for MMG Config schema.

    YES

    STSA_CONFIG

    Note:

    Ensure that you provide the same alias name as provided in the configForEST.sh file.
    ##DATASTUDIO_SCHEMA_WALLET_ALIAS## Wallet alias for Data Studio schema. YES Required if wallet enabled for Studio.
    ##GRAPH_SCHEMA_WALLET_ALIAS## Wallet alias for Graph schema. YES Required for Graph integration.
    ##GRAPH_SCHEMA_DB_SCHEMA_NAME## Graph schema name. YES Used for Graph target schema.
    ##GRAPH_DB_SERVER_NAME## Graph database server hostname. YES  
    ##GRAPH_DB_PORT## Graph database port. YES  
    ##GRAPH_DB_SERVICE_NAME## Graph database service name. YES  
    Network and Port Configurations
    ##MMG_SERVICE_HOST##

    Backend service hostname.

    YES Use Host IP or FQDN.
    ##LDAP_USER_FILTER##

    LDAP User Filter

    Will be used for ##UI_AUTH_TYPE## = LDAP

    YES "cn={0}"
    #MMG_SERVICE_PORT##

    Backend service port.

    YES Default: 7002
    ##MMG_UI_PORT## UI service port. YES Default: 7001
    ##MMG_SCHEMA_CREATOR_PORT## Schema Creator service port. YES Default: 7003
    ##DATASTUDIO_SERVER_PORT# Data Studio server port. NO Default: 7008
    ##MMG_COHERENCE_CLUSTER_PORT## Port for Coherence cluster (Notification service). YES Default: 7574
    ##MMG_GATEWAY_PORT## MMG Gateway port. YES Mandatory if Gateway enabled.
    ##GRAPH_SERVICE_PORT## Graph service port. YES Default: 7059. Do not change if graphs already exist.
    ##DATAPIPELINE_SERVICE_PORT1## Primary Data Pipeline service port. YES Default: 18005
    ##DATAPIPELINE_SERVICE_PORT2## Secondary Data Pipeline service port. YES Default: 18006
    SSL and Security Settings
    ##MMG_SSL_ENABLED## Enables HTTPS. YES Example: true
    ##SSL_KEYSTORE_PATH## Absolute path to keystore file. YES

    ../conf/server.keystore. Include the file name in the path.

    Note:

    If ##SSL_ENABLED## is set to false, you must configure keystore for mmg-studio, as it is SSL-enabled by default. MMG application and MMG Studio can share the same SSL configuration if set up on the same server.
    ##SSL_KEYSTORE_PASSWORD## Keystore password. YES Example: secret
    ##SSL_KEYSTORE_TYPE##

    Keystore type

    The value passed in the aforementioned command for -storetype

    Can be either JKS or PKCS12

    YES Example: PKCS12
    ##SSL_CERT_ALIAS##

    Keystore alias

    The value passed in the aforementioned command for -alias

    YES Example: demoalias
    ##AUTH_MMG_KEYS_DIR## Path of public/private MMG keys. YES Example:< MMG Installation Path> /OFS_MMG/conf
    Authentication and Authorization
    ##MMG_UI_AUTH_TYPE## UI authentication type (aai, saml, ldap). YES Case-sensitive.
    ##MMG_SERVICE_AUTH_TYPE## Backend auth type. YES Defaults to public.
    ##DATASTUDIO_AUTH_TYPE## Studio authentication type:
    • FCC_SSO – for SAMLRealm based authentication in FCC Studio
    • MMG_AAI- AAI based authentication for MMG Studio
    YES Can be either MMG_AAI or FCC_SSO
    ##DATASTUDIO_SHOW_LOGIN##

    Can be either true/TRUE or false/FALSE (all caps or all small)

    Note:

    Set as true when the login screen of Studio is required. This property should be set as true if MMG application is non-SSL.
    YES It defaults to true.
    ##DATASTUDIO_SESSION_MODE## Can be either NOTEBOOK or NOTEBOOK_USER. YES If not set, it defaults to NOTEBOOK.
    ##DATASTUDIO_AUTH_REALM## Can be either OFSAARealm or saml.OFSAASamlRealm YES Can be either OFSAARealm or saml.OFSAASamlRealm
    ##AUTH_SAML_IDP_URL## This is the endpoint on the IDP side where SAML requests are posted. The Service Provider (SP) needs to obtain this information from the Identity Provider (IDP). YES

    http(s)://idcs-xxxx.com/fed/v1/idp/sso

    This is used only if ##UI_AUTH_TYPE## is SAML.

    ##AUTH_LDAP_URL##

    LDAP URL

    Will be used for ##UI_AUTH_TYPE## = LDAP

    YES ldap://whf00xyz:3060/
    ##DATASTUDIO_SERVER_COOKIE_DOMAIN## The domain name. YES

    This should be the domain name of the host server.

    Example: .in.xyz.com

    Note:

    If the MMG application is configured with the IP address, then provide the same.
    ##DATASTUDIO_SERVER_COOKIE_NAME## Cookie name. YES Defaults to ORA_OLDS_SESSION if unset.
    HTTP and Connection Pooling
    ##MMG_HTTP_CLIENT_MAX_CONN## Max HTTP connections across all routes. YES Default: 20
    ##MMG_HTTP_CLIENT_CONN_TIMEOUT_MS## HTTP connection timeout (ms). YES 0 = infinite timeout
    ##MMG_CONFIG_DATASOURCE_MAX_POOL_SIZE## Config datasource max pool size. YES Default: 10
    ##MMG_EXT_DATASOURCE_MAX_POOL_SIZE## External schema max pool size. NO Default: 10
    ##DATASTUDIO_HIKARI_MAXPOOLSIZE## Hikari pool max size for Studio. YES Required for Studio DB performance tuning.
    Graph and Advanced Features
    ##GRAPH_INSTALLATION_PATH## Installation path of Graph service. YES Required for L2G packaging.
    ##PGX_SERVER_URLS## PGX server resource path. YES (if PGX installed) Skip if not installing PGX.
    ##GRAPH_MAX_TOTAL_SHARED_DATA_MEMORY_SIZE## Max shared data memory size. YES Default: 20 GB
    ##GRAPH_MAX_TOTAL_PRIVATE_DATA_MEMORY_SIZE## Max private data memory size. YES Default: 8 GB
    ##GRAPH_MAX_PER_SESSION_DATA_MEMORY_SIZE## Max memory per session. YES Default: 700 MB
    External Services and Integration
    ##CS_AUTH_SERVICE_URL## The AUTH service URL that is activated after the fccstudio.sh file runs. NO Example: https://<hostname>:7041/authservice
    ##CS_META_SERVICE_URL## The metaservice URL that is activated after the fccstudio.sh file runs. NO Example: https://<hostname>:7045/metaservice
    ##EST_ENABLED## Enables EST integration. YES Default: FALSE
    ##EST_SERVICE_URL## STSA backend URL. YES (if EST enabled) Required if EST integrated.
    ##DATACATALOG_SERVICE_URL## Used when EST integrated. NO Optional integration.
    Gateway and Embedding Security
    ##MMG_CSP_FRAME_ANCESTORS## Controls allowed embedding origins for MMG UI. YES Default: self
    ##DATASTUDIO_CSP_FRAME_ANCESTORS## Controls embedding origins for Data Studio UI. YES Default: MMG Gateway URL

    Note:

    If changes are done directly on UI and then restart is done then in that case overwrite will not be triggered so configuration would not change, it is only dependent on file system JSON).

    Note:

    • In case of ##OFSAA_URL## and ##MMG_SVC_URL##, do not add any ending ‘/’ in the URLs
    • If pool size, connection timeout and idle timeout are not configured, then it will proceed with default Hikari Configurations.
    • The default session timeout is 3600 seconds (60 mins). You can configure timeout using server.servlet.session.timeout property.
    • If the AUTH type specified is AAI, make sure the AAI System has appropriate user groups mapped for the users. WKSPADMIN, IDNTYADMN, IDNTYAUTH need minimally to be present for a successful subsequent logins.
    • The name for MMG Studio cookie is ORA_OLDS_SESSION.
    • If the ##SSL_ENABLED## is set to false, keystore configuration must be done for mmg-studio as it is SSL enabled by default. MMG application and MMG Studio can use the same SSL configuration if configured in the same server.
    • The wallet is same for all the MMG services including MMG Studio. So, if you want to use the MMG Studio with wallet configurations, then configure in the same wallet.
    • If the MMG Studio is remotely configured, then the MMG Application Configuration Schema wallet alias and tnsnames.ora file entries need to be added to the MMG Studio configured wallet and tnsnames.ora file.
    • If MMG application is Non SSL, set the below property to “false” in the application.yml file inside the MMG Studio and restart the services.

      security:

      cookies:

      secure: false

    Note:

    Setting both Timeouts

    Data Studio user login sessions to be logged out automatically after a set amount of time:

    It is recommended to set both the relative and absolute session timeouts.

    With the following properties, a user session will expire after one hour of inactivity or the maximum duration of 24 hours.

    Studio-Server:

    Security:

    Absolute-session-timeout-ms: 86400000 // 24 hours

    Session-timeout-ms: 3600000 // 1 hour

    Paragraph Execution Timeout

    Automatically cancel a paragraph execution after a set amount of time:

    Studio-server:

    Interpreter:

    Execution:

    Run-timeout: 24 hours

    You can set the timeout to 0 to disable the timeout entirely. When the timeout is disabled, paragraphs will run either until they finish or are being manually cancelled.

    With the following properties, a paragraph will be timed out after 24 hours.

    Synchronous Run Timeout

    Timeout for synchronous code running (this is used for pipeline executions in MMG):

    Studio-server:

    Rest:

    Code:

    Maximum Runtime sync: 20 minutes

    With the following configuration, the synchronous run will be timed out after 20 minutes.

    https://datastudio.oraclecorp.com/docs/deployer/pages/configuration/server.html