Cluster Nodes and Command-Line Operations
The PCE control interface commands are restricted to the type of node they can be executed on. For example, the command to set a cluster's runlevel can be run on any core or data node. Database-specific commands must only be run on specific data nodes. The following tables list the command-line operations you can perform and the specific nodes the commands must be run on.
PCE Control Commands
The following table shows commands you can use to control various aspects of PCE behavior. Some of the commands affect a single node and others affect the entire PCE cluster. The commands have the following general syntax:
sudo -u ilo-pce illumio-pce-ctl sub-command --option
Sub-Command | Description | Run on Node |
---|---|---|
Single-node commands | ||
| Start PCE software on a single node. Start PCE software at a specified runlevel on a single node. | Any |
| Stop PCE software on a single node. | Any |
| Restart the PCE software on a single node. | Any |
| Show status of the PCE software on a single node. | Any |
| Check the | Any |
| Get status of service-discovery services on a single node. | Any |
| Get status of the consul service on a single node. | Any |
Cluster-wide commands | ||
| Set the software runlevel for the PCE software on all nodes. | Any |
| Get the runlevel of the PCE software on all nodes. | Any |
| Get the status of the PCE software across the cluster. | Any |
| Shut down the cluster. | An |
| Restart the cluster. | Any |
| Force the current node or the node defined by the IP address to be removed from the cluster. | Any |
| Show all cluster members. | Any |
Database Commands
The following table shows commands you can use to control various aspects of PCE database behavior. The commands have the following general syntax:
sudo -u ilo-pce illumio-pce-db-management sub-command --option
Sub-Command | Description | Run on Node |
---|---|---|
| Begin initial setup of the PCE database. | Any |
| Migrate the database to the latest schema. | Any |
| Dump the database to a file. | Data node where |
| Restore the database from a file. | Any data node |
| Create the first organization and user in the system. | Any data node |
| Show which node is the primary database. | Any |
| Show replication lag between the replica and primary databases. | Any |