The mpls-tma.conf file, located in the BASEDIR/smarts/conf/mpls-tma directory, groups the MPLS servers according to the MPLS Topology Server. Figure 11 on page 56 shows the content of the mpls-tma.conf file as shipped with MPLS Manager.
# Copyright 2019 by VMware, Inc. # All rights reserved. . . . IC_DomainConfig::IC_DomainConfig_INCHARGE-MPLS-TOPOLOGY { TopologyProvides += IC_DomainConfig::IC_DomainConfig_INCHARGE-MPLS-MONITORING TopologyProvides += IC_DomainConfig::IC_DomainConfig_INCHARGE-MPLS-ANALYSIS } . . .
When a user installs the MPLS component servers as services during the MPLS Manager installation, the installation program runs a script that automatically:
-
Creates the service commands, one for each MPLS server.
-
Populates the MPLS server names in the service commands with the MPLS domain group name that is specified by the user.
-
Writes the specified MPLS domain group name to a local copy of the mpls-tma.conf file upon installing the services. The local copy of the mpls-tma.conf file is saved to the BASEDIR/smarts/local/conf/mpls-tma directory.
The default MPLS domain group name is INCHARGE-MPLS, as shown in Figure 11 on page 56. The default services that are created during an MPLS Manager installation are shown in Figure 12 on page 57.
/opt/InCharge/MPLS/smarts/bin/sm_service install --force --unmanaged --startmode=runonce --name=ic-mpls-topology --description=”VMware Smart Assurance MPLS Topology Server” /opt/InCharge/MPLS/smarts/bin/sm_server --name=INCHARGE-MPLS-TOPOLOGY --config=mpls-t --ignore-restore-errors --output /opt/InCharge/MPLS/smarts/bin/sm_service install --force --unmanaged --startmode=runonce --name=ic-mpls-monitoring --description=”VMware Smart Assurance MPLS Monitoring Server” /opt/InCharge/MPLS/smarts/bin/sm_server --name=INCHARGE-MPLS-MONITORING --config=mpls-m --ignore-restore-errors --output /opt/InCharge/MPLS/smarts/bin/sm_service install --force --unmanaged --startmode=runonce --name=ic-mpls-analysis --description=”VMware Smart Assurance MPLS Analysis Server” /opt/InCharge/MPLS/smarts/bin/sm_server --name=INCHARGE-MPLS-ANALYSIS --config=mpls-a --ignore-restore-errors --output
After installation, a user can change the MPLS group name in the services at any time by running a Perl script named server_config.pl. The script operates the same way as the installation program script just described, and ends by writing the updated MPLS group name to the mpls-tma.conf file. Examples of using the server_config script are included in the MPLS Management Suite Installation Guide.