cluster computing - Memsql, set follower on a primary host -
i install memsql on host run functional tests, added additional host b using memsql ops ui. however, host b not show on host memsql ops ui. verified memsql ops running on host b connect port 9000 on host b. receive error when running memsql-ops follow -h a
failed connect primary agent follower: agent @ a:9000 cannot follow
both hosts running primary right now.
is there chance memsql ops install on host b sharing data host a? instance, did copy data directory host host b when installed memsql ops on host b (by default, data directory in /var/lib/memsql-ops/data)?
memsql ops automatically generates , saves agent ids when memsql ops install first starts, uuids used distinguish between different memsql ops agents in cluster. error you're seeing indicates you're trying follow agent same agent id; 1 way occur if you're using same data directory on both machines.
Comments
Post a Comment