- Getting Started
-
Administration Guide
-
Get Started with Administering Wyn Enterprise
- System Requirements
- Installing on Windows
- Installing on Linux
- Installing using Docker
- License Wyn Enterprise
- Deploying with HTTPS
- Deploying with Reverse Proxy
- Deploying to Azure App Service
-
Deploying to Azure Kubernetes Service
- Deploying to Local Kubernetes
- Deploying as a Virtual Directory or Sub-Application
- Deploying in a Distributed Environment
- Migration from ActiveReports Server 12
- Upgrade Wyn Enterprise to Latest Version
- Logging on to the Administrator Portal
- Ports in Firewall
- Configuration Settings
- Account Management
- Security Management
- System Management
- Document Management
- How To and Troubleshooting
-
Get Started with Administering Wyn Enterprise
- User Guide
- Developer Guide
Deploying to Azure Kubernetes Service
This article describes how to deploy Wyn Enterprise to run on Azure Kubernetes Service.
Quick Overview
Create the following resources in the same resource group:
- Resource Group: Create a resource named wyn-aks, all the Wyn AKS-related resources should be in this resource group.
- Kubernetes cluster: Deploy Wyn Enterprise.
- Storage account: Use the Azure files to store the Wyn configuration file and logs.
- Managed Disk: Store the cached database data.
Please note that you should have an existing SQL Server, MySQL, Postgres, or Oracle database.
Create Resources
Follow the below steps to create the resources discussed above.
Create a 'wyn-aks' resource group.
Create a 'wyn' Kubernetes cluster. Restrict the availability zones of the cluster because the cached database data is stored in the managed disks, which means the disk and the AKS node must be in the same availability zone.
Note: While creating the 'wyn' Kubernetes cluster, the recommended node size to be selected is 4 cores with 16GB of RAM.
To change the node size, click the Change Size hyperlink and select the recommended size.
Create a 'wyn' storage account. Set its performance to Standard as shown.
The Standard Performance is suitable for writing logs and reading the configuration file. Moreover, Wyn Enterprise uses the asynchronous non-blocking method to write logs, so it will not affect the performance.
Create a 'conf' and 'logs' file share in the wyn storage account.
Click here to download the zip file and later unzip it.
Update the database connection string in the 'conf/Wyn.conf' file.
Upload the 'Wyn.conf' file to the 'conf' file share you just created.
Enter the Kubernetes cluster and click Connect, and then click Open Cloud Shell to open the cloud shell.
Run the appropriate command to connect to the cluster.
//The following example gets the node resource group for the wyn AKS cluster in the wyn-aks resource group, and creates the disk in the node resource group. az aks show --resource-group wyn-aks --name wyn --query nodeResourceGroup -o tsv
Then, create a 'wyn' managed disk. Select its availability zone and set the performance tier to P30. You can also choose a higher performance tier based on your requirements.
Deploy Wyn Enterprise
Use the following command in the cloud shell to get the zip file, and later unzip it.
wget https://cdn.grapecity.com/wyn/installation/aks/wyn-enterprise-aks-6.1.00295.0.zip unzip wyn-enterprise-aks-6.1.00295.0.zip
Copy the Resource ID of the Managed Disk and use it to update the 'services/analysisdb.yaml' file.
Use the storage key to create the wyn-aks-secret. Get the storage key from the storage account Access Keys tab.
kubectl create secret generic wyn-aks-secret --from-literal=azurestorageaccountname=wyn --from-literal=azurestorageaccountkey=<STORAGE_KEY>
Use the following command to create volumes and services as shown.
# enter the wyn-aks folder cd wyn-enterprise-aks-6.1.00295.0 # create the volumes kubectl apply -f pv # create services kubectl apply -f services
Run the following command to check the pods' status.
kubectl get pods
Expose Wyn Enterprise to the External Network
You can use the Application Gateway ingress controller to expose Wyn.
# create application-gateway ingress kubectl apply -f ingress
Enable the Application Gateway ingress controller.
Enter the ingress-appgateway to get the public IP address to access Wyn Enterprise. (http://<public-IP-address>)