Find answers to your technical questions and learn how to use our products
Search suggestions:
Find answers to your technical questions and learn how to use our products
Search suggestions:
The all file has the same configuration for all deployment types. However, you must update the ha_type and the IP addresses for the additional data centers as required, depending on the deployment type. The following example provides the all configuration for the Geo-redundant HA deployment without Layer 2 Networking deployment environment:
---
# Variables listed here are applicable to all host groups
##### MCS ENVIRONMENT VARIABLES #####
CONFIG_SUBSCRIPTION_PORT: 4002
PGPORT: 5432
ha_type: cold-dr #Enter environment type e.g. simplex, local-ha, georedundant-ha, cold-dr
platform:
#Note:
#define disk space in Gbs
#Suggested values for Sandbox Env: root_min_disk_space = 60 home_min_disk_space = 80
root_min_disk_space: "45"
home_min_disk_space: "25"
MCS_IPS: "10.0.0.81,10.0.0.82"
### Tenant append character
MINIO_BUCKET_CHAR: "-"
MEGA_MCS_HA: 172.16.31.190:5000/mega-mcs-ha:feature-dockerfile-mcs-ha-efc6b79
MCS_SYNC_IMG: 172.16.31.190:5000/mcs-sync:latest
CFG_BACKEND_IMG: 172.16.31.190:5000/config-backend:2.10.36
CONFIG_DB_IMG: 172.16.31.190:5000/postgres:ha_v3-latest
KONG_IMG: 172.16.31.190:5000/mega-kong:22.11.23-151-9fe0779
KEYCLOAK_IMG: 172.16.31.190:5000/mega-keycloak:22.11.23-78-21df319
REDIS_IMG: 172.16.31.190:5000/redis:6.2.7-latest
MEGA_BCK_IMG: 172.16.31.190:5000/staging-mega-acd-backend:22.11.22-2-43b1554
MEGA_SECURITY_SERVER: 172.16.31.190:5000/mega-security-server:22.11.23-0-46a6cd4
MAINTENANCE_SHELL_MCS_IMG: 172.16.31.190:5000/integration_mcs:22.11.23-0-e6ac645
MINIO_CLIENT_IMG: 172.16.31.190:5000/minio-client:latest-fips
OVERSIGHT_GRAFANA: 172.16.31.190:5000/grafana-mega:7.5.16.5
OVERSIGHT_TELEGRAF: 172.16.31.190:5000/telegraf:1.19.2-mega
OVERSIGHT_TRAP_ADAPTER: 172.16.31.190:5000/avaya-trap-adapter:1.10.0
OVERSIGHT_POSTGRES: 172.16.31.190:5000/itsm-postgress:13.7.5
OVERSIGHT_SIGNAL_INTERVAL: 1
MEGA_NOVNC_IMAGE: 172.16.31.190:5000/mega_novnc_desktop:0.0.1-19
MEGA_NGINX_IMAGE: 172.16.31.190:5000/mega-nginx:2.5
MEGA_AES_IMAGE: 172.16.31.190:5000/mega-aes:10.2.51-332
SHM_API_PORT: 9085
SHM_API_PROTOCOL: http
SHM_WS_PORT: 9002
AES_LOGIN_URL: https://172.16.30.161/aesvcs/login.xhtml
MCS_NETWORK: mcs-net
USER_MCS: "mega"
USER_SSH_PATH: "/home/mega/.ssh"
MCS_ANNOUNCEMENTS_DIR: "/data/mcs/sounds"
CONFIG_BACKEND_CONTAINER_NAME: config-backend
KONG_CONTAINER_NAME: kong
CONFIG_DB_CONTAINER_NAME: config-db
REDIS_CONTAINER_NAME: mcs-redis
BACKEND_CONTAINER_NAME: mcs-core-backend
KEYCLOAK_CONTAINER_NAME: keycloak
MINIO_SERVER_CONTAINER_NAME: mega-minio-server
LOGGING_LEVEL: info
LOGS_FOLDER: /var/log/audit-logs
SECURITY_SERVER_API_PORT: 3003
GET_LOGS_FOLDER: /var/log/mega/
GET_DBSESSIONS_FOLDER: /root/dock/
GET_LOGS_DEST_FOLDER: /home/stem/getlogs/
POSTGRES_SSLMODE: disable
# It can be TRACE | INFO | ERROR | WARN | DEBUG
AMS_LOG_LEVEL: TRACE
AMS_BINARY_STRING: "1111000000010000"
##Disable container processes from gaining new privileges.
Can be True or False
PREVENT_NEW_PRIVILEGES: true
## Limiting the Memory and CPU usage of containers
# Memory limit takes a positive integer, followed by a suffix B, K, M, G,
to indicate bytes, kilobytes, megabytes, or gigabytes.
# These parameters should be set to "0" to keep them unlimited
(containers can consume entire host's resources).
CONTAINER_MEMORY_LIMIT: "0"
# Specify how much of the available CPU resources a container can use.
# cpus:"1.5" the container is guaranteed at most one and a half of the CPUs.
# These parameters should be set to "0" to keep them unlimited
(containers can consume entire host's resources).
CONTAINER_CPUS_LIMIT: "0"
MCS_HOST_DOCKER_DIRECTORY: "/var/lib/docker"
##### NGINX ENVIRONMENT VARIABLES #####
NGINX_RATE_LIMIT: 0
NGINX_SIZE_MAX_STATIONS: 25000
NGINX_MCS_CONTAINER_NAME: mega-nginx-mcs
NGINX_MBX_CONTAINER_NAME: mega-nginx-mbx
#Note:FQDN values should be the same as FQDN fields for
the MBX/MCS certificates respectively.
MCS_CERT_FQDN: mega08mcs.avaya.com
MBX_CERT_FQDN: mega08mbx.avaya.com
##### UI ENVIRONMENT VARIABLES #####
MEGA_CM_UI: 172.16.31.190:5000/mega-cm-ui:22.11.23-1-800a542
MEGA_AUTH_UI_IMG: 172.16.31.190:5000/mega-auth-ui:22.11.24-0-34f1016
MEGA_SM_UI: 172.16.31.190:5000/mega-sm-ui:22.11.22-2-fba466a
MEGA_OLH_UI: 172.16.31.190:5000/mega-olh:22.11.22-0-08cfbd2
MEGA_SECURITY_UI: 172.16.31.190:5000/mega-security-ui:22.11.24-0-5a68a09
PROTOCOL: https
LOCAL_AUTH: 0
CMS_URL: http://cms.mega.com
OVERSIGHT_SIGNAL_INTERVAL_FOR_UI: 1
AUTH_CONTAINER_NAME: mega-auth-ui
AUTH_INTERNAL_PORT: 4000
CMUI_CONTAINER_NAME: mega-cm-ui
CMUI_INTERNAL_PORT: 4000
SMUI_CONTAINER_NAME: mega-sm-ui
SMUI_INTERNAL_PORT: 4006
SCUI_CONTAINER_NAME: mega-security-ui
SCUI_INTERNAL_PORT: 4000
OLH_CONTAINER_NAME: mega-olh-ui
OLH_INTERNAL_PORT: 80
APIDOCS_CONTAINER_NAME: mega_docs
APIDOCS_INTERNAL_PORT: 80
UI_NETWORK: ui-net
UI_SUBNET: 192.168.2.0/24
##### MBX ENVIRONMENT VARIABLES #####
RETRY_COUNT: 0
TENANT: megadr
NUMBER_OF_AGENTS: 1000
MEGA_V6_IMG: 172.16.31.190:5000/mega_v6:22.11.24-19113
OPENSIPS_IMG: 172.16.31.190:5000/opensips_3_2:22.11.22-0-fb1187f
MINIO_SERVER_IMG: 172.16.31.190:5000/minio-server:latest-fips
OVERSIGHT_AGENT: 172.16.31.190:5000/oversight-agent:1.26.4
MEGA_PPM_IMG: 172.16.31.190:5000/mega-ppm:8.1.12.0.8112090
PIPE_READER_IMG: 172.16.31.190:5000/pipe_reader:latest
DEVOPS_API_IMG: 172.16.31.190:5000/devops-api:22.11.22
MBX_NETWORK: mega-avaya
MBX_CONFIG_SUBNET: 192.168.3.0/24
MBX_CONFIG_NETWORK: mega-avaya-config
AES_NETWORK: aes-macvlan
PPM_CONTAINER_NAME: mega-ppm
PPM_DOMAIN: avaya.com
SIP_PORT: 5060
## PPM compose file variable
ENDPOINT_TRANSPORT: tcp
# Options to update SHM Size
#
# Smaller SHM AF_SHM_NUM_OF_BLOCKS=2 and AF_SHM_BLOCK_SIZE_IN_MB=512)
SHM_BLOCK_SIZE_IN_MB: 2000
SHM_HA_BUFFER_SIZE_IN_MB: 400
SHM_NUM_OF_BLOCKS: 8
DUMP_CORE: false
#### FOR CORE DUMPS ####
## Set Privileged to true to spawn containers in privileged mode
PRIVILEGED: true
## For core dumps. Set to '0' for disable and '-1' to enable.
ULIMIT_VALUE: 0
##### If external DB is used provide external db ip, if local opensips DB is used,
provide opensips IP i.e 192.168.0.25 ####
OPENSIPS_DB_IP: 192.168.0.25
#############################
##### If external DB is used provide external db port, if local opensips DB is used,
provide 5432 ####
OPENSIPS_DB_PORT: 5432
#### For Memory allocation for Opensips
#### Setting Opensips environment to Production (1) or Non-production (0)
PRODUCTION: 0
MTLS: 0
# Add IPs of MBXs here, following a space separated syntax
MINIO_IPS: "10.0.0.84 10.0.0.85"
MBX_HOST_DOCKER_DIRECTORY: "/var/lib/docker"
############################# PLEASE DONOT CHANGE BELOW VARIABLES #############################
##### MEGA LOAD PACKAGE VARIABLES #####
mega_load_path: /home/mega/S40/
mega_load_dest_path: "/home/mega/DM/"
##### CHOCOLATE SCRIPT VARIABLES #####
chocolate_src_path: "offline-packages-latest.tar.gz"
chocolate_dest_path: "{{ mega_load_dest_path }}chocolate/"
##### EASG SCRIPT VARIABLES #####
easg_rpm_src_path: "{{ chocolate_dest_path }}rpms/"
easg_enable: true
##### MEGA DEPLOYMENT SCRIPTS VARIABLES #####
mega_scripts_dest_path: "{{ mega_load_dest_path }}scripts/"
mega_self_destruct: "{{ mega_scripts_dest_path }}mega/HelperScripts/"
##### MCS FILES VARIABLES #####
mcs_files_dest_path: "{{ mega_load_dest_path }}mcs_files/"
##### MBX FILES VARIABLES #####
mbx_files_dest_path: "{{ mega_load_dest_path }}mbx_files/"
##### HELPERS SCRIPT PATH VARIABLES #####
helper_script_path: "{{ mega_scripts_dest_path }}mega/HelperScripts/"
#### REGISTRY URL ####
registry_url: "172.16.31.190:5000"
##### UI FILES VARIABLES #####
ui_files_dest_path: "{{ mega_load_dest_path }}ui_files/"
##### AES FILES VARIABLES #####
aes_files_dest_path: "{{ mega_load_dest_path }}aes_files/"
##### AES STANDALONE DEPENDENCIES FILES VARIABLES #####
aes_standalone_dependencies_files_dest_path: "{{ mega_load_dest_path }}aes_standalone_dependencies_files/"
##### OVERSIGHT FILES VARIABLES #####
oversight_files_dest_path: "{{ mega_load_dest_path }}oversight_files/"
##### CERTIFICATE MANAGER SCRIPTS VARIABLES #####
certificate_dest_path: /var/opt/Avaya/cert/
certificate_manager_install_path: /var/opt/Avaya/certificate_manager/
certificate_manager_dest_path: /opt/avaya/sbin/
certificate_manager_src_path: "{{ mega_scripts_dest_path }}mega/HelperScripts/certificates/"
##### NGINX ENVIRONMENT VARIABLES #####
NGINX_PATH: "{{ mega_scripts_dest_path }}mega/Installation_scripts/Nginx"
##### AES ENVIRONMENT VARIABLES #####
AES_PATH: "{{ mega_scripts_dest_path }}mega/Installation_scripts/AES"
##### MCS ENVIRONMENT VARIABLES #####
ENVIRONMENT_FILE: /.env
LOG_PATH: /var/log/mega
APP_PATH: "{{ mega_scripts_dest_path }}mega/Installation_scripts/MCS"
GF_SERVER_PROTOCOL: https
GF_AOCLE_USER: avovadministrator
GF_AOCLE_PASS: vOvgFg3ntS3c!
PG_AOCLE_USER: avovpgadmin
PG_AOCLE_PASS: avOvgFg3ntPGS3c!
PG_ADMIN_PASS: avOvgFg3ntPGaS3c!
MINIO_TLS_NO_IP_VALIDATION: 0
TLS_REJECT_UNAUTHORIZED: 1
MEDIA_STORAGE_DIRECTORY: /data/media
MINIO_CONFIG_PATH: /home/mega-acd-backend/.mc
MINIO_BUCKET_NAME: sounds
MINIO_USER: AKIAIOSFODNN7EXAMPLE
MINIO_PASSWORD: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
MCS_DOCKER_REGISTRY: mcs.dockerregistry.com
MCS_DOCKER_REGISTRY_PORT: 5000
MCS_SUBNET: 192.168.1.0/24
LISTALARM_FILTER_BASE_LEVEL: 30
ENVIRONMENT: production
GF_TIMEZONE: America/New_York
# Add IPs of Linux Host here, following a comma separated syntax
within double qoutes
AG_SNMP_MCS_HOSTS: "10.0.0.81,10.0.0.82,10.0.0.84,10.0.0.85"
# Password required for oversight
SNMP_MCS_COMMUNITY: oversight
ATA_IP: 172.16.29.223
ATA_PORT: 1160
ATA_USERNAME: admin
ATA_MODE: authPriv
ATA_PROTOCOL: sha
ATA_KEY: secret12
ATA_PRIVATE: aes
ATA_P_KEY: secret12
# Add IPs of Core MCS/MBX Host here, following a comma separated syntax
within double qoutes
AG_CORE_HOSTS: "10.0.0.81,10.0.0.82,10.0.0.84,10.0.0.85"
##### UI ENVIRONMENT VARIABLES #####
DEPLOYMENT_TYPE: MEGA
MegaUI_folder_path: "{{ mega_scripts_dest_path }}mega/Installation_scripts/MegaUI"
##### MBX ENVIRONMENT VARIABLES #####
CMSI_PORT: 5001
AESI_PORT: 8765
DCG_SMS_PORT: 8081
DCG_WEB_PORT: 9091
MEGA_REST: 9085
MEGA_WS: 9002
PG_PORT: 5435
PG_USER: postgres
PG_PASS: thisshouldbeasecret
LOG_PATH_MBX: /var/log/mega
CORE_DUMP_PATH: "{{ mega_scripts_dest_path }}mega/Installation_scripts/MBX"
APP_PATH_MBX: "{{ mega_scripts_dest_path }}mega/Installation_scripts/MBX"
WORKING_DIR: /app/
MEDIA_SERVER_IP: 192.168.0.24
OPENSIPS_IP: 192.168.0.25
MEGA_PPM_IP: 192.168.0.26
MBX_NGINX_PROXY: 192.168.0.27
MBX_REST_API: 192.168.0.28
SE_REST_IP: 192.168.0.29
MBX_WS_API: 192.168.0.30
MBX_MINIO_SERVER_IP: 192.168.0.31
OVERSIGHT_IP: 127.0.0.1
OVERSIGHT_PORT: 9089
MEGA_SUBNET: 192.168.0.0/24
MEGA_GATEWAY: 192.168.0.1
MINIO_USER_FOR_MBX: AKIAIOSFODNN7EXAMPLE
MINIO_PASSWORD_FOR_MBX: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
## Following are the AMS database configurations
AMS_DB_SERVER_IP_MBX: ams_db_server
AMS_DB_SERVER_PORT_MBX: 5432
AMS_DB_SERVER_USR_NAME_MBX: postgres
AMS_DB_SERVER_USR_PWD_MBX: mega123
CERT_DIR: /var/opt/Avaya/cert
tcp_keepalive_intvl: 9
tcp_keepalive_probes: 9
tcp_keepalive_time: 9
##Docker-Compose timeout value
COMPOSE_HTTP_TIMEOUT: 120
#################### Not Included in BACKUP ######################
OVERSIGHT_TESTALARM_PORT: 8089
AG_MCS_URL_PORT: 7004
MCS_VIRTUAL_IP: "{{ mcs_vip }}"
## Will be MCS VIP or FQDN
UI_URL: "{{ MCS_VIRTUAL_IP }}"
## Edit this in case of Ext-DB
PGHOST: "{{ CONFIG_DB_IP }}"
MCS_SETUP_ID: "{{ mcs_setup_id }}"
VIRTUAL_IP: "{{ mbx_vip }}"
MBX2A_IP: "{{ MBX2A_IP }}"
MBX2B_IP: "{{ MBX2B_IP }}"
MCS_VIP_SECONDARY: "{{ MCS_VIP_SECONDARY }}"
PRIMARY_DC_MBX_VIP: "{{ PRIMARY_DC_MBX_VIP }}"
SITE: "{{ SITE }}"
FAILBACK_POLICY: "{{ FAILBACK_POLICY }}"
MISC_PRUNER_PATH: "{{ mega_scripts_dest_path }}mega/Installation_scripts/Miscellaneous/"
AFUI_GATEWAY_URL: "https://{{ UI_URL }}:7004"
MEGA_AVAYA_DOMAIN: "{{ UI_URL }}"
WEBSOCKET_PROGRESSBAR_URL: "https://{{ UI_URL }}:7000"
SECURITY_SERVER_URL: "http://{{ UI_URL }}:3003"
AUTH_APP: "https://{{ UI_URL }}:8201"
CM_APP: "https://{{ UI_URL }}:8200"
SM_APP: "https://{{ UI_URL }}:8202"
OLH_APP: "https://{{ UI_URL }}:8203"
SECURITY_UI_URL: "https://{{ UI_URL }}:8204"
KONG_CONFIG_IP_PORT: "https://{{ MCS_VIRTUAL_IP }}:7004"
AF_CONFIG_SERVER: "{{ KONG_CONFIG_IP_PORT }}/config"
MEGA_VERSION: 10.0.2.0.40.22.11.25
AF_SHM_LICENSE_KEY:
GF_SECURITY_ADMIN_USER: avovadministrator
GF_SECURITY_ADMIN_PASSWORD: vOvgFg3ntS3c!
MCS_NGINX_PROXY: 192.168.1.30
INTERNAL_CONFIG_IP: 192.168.1.31
MCS_OAGENT_IP: 192.168.1.32
MCS_OAGENT_CONTAINER_NAME: mcs-oagent
MBX_OAGENT_IP: 192.168.0.32
MCS_KONG_CONTAINER_IP: 192.168.2.20
SERVER_AFUI_GATEWAY_URL: "http://{{ MCS_KONG_CONTAINER_IP }}:8000"
CONFIG_DB_IP: 192.168.1.33
SSL_VERIFY_CLIENT: "optional"
environments:
OVERSIGHT_CADDY: 172.16.31.190:5000/caddy:v1
POSTGRES_MULTIPLE_DATABASES: kong,keycloak,config,aicore,mega_acd,securityserver
MINIO_ENABLE_SECURE: 1
#Syslog Configuration
SYSLOG_SERVICE_HOST: 0.0.0.0
SYSLOG_SERVICE_PORT: 514
# Pruning utility - CronJob configurations #
# These configurations are for both MBX and MCS
cdump_retention_days: "7"
log_retention_days: "7"
upgrade_status: "false"
force_flag:
subcommand: upgrade
sysctl_config:
net.core.rmem_max: 1342177280
net.core.rmem_default: 1342177280
net.core.wmem_max: 1342177280
net.core.wmem_default: 1342177280
net.ipv4.tcp_rmem: 33554432 67108864 1342177280
net.ipv4.tcp_wmem: 33554432 67108864 1342177280
net.ipv4.tcp_window_scaling: 1
net.ipv4.tcp_keepalive_intvl: 9
net.ipv4.tcp_keepalive_probes: 9
net.ipv4.tcp_keepalive_time: 9