rebootCloudCacheServerInstance

Prev Next

VPC環境で利用できます。

参考

Cloud DB for Cache CLIは、対応する DBMSの範囲に応じて2つのバージョンを提供しています。

  • rebootCloudCacheServerInstance CLI: Valkey、Redis DBMSを利用可能
  • rebootCloudRedisServerInstance CLI: Redis DBMSを利用可能

rebootCloudCacheServerInstance CLI

rebootCloudCacheServerInstance CLIのリクエストおよびレスポンス形式を説明します。

リクエスト

リクエストパラメータ

パラメータ名 必須の有無 タイプ 制限事項 説明
regionCode No String - リージョンコード
regionCodeはgetRegionListアクションを通じて取得可能
デフォルト: getRegionList照会結果の最初のリージョンを選択
cloudCacheServerInstanceNo Yes String - 再起動対象の Cloud DB for Cacheサーバインスタンス番号
再起動による Data消失が発生する可能性があり、StandAloneの場合はすべての Dataが削除される。
Cache Cluster商品で Masterを再起動する場合は failover後に行うため(HAをサポートする場合)、再起動後に Roleが変更される。
cloudCacheServerInstanceNoはgetCloudCacheInstanceListアクションを通じて取得可能
output No String - レスポンス結果の形式タイプ
オプション: xml | json
デフォルト: json

レスポンス

レスポンスデータタイプ

  • CloudCacheInstanceListタイプ
CloudCacheInstanceList extends CommonResponse
private Integer totalRows;
private List<CloudCacheInstance> cloudCacheInstanceList = new ArrayList<>();
CloudCacheInstance
private String cloudCacheInstanceNo;
private String cloudCacheServiceName;
private String cloudCacheInstanceStatusName;
private CommonCode cloudCacheInstanceStatus;
private CommonCode cloudCacheInstanceOperation;
private String cloudCacheImageProductCode;
private String engineVersion;
private CommonCode licence;
private Integer cloudCachePort;
private Boolean isHa;
private String cloudCacheServerPrefix;
private Boolean isBackup;
private Integer backupFileRetentionPeriod;
private String backupTime;
private String backupSchedule;
private String generationCode;
private Date createDate;
private Integer shardCount;
private Integer shardCopyCount;
private AccessControlGroupNoList accessControlGroupNoList;
private String configGroupNo;
private String configGroupName;
private CommonCode role;
private List<CloudCacheInstance> cloudCacheServerInstanceList;
AccessControlGroupNoList
private List<String> accessControlGroupNoList = new ArrayList<>();
CloudCacheServerInstance
private String cloudCacheServerInstanceNo;
private String cloudCacheServerName;
private CommonCode cloudCacheServerRole;
private String cloudCacheServerInstanceStatusName;
private CommonCode cloudCacheServerInstanceStatus;
private CommonCode cloudCacheServerInstanceOperation;
private String cloudCacheProductCode;
private String regionCode;
private String zoneCode;
private String vpcNo;
private String subnetNo;
private String privateDomain;
private Integer cpuCount;
private Long memorySize;
private Long osMemorySize;
private Date uptime;
private Date createDate;
private String slotName;

呼び出し例

ncloud vcache rebootCloudCacheServerInstance --regionCode KR --cloudCacheServerInstanceNo ***821

レスポンス例


