- Register an Azure subscription
- Register an IBM id
- Download IBM DB2 Server Edition V11.5 Installation Kit Alternatively, follow instructions below to download both server and client install kits:
- Select Downloading IBM Db2 Version 11.5 for Linux, UNIX, and Windows.
- You should find link for To download Db2 recommended fix packs, select it. Then select one Fix Pack for DB2.
- From the page, find download link for DB2 Server Fix Pack and IBM Data Server Client.
- Install Azure CLI
- Install
jq
- Replace "GEN-UNIQUE" with valid user id or password
- For parameter value of "virtualMachineName" & "virtualNetworkName", suggest to replace "rgName" with your resource group name to ensure its uniqueness
- For the remaining parameters, you can use their default values immediately or modify per your needs
With the provided ARM template and parameters,
- Using deploy.azcli to deploy
deploy.azcli -n <deploymentName> -f <installKitFile> -i <subscriptionId> -g <resourceGroupName> -l <resourceGroupLocation>
- If you check the resource group in azure portal, you will see related resources created
- If you have one IBM DB2 Data Server Client installed on virtual machine in the same virtual network, open VM resource blade and copy its private IP address, then catalog server node & database to test the connectivity to database. To install IBM DB2 Data Server Client, first download it from IBM website with IBM id and upload to secure cloud storage (e.g., Azure Storage), then locate to client directory and run the following commands to install on Ubuntu 18.04 LTS server:
installClient.sh -l <cloudStorageUriToInstallKit> -u <db2InstanceOwnerName> -g <db2InstanceOwerGroup> -p <db2InstanceOwnerPassword>