Azure Client Stack Deployment
CAM Azure Stack utilizes Microsoft Azure services and resources to provide the ability to move documents and content and sync metadata between multiple Document Management Systems (DMS). CAM Content Mover and Data Sync (Content Sync) use Azure storage blobs as an intermediary place while moving content between the supported Document Management Systems.
To deploy the CAM Azure Stack, you need to deploy the Azure template into your Azure environment. The template deploys a complete solution that contains multiple resources such as function apps, MySQL instances, Blob Storages, and others. These resources are provided and hosted by Microsoft Azure in your Azure account to provide more control over moving content.
- 2 Prerequisites to the CAM Azure Stack Deployment
- 2.1.1 Requirements
- 2.2 Deploying and Configuring the CAM Azure Stack
- 2.3 Initialize CAM Azure Stack Configuration
- 2.4 Updating the Client Stack
- 2.4.1 Updating MySQL 7 to 8
- 2.4.2 Prerequisites
- 2.4.3 Executing the Script
- 2.4.3.1 Azure login:
- 2.4.3.2 Resource group Input:
- 2.4.3.3 Function App Identification:
- 2.4.3.4 Logging:
- 2.4.3.5 File Management:
- 2.4.3.6 Upgrading Jar Files:
- 2.5 Configure CAM Content Mover to Utilize your Azure Stack
- 2.6 Configure CAM Data Sync to Utilize your Azure Stack
- 2.7 Optional Azure Resources Configurations
- 2.8 Deployment Errors, Workarounds, and Solutions
- 2.9 Azure Pricing and Cost Calculator
- 3 CAM Azure Stack Security
Azure & CAM Integration Notes
As of January 30, 2021, Azure is not allowing custom token expiry settings. The conditional access policies determine how the token expires are configured. This requires at least a P1 license in Azure. See the Microsoft link here.
CAM Azure Stack Architecture
Content Mover in CAM uses REST APIs to work with 7 functions, 4 queues, and two triggers to move content.
Data Sync (Content Sync) uses REST APIs to work with 3 functions, 1 queue, and one trigger to sync content.
Prerequisites to the CAM Azure Stack Deployment
Deploying and Configuring the CAM Azure Stack
Updating the Client Stack
Updating MySQL 7 to 8
For Existing Clients Stacks:
We can't upgrade the MySQL version in single server configurations. We need to upgrade to flexible server configurations first if you are not on a flexible server, then we can update the MySQL version afterwards.
If you were on MySQL 5.7, a parameter is set that isn’t supported in 5.8 that needs to be removed.
That parameter is NO_AUTO_CREATE_USER
Go into Server Parameter.
c. Search for the deprecated config in Parameter-> sql_mode.
d. Deselect the NO_AUTO_CREATE_USER parameter.
Now we can update MySQL. The following shows when clicking into the MySql resource.
Click the MySQL version link that says upgrade. Click 8.0 to upgrade to and hit Upgrade.
Prerequisites
Azure CLI: Ensure Azure CLI is installed on your machine. You can download it from Microsoft here: https://learn.microsoft.com/en-us/cli/azure/
Administrator Access: Open Powershell with the “Run as administrator“ privilege.
Go to the Github repo: https://github.com/Prosperoware/cam-azure-deployment .
Download functionAppsCodeUpdate.ps1
Function App: The function app should already be created in the Client stack otherwise this Powershell script will fail.
Executing the Script
Azure login:
If you haven’t logged in via
az login
, The script will prompt you to log in through a browser. Please use the Azure account associated with your client stack deployment.If the wrong account is used , you will be prompted to log in again , with up to three attempts allowed.
Resource group Input:
The script will prompt you to enter the resource group name where your stack is deployed.
If an incorrect resource group is entered, you will be prompted to re-enter the correct name, with up to three attempts allowed.
Function App Identification:
The script will list all function apps targeted for the JAR upgrade.
It will automatically determine whether to update ETL (Content Mover), ContentSync (Data Sync), or both options, based on the function apps present in your resource group.
Logging:
The script will maintain a log file named
CAM_Azure_Stack_log_timestamp.txt
to record the latest operationsOlder logs will be deleted each time the script runs.
File Management:
The script will download and upload the ZIP file from the same directory where 'functionAppsCodeUpdate.ps1' is located.
Upgrading Jar Files:
After running the functionappsCodeupdate script the jar files will be updated automatically.
Storage Bucket Retention Rules and Deletions
Azure Pricing and Cost Calculator
CAM Azure Stack Security
SSL for the MySQL Database
To Setup SSL on the MYSQL database, set the following on the appconfig.yml in Content Mover:
useSSL = True
requireSSL = True
Creating a Personal Access Token:
Log into Azure DevOps at the https://dev.azure.com/
In the right-hand corner select User Settings and then Personal access tokens
Create the PAT for the deployment - This token will be used only for the setup and the Expiration can be set for only 1 day.
a. Select the New Token option.
b. Select a Name for the token, and organization where you will deploy, and expiration. For the expiration select one day using the Custom Defined option.
c. In the scope section select:
Agent Pools | Read & manage |
Build | Read & execute |
Code | Read & write |
Connected Server | Connected Server |
Deployment Groups | Read & manage |
Environment | Read & manage |
Project & Team | Read, write & manage |
Release | Read, write, execute & manage |
Secure Files | Read, create & manage |
Service Connections | Read, query & manage |
Variable Groups | Read, create & manage |
Create PAT for push code (Service account)
a. Select New Token”option.
b. Select a Name for the token, organization where you will deploy, and expiration. For the expiration, select at least 12 months. This token will have to be rotated when it is close to the expiration date.
c. In the scope section select:
Code | Read & write |
Additional Info
Configure CAM SSO
Related Topics
Syncing Content from M365 to DMS | Configuring Data Sync
Let's Connect📌
☎ +1 630.598.1100
☎ +44 20 3880 1550
📧 support@litera.com
💻 https://www.litera.com/support/
📝 Support is available:
4 am - 8 pm US Eastern
(9 am - 1 am GMT/BST
7 pm - 11 am AET) on normal business days (excluding holidays)
© 2024 Litera