.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "PG_AUTOCTL ACTIVATE" "1" "Nov 06, 2022" "2.0" "pg_auto_failover" .SH NAME pg_autoctl activate \- pg_autoctl activate .sp pg_autoctl activate \- Activate a Citus worker from the Citus coordinator .SH SYNOPSIS .sp This command calls the Citus “activation” API so that a node can be used to host shards for your reference and distributed tables. .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C usage: pg_autoctl activate [ \-\-pgdata ] \-\-pgdata path to data directory .ft P .fi .UNINDENT .UNINDENT .SH DESCRIPTION .sp When creating a Citus worker, \fBpg_autoctl create worker\fP automatically activates the worker node to the coordinator. You only need this command when something unexpected have happened and you want to manually make sure the worker node has been activated at the Citus coordinator level. .sp Starting with Citus 10 it is also possible to activate the coordinator itself as a node with shard placement. Use \fBpg_autoctl activate\fP on your Citus coordinator node manually to use that feature. .sp When the Citus coordinator is activated, an extra step is then needed for it to host shards of distributed tables. If you want your coordinator to have shards, then have a look at the Citus API \fI\%citus_set_node_property\fP to set the \fBshouldhaveshards\fP property to \fBtrue\fP\&. .SH OPTIONS .INDENT 0.0 .TP .B \-\-pgdata Location of the Postgres node being managed locally. Defaults to the environment variable \fBPGDATA\fP\&. Use \fB\-\-monitor\fP to connect to a monitor from anywhere, rather than the monitor URI used by a local Postgres node managed with \fBpg_autoctl\fP\&. .UNINDENT .SH AUTHOR Microsoft .SH COPYRIGHT Copyright (c) Microsoft Corporation. All rights reserved. .\" Generated by docutils manpage writer. .