yb-tserver

AttentionThis page documents an earlier version. Go to the latest (v2.1)version.

yb-tserver, located in the bin directory of Yugabyte home, is the YB-TServer binary.

Example

  1. $ ./bin/yb-tserver \
  2. --tserver_master_addrs 172.151.17.v1.0:7100,172.151.17.220:7100,172.151.17.v1.0:7100 \
  3. --fs_data_dirs "/home/centos/disk1,/home/centos/disk2" &

Help

Use the —help option to see all the commands supported.

  1. $ ./bin/yb-tserver --help

Config flags

FlagMandatoryDefaultDescription
—tserver_master_addrsYN/AComma-separated list of all the yb-master RPC addresses.
—fs_data_dirsYN/AComma-separated list of directories where the yb-tserver will place it’s yb-data/tserver data directory.
—fs_wal_dirsNSame value as —fs_data_dirsThe directory where the yb-tserver will place its write-ahead logs. May be the same as one of the directories listed in —fs_data_dirs, but not a sub-directory of a data directory.
—log_dirNSame value as —fs_data_dirsThe directory to store yb-tserver log files.
—rpc_bind_addressesN0.0.0.0:9100Comma-separated list of addresses to bind to for RPC connections.
—webserver_portN7000Monitoring web server port
—webserver_doc_rootNThe www directory in the YugabyteDB home directoryMonitoring web server home
—cql_proxy_bind_addressN0.0.0.0:9042YCQL API bind address
—cql_proxy_webserver_portN12000YCQL metrics monitoring port
—redis_proxy_bind_addressN0.0.0.0:6379YEDIS API bind address
—redis_proxy_webserver_portN11000YEDIS metrics monitoring port
—pgsql_proxy_bind_addressN0.0.0.0:5433PostgreSQL API bind address
—pgsql_proxy_webserver_portN13000PostgreSQL metrics monitoring port
—placement_cloudNcloud1Name of the cloud where this instance is deployed
—placement_regionNdatacenter1Name of the region or datacenter where this instance is deployed
—placement_zoneNrack1Name of the availability zone or rack where this instance is deployed
—flagfileNN/ALoad flags from the specified file.
—versionNN/AShow version and build info

Admin UI

The Admin UI for yb-tserver is available at http://localhost:9000.

Home

Home page of the yb-tserver that gives a high level overview of this specific instance.

tserver-home

Dashboards

List of all dashboards to review the ongoing operations

tserver-dashboards

Tablets

List of all tablets managed by this specific instance, sorted by the table name.

tserver-tablets

Debug

List of all utilities available to debug the performance of this specific instance.

tserver-debug

Default ports reference

The various default ports are listed below.

ServiceTypePort
yb-masterrpc7100
yb-masteradmin web server7000
yb-tserverrpc9100
yb-tserveradmin web server9000
ycqlrpc9042
ycqladmin web server12000
yedisrpc6379
yedisadmin web server11000
pgsqlrpc5433
pgsqladmin web server13000