mega-config.yml example

Last Updated : Jan 23, 2023 |

The following are examples of the mega-config.yml configuration in different deployment environments:

Simplex deployment

# User with password less ssh and sudo access
# for the whole cluster
mega_install_user: mega
# List of EASG login names to be enabled
# on the MCS hosts
avaya_easg_login_names: init, craft, sroot

# Virtual IP support for MBX and MCS
mcs_vip: 172.20.121.52
mbx_vip: 172.20.121.51

# Uniqe MCS setup ID 
mcs_setup_id: 51

deployment_type: simplex
# Cluster network configuration (comma-separated list)

########## COLD DR #########
MCS_VIP_SECONDARY: 172.16.30.189
SECONDARY_DC_MBX_VIP: 172.16.30.190
MBX2A_IP: 172.16.30.183
MBX2B_IP: 172.16.30.184
PRIMARY_DC_MBX_VIP: 172.16.30.189
SITE: primary/secondary
FAILBACK_POLICY: automatic

data_centers:
  - name: "First data center"
    mcs: 
      - mcs_ip: 172.20.121.52
        interface: ens192
    mbx: # list of mbx hosts
      - mbx_ip: 172.20.121.51
        macvlan_ip: 172.20.121.54
        macvlan_subnet: 172.20.121.0/24
        macvlan_gateway: 172.20.121.3
        macvlan_interface: enp217s0f0
        interface: enp217s0f0
        #    aes_standalone_host: # GCP only
        #      - aeshost_ip: 100.70.2.58
        #        aes_ip: 100.70.2.78
        # hostname: "apps1dc7aes1-1"
        #interface: eth0
        #      - aeshost_ip: 100.70.2.59
        #        aes_ip: 100.70.2.158
        #hostname: "apps1dc7aes2-1"
        #interface: eth0


aes_ha:
  - primary_ip: 172.20.121.53     
    # for georedundant-ha: primary aes ip for the first data center
    hostname: "internal-aes-1"

Local HA deployment

# User with password less ssh and sudo access
# for the whole cluster
mega_install_user: mega
# List of EASG login names to be enabled
# on the MCS hosts
avaya_easg_login_names: init, craft, sroot

# Virtual IP support for MBX and MCS
mcs_vip: 10.0.0.80
mbx_vip: 10.0.0.83

# Uniqe MCS setup ID 
mcs_setup_id: 1

deployment_type: local-ha
# Cluster network configuration (comma-separated list)

########## COLD DR #########
MCS_VIP_SECONDARY: 10.1.0.90
SECONDARY_DC_MBX_VIP: 10.1.0.93
MBX2A_IP: 10.1.0.94
MBX2B_IP: 10.1.0.95
PRIMARY_DC_MBX_VIP: 10.0.0.83
SITE: primary/secondary
FAILBACK_POLICY: automatic

data_centers:
  - name: "DC1"
    mcs: 
      - mcs_ip: 10.0.0.80
        interface: ens192
    mbx: # list of mbx hosts
      - mbx_ip: 10.0.0.81
        macvlan_ip: 10.0.0.87
        macvlan_subnet: 10.0.0.0/24
        macvlan_gateway: 10.0.0.1
        macvlan_interface: ens192
        interface: ens192:1
      - mbx_ip: 10.0.0.82
        macvlan_ip: 10.0.0.88
        macvlan_subnet: 10.0.0.0/24
        macvlan_gateway: 10.0.0.1
        macvlan_interface: ens192
        interface: ens192:1

aes_ha:
  - primary_ip: 10.0.0.84     
    # for georedundant-ha: primary aes ip for the first data center
    secondary_ip: 10.0.0.85   
    # for georedundant-ha: secondary aes ip for the second data center
    virtual_ip:	10.0.0.86
    hostname: "mega08aes"

Geo-redundant HA deployment without Layer 2 Networking

To deploy Geo-redundant HA without Layer 2 Networking:

  1. Fresh deploy all Routing Core Server services except AE Services on both data centers.

  2. After the Routing Core Server services are up, deploy AE Services.

Fresh deploy mega-config.yml for data center 1

# User with password less ssh and sudo access
# for the whole cluster
mega_install_user: mega
# List of EASG login names to be enabled
# on the MCS hosts
avaya_easg_login_names: init, craft, sroot

# Virtual IP support for MBX and MCS
mcs_vip: 10.0.0.80
mbx_vip: 10.0.0.83

# Uniqe MCS setup ID 
mcs_setup_id: 1

deployment_type: cold-dr
# Cluster network configuration (comma-separated list)

