I installed on 3 nodes master/t-server: 192.168.198.35:7100,192.168.198.36:7100,192.168.198.37:7100 and it works fine!
And now I wanna to install on more 3 nodes only t-servers: 192.168.198.38:7100,192.168.198.39:7100,192.168.198.40:7100
It gives this error on t-server nodes:
Runtime error (yb/yql/pgwrapper/pg_wrapper.cc:781): /root/yugabyte/postgres/bin/initdb failed with exit code 1
Master I installed on first 3 nodes by:
#./bin/yb-master
–master_addresses 192.168.198.35:7100,192.168.198.36:7100,192.168.198.37:7100
–rpc_bind_addresses 192.168.198.35:7100 \ #36,37
–fs_data_dirs “/root/disk1,/root/disk2”
>& /root/disk1/yb-master.out &
And the tserver I installed on all nodes by:
#./bin/yb-tserver
–tserver_master_addrs 192.168.198.35:7100,192.168.198.36:7100,192.168.198.37:7100,192.168.198.38:7100,192.168.198.39:7100,192.168.198.40:7100
–rpc_bind_addresses 192.168.198.35:9100 \ #36,37,38.39,40
–enable_ysql
–pgsql_proxy_bind_address 192.168.198.35:5433 \ #36,37,38.39,40
–cql_proxy_bind_address 192.168.198.35:9042 \ #36,37,38.39,40
–fs_data_dirs “/root/disk1,/root/disk2”
>& /root/disk1/yb-tserver.out &
How to configure first 3 nodes (35,36,37) to write and other 3 servers (38,39,40) only for read?
Thanks!