You now have a cluster/universe on six nodes with a replication factor of
3. Assume their IP addresses are
126.96.36.199. YB-Master servers are running on only the first three of these nodes.
[Optional] Set up YEDIS API
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 adds the special Redis table into the DB and starts the YEDIS server on port 6379 on all instances.
$ ./bin/yb-admin --master_addresses 188.8.131.52:7100,184.108.40.206:7100,220.127.116.11:7100 setup_redis_table
NoteIf you want this cluster to be able to support Redis clients, you must perform this step.
View the master UI dashboard
You should now be able to view the master dashboard on the IP address of any master. In this 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 the following addresses:
Clients can connect to YCQL API at the following addresses:
Clients can connect to YEDIS API at the following addresses:
Default ports reference
The preceding deployment uses the following default ports:
||Admin web server||7000|
||Admin web server||9000|
||Admin web server||12000|
||Admin web server||11000|
||Admin web server||13000|
For more information on ports used by YugabyteDB, refer to Default ports.