1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Red Hat OpenShift on IBM CloudにLicense Service for stand-alone productsをインストールする

Posted at

目的

OpenShiftでIBM Cloud Pakシリーズを使う場合はLicense Serviceをインストールしますが、Pakではない製品、例えばWebSphere Hybrid Editionのような製品を使う場合は、スタンドアローン版のLicense Serviceをインストールする必要があります。今回はそれをRed Hat OpenShift on IBM Cloudにインストールしてみます。

手順

参考

インストールシナリオ

いくつかのインストールシナリオがあります。

  • Automatic installation using Operator Lifecycle Manager (OLM)
  • Manual installation on OpenShift Container Platform (OCP) version 4.6 or higher
  • Manual installation without the Operator Lifecycle Manager (OLM)
  • Manual installation on Kubernetes from scratch with kubectl
  • Offline installation

今回は最も簡単なAutomatic installation using Operator Lifecycle Manager (OLM)で実施します。

インストールスクリプトのダウンロード

$ curl -O https://raw.githubusercontent.com/IBM/ibm-licensing-operator/latest/common/scripts/ibm_licensing_operator_install.sh
$ chmod +x ./ibm_licensing_operator_install.sh

IBM Licensing Operatorのインストール

クラスターにログイン後、スクリプトを実行します。

$ ./ibm_licensing_operator_install.sh
Creating namespace ibm-common-services
namespace/ibm-common-services created
Check if OLM is installed
OLM should be working
Waiting for opencloud Catalog Source deployment to be ready
opencloud Catalog Source state: READY
opencloud Catalog Source initialized
operatorgroup.operators.coreos.com/operatorgroup created
subscription.operators.coreos.com/ibm-licensing-operator-app created
Checking Subscription and CSV status
ibm-licensing-operator.v1.10.0 phase: Waiting for CSV to appear
ibm-licensing-operator.v1.10.0 phase: Installing
ibm-licensing-operator.v1.10.0 phase: Succeeded
Subscription and CSV should work
ibmlicensing.operator.ibm.com/instance created
Checking IBMLicensing instance status
IBMLicensing Pod phase: Pending
IBMLicensing Pod phase: Running
License Service secret for accessing the API is: **********************
License Service Route URL for accessing the API is: https://ibm-licensing-service-instance-ibm-common-services.********-********-0000.jp-tok.containers.appdomain.cloud
IBM License Service should be running, you can check post installation section in README to see possible configurations of IBM Licensing instance, and how to configure ingress/route if needed

下から3行目のシークレットをメモしておきます。

IBM License Serviceへのアクセス

先ほどのログにURLが出ていますので、ブラウザでアクセスします。デフォルトでは自己署名証明書なので警告が出たら無視して継続してください。

image.png

いずれかのリンクを選択してください。Basic認証が求められるので、先ほどメモしたシークレットを入力してください。

image.png

以上です。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?