【发布时间】:2020-11-17 16:36:28
【问题描述】:
Couchbase cbbackup 从远程服务器失败,该服务器与在 K8s 上运行的 Couchbase 完全连接。
- Couchbase 服务器版本:couchbase:community-6.0.0
- 在 Kubernetes 1.17 上运行的 Couchbase。
cbbackup -m full http://{IP}:61006 /backup-1 -u admin -p password -vvv
错误:SASL 身份验证套接字错误:192.168.72.10:11210,超时
cbbackup 日志添加在下面,
mt cbbackup...
mt source : http://{IP}:61006
mt sink : /backup-1
mt source_class: <class 'pump_dcp.DCPStreamSource'>
mt Starting new HTTP connection (1): {IP}
mt "GET /pools/default/buckets HTTP/1.1" 200 19966
mt sink_class: <class 'pump_bfd.BFDSink'>
mt source_buckets: bucket-1
mt bucket: bucket-1
mt source_nodes: 192.168.72.10:8091
mt enqueueing node: 192.168.72.10:8091
mt rest_request: <ud>admin</ud>@{IP}:61006/pools/default/buckets/bucket-1/stats/curr_items; reason: total_msgs
w0 node: 192.168.72.10:8091
w0 sink_bucket: bucket-1
w0 DCPStreamSource connecting mc: 192.168.72.10:11210
s0 create_db: /backup-1/2020-07-28T083342Z/2020-07-28T083342Z-full/bucket-bucket-1/node-192.168.72.10%3A8091/data-0000.cbb
s0 connect_db: /backup-1/2020-07-28T083342Z/2020-07-28T083342Z-full/bucket-bucket-1/node-192.168.72.10%3A8091/data-0000.cbb
mt rest_request: <ud>admin</ud>@{IP}:61006/pools/default/buckets/bucket-1/stats/vb_active_resident_items_ratio; reason: total_msgs
w0 pump (http://{IP}:61006(bucket-1@192.168.72.10:8091)->/backup-1(bucket-1@192.168.72.10:8091)) done.
w0 source : http://{IP}:61006(bucket-1@192.168.72.10:8091)
w0 sink : /backup-1(bucket-1@192.168.72.10:8091)
w0 : total | last | per sec
w0 node: 192.168.72.10:8091, done; rv: (u'error: SASL auth socket error: 192.168.72.10:11210, timed out', None)
(u'error: SASL auth socket error: 192.168.72.10:11210, timed out', None)
在 Couchbase 论坛中也提出了问题。参考here。
对此有任何想法吗?我被这个问题困住了。
更新 我不能将暴露的 memcached 端口用于 cbbackup,因为官方 document.. 中没有添加任何选项。 This Couchbase 论坛上发布的答案提供了一些详细信息。如果这是真的,那么就不可能从远程系统运行成功的 cbbackup。但我不认为 Couchbase 团队是这样设计的。希望有办法实现同样的目标。
- 备份和恢复 Couchbase 已使用 Kubernetes 作业进行了测试和工作。但正在寻找远程 Couchbase 备份。
【问题讨论】:
标签: kubernetes couchbase