Overview of the pxf cluster commands
The pxf cluster commands are used for collectively managing PXF services on the Greengage DB master host, standby master host, and all segment hosts.
To manage individual PXF service instances on specific segment hosts, use the pxf command.
The command’s general syntax is as follows:
$ pxf cluster <command> [<option>]
where <command> is one of the following commands.
| Command | Description |
|---|---|
help |
Displays the |
init |
(Deprecated) The command is equivalent to the |
migrate |
Migrates the configuration in a PXF 5 $PXF_CONF directory to $PXF_BASE on each Greengage DB host.
When you run the command, you must identify the PXF 5 configuration directory via the |
prepare |
Copies runtime configuration file templates and directories to a new $PXF_BASE directory on each Greengage DB host.
The directory must be set via the |
register |
Copies the PXF extension control file from the PXF installation directory to the Greengage DB installation directory on the host.
This command requires that the |
reset |
(Deprecated) The command performs no action and will be removed in a future PXF release |
restart |
Restarts the PXF service instance on the master host, standby master host, and all segment hosts |
reload |
Reloads a modified PXF profile or a server configuration to apply the changes and cleans up the affected connection pools. The command accepts the following options:
NOTE
If neither |
start |
Starts the PXF service instance on the master host, standby master host, and all segment hosts |
status |
Displays the status of the PXF service instance on the master host, standby master host, and all segment hosts |
stop |
Stops the PXF service instance on the master host, standby master host, and all segment hosts |
sync |
Synchronizes the PXF configuration ($PXF_BASE) from the master host to the standby master host and all Greengage DB segment hosts. By default, this command updates and copies files on the target host.
You can instruct PXF to also delete files during the synchronization by using the When updating the PXF user configuration or adding new JAR or native library dependencies, you must restart PXF after synchronizing the configuration |