---
title: Intergraph Smart Licensing Cloud
description: この連携により、OpenLM は Intergraph Smart Licensing Cloud のライセンス使用状況と統計を監視できます。
product: OpenLM Version 25 / v26 (legacy)
---

> **OpenLM Version 25 / v26（レガシー）。** このページは OpenLM Platform ではなくレガシー製品について説明しています。

この連携により、OpenLM は Intergraph Smart® Licensing Cloud のライセンス使用状況と統計情報を監視できます。

## 要件

1. 組織内のマシンに OpenLM Server v5.0 以降をインストール済み。
2. Intergraph Smart Licensing Cloud API にインターネット接続できるマシンに OpenLM Broker v4.11 以降をインストール済み。

## 監視機能と特徴

| 機能 | 粒度 | ライセンス総数 | ライセンス使用状況 | 拒否レポート | 借用ライセンスのレポート | 有効期限のレポート |
| --- | --- | --- | --- | --- | --- | --- |
| 対応 | 秒 | ✔ | ✔ | ❌ | ❌ | ✔ |

## OpenLM Broker の設定

*OpenLM と Intergraph Smart Licensing Cloud の連携図*

OpenLM Broker は Intergraph Smart Licensing Cloud の API を介して通信します。最初に Intergraph ポータルで API クライアントを作成し、**Client ID** と **Client Secret** を取得してください。

:::note
OpenLM Broker は事前に[インストール](https://www.openlm.com/application-notes-v3-0/installing-openlm-v3-0/broker-comprehensive-installation-guide-an4004b/)し、OpenLM Server にレポートするよう[設定](https://openlm.com/documentation/ja/legacy/openlm-broker/openlm-broker-configuration)しておく必要があります。
:::

### API client ID と secret の取得

1. [https://licensing.hexagonppm.com/](https://licensing.hexagonppm.com/) にアクセスします。
2. 資格情報でログインします。
3. 左メニューを展開し、**API Clients** をクリックします。  

4. 右下の青い **(+)** ボタンをクリックして新しいクライアントを追加します。
5. トークン期間を **1 day** に設定して **OK** をクリックします。
6. 生成された **Client ID** と **Secret** を記録します。

### Broker の設定

1. **OpenLM Broker Configuration** を開きます（**Windows Start → OpenLM → OpenLM Broker**）。
2. **Add Port** をクリックします。
3. 任意のポート番号を入力します（この連携では値は重要ではありません）。
4. **License Manager Type** を **Intergraph** に設定します。
5. **Apply** をクリックします。
6. テキストエディタで Broker フォルダ（`C:\Program Files\OpenLM\OpenLM Broker\`）内の `intergraph@XXXX.properties` を開きます。`XXXX` は設定したポート番号です。
7. 次のキーに Client ID と Secret を設定します:
    ```
    oauth.client_id=your_client_id
    oauth.client_secret=your_client_secret
    ```
8. ファイルを保存します。
9. Broker 設定で **Commands** の **data_inquiry** を選択します。
10. `{$company_code}` を自社の company code に置換します:
    - Licensing Portal にログインします。
    - サイドバーの **Live Usage** をクリックします。
    - 対象の会社を選択します。
    - ページタイトルに company code が含まれます（例: `OPENLM - All Cloud Locations`）。
    - 会社名にスペースや特殊文字が含まれる場合は “Licensing Portal API Documentation” のエスケープ規則に従います。
11. コマンド例:
    ```
    https://ppm-licensingportalapi-prod.hexagonsmartlicensing.com/Servers/CompanyLicenseUsage(companyCode='OPENLM')
    ```
12. **Apply** → **Restart Broker** をクリックします。
13. **data_inquiry** の **Execute** をクリックしてクエリがデータを返すことを確認します。

## OpenLM Server の設定

### EasyAdmin による自動設定

1. **EasyAdmin** を開きます（**Windows Start → OpenLM → OpenLM EasyAdmin User Interface**）。
2. **License Servers** ウィンドウで新しい Intergraph サーバーの赤い行をクリックします。
3. **Approve** をクリックします。

これで設定が有効になり、EasyAdmin と OpenLM Server 設定ツールの両方に表示されます。

## 設定の確認

1. **EasyAdmin** を開きます（`http://<OpenLM Server host>:7019/EasyAdmin2/` にアクセスしても可）。
2. **Start → Widgets → License Servers** に移動します。
3. Intergraph Smart Licensing Cloud サーバーが表示され、緑色のステータス表示になっていることを確認します。

:::note
新しい接続の後、EasyAdmin にアクティブとして表示されるまで最大 3 分かかることがあります。
:::
