Mengkueri detail kluster OceanBase.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oceanbase:DescribeInstance |
get |
*Instance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID kluster OceanBase. |
ob317v4uif**** |
| PageNumber |
integer |
No |
Nomor halaman untuk kueri terpaginasi.
|
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil respons dari permintaan. |
||
| RequestId |
string |
ID permintaan. |
EE205C00-30E4-****-****-87E3A8A2AA0C |
| Instance |
object |
Informasi kluster OceanBase. |
|
| InstanceId |
string |
ID kluster OceanBase. |
ob317v4uif**** |
| InstanceName |
string |
Nama kluster OceanBase. |
ob4test |
| InstanceClass |
string |
Informasi spesifikasi kluster.
|
14C70G |
| Series |
string |
Seri instans.
|
Normal |
| PayType |
string |
Tipe pembayaran kluster OceanBase.
|
PREPAY |
| CreateTime |
string |
Pengatur waktu pembuatan kluster (waktu UTC). |
2021-10-19T07:13:41Z |
| ExpireTime |
string |
Pengatur waktu kedaluwarsa kluster (format UTC). |
2021-10-17T16:00:00Z |
| Version |
string |
Informasi versi OBServer. |
2.2.77 |
| DeployType |
string |
Tipe penyebaran kluster.
|
multiple |
| DeployMode |
string |
Mode replika data kluster.
Catatan
|
1-1-1 |
| DiskType |
string |
Tipe penyimpanan untuk penerapan kluster. Nilai default adalah cloud_essd_pl1: ESSD cloud disk. |
cloud_essd_pl1 |
| MaintainTime |
string |
Pengatur waktu pemeliharaan rutin harian kluster, dalam waktu UTC. |
19:00Z-20:00Z |
| DataMergeTime |
string |
Pengatur waktu penggabungan data kluster. |
02:00 |
| AutoRenewal |
boolean |
Apakah perpanjangan otomatis diaktifkan. Parameter ini hanya berlaku untuk kluster langganan (PREPAY). |
true |
| IsTrustEcs |
boolean |
Apakah ECS tepercaya digunakan. |
true |
| Status |
string |
Status kluster.
|
ONLINE |
| Resource |
object |
Informasi resource kluster. |
|
| Cpu |
object |
The information about the CPU resources of the cluster. |
|
| TotalCpu |
integer |
The total number of CPU cores of the cluster. |
14 |
| UsedCpu |
integer |
The number of CPU cores used in the cluster. |
10 |
| UnitCpu |
integer |
The number of CPU cores of each replica node in the cluster. |
10 |
| OriginalTotalCpu |
integer |
The number of original CPU cores in the cluster. |
14 |
| Memory |
object |
The information about the memory resources of the cluster. |
|
| TotalMemory |
integer |
The total memory size of the cluster, in GB. |
70 |
| UsedMemory |
integer |
The size of used memory in the cluster, in GB. |
10 |
| UnitMemory |
integer |
The memory size of each replica node in the cluster, in GB. |
10 |
| OriginalTotalMemory |
integer |
The original memory size of the cluster, in GB. |
72 |
| DiskSize |
object |
The information about the storage resources of the cluster. |
|
| TotalDiskSize |
integer |
The total storage space of the cluster, in GB. |
200 |
| UsedDiskSize |
integer |
The size of used storage space of the cluster, in GB. |
100 |
| UnitDiskSize |
integer |
The storage space of each replica node in the cluster, in GB. |
200 |
| DataUsedSize |
number |
The size of the data disk, in GB. |
200 |
| MaxDiskUsedPercent |
number |
The maximum disk usage, in percentage. |
0.14 |
| MaxDiskUsedObServer |
array |
The maximum disk usage of the OBServer node. |
|
|
string |
The maximum disk usage of the OBServer node. |
i-bp1fhj23fs32dfbg4**** |
|
| OriginalTotalDiskSize |
integer |
The original size of the disk. |
200 |
| MaxDiskSize |
number |
The maximum disk size that can be created. |
80000 |
| UnitCount |
integer |
The number of resource units in the cluster. |
1 |
| LogDiskSize |
object |
The information about the log disk space of the cluster. |
|
| TotalDiskSize |
integer |
The total log disk space of the cluster, in GB. |
400 |
| UnitDiskSize |
integer |
The log disk space of each replica node in the cluster. Unit: GB. |
200 |
| LogAssignedSize |
string |
The allocated disk space for log storage, in GB. |
0.0 |
| MaxLogAssignedObServer |
array |
The maximum storage space allocated for. |
|
|
string |
The list of the OBServer nodes that are allocated the maximum log storage space. |
["i-bp1g****","i-bp11****","i-bp19****"] |
|
| MaxLogAssignedPercent |
string |
The maximum percentage of space allocated for log storage. |
6.68 |
| OriginalTotalDiskSize |
integer |
The original size of the disk. |
200 |
| CapacityUnit |
object |
The information about capacity units. |
|
| MaxCapacityUnit |
integer |
The maximum number of capacity units. |
4 |
| MinCapacityUnit |
integer |
The minimum number of capacity units. |
1 |
| UsedCapacityUnit |
string |
The number of used capacity units. |
2 |
| AutoUpgradeObVersion |
boolean |
Apakah peningkatan versi OBServer otomatis diaktifkan. |
true |
| ObRpmVersion |
string |
Informasi versi OBServer terperinci. |
2.2.77-20210526202046 |
| IsLatestObVersion |
boolean |
Apakah versi OBServer adalah versi terbaru. |
true |
| AvailableZones |
array |
Daftar zona yang tersedia. |
|
|
string |
Daftar zona yang tersedia. |
cn-hangzhou-i |
|
| EnableUpgradeLogDisk |
boolean |
Apakah peningkatan spesifikasi disk log diizinkan. |
false |
| Zones |
array |
ID zona tempat instans berada. |
|
|
string |
ID zona tempat instans berada. |
cn-hangzhou-h,cn-hangzhou-i,cn-hangzhou-j |
|
| InstanceRole |
string |
Peran instans. |
NORMAL |
| NodeNum |
string |
Jumlah node di kluster. Jika mode penyebaran adalah n-n-n, jumlah node adalah n × 3. |
6 |
| ReplicaMode |
string |
Jumlah replika berfitur lengkap. Nilai kembali hanya berisi 3 dan 2.
Penerapan tiga zona hanya mendukung 3 replika berfitur lengkap, penerapan dual-zona hanya mendukung 2 replika berfitur lengkap, dan penerapan zona tunggal mendukung 2 atau 3 replika berfitur lengkap. |
2 |
| IsolationOptimization |
boolean |
Apakah Cgroup diaktifkan. |
false |
| EnableIsolationOptimization |
boolean |
Apakah optimasi isolasi diizinkan. |
false |
| InTempCapacityStatus |
boolean |
Status kapasitas sementara. |
false |
| DataDiskAutoScale |
boolean |
Apakah penskalaan disk data otomatis diaktifkan. Catatan
|
- |
| TenantCreatable |
object |
Ketersediaan pembuatan penyewa. |
|
| EnableCreateTenant |
boolean |
Specifies whether a tenant can be created. |
true |
| DisableCreateTenantReason |
string |
The reason why you cannot create a tenant in the cluster. |
CPU_NOT_ENOUGH、 MEMORY_NOT_ENOUGH、TENANT_COUNT_EXCEEDS_LIMIT |
| DataDiskAutoScaleConfig |
object |
Konfigurasi penskalaan otomatis disk data. |
|
| AutoScale |
boolean |
Specifies whether to enable the automatic scaling of the data disk. |
true |
| Upperbound |
integer |
The maximum space, in GB, to which the data disk can be scaled. |
16 |
| UpperThreshold |
integer |
The maximum usage of the data disk, in percentage, that triggers the scaling of the data disk for daily use. |
80 |
| UpperMergeThreshold |
integer |
The maximum usage of the data disk, in percentage, that triggers the scaling of the data disk for major compactions. |
90 |
| MaxDiskSize |
integer |
The maximum size of the disk, in GB. |
80000 |
| ScaleStepInNormal |
integer |
The size of scaling step during daily use. |
50 |
| ScaleStepInMerge |
integer |
The size of scaling step during a major compaction. |
100 |
| UpperScaleStrategy |
string |
The scale-out strategy. Valid values: RAW and PERCENTAGE. |
RAW |
| UpperScaleStep |
string |
The step size of the scale-out. |
5 |
| EnableProxyService |
boolean |
Apakah layanan proxy diaktifkan.
|
true |
| ProxyServiceStatus |
string |
Status layanan proxy. |
ONLINE |
| ProxyClusterId |
string |
ID kluster proxy. Catatan
Parameter ini hanya disertakan ketika EnableProxyService adalah true. |
proxy-56****a6tg2o |
| CpuArchitecture |
string |
Arsitektur CPU kluster. |
X86 |
| ReadOnlyResource |
object |
Informasi resource kluster. |
|
| Cpu |
object |
The information about the CPU resources of the cluster. |
|
| TotalCpu |
integer |
The total number of CPU cores of the cluster. |
14 |
| UsedCpu |
integer |
The number of CPU cores used by the cluster. |
10 |
| UnitCpu |
integer |
The number of CPU cores of each replica node in the cluster. |
10 |
| OriginalTotalCpu |
integer |
The number of original CPU cores in the cluster. |
14 |
| Memory |
object |
The information about the memory resources of the cluster. |
|
| TotalMemory |
integer |
The total memory size of the cluster, in GB. |
70 |
| UsedMemory |
integer |
The size of memory used by the cluster, in GB. |
10 |
| UnitMemory |
integer |
The memory size of each replica node in the cluster, in GB. |
10 |
| OriginalTotalMemory |
integer |
The original memory size of the cluster. |
72 |
| DiskSize |
object |
The information about the storage resources of the cluster. |
|
| TotalDiskSize |
integer |
The total storage space of the cluster, in GB. |
200 |
| UsedDiskSize |
integer |
The size of used storage space of the cluster, in GB. |
100 |
| UnitDiskSize |
integer |
The storage space of each replica node in the cluster, in GB. |
200 |
| DataUsedSize |
number |
The size of the data disk, in GB. |
200 |
| MaxDiskUsedPercent |
number |
The maximum disk usage, in percentage. |
0.14 |
| MaxDiskUsedObServer |
array |
The maximum disk usage of the OBServer node. |
|
|
string |
The maximum disk usage of the OBServer node. |
i-bp1fhj23fs32dfbg4**** |
|
| OriginalTotalDiskSize |
integer |
The original size of the disk. |
200 |
| MaxDiskSize |
number |
The maximum disk size that can be created. |
80000 |
| UnitCount |
integer |
The number of resource units in the cluster. |
1 |
| LogDiskSize |
object |
The information about the log disk space of the cluster. |
|
| TotalDiskSize |
integer |
The information about the log disk space of the cluster. |
400 |
| UnitDiskSize |
integer |
The log disk space of each replica node in the cluster, in GB. |
200 |
| LogAssignedSize |
string |
The allocated disk space for log storage, in GB. |
0.0 |
| MaxLogAssignedObServer |
array |
The maximum storage space allocated for. |
|
|
string |
The list of the OBServer nodes that are allocated the maximum log storage space. |
["i-bp1g****","i-bp11****","i-bp19****"] |
|
| MaxLogAssignedPercent |
string |
The maximum percentage of space allocated for log storage. |
6.68 |
| CapacityUnit |
object |
The information about capacity units. |
|
| MaxCapacityUnit |
integer |
The maximum number of capacity units. |
4 |
| MinCapacityUnit |
integer |
The minimum number of capacity units. |
1 |
| UsedCapacityUnit |
string |
The number of used capacity units. |
2 |
| UnitSpec |
string |
Spesifikasi unit layanan proxy. |
2C4G |
| SharedUnitNumLimit |
integer |
Batas atas jumlah unit untuk layanan proxy mode bersama. |
3 |
| ExclusiveUnitNumLimit |
integer |
Batas atas jumlah unit untuk layanan proxy mode eksklusif. |
1 |
| EnableReadOnlyReplica |
boolean |
Apakah replika baca-saja didukung. |
true |
| EnableReadOnlyReplicaManagement |
boolean |
Apakah kluster mengizinkan pembelian replika baca-saja. |
false |
| PrimaryInstance |
string |
ID instans utama. |
ob3h8ytroxxxxx |
| PrimaryRegion |
string |
Wilayah instans utama. |
cn-hangzhou |
| SpecType |
string |
Tipe spesifikasi. |
dedicatedspec |
| AllowModifyInternetAddressConnectionLimit |
boolean |
Apakah modifikasi koneksi jaringan publik maksimum diizinkan. |
false |
| AllowCreateProxySqlFirewallRule |
boolean |
Apakah firewall SQL ODP diizinkan. |
false |
| Iops |
integer |
10000 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C",
"Instance": {
"InstanceId": "ob317v4uif****",
"InstanceName": "ob4test",
"InstanceClass": "14C70G",
"Series": "Normal",
"PayType": "PREPAY",
"CreateTime": "2021-10-19T07:13:41Z",
"ExpireTime": "2021-10-17T16:00:00Z",
"Version": "2.2.77",
"DeployType": "multiple",
"DeployMode": "1-1-1",
"DiskType": "cloud_essd_pl1",
"MaintainTime": "19:00Z-20:00Z",
"DataMergeTime": "02:00",
"AutoRenewal": true,
"IsTrustEcs": true,
"Status": "ONLINE",
"Resource": {
"Cpu": {
"TotalCpu": 14,
"UsedCpu": 10,
"UnitCpu": 10,
"OriginalTotalCpu": 14
},
"Memory": {
"TotalMemory": 70,
"UsedMemory": 10,
"UnitMemory": 10,
"OriginalTotalMemory": 72
},
"DiskSize": {
"TotalDiskSize": 200,
"UsedDiskSize": 100,
"UnitDiskSize": 200,
"DataUsedSize": 200,
"MaxDiskUsedPercent": 0.14,
"MaxDiskUsedObServer": [
"i-bp1fhj23fs32dfbg4****"
],
"OriginalTotalDiskSize": 200,
"MaxDiskSize": 80000
},
"UnitCount": 1,
"LogDiskSize": {
"TotalDiskSize": 400,
"UnitDiskSize": 200,
"LogAssignedSize": "0.0",
"MaxLogAssignedObServer": [
"[\"i-bp1g****\",\"i-bp11****\",\"i-bp19****\"]"
],
"MaxLogAssignedPercent": "6.68",
"OriginalTotalDiskSize": 200
},
"CapacityUnit": {
"MaxCapacityUnit": 4,
"MinCapacityUnit": 1,
"UsedCapacityUnit": "2"
}
},
"AutoUpgradeObVersion": true,
"ObRpmVersion": "2.2.77-20210526202046",
"IsLatestObVersion": true,
"AvailableZones": [
"cn-hangzhou-i"
],
"EnableUpgradeLogDisk": false,
"Zones": [
"cn-hangzhou-h,cn-hangzhou-i,cn-hangzhou-j"
],
"InstanceRole": "NORMAL",
"NodeNum": "6",
"ReplicaMode": "2",
"IsolationOptimization": false,
"EnableIsolationOptimization": false,
"InTempCapacityStatus": false,
"DataDiskAutoScale": true,
"TenantCreatable": {
"EnableCreateTenant": true,
"DisableCreateTenantReason": "CPU_NOT_ENOUGH、 MEMORY_NOT_ENOUGH、TENANT_COUNT_EXCEEDS_LIMIT"
},
"DataDiskAutoScaleConfig": {
"AutoScale": true,
"Upperbound": 16,
"UpperThreshold": 80,
"UpperMergeThreshold": 90,
"MaxDiskSize": 80000,
"ScaleStepInNormal": 50,
"ScaleStepInMerge": 100,
"UpperScaleStrategy": "RAW",
"UpperScaleStep": "5"
},
"EnableProxyService": true,
"ProxyServiceStatus": "ONLINE",
"ProxyClusterId": "proxy-56****a6tg2o",
"CpuArchitecture": "X86",
"ReadOnlyResource": {
"Cpu": {
"TotalCpu": 14,
"UsedCpu": 10,
"UnitCpu": 10,
"OriginalTotalCpu": 14
},
"Memory": {
"TotalMemory": 70,
"UsedMemory": 10,
"UnitMemory": 10,
"OriginalTotalMemory": 72
},
"DiskSize": {
"TotalDiskSize": 200,
"UsedDiskSize": 100,
"UnitDiskSize": 200,
"DataUsedSize": 200,
"MaxDiskUsedPercent": 0.14,
"MaxDiskUsedObServer": [
"i-bp1fhj23fs32dfbg4****"
],
"OriginalTotalDiskSize": 200,
"MaxDiskSize": 80000
},
"UnitCount": 1,
"LogDiskSize": {
"TotalDiskSize": 400,
"UnitDiskSize": 200,
"LogAssignedSize": "0.0",
"MaxLogAssignedObServer": [
"[\"i-bp1g****\",\"i-bp11****\",\"i-bp19****\"]"
],
"MaxLogAssignedPercent": "6.68"
},
"CapacityUnit": {
"MaxCapacityUnit": 4,
"MinCapacityUnit": 1,
"UsedCapacityUnit": "2"
}
},
"UnitSpec": "2C4G",
"SharedUnitNumLimit": 3,
"ExclusiveUnitNumLimit": 1,
"EnableReadOnlyReplica": true,
"EnableReadOnlyReplicaManagement": false,
"PrimaryInstance": "ob3h8ytroxxxxx",
"PrimaryRegion": "cn-hangzhou",
"SpecType": "dedicatedspec",
"AllowModifyInternetAddressConnectionLimit": false,
"AllowCreateProxySqlFirewallRule": false,
"Iops": 10000
}
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.