我正在使用Cassy for Cassandra节点运行备份作业,但是运行grpcurl命令的结果没有返回。
环境
云服务: AWS cassandra节点数:6
备份命令
grpcurl -plaintext -d '{"cluster_id": "ScalarDL-aaaa-bbbb-cccc", "backup_type": 1}' cassy-1.prd.ddi-dlt.internal:20051 rpc.Cassy.TakeBackup列出备份状态
当我运行ListBackup时,它看起来如下所示
grpcurl -plaintext -d '{"limit": 6, "cluster_id": "ScalarDL-aaaa-bbbb-cccc"}' cassy-1.prd.ddi-dlt.internal:20051 rpc.Cassy.ListBackups{
"entries": [
{
"cluster_id": "ScalarDL-aaaa-bbbb-cccc",
"target_ip": "10.10.2.1",
"snapshot_id": "1234-5678-90ab",
"created_at": "1605072056752",
"updated_at": "1605072056763",
"backup_type": 1,
"status": "INITIALIZED"
},
{
"cluster_id": "ScalarDL-aaaa-bbbb-cccc",
"target_ip": "10.10.2.2",
"snapshot_id": "1234-5678-90ab",
"created_at": "1605072056752",
"updated_at": "1605072056767",
"backup_type": 1,
"status": "INITIALIZED"
},
{
"cluster_id": "ScalarDL-aaaa-bbbb-cccc",
"target_ip": "10.10.2.3",
"snapshot_id": "1234-5678-90ab",
"created_at": "1605072056752",
"updated_at": "1605072056752",
"backup_type": 1,
"status": "INITIALIZED"
},
{
"cluster_id": "ScalarDL-aaaa-bbbb-cccc",
"target_ip": "10.10.2.4",
"snapshot_id": "1234-5678-90ab",
"created_at": "1605072056752",
"updated_at": "1605072056775",
"backup_type": 1,
"status": "INITIALIZED"
},
{
"cluster_id": "ScalarDL-aaaa-bbbb-cccc",
"target_ip": "10.10.2.5",
"snapshot_id": "1234-5678-90ab",
"created_at": "1605072056752",
"updated_at": "1605072056756",
"backup_type": 1,
"status": "INITIALIZED"
},
{
"cluster_id": "ScalarDL-aaaa-bbbb-cccc",
"target_ip": "10.10.2.6",
"snapshot_id": "1234-5678-90ab",
"created_at": "1605072056752",
"updated_at": "1605072056779",
"backup_type": 1,
"status": "INITIALIZED"
}
]
}发布于 2020-11-13 17:47:13
backup_type:1是群集范围的备份,需要应用程序的SRV记录。您是否正确注册了SRV记录?
https://stackoverflow.com/questions/64816663
复制相似问题