We now have a cluster/universe on six nodes with a replication factor of
3. Assume their IP addresses are
18.104.22.168. YB-Master servers are running on only the first three of these nodes.
[Optional] Setup YEDIS API
NoteIf you want this cluster to be able to support Redis clients, you must perform this step.
While the YCQL and YSQL APIs are turned on by default after all of the YB-TServers start, the Redis-compatible YEDIS API is off by default. If you want this cluster to be able to support Redis clients, run the following command from any of the 4 instances. The command below will add the special Redis table into the DB and also start the YEDIS server on port 6379 on all instances.
$ ./bin/yb-admin --master_addresses 22.214.171.124:7100,126.96.36.199:7100,188.8.131.52:7100 setup_redis_table
View the master UI dashboard
You should now be able to view the master dashboard on the ip address of any master. In our example, this is one of the following URLs:
TipIf this is a public cloud deployment, remember to use the public ip for the nodes, or a http proxy to view these pages.
- Clients can connect to YSQL API at
- Clients can connect to YCQL API at
- Clients can connect to YEDIS API at
Default ports reference
The above deployment uses the various default ports listed below.
||admin web server||7000|
||admin web server||9000|
||admin web server||12000|
||admin web server||11000|
||admin web server||13000|