AddCellsAlias

vtctldclient AddCellsAlias

Defines a group of cells that can be referenced by a single name (the alias).

Synopsis

Defines a group of cells that can be referenced by a single name (the alias).

When routing query traffic, replica/rdonly traffic can be routed across cells within the group (alias). Only primary traffic can be routed across cells not in the same group (alias).

  1. vtctldclient AddCellsAlias --cells <cell1,cell2,...> [--cells <cell3> ...] <alias>

Options

  1. -c, --cells strings The list of cell names that are members of this alias.
  2. -h, --help help for AddCellsAlias

Options inherited from parent commands

  1. --action_timeout duration timeout to use for the command (default 1h0m0s)
  2. --compact use compact format for otherwise verbose outputs
  3. --server string server to use for the connection (required)

SEE ALSO

  • vtctldclient - Executes a cluster management command on the remote vtctld server.