<rebootCloudCacheServerInstanceResponse>
    <requestId>f88759fb-fced-43fa-8d2d-ae415250adb6</requestId>
    <returnCode>0</returnCode>
    <returnMessage>success</returnMessage>
    <totalRows>1</totalRows>
    <cloudCacheInstanceList>
        <cloudCacheInstance>
            <cloudCacheInstanceNo>2192***</cloudCacheInstanceNo>
            <cloudCacheServiceName>dsd***</cloudCacheServiceName>
            <cloudCacheInstanceStatusName>shuttingDown</cloudCacheInstanceStatusName>
            <cloudCacheInstanceStatus>
                <code>CREAT</code>
                <codeName>CLOUD DATABASE(VPC) Created State</codeName>
            </cloudCacheInstanceStatus>
            <cloudCacheInstanceOperation>
                <code>NULL</code>
                <codeName>CLOUD DATABASE(VPC) Null OP</codeName>
            </cloudCacheInstanceOperation>
            <cloudCacheImageProductCode>SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050</cloudCacheImageProductCode>
            <engineVersion>CACHE 4.0.14</engineVersion>
            <licence>
                <code>BSD</code>
                <codeName>Berkeley Software Distribution</codeName>
            </licence>
            <cloudCachePort>6379</cloudCachePort>
            <isHa>false</isHa>
            <isBackup>false</isBackup>
            <backupTime>01:00</backupTime>
            <backupFileRetentionPeriod>1</backupFileRetentionPeriod>
            <backupSchedule>AUTO</backupSchedule>
            <cloudCacheServerPrefix>dsaj****</cloudCacheServerPrefix>
            <role>
                <code>CLUSTER</code>
                <codeName>CLOUD CACHE(VPC) Cluster Role</codeName>
            </role>
            <createDate>2022-02-21T14:58:44+0900</createDate>
            <accessControlGroupNoList>
                <accessControlGroupNo>14704</accessControlGroupNo>
            </accessControlGroupNoList>
            <masterNodeCount>3</masterNodeCount>
            <slaveNodeCount>0</slaveNodeCount>
            <configGroupNo>4**</configGroupNo>
            <configGroupName>ffsd***</configGroupName>
            <generationCode>G2</generationCode>
            <cloudCacheServerInstanceList>
                <cloudCacheServerInstance>
                    <cloudCacheServerInstanceNo>2192***</cloudCacheServerInstanceNo>
                    <cloudCacheServerName>dsajc***-001-001-rm1</cloudCacheServerName>
                    <cloudCacheServerRole>
                        <code>M</code>
                        <codeName>Master</codeName>
                    </cloudCacheServerRole>
                    <cloudCacheServerInstanceStatusName>shuttingDown</cloudCacheServerInstanceStatusName>
                    <cloudCacheServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudCacheServerInstanceStatus>
                    <cloudCacheServerInstanceOperation>
                        <code>STOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Stop OP</codeName>
                    </cloudCacheServerInstanceOperation>
                    <cloudCacheProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudCacheProductCode>
                    <regionCode>KR</regionCode>
                    <vpcNo>16**</vpcNo>
                    <subnetNo>55**</subnetNo>
                    <privateDomain>cachec-****.vpc-cdb.ntruss.com</privateDomain>
                    <cpuCount>4</cpuCount>
                    <memorySize>1610612736</memorySize>
                    <osMemorySize>2147483648</osMemorySize>
                    <uptime>2022-02-21T15:11:52+0900</uptime>
                    <createDate>2022-02-21T14:58:44+0900</createDate>
                    <slotName>0-5460</slotName>
                </cloudCacheServerInstance>
                <cloudCacheServerInstance>
                    <cloudCacheServerInstanceNo>2192***</cloudCacheServerInstanceNo>
                    <cloudCacheServerName>dsajc***-002-001-rm2</cloudCacheServerName>
                    <cloudCacheServerRole>
                        <code>M</code>
                        <codeName>Master</codeName>
                    </cloudCacheServerRole>
                    <cloudCacheServerInstanceStatusName>running</cloudCacheServerInstanceStatusName>
                    <cloudCacheServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudCacheServerInstanceStatus>
                    <cloudCacheServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudCacheServerInstanceOperation>
                    <cloudCacheProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudCacheProductCode>
                    <regionCode>KR</regionCode>
                    <vpcNo>16**</vpcNo>
                    <subnetNo>55**</subnetNo>
                    <privateDomain>cachec-****.vpc-cdb.ntruss.com</privateDomain>
                    <cpuCount>4</cpuCount>
                    <memorySize>1610612736</memorySize>
                    <osMemorySize>2147483648</osMemorySize>
                    <uptime>2022-02-21T15:11:52+0900</uptime>
                    <createDate>2022-02-21T14:58:44+0900</createDate>
                    <slotName>5461-10922</slotName>
                </cloudCacheServerInstance>
                <cloudCacheServerInstance>
                    <cloudCacheServerInstanceNo>2192***</cloudCacheServerInstanceNo>
                    <cloudCacheServerName>dsaj***-003-001-rm3</cloudCacheServerName>
                    <cloudCacheServerRole>
                        <code>M</code>
                        <codeName>Master</codeName>
                    </cloudCacheServerRole>
                    <cloudCacheServerInstanceStatusName>running</cloudCacheServerInstanceStatusName>
                    <cloudCacheServerInstanceStatus>
                        <code>RUN</code>
                        <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                    </cloudCacheServerInstanceStatus>
                    <cloudCacheServerInstanceOperation>
                        <code>NOOP</code>
                        <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                    </cloudCacheServerInstanceOperation>
                    <cloudCacheProductCode>SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G002</cloudCacheProductCode>
                    <regionCode>KR</regionCode>
                    <vpcNo>16**</vpcNo>
                    <subnetNo>55**</subnetNo>
                    <privateDomain>cachec-****.vpc-cdb.ntruss.com</privateDomain>
                    <cpuCount>4</cpuCount>
                    <memorySize>1610612736</memorySize>
                    <osMemorySize>2147483648</osMemorySize>
                    <uptime>2022-02-21T15:11:52+0900</uptime>
                    <createDate>2022-02-21T14:58:44+0900</createDate>
                    <slotName>10923-16383</slotName>
                </cloudCacheServerInstance>
            </cloudCacheServerInstanceList>
        </cloudCacheInstance>
    </cloudCacheInstanceList>
</rebootCloudCacheServerInstanceResponse>