Hi, I was trying to manually deploy yugabyte db in my docker container with three nodes(three containers) and a replication factor of three. Things seem to work as expected but when I tried to run yb-ctl status with the directory the data is stored as input, it shows this:
while i tried to create a table in one of the containers and access it on another one, it works fine. And the nodetool also gives me the expected number of nodes.
Thanks for your reply. Let me show the steps that I have followed:
Create my own docker images and download yugabyte inside my image.(I have to control the users and different settings inside my containers.)
run 3 containers with my docker image in a VM and provide the master IP and location where data is to be stored with RF = 3. I run yb-master and yb-tserver scripts after my docker container is up with the required arguments.
Check the logs for master and tserver and everything is working fine.
Connect to Yuga Cassandra using cqlsh with my IP and port.
Create a keyspace and table.
Connect to a different yuga container that I had run earlier, connect to cassandra and see the keyspace and table created.
Do the yb-ctl status as shown in the image above, and I don’t see my cluster, which according to my understanding should have 3 nodes and RF = 3.
Commands that I run to start my yb-master and yb-tserver. Let me know if you would like to see the logs as well.
./yb-master
–master_addresses=172.25.2.50:7100,172.25.2.51:7100,172.25.2.52:7100
–rpc_bind_addresses={current IP of my container}
–fs_data_dirs=/opt/yugabyteDB/data
–replication_factor=3
./yb-tserver
–tserver_master_addrs=172.25.2.50:7100,172.25.2.51:7100,172.25.2.52:7100
–rpc_bind_addresses={current IP of my container}
–cql_proxy_bind_address={current IP of my container}:9042
–fs_data_dirs=/opt/yugabyteDB/data