########## COLD DR #########
MCS_VIP_SECONDARY: 10.1.0.90
SECONDARY_DC_MBX_VIP: 10.1.0.93
MBX2A_IP: 10.1.0.94
MBX2B_IP: 10.1.0.95
PRIMARY_DC_MBX_VIP: 10.0.0.83
SITE: primary
FAILBACK_POLICY: automatic

data_centers:
  - name: "First data center"
    mcs: 
      - mcs_ip: 10.0.0.81
        interface: ens192
      - mcs_ip: 10.0.0.82
        interface: ens192
    mbx: # list of mbx hosts
      - mbx_ip: 10.0.0.84
        interface: ens192:1
      - mbx_ip: 10.0.0.85
        interface: ens192:1

Fresh deploy mega-config.yml for data center 2

# User with password less ssh and sudo access
# for the whole cluster
mega_install_user: mega
# List of EASG login names to be enabled
# on the MCS hosts
avaya_easg_login_names: init, craft, sroot

# Virtual IP support for MBX and MCS
mcs_vip: 10.1.0.90
mbx_vip: 10.1.0.93

# Uniqe MCS setup ID 
mcs_setup_id: 2

deployment_type: cold-dr
# Cluster network configuration (comma-separated list)

########## COLD DR #########
MCS_VIP_SECONDARY: 10.1.0.90
SECONDARY_DC_MBX_VIP: 10.1.0.93
MBX2A_IP: 10.1.0.94
MBX2B_IP: 10.1.0.95
PRIMARY_DC_MBX_VIP: 10.0.0.83
SITE: secondary
FAILBACK_POLICY: automatic

data_centers:
  - name: "DC2"
    mcs: 
      - mcs_ip: 10.1.0.91
        interface: ens192
      - mcs_ip: 10.1.0.92
        interface: ens192
    mbx: # list of mbx hosts
      - mbx_ip: 10.1.0.94
        interface: ens192:1
      - mbx_ip: 10.1.0.95
        interface: ens192:1

Deploy AE Services

# User with password less ssh and sudo access
# for the whole cluster
mega_install_user: mega
# List of EASG login names to be enabled
# on the MCS hosts
avaya_easg_login_names: init, craft, sroot

# Virtual IP support for MBX and MCS
mcs_vip: 10.0.0.80
mbx_vip: 10.0.0.83

# Uniqe MCS setup ID 
mcs_setup_id: 1

deployment_type: cold-dr
# Cluster network configuration (comma-separated list)

########## COLD DR #########
MCS_VIP_SECONDARY: 10.1.0.90
SECONDARY_DC_MBX_VIP: 10.1.0.93
MBX2A_IP: 10.1.0.94
MBX2B_IP: 10.1.0.95
PRIMARY_DC_MBX_VIP: 10.0.0.83
SITE: primary
FAILBACK_POLICY: automatic

data_centers:
  - name: "DC1"
    mcs: 
      - mcs_ip: 10.0.0.81
        interface: ens192
      - mcs_ip: 10.0.0.82
        interface: ens192
    mbx: # list of mbx hosts
      - mbx_ip: 10.0.0.84
        macvlan_ip: 10.0.0.87
        macvlan_subnet: 10.0.0.0/24
        macvlan_gateway: 10.0.0.1
        macvlan_interface: ens192
        interface: ens192:1
      - mbx_ip: 10.0.0.85
        macvlan_ip: 10.0.0.89
        macvlan_subnet: 10.0.0.0/24
        macvlan_gateway: 10.0.0.1
        macvlan_interface: ens192
        interface: ens192:1
  - name: "DC2"
    mcs:
      - mcs_ip: 10.1.0.91
        interface: ens192
      - mcs_ip: 10.1.0.92
        interface: ens192
    mbx: # list of mbx hosts
      - mbx_ip: 10.1.0.94
        macvlan_ip: 10.1.0.97
        macvlan_subnet: 10.1.0.0/24
        macvlan_gateway: 10.1.0.1
        macvlan_interface: ens192
        interface: ens192:1
      - mbx_ip: 10.1.0.95
        macvlan_ip: 10.1.0.99
        macvlan_subnet: 10.1.0.0/24
        macvlan_gateway: 10.1.0.1
        macvlan_interface: ens192
        interface: ens192:1


aes_ha:
  - primary_ip: 10.0.0.86     
	# for georedundant-ha: primary aes ip for the first data center
    secondary_ip: 10.1.0.96   
	# for georedundant-ha: secondary aes ip for the second data center
    virtual_ip:	 # keep blank
    hostname: "mega08aes"
  - primary_ip: 10.1.0.98     
	# for georedundant-ha: primary aes ip for the second data center
    secondary_ip: 10.0.0.88   
	# for georedundant-ha: secondary aes ip for the first data center
    virtual_ip:	  # keep blank
    hostname: "mega09aes"