Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/majguo/arm-ubuntu-db2
IBM DB2 Server Edition setup on single Azure VM
https://github.com/majguo/arm-ubuntu-db2
arm-template azure-vm ibm-db2
Last synced: about 2 months ago
JSON representation
IBM DB2 Server Edition setup on single Azure VM
- Host: GitHub
- URL: https://github.com/majguo/arm-ubuntu-db2
- Owner: majguo
- License: apache-2.0
- Created: 2019-10-09T05:30:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-11T00:08:11.000Z (9 months ago)
- Last Synced: 2024-04-11T03:13:06.367Z (9 months ago)
- Topics: arm-template, azure-vm, ibm-db2
- Language: Shell
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy a Ubuntu 18.04 LTS VM on Azure with IBM DB2 Server Edition V11.5.0.0 pre-installed
## Prerequisites
- Register an [Azure subscription](https://azure.microsoft.com/en-us/)
- Register an [IBM id](https://idaas.iam.ibm.com/idaas/mtfim/sps/authsvc?PolicyId=urn:ibm:security:authentication:asf:basicldapuser)
- Download [IBM DB2 Server Edition V11.5 Installation Kit](https://www.ibm.com/account/reg/sg-en/signup?formid=urx-33669) Alternatively, follow instructions below to download both server and client install kits:
- Select [Downloading IBM Db2 Version 11.5 for Linux, UNIX, and Windows](https://www.ibm.com/support/pages/downloading-ibm-db2-version-115-linux-unix-and-windows).
- You should find link for [To download Db2 recommended fix packs](https://www.ibm.com/support/pages/node/360045), 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](https://docs.microsoft.com/cli/azure/install-azure-cli?view=azure-cli-latest)
- Install [`jq`](https://stedolan.github.io/jq/download/)## Before using sample parameters.json
- 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
## Deploy using template, parameters & script
With the provided ARM template and parameters,
- Using deploy.azcli to deploy
```
deploy.azcli -n -f -i -g -l
```## After deployment
- If you check the resource group in [azure portal](https://portal.azure.com/), 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](https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.5.0/com.ibm.swg.im.dbclient.install.doc/doc/t0070357.html). To install IBM DB2 Data Server Client, first download it from [IBM website](https://www-01.ibm.com/marketing/iwm/iwm/web/download.do?source=swg-idsc97&transactionid=456003434&pageType=urx&S_PKG=linuxamd) with IBM id and upload to secure cloud storage (e.g., [Azure Storage](https://azure.microsoft.com/en-us/services/storage/)), then locate to [client](https://github.com/majguo/arm-ubuntu-db2/tree/master/client) directory and run the following commands to install on Ubuntu 18.04 LTS server:
```
installClient.sh -l -u -g -p
```