You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to connect an empty cluster in another DC to an existing cluster that already has data.
DC1 cluster info
# /usr/local/bin/leofs-adm status
[System Confiuration]
-----------------------------------+----------
Item | Value
-----------------------------------+----------
Basic/Consistency level
-----------------------------------+----------
system version | 1.4.3
cluster Id | leofs_1
DC Id | dc_1
Total replicas | 1
number of successes of R | 1
number of successes of W | 1
number of successes of D | 1
number of rack-awareness replicas | 0
ring size | 2^128
-----------------------------------+----------
Multi DC replication settings
-----------------------------------+----------
[mdcr] max number of joinable DCs | 2
[mdcr] total replicas per a DC | 1
[mdcr] number of successes of R | 1
[mdcr] number of successes of W | 1
[mdcr] number of successes of D | 1
-----------------------------------+----------
Manager RING hash
-----------------------------------+----------
current ring-hash | 80897912
previous ring-hash | 80897912
-----------------------------------+----------
[State of Node(s)]
-------+------------------------------+--------------+---------+----------------+----------------+----------------------------
type | node | state | rack id | current ring | prev ring | updated at
-------+------------------------------+--------------+---------+----------------+----------------+----------------------------
S | [email protected] | running | | 80897912 | 80897912 | 2022-01-10 14:39:27 +0200
G | [email protected] | running | | 80897912 | 80897912 | 2022-01-10 11:34:47 +0200
-------+------------------------------+--------------+---------+----------------+----------------+----------------------------
# /usr/local/bin/leofs-adm du [email protected]
active number of objects: 9786
total number of objects: 9802
active size of objects: 1222737081
total size of objects: 1262702978
ratio of active size: 96.83%
last compaction start: 2022-01-10 16:07:23 +0200
last compaction end: 2022-01-10 16:07:29 +0200
DC2 cluster info
# /usr/local/bin/leofs-adm status
[System Confiuration]
-----------------------------------+----------
Item | Value
-----------------------------------+----------
Basic/Consistency level
-----------------------------------+----------
system version | 1.4.3
cluster Id | leofs_2
DC Id | dc_2
Total replicas | 2
number of successes of R | 1
number of successes of W | 1
number of successes of D | 1
number of rack-awareness replicas | 2
ring size | 2^128
-----------------------------------+----------
Multi DC replication settings
-----------------------------------+----------
[mdcr] max number of joinable DCs | 2
[mdcr] total replicas per a DC | 1
[mdcr] number of successes of R | 1
[mdcr] number of successes of W | 1
[mdcr] number of successes of D | 1
-----------------------------------+----------
Manager RING hash
-----------------------------------+----------
current ring-hash | 84eb107d
previous ring-hash | 84eb107d
-----------------------------------+----------
[State of Node(s)]
-------+------------------------------+--------------+-----------+----------------+----------------+----------------------------
type | node | state | rack id | current ring | prev ring | updated at
-------+------------------------------+--------------+-----------+----------------+----------------+----------------------------
S | [email protected] | running | R7 | 84eb107d | 84eb107d | 2022-01-10 15:53:13 +0200
S | [email protected] | running | R8 | 84eb107d | 84eb107d | 2022-01-10 15:54:15 +0200
G | [email protected] | running | | 84eb107d | 84eb107d | 2022-01-10 12:18:13 +0200
G | [email protected] | running | | 84eb107d | 84eb107d | 2022-01-10 12:18:20 +0200
-------+------------------------------+--------------+-----------+----------------+----------------+----------------------------
I can see same users and buckets on the DC2, but endpoints and buckets data from DC1 does not replicate to the DC2 and there is no any warn/errors in the DC2 log-files.
After systemctl restart leofs-storage.service at [email protected] DC1 cluster is getting normal work speed:
# systemctl restart leofs-storage.service
# time s3cmd --config=/opt/s3cmd/b2b.cfg ls s3://b2b-cache/
DIR s3://b2b-cache/01/
DIR s3://b2b-cache/cities/
DIR s3://b2b-cache/warehouses/
real 0m0.256s
user 0m0.161s
sys 0m0.050s
We have no any "firewalling" entities between DC1<->DC2.
Please help!
The text was updated successfully, but these errors were encountered:
Hello.
I need to connect an empty cluster in another DC to an existing cluster that already has data.
DC1 cluster info
DC2 cluster info
join-cluster
/usr/local/leofs/1.4.3/leo_storage/log/app/crash.log
After
join-cluster
command such errors appears in thecrash.log
on the[email protected]
and DC1 cluster is getting very slow:
mq-stats
I can see same users and buckets on the DC2, but endpoints and buckets data from DC1 does not replicate to the DC2 and there is no any warn/errors in the DC2 log-files.
After
systemctl restart leofs-storage.service
at[email protected]
DC1 cluster is getting normal work speed:We have no any "firewalling" entities between DC1<->DC2.
Please help!
The text was updated successfully, but these errors were encountered: