You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platform/azure/README.md
+40-33Lines changed: 40 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,9 @@ First, install the following software on your machine:
29
29
Then, [create an Azure account and pay as you go](https://azure.microsoft.com/en-us/pricing/purchase-options/pay-as-you-go/).
30
30
31
31
> [!NOTE]
32
-
> Prerequisites and software supported by ODM 9.0.0 are listed in [the Detailed System Requirements page](https://www.ibm.com/support/pages/ibm-operational-decision-manager-detailed-system-requirements).
32
+
> Prerequisites and software supported by ODM 9.5.0 are listed in [the Detailed System Requirements page](https://www.ibm.com/support/pages/ibm-operational-decision-manager-detailed-system-requirements).
After installing the Azure CLI, use the following command line:
59
58
60
-
```
59
+
```shell
61
60
az login [--tenant <name>.onmicrosoft.com]
62
61
```
63
62
64
63
A web browser opens where you can connect with your Azure credentials.
65
64
66
65
### Create a resource group
67
66
68
-
An Azure resource group is a logical group in which Azure resources are deployed and managed. When you create a resource group, you are asked to specify a location. This location is where resource group metadata is stored. It is also where your resources run in Azure, if you do not specify another region during resource creation. Create a resource group by running the `az group create` command.
67
+
An Azure resource group is a logical group in which Azure resources are deployed and managed. When you create a resource group, you will be prompted to specify a location. This location is where resource group metadata is stored. It is also where your resources run in Azure, if you do not specify another region during resource creation.
69
68
70
69
To get a list of available locations, run:
71
70
72
71
```shell
73
72
az account list-locations -o table
74
73
```
75
74
76
-
Then, create the resource group:
75
+
Then, create a resource group by running the following command:
77
76
78
77
```shell
79
-
az group create --name <resourcegroup> --location <azurelocation>[--tags Owner=<email> Team=DBA Usage=demo Usage_desc="Azure customers support" Delete_date=2023-12-31]
78
+
az group create --name <resourcegroup> --location <azurelocation> --tags Owner=<email> Team=<team> Usage=demo Usage_desc="Azure customers support" Delete_date=2025-12-31
80
79
```
81
80
82
81
The following example output shows that the resource group has been created successfully:
@@ -90,32 +89,40 @@ The following example output shows that the resource group has been created succ
90
89
"properties": {
91
90
"provisioningState": "Succeeded"
92
91
},
93
-
"tags": null
92
+
"tags": {
93
+
"Delete_date": "2025-12-31",
94
+
"Owner": "<email>",
95
+
"Team": "<team>",
96
+
"Usage": "demo",
97
+
"Usage_desc": "Azure customers support"
98
+
},
99
+
"type": "Microsoft.Resources/resourceGroups"
94
100
}
95
101
```
96
102
97
103
### Create an AKS cluster
98
104
99
-
Use the `az aks create` command to create an AKS cluster. The following example creates a cluster named <cluster> with two nodes. Azure Monitor for containers is also enabled using the `--enable-addons monitoring` parameter. The operation takes several minutes to complete.
100
-
101
-
> [!NOTE]
102
-
> During the creation of the AKS cluster, a second resource group is automatically created to store the AKS resources. For more information, see [Why are two resource groups created with AKS](https://docs.microsoft.com/en-us/azure/aks/faq#why-are-two-resource-groups-created-with-aks).
105
+
Use the `az aks create` command to create an AKS cluster. The following example creates a cluster named <cluster> with two nodes. Azure Monitor for containers can also be enabled by using the `--enable-addons monitoring` parameter. The operation takes several minutes to complete.
103
106
104
107
```shell
105
108
az aks create --name <cluster> --resource-group <resourcegroup> --node-count 2 \
> During the creation of the AKS cluster, a second resource group is automatically created to store the AKS resources. For more information, see [Why are two resource groups created with AKS](https://docs.microsoft.com/en-us/azure/aks/faq#why-are-two-resource-groups-created-with-aks).
108
113
109
-
After a few minutes, the command completes and returns JSON-formatted information about the cluster. Make a note of the newly-created Resource Group that is displayed in the JSON output (e.g. "nodeResourceGroup": "<noderesourcegroup>") if you have to tag it, for example:
114
+
After a few minutes, the command completes and returns JSON-formatted information about the cluster.
115
+
116
+
Make a note of the newly-created Resource Group that is displayed in the JSON output (e.g. `"nodeResourceGroup": "<noderesourcegroup>"`). You can update the resource with additional tags. For example:
To manage a Kubernetes cluster, use `kubectl`, the Kubernetes command-line client. If you use Azure Cloud Shell, kubectl is already installed. To install kubectl locally, use the `az aks install-cli` command:
125
+
To manage a Kubernetes cluster, you will need to use `kubectl`, the Kubernetes command-line client. If you use `Azure Cloud Shell`, kubectl is already installed. Otherwise, to use `kubectl` locally, run the the following command to install the client:
119
126
120
127
```shell
121
128
az aks install-cli
@@ -137,8 +144,8 @@ The following example output shows the single node created in the previous steps
Make a note of the server name that is displayed in the JSON output (e.g. "fullyQualifiedDomainName": "<postgresqlserver>.postgres.database.azure.com") as it will be used later to deploy ODM with `helm install`.
264
+
Make a note of the server name that is displayed in the JSON output (e.g. `"fullyQualifiedDomainName": "<postgresqlserver>.postgres.database.azure.com"`) as it will be used later to deploy ODM with `helm install`.
258
265
259
266
### Create a firewall rule that allows access from Azure services
*\<entitlementkey\> is the entitlement key from the previous step. Make sure you enclose the key in double-quotes.
300
306
*\<email\> is the email address associated with your IBMid.
301
307
302
308
> [!NOTE]
303
-
> The cp.icr.io value for the docker-server parameter is the only registry domain name that contains the images. You must set the docker-username to `cp` to use an entitlement key as docker-password.
309
+
> The `cp.icr.io` value for the `docker-server` parameter is the only registry domain name that contains the images. You must set the `docker-username` to `cp` to use an entitlement key as docker-password.
310
+
311
+
Make a note of the secret name so that you can set it for the `image.pullSecrets` parameter when you run a helm install of your containers. The `image.repository` parameter should be set to `cp.icr.io/cp/cp4a/odm`.
304
312
305
-
Make a note of the secret name so that you can set it for the image.pullSecrets parameter when you run a helm install of your containers. The image.repository parameter will later be set to cp.icr.io/cp/cp4a/odm.
@@ -406,7 +413,7 @@ You can then open a browser on `https://xxx.xxx.xxx.xxx:9453` to access Decision
406
413
407
414
This section explains how to track ODM usage with the IBM License Service.
408
415
409
-
Follow the **Installation** section of the [Installation License Service without Operator Lifecycle Manager (OLM)](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.9?topic=ils-installing-license-service-without-operator-lifecycle-manager-olm) documentation.
416
+
Follow the **Installation** section of the [Installation License Service without Operator Lifecycle Manager (OLM)](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.11.0?topic=ilsfpcr-installing-license-service-without-operator-lifecycle-manager-olm) documentation.
410
417
411
418
#### a. Expose the licensing service using the AKS LoadBalancer
412
419
@@ -420,7 +427,7 @@ Wait a couple of minutes for the changes to be applied.
420
427
Then, you should see an EXTERNAL-IP available for the exposed licensing service.
Wait a couple of minutes for the changes to be applied.
437
444
438
-
You can find more information and use cases on [this page](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.9?topic=configuration-configuring-kubernetes-ingress).
445
+
You can find more information and use cases on [this page](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.11.0?topic=configuring-kubernetes-ingress).
439
446
440
447
> **Note**
441
448
> If you choose to use the NGINX Ingress Controller, you must use the [licensing-instance-nginx.yaml](./licensing-instance-nginx.yaml) file. Refer to [Track ODM usage with the IBM License Service with NGINX Ingress Controller](README-NGINX.md#track-odm-usage-with-the-ibm-license-service-with-nginx-ingress-controller).
442
449
443
450
### Retrieve license usage
444
451
445
-
You will be able to access the IBM License Service by retrieving the URL with this command:
452
+
You will be able to access the IBM License Service by retrieving the URL and the required token with this command:
446
453
447
454
```bash
448
455
export LICENSING_URL=$(kubectl get service ibm-licensing-service-instance -n ibm-licensing -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
449
456
export TOKEN=$(kubectl get secret ibm-licensing-token -n ibm-licensing -o jsonpath='{.data.token}'|base64 -d)
450
457
```
451
458
452
459
> **Note**
453
-
> If `LICENSING_URL` is empty, take a look at the [troubleshooting](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.9?topic=service-troubleshooting-license) page.
460
+
> If `LICENSING_URL` is empty, take a look at the [troubleshooting](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.11.0?topic=service-troubleshooting-license) page.
454
461
455
462
You can access the `http://${LICENSING_URL}:8080/status?token=${TOKEN}` URL to view the licensing usage or retrieve the licensing report .zip file by running:
If your IBM License Service instance is not running properly, refer to this [troubleshooting page](https://www.ibm.com/docs/en/cpfs?topic=software-troubleshooting).
468
+
If your IBM License Service instance is not running properly, refer to this [troubleshooting page](https://www.ibm.com/docs/en/cloud-paks/foundational-services/4.11.0?topic=service-troubleshooting-license).
0 commit comments