Creating A Custom Azure Image for the Denodo Platform¶
We provide an Azure Image that includes the Denodo Platform 8.0 that is specially configured to be managed with the Solution Manager. That is the image you select in the page Configuration > Automated mode, in the section Default region & Images or when you create a cluster in automated mode.
The Automated Cloud mode support for Azure is available since 8.0u20220126 so this page only applies for this update or a more recent one.
In this image we provide, the operating system is Windows Server. If you want to modify the default options of this image, you can create your own.
This section explains how to create your own image, with the Denodo Platform configured to be managed by the Solution Manager.
If you create an image and just install the Denodo Platform on it, the Solution Manager will not be able to manage it (i.e. create a Virtual Machine based on it and start the Denodo components, stop them, etc.). You need to create the image following these steps.
Make sure to use a Generation 1 Virtual Machine, Generation 2 is not currently supported by the Solution Manager.
Launch a Virtual Machine based on one of the Windows versions that Denodo supports.
When choosing the type of instance, consider the hardware and software requirements of the Denodo Platform.
Ensure that the Virtual Machine use a managed disk and RDP inbound port (3389) is allowed.
Connect to the Virtual Machine using RDP and the Administrator account defined when created.
Copy to this Virtual Machine the installer of the Denodo Platform 8.0 and the latest update (if available).
During the installation, do this:
Choose Custom Installation.
Use this installation path. If you use a different one, you have to specify its value when creating the Denodo Azure Service.
License path: press Enter (do not provide anything).
This instance will connect to the License Manager to obtain a license.
Select all the components to install, except ITPilot.
Use default values for the rest of the options.
Clear the check box regarding installing the components as a Windows Service.
Once the installation ends, do not create shortcuts.
Configure Windows Defender Firewall to allow the OpenJDK application through firewall
You must allow both paths:
Ensure latest Python version 3.9 is installed. Ensure to add the
python.exeto the path environment variable for all users.
Execute this to upgrade pip and install the required Python packages:
> python -m pip install --upgrade pip > pip install requests > pip install pywin32 > pip install azure-core
Install the Denodo Azure Service for Windows
> sc.exe create DenodoAzure binPath="C:\Program Files\Python39\python C:\Denodo\DenodoPlatform8.0\tools\cloud\azure\denodo_azure_srv.py -loglevel=DEBUG" DisplayName="Denodo Azure service" start=delayed-auto > sc.exe failure DenodoAzure reset=86400 actions=restart/5000/restart/5000/restart/5000
It is assumed the python installation path is
This python script assumes you installed the Denodo Platform in
C:\Denodo\DenodoPlatform8.0. If not, the installation path can be specified with argument
It is necessary to generalize the Virtual Machine. Open a command prompt and execute the following command:
In the System Preparation Tool dialog box, select Enter System Out-of-Box Experience (OOBE) and select the Generalize check box.
For Shutdown Options, select Shutdown.
When Sysprep completes, it shuts down the Virtual Machine. Do not restart it.
Now yo can go back to the Azure portal and create an image using this Virtual Machine.