ルーターで IPv6 を使用する
デフォルトでは、Apigee Edge for Private Cloud へのすべてのランタイム API 呼び出しは IPv4 を使用します。Router で conf_load_balancing_load.balancing.driver.nginx.listen.endpoint.all.interfaces.enabled
プロパティを true
に設定すると、Router に IPv6 サポートを追加できます。
Router で IPv6 を有効にするには:
- Router にログインします。
router.properties
構成ファイルをエディタで開きます。
vi /opt/apigee/customer/application/router.properties
ファイルが存在しない場合は作成します。
- 次のプロパティを
true
に設定します。
conf_load_balancing_load.balancing.driver.nginx.listen.endpoint.all.interfaces.enabled
例:
conf_load_balancing_load.balancing.driver.nginx.listen.endpoint.all.interfaces.enabled=true
- 変更をプロパティ ファイルに保存します。
- 次のコマンドを実行して、Router を再起動します。
/opt/apigee/apigee‑service/bin/apigee‑service edge‑router restart
再起動中、次のような出力が表示されます。
[ChangeDelta, position: 775, lines:
[load.balancing.driver.nginx.listen.endpoint.all.interfaces.enabled=false] to
[load.balancing.driver.nginx.listen.endpoint.all.interfaces.enabled=true]]
- 受信 API リクエストが IPv6 アドレス / ポートに解決されるように、Router の IP アドレスとポートを設定します。受信 API リクエストは IPv6 対応クライアントから送信する必要があります。
- Router の IPv6 アドレスとポートに対する API リクエストを作成して、構成をテストします。
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-03 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"必要な情報がない"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"複雑すぎる / 手順が多すぎる"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"最新ではない"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻訳に関する問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"サンプル / コードに問題がある"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"その他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"わかりやすい"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"問題の解決に役立った"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"その他"
}]