Install Universal Messaging Server using Command Central CLI, Azure Devops & Microsoft Self-Hosted Agent (on Azure VMs)

Installation Steps

  1. Create two virtual machines in Azure – one for the build Server and one is your target server where you wish the UM Server to be installed.

Build Server

  • Install Command Central and Platform Manager installed. Enable the Platform Manager & Command Central Ports in both Windows Firewall and Azure Network Security Group.
  • System Requirements for Command Central can be found in the Installing Software AG Products documentation.
  • Command Central & Platform Manager installer can be downloaded from Empower.
  • It can be installed on the build server using the below command
    <cceinstaller.exe> –-accept-license -d <installation folder> -c 8190 -C 8191 -s 8192 -S 8193 -p <password>
  • Recommendation is to have one build server for the Production environment and one for non-production environments.

Target Server

  • Install Platform Manager on the Target Server.
  • Platform Manager can be installed via Command Central (Java8 is a prerequisite) or can be directly installed on the VM using the software, which can be downloaded from empower.
  • Enable the Platform Manager & SSH Ports in both Windows Firewall and Azure Network Security Group.
  • Platform Manager installer can be downloaded from Empower.
  • It can be installed on the build server using the below command
    <cceinstaller.exe> –-accept-license -d <installation folder> -D SPM -s 8192 -S 8193 -p <password>
  1. Log in to command central installed in the build server using the below URL

  2. Navigate to Installations and select “+” to add the target node in Command Central.

  3. Provide the hostname of the target node and select” Platform Manager is already installed” if SPM is already installed or select “Install Platform Manager remotely” to install SPM.
    image 3

  4. Provide the Port number, username and password, alias, description and Installation type details.
    image 4

  5. Once the node is connected in Command Central, upload the desired UM Server YAML template in the templates section and also add the UM Server license key under Licensing->Keys tab

  6. Upload or download the Product Image repository to Repositories->Products and fixes (if any) to Repositories->Fixes.

  7. Once all the setup is complete in Command Central, proceed to Self-Hosted Agent Installation & Configuration

  8. Log in to the Azure DevOps portal ( and select Organization settings.

  9. Navigate to Pipelines->Agent Pools->Default and select New Agent

  10. The steps to set up the agent will appear as shown below.

  11. Depending on the Build Server machine type, download the agent software in the build server.

  12. For configuring the agent after downloading, please follow the steps provided in the below URL
    How to create and configure AzureDevops Pipelines Agent
    Refer to the “Configuring a self–hosted agent” section

  13. Additionally, one might need Personal Access Token (PAT) during agent configuration, which can be obtained from Azure DevOps Portal-> User Settings. Click on New Token and provide the desired permissions, scope and expiry date for the token.
    image image

  14. Once the agent is installed, configured, and started, navigate back to Pipelines->Agent Pools->Default in the Azure DevOps Portal. The agent should be enabled and online.

  15. Navigate to home page and create your project.

  16. Create a new pipeline, select the desired repository (Azure repo, git, bitbucket, svn, etc.) and add an empty/agent job, and select “Default” agent pool in the Agent Selection.

  17. On the Agent job, select add and Add a “Power shell script” step. In the Power shell script, select inline and provide the CCE script to install UM. The script can even be saved in the repo and referred to in this task.
    Script Used here is given below
    <sagcc.bat absolute path> exec templates composite apply <UM Server YAML Template Alias from CCE> nodes=<node alias> um.memory.max=<max um memory> repo.product=<Product Image alias>

  18. Then execute the pipeline which will schedule the Command Central Job for UM Installation, instance creation and starts the UM server. We can verify the installation in Command Central as shown below.

Notes –

  • This article provides on the basic installation of UM. Additional configuration as needed can be applied in the YAML template.
  • Also, additional fixes can be included in the above URL.
  • Sync Job can be added while installation to wait for the template execution and validate the installation.
  • Similar steps can be followed for other product installations as well. Sample YAML templates for different product installations can be found in the below git project.