-
Log in to command central installed in the build server using the below URL
https://<ccehostname>:<cceport>/cce/web
.
-
Navigate to Installations and select “+” to add the target node in Command Central.
-
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.
-
Provide the Port number, username and password, alias, description and Installation type details.
-
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
-
Upload or download the Product Image repository to Repositories->Products and fixes (if any) to Repositories->Fixes.
-
Once all the setup is complete in Command Central, proceed to Self-Hosted Agent Installation & Configuration
-
Log in to the Azure DevOps portal (dev.azure.com) and select Organization settings.
-
Navigate to Pipelines->Agent Pools->Default and select New Agent
-
The steps to set up the agent will appear as shown below.
-
Depending on the Build Server machine type, download the agent software in the build server.
-
For configuring the agent after downloading, please follow the steps provided in the below URL
https://docs.devart.com/devops-automation-for-sql-server/walkthrough/create-configure-azuredevops-pipelines%20agent.html
Refer to the “Configuring a self–hosted agent” section
-
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.
-
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.
-
Navigate to dev.azure.com home page and create your project.
-
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.
-
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>
-
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.