MENU
      Search Engine Clusterノードタイプの変更
        • PDF

        Search Engine Clusterノードタイプの変更

        • PDF

        記事の要約

        VPC環境で利用できます。

        説明

        Search Engine Clusterのノード別タイプを変更します。

        注意

        タイプとタイプ変更関連の注意事項は次の通りです。

        • OpenSearchが提供するタイプで、Hot、Warm、Cold方式をサポートします。
          • Cold方式は今後 ObjectStorageの保存方法として提供される予定です。
        • Manager Nodeはタイプを変更できません (Data Nodeのみタイプ変更可能)。
        • タイプ変更による問題発生時、テクニカルサポートが困難な場合がありますので、変更の際にはご注意ください。

        リクエスト

        リクエスト URL

        POST https://vpcsearchengine.apigw.ntruss.com/api/v2/cluster/setHotWarmNode [KR]
        POST https://vpcsearchengine.apigw.ntruss.com/api/sgn-v2/cluster/setHotWarmNode [SGN]
        POST https://vpcsearchengine.apigw.ntruss.com/api/jpn-v2/cluster/setHotWarmNode [JPN]
        HTTP

        リクエストヘッダ

        ヘッダ名説明
        x-ncp-apigw-timestamp
      • 1970年1月1日 00:00:00 協定世界時(UTC)からの経過時間をミリ秒(Millisecond)で表す
      • API Gatewayサーバとの時間差が5分以上の場合は無効なリクエストとみなす
        x-ncp-apigw-timestamp:{Timestamp}
      • x-ncp-iam-access-keyNAVERクラウドプラットフォームポータルで発行された Access Key ID
        x-ncp-iam-access-key:{Account Access Key}
        x-ncp-apigw-signature-v2Access Key IDと Secret Keyで暗号化した署名
        x-ncp-apigw-signature-v2:{API Gateway Signature}
        Content-TypeRequest body content typeは application/jsonに指定
        Content-Type: application/json

        リクエストパラメータ

        パラメータタイプ必須の有無説明
        serviceGroupInstanceNoStringY変更対象 Clusterの ServiceGroupInstanceNo
        List<nodeSpecList>nodeSpecListY変更対象の Cluster Node情報
        computeInstanceNoStringY変更対象 Nodeの instanceNo
        nodeStorageRoleStringY変更対象 Nodeの Type [HOT、WARM]

        リクエスト例

        POST https://vpcsearchengine.apigw.ntruss.com/api/v2/cluster/setHotWarmNode
        HOST: vpcsearchengine.apigw.ntruss.com
        Content-Type: application/json
        x-ncp-apigw-signature-v2: zq0FrtlU8JZJi9esTK31bCQUNG3H+jo4CMjMkJDoWSc=
        x-ncp-apigw-timestamp: 1709709398936
        x-ncp-iam-access-key: ANJNnR1jz1gUzaiS0aV2
        {
            "nodeSpecList": [
                {
                    "computeInstanceNo": "3427195",
                    "nodeStorageRole": "HOT"
                },
                {
                    "computeInstanceNo": "3427199",
                    "nodeStorageRole": "HOT"
                },
                {
                    "computeInstanceNo": "3427203",
                    "nodeStorageRole": "WARM"
                }
            ],
            "serviceGroupInstanceNo": "3427188"
        }
        HTTP
        curl -X 'POST' 'https://vpcsearchengine.beta-apigw.ntruss.com/api/v2/cluster/setHotWarmNode'
          -H 'accept: application/json'
          -H 'Content-Type: application/json'
          -H 'x-ncp-iam-access-key: ANJNnR1jz1gUzaiS0aV2'
          -H 'x-ncp-apigw-timestamp: 1709709398936'
          -H 'x-ncp-apigw-signature-v2: PnjA1Rz+J77Jb6kKVBtXkGJRDnEM80fA4PKd9KKkoM4='
          -d '{
            "nodeSpecList": [
                {
                    "computeInstanceNo": "3427195",
                    "nodeStorageRole": "HOT"
                },
                {
                    "computeInstanceNo": "3427199",
                    "nodeStorageRole": "HOT"
                },
                {
                    "computeInstanceNo": "3427203",
                    "nodeStorageRole": "WARM"
                }
            ],
            "serviceGroupInstanceNo": "3427188"
        }'
        Bash

        レスポンス例

        {
          "code": 0,
          "message": "SUCCESS",
          "result": true,
          "requestId": "dc0fe942-83b8-44bc-b895-5832659f99fa"
        }
        JSON

        失敗例

        {
          "code": 10130,
          "message": "無効なクラスタ番号です。",
          "result": null,
          "requestId": "cd8b84c9-5ff9-48d0-9ac1-8cc48acba49b"
        }
        JSON

        この記事は役に立ちましたか?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.