pxf
Manage the PXF configuration and the PXF Service instance on the local Apache Cloudberry host.
Synopsis
pxf <command> [<option>]
where <command> is:
cluster
help
init (deprecated)
migrate
prepare
register
reset (deprecated)
restart
start
status
stop
sync
version
Description
The pxf utility manages the PXF configuration and the PXF Service instance on the local Apache Cloudberry host. You can use the utility to:
- Synchronize the PXF configuration from the coordinator host to the standby coordinator host or to a segment host.
- Start, stop, or restart the PXF Service instance on the coordinator host, standby coordinator host, or a specific segment host, or display the status of the PXF Service instance running on the coordinator, standby coordinator, or a segment host.
- Copy the PXF extension control file from a PXF installation on the host to the Apache Cloudberry installation on the host after an Apache Cloudberry upgrade.
- Prepare a new
$PXF_BASEruntime configuration directory on the host.
(Use the pxf cluster command to prepare a new $PXF_BASE on all hosts, copy the PXF extension control file to $GPHOME on all hosts, synchronize the PXF configuration to the Apache Cloudberry cluster, or to start, stop, or display the status of the PXF Service instance on all hosts in the cluster.)
Commands
pxf cluster.pxf management utility help message and then exit.register command.$PXF_CONF directory to $PXF_BASE on the host. When you run the command, you must identify the legacy configuration directory via an environment variable named PXF_CONF. PXF migrates the configuration to the current $PXF_BASE, copying and merging files and directories as necessary. Note: You must manually migrate any pxf-log4j.properties customizations to the pxf-log4j2.xml file.$PXF_BASE directory on the host. When you run the command, you must identify the new PXF runtime configuration directory via an environment variable named PXF_BASE. PXF copies runtime configuration file templates and directories to this $PXF_BASE.$GPHOME be set, and is run once after you install PXF 6.x the first time, or run when you upgrade your Apache Cloudberry installation.$PXF_BASE) from the coordinator host to a specific Apache Cloudberry standby coordinator host or segment host. You must run pxf sync on the coordinator host. By default, this command updates files on and copies files to the remote. You can instruct PXF to also delete files during the synchronization; see Options below.Options
The pxf sync command, which you must run on the Apache Cloudberry coordinator host, takes the following option and argument:
<gphost> that are not also present on the coordinator host. If you specify this option, you must provide it on the command line before <gphost>.<gphost> must identify the standby coordinator host or a segment host.Examples
Start the PXF Service instance on the local Apache Cloudberry host:
$ pxf start