Cloud DB for Cache 서버 인스턴스를 재시작합니다.
Cloud DB for Cache CLI는 지원하는 DBMS 범위에 따라 두 가지 버전을 제공합니다.
- rebootCloudCacheServerInstance CLI: Valkey, Redis DBMS 이용 가능
- rebootCloudRedisServerInstance CLI: Redis DBMS 이용 가능
rebootCloudCacheServerInstance CLI
rebootCloudCacheServerInstance CLI의 명령 구문과 옵션, 명령 및 출력 예시를 설명합니다.
구문
rebootCloudCacheServerInstance 구문은 다음과 같습니다.
./ncloud vcache rebootCloudCacheServerInstance \
--cloudCacheServerInstanceNo <server-instance-no> \
[--regionCode <FKR>] \
[--output <json|xml>]
옵션
rebootCloudCacheServerInstance 실행 시 지정할 수 있는 옵션을 설명합니다.
필수 옵션
rebootCloudCacheServerInstance의 필수 옵션입니다.
| 옵션 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
--cloudCacheServerInstanceNo |
String | Required | Cloud DB for Cache 서버 인스턴스 번호
|
공통 옵션
vcache 명령에서 공통으로 사용하는 옵션에 대한 정보는 Cloud DB for Cache 옵션을 참조해 주십시오.
예시
Cloud DB for Cache 서버 인스턴스 재시작 요청이 성공하면 Cloud DB for Cache 인스턴스의 구성 정보와 각 서버 인스턴스의 상세 정보가 반환됩니다.
명령
명령 예시는 다음과 같습니다.
./ncloud vcache rebootCloudCacheServerInstance \
--cloudCacheServerInstanceNo 35678901 \
--regionCode FKR \
--output json
출력
출력 예시는 다음과 같습니다.
{
"rebootCloudCacheServerInstanceResponse": {
"totalRows": 1,
"cloudCacheInstanceList": [
{
"cloudCacheInstanceNo": "34567890",
"cloudCacheServiceName": "test-cache-01",
"cloudCacheInstanceStatusName": "shuttingDown",
"cloudCacheInstanceStatus": {
"code": "CREAT",
"codeName": "CLOUD DATABASE(VPC) Created 상태"
},
"cloudCacheInstanceOperation": {
"code": "NULL",
"codeName": "CLOUD DATABASE(VPC) Null OP"
},
"cloudCacheImageProductCode": "SW.VRDS.OS.LNX64.ROCKY.0810.VALKY.B050",
"engineVersion": "VALKEY 7.2.11",
"license": {
"code": "BSD",
"codeName": "라이센스코드-CLOUD DATABASE(VPC)"
},
"cloudCachePort": 13306,
"isHa": true,
"isBackup": true,
"backupTime": "10:30",
"backupFileRetentionPeriod": 1,
"backupSchedule": "USER",
"cloudCacheServerPrefix": "testcache",
"generationCode": "G2",
"role": {
"code": "CLUSTER",
"codeName": "Cluster Role-CLOUD Cache(VPC)"
},
"createDate": "2026-06-22T14:02:02+0900",
"accessControlGroupNoList": [
"67890123"
],
"masterNodeCount": 3,
"slaveNodeCount": 3,
"configGroupNo": "11099",
"configGroupName": "test-cfg-01",
"cloudCacheServerInstanceList": [
{
"cloudCacheServerInstanceNo": "34567891",
"cloudCacheServerName": "testcache-001-001-3oo5",
"cloudCacheServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudCacheServerInstanceStatusName": "shuttingDown",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "STOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Stop OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:08:22+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "0-5460"
},
{
"cloudCacheServerInstanceNo": "34567892",
"cloudCacheServerName": "testcache-002-001-3oo6",
"cloudCacheServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:09:17+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "5461-10922"
},
{
"cloudCacheServerInstanceNo": "34567893",
"cloudCacheServerName": "testcache-003-001-3oo7",
"cloudCacheServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:08:02+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "10923-16383"
},
{
"cloudCacheServerInstanceNo": "34567894",
"cloudCacheServerName": "testcache-001-002-3oo8",
"cloudCacheServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:09:17+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "0-5460"
},
{
"cloudCacheServerInstanceNo": "34567895",
"cloudCacheServerName": "testcache-002-002-3oo9",
"cloudCacheServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:08:11+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "5461-10922"
},
{
"cloudCacheServerInstanceNo": "34567896",
"cloudCacheServerName": "testcache-003-002-3ooa",
"cloudCacheServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudCacheServerInstanceStatusName": "running",
"cloudCacheServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudCacheServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudCacheProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-22T14:08:11+0900",
"createDate": "2026-06-22T14:02:02+0900",
"slotName": "10923-16383"
}
]
}
],
"requestId": "7330cdbc-493c-4022-91f4-1a2aa1b297fb",
"returnCode": "0",
"returnMessage": "success"
}
}
rebootCloudRedisServerInstance CLI
rebootCloudRedisServerInstance CLI의 명령 구문과 옵션, 명령 및 출력 예시를 설명합니다.
구문
rebootCloudRedisServerInstance 구문은 다음과 같습니다.
./ncloud vredis rebootCloudRedisServerInstance \
--cloudRedisServerInstanceNo <server-instance-no> \
[--regionCode <FKR>] \
[--output <json|xml>]
옵션
rebootCloudRedisServerInstance 실행 시 지정할 수 있는 옵션을 설명합니다.
필수 옵션
rebootCloudRedisServerInstance의 필수 옵션입니다.
| 옵션 | 타입 | 필수 여부 | 설명 |
|---|---|---|---|
--cloudRedisServerInstanceNo |
String | Required | Cloud DB for Cache 서버 인스턴스 번호
|
공통 옵션
vredis 명령에서 공통으로 사용하는 옵션에 대한 정보는 Cloud DB for Cache 옵션을 참조해 주십시오.
예시
Cloud DB for Cache 서버 인스턴스 재시작 요청이 성공하면 Cloud DB for Cache 인스턴스의 구성 정보와 각 서버 인스턴스의 상세 정보가 반환됩니다.
명령
명령 예시는 다음과 같습니다.
./ncloud vredis rebootCloudRedisServerInstance \
--cloudRedisServerInstanceNo 34567891 \
--regionCode FKR \
--output json
출력
출력 예시는 다음과 같습니다.
{
"rebootCloudRedisServerInstanceResponse": {
"totalRows": 1,
"cloudRedisInstanceList": [
{
"cloudRedisInstanceNo": "34567890",
"cloudRedisServiceName": "test-redis-01",
"cloudRedisInstanceStatusName": "shuttingDown",
"cloudRedisInstanceStatus": {
"code": "CREAT",
"codeName": "CLOUD DATABASE(VPC) Created 상태"
},
"cloudRedisInstanceOperation": {
"code": "NULL",
"codeName": "CLOUD DATABASE(VPC) Null OP"
},
"cloudRedisImageProductCode": "SW.VRDS.OS.LNX64.ROCKY.0810.REDIS.B050",
"engineVersion": "REDIS 7.2.11",
"license": {
"code": "BSD",
"codeName": "라이센스코드-CLOUD DATABASE(VPC)"
},
"cloudRedisPort": 13306,
"isHa": true,
"isBackup": true,
"backupTime": "10:30",
"backupFileRetentionPeriod": 1,
"backupSchedule": "USER",
"cloudRedisServerPrefix": "testredis",
"generationCode": "G2",
"role": {
"code": "CLUSTER",
"codeName": "Cluster Role-CLOUD Cache(VPC)"
},
"createDate": "2026-06-25T17:02:51+0900",
"accessControlGroupNoList": [
"67890123"
],
"masterNodeCount": 3,
"slaveNodeCount": 3,
"configGroupNo": "11099",
"configGroupName": "test-cfg-01",
"cloudRedisServerInstanceList": [
{
"cloudRedisServerInstanceNo": "34567891",
"cloudRedisServerName": "testredis-001-001-3ox8",
"cloudRedisServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudRedisServerInstanceStatusName": "shuttingDown",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "STOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Stop OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:24+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "0-5460"
},
{
"cloudRedisServerInstanceNo": "34567892",
"cloudRedisServerName": "testredis-002-001-3ox9",
"cloudRedisServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:21+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "5461-10922"
},
{
"cloudRedisServerInstanceNo": "34567893",
"cloudRedisServerName": "testredis-003-001-3oxa",
"cloudRedisServerRole": {
"code": "M",
"codeName": "Master"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:37+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "10923-16383"
},
{
"cloudRedisServerInstanceNo": "34567894",
"cloudRedisServerName": "testredis-001-002-3oxb",
"cloudRedisServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:56+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "0-5460"
},
{
"cloudRedisServerInstanceNo": "34567895",
"cloudRedisServerName": "testredis-002-002-3oxc",
"cloudRedisServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:08:49+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "5461-10922"
},
{
"cloudRedisServerInstanceNo": "34567896",
"cloudRedisServerName": "testredis-003-002-3oxd",
"cloudRedisServerRole": {
"code": "S",
"codeName": "Slave"
},
"cloudRedisServerInstanceStatusName": "running",
"cloudRedisServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE(VPC) 서버 Running 상태"
},
"cloudRedisServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE(VPC) 서버 Null OP"
},
"cloudRedisProductCode": "SVR.VRDS.STAND.C004.M001.NET.SSD.B050.G001",
"regionCode": "FKR",
"vpcNo": "12345678",
"subnetNo": "23456789",
"privateDomain": "cache-1a2b3c-fkr.cdb.fin-ntruss.com",
"cpuCount": 4,
"memorySize": 1610612736,
"osMemorySize": 2147483648,
"uptime": "2026-06-25T17:09:24+0900",
"createDate": "2026-06-25T17:02:51+0900",
"slotName": "10923-16383"
}
]
}
],
"requestId": "2bd047c0-6d3d-43ae-beee-96f68005e2f7",
"returnCode": "0",
"returnMessage": "success"
}
}