PXF provides two management commands:
pxf cluster
- manage all PXF Service instances in the Greenplum Database clusterpxf
- manage the PXF Service instance on a specific Greenplum Database host<PXF_INSTALL_DIR>/bin
directory to your
$PATH
.
After configuring PXF, you must start PXF on each host in your Greenplum Database cluster. The PXF Service, once started, runs as the gpadmin
user on default port 5888. Only the gpadmin
user can start and stop the PXF Service.
If you want to change the default PXF configuration, you must update the configuration before you start PXF, or restart PXF if it is already running. See About the PXF Configuration Files for information about the user-customizable PXF configuration properties and the configuration update procedure.
Before you start PXF in your Greenplum Database cluster, ensure that:
Perform the following procedure to start PXF on each host in your Greenplum Database cluster.
Log in to the Greenplum Database master host:
$ ssh gpadmin@<gpmaster>
Run the pxf cluster start
command to start PXF on each host:
gpadmin@gpmaster$ pxf cluster start
If you must stop PXF, for example if you are upgrading PXF, you must stop PXF on each host in your Greenplum Database cluster. Only the gpadmin
user can stop the PXF Service.
Before you stop PXF in your Greenplum Database cluster, ensure that your Greenplum Database cluster is up and running.
Perform the following procedure to stop PXF on each host in your Greenplum Database cluster.
Log in to the Greenplum Database master host:
$ ssh gpadmin@<gpmaster>
Run the pxf cluster stop
command to stop PXF on each host:
gpadmin@gpmaster$ pxf cluster stop
If you must restart PXF, for example if you updated PXF user configuration files in $PXF_BASE/conf
, you run pxf cluster restart
to stop, and then start, PXF on all hosts in your Greenplum Database cluster.
Only the gpadmin
user can restart the PXF Service.
Before you restart PXF in your Greenplum Database cluster, ensure that your Greenplum Database cluster is up and running.
Perform the following procedure to restart PXF in your Greenplum Database cluster.
Log in to the Greenplum Database master host:
$ ssh gpadmin@<gpmaster>
Restart PXF:
gpadmin@gpmaster$ pxf cluster restart