Skip to main content

How to set locality flags

In this Cockroach University lesson titled “How to set locality flags”, you’ll learn how to control the location information of nodes in your cluster. Then we’ll use the Admin UI to see how this is reflected in the dashboard. In this lesson, you will learn to: •Set locality flags for servers •Identify which nodes have which replica 00:00 Node location in distributed clusters 0:25 How to use a locality flag Learn more about CockroachDB by signing up for free training at Cockroach University: https://university.cockroachlabs.com/ --------------------------------------------------------------------------------------------------------------------------- Reference Links •Configure Replication Zones: https://www.cockroachlabs.com/docs/stable/configure-replication-zones.html (CockroachDB Docs) •SHOW LOCALITY: https://www.cockroachlabs.com/docs/v19.2/show-locality.html (CockroachDB Docs) •Enable the Node Map: https://www.cockroachlabs.com/docs/stable/enable-node-map.html (CockroachDB Docs) --------------------------------------------------------------------------------------------------------------------------- Careers: https://www.cockroachlabs.com/careers CockroachCloud: https://www.cockroachlabs.com/product/cockroachcloud/ Blog: https://www.cockroachlabs.com/blog/ Docs: https://www.cockroachlabs.com/docs/stable/ Community Slack: https://cockroa.ch/Welcome-to-Slack Twitter: https://twitter.com/CockroachDB