Available in VPC
Note
Cloud DB for Cache CLI offers two versions based on the supported DBMS range.
- rebootCloudCacheServerInstance CLI: Support for Valkey and Redis DBMS
- rebootCloudRedisServerInstance CLI: Support for Redis DBMS
rebootCloudCacheServerInstance CLI
This section describes the request and response formats for the rebootCloudCacheServerInstance CLI.
Request
Request parameters
| Parameter name | Required | Type | Restrictions | Description |
|---|---|---|---|---|
| regionCode | No | String | - Region code regionCode can be obtained through the getRegionList action. Default: Select the first Region of the getRegionList search results. |
|
| cloudCacheServerInstanceNo | Yes | String | - Cloud DB for Cache server instance number to restart Data loss may occur due to restart, and in the case of Stand Alone, all data will be deleted. If the master server of the Cache Cluster product is restarted, it proceeds after a failover (in case HA is supported), so the role is changed after the restart. cloudCacheServerInstanceNo can be obtained through the getCloudCacheInstanceList action. |
|
| output | No | String | - Format type of the response result Options: xml | json Default: json |
Response
Response data type
- CloudCacheInstanceList type
| 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; |
Examples
Call examples
ncloud vcache rebootCloudCacheServerInstance --regionCode KR --cloudCacheServerInstanceNo ***821
Response example
<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>