pxctl cluster
pxctl cluster
pxctl cluster
Description
Manage the clusterpxctl cluster list
pxctl cluster list
Description
List nodes in the clusterpxctl cluster inspect
pxctl cluster inspect
Description
Inspect a nodepxctl cluster delete
pxctl cluster delete <required-argument>
Description
Delete a nodeExample
/opt/pwx/bin/pxctl cluster delete [flags] nodeID
Flags
Flag | Description |
---|---|
|
Forcibly remove node, which may cause volumes to be irrevocably deleted |
pxctl cluster domains
pxctl cluster domains
Description
A set of commands to manage Portworx Cluster Domainspxctl cluster domains show
pxctl cluster domains show
Description
Lists all cluster domainspxctl cluster domains activate
pxctl cluster domains activate
Description
Activates the provided cluster domainFlags
Flag | Description |
---|---|
|
name of the domain to activate Required: true |
pxctl cluster domains deactivate
pxctl cluster domains deactivate
Description
Deactivates the provided cluster domainFlags
Flag | Description |
---|---|
|
name of the domain to activate Required: true |
pxctl cluster provision-status
pxctl cluster provision-status
Description
Show cluster provision statusFlags
Flag | Description |
---|---|
|
IO Priority Default value: low |
|
Show all labels |
pxctl cluster token
pxctl cluster token
Description
Manage cluster authentication tokenpxctl cluster token show
pxctl cluster token show
Description
Display current authentication tokenFlags
Flag | Description |
---|---|
|
Reset token if already present |
pxctl cluster token reset
pxctl cluster token reset
Description
Reset token if already presentpxctl cluster pair
pxctl cluster pair
Description
Manage Portworx cluster pairspxctl cluster pair create
pxctl cluster pair create
Description
Pair this cluster with another Portworx clusterFlags
Flag | Description |
---|---|
|
IP address of the remote cluster Required: true |
|
Port of the remote cluster Default value: 9001 |
|
Authentication token from the remote cluster Required: true |
|
Set as the default cluster pair |
|
Enable DR mode for the cluster pair |
pxctl cluster pair delete
pxctl cluster pair delete
Description
Delete a cluster pairFlags
Flag | Description |
---|---|
|
ID of the remote cluster Required: true |
pxctl cluster pair list
pxctl cluster pair list
Description
List the cluster pairspxctl cluster pair validate
pxctl cluster pair validate
Description
Validate a cluster pairFlags
Flag | Description |
---|---|
|
ID of the remote cluster Required: true |
pxctl cluster options
pxctl cluster options
Description
List and update cluster wide optionspxctl cluster options list
pxctl cluster options list
Description
List cluster wide optionspxctl cluster options update
pxctl cluster options update
Description
Update cluster wide optionsFlags
Flag | Description |
---|---|
|
Timeout (in minutes) after which storage-less nodes will be automatically decommissioned. Timeout cannot be set to zero. Default value: 20 |
|
Number of `days` to raise alert before license expires. Set to zero to disable alerts. Default value: 7 |
|
Interval for license expiry checks. Valid only if 'license-expiry-check' is defined. Default value: 6h |
|
Enable or disable repl-add based resync |
|
Interval (in minutes) after which internal snapshots are rotated Default value: 30 |
|
Default RPC timeout (in minutes) for all client communications Default value: 5 |
|
Timeout (in minutes) after which offline replicas will be moved to available nodes. Set timeout to zero to disable replica move. Default value: 1440 |
|
Timeout (in minutes) after which re-add will abort and new replication node is added instead. Set timeout to zero to disable replica move. Default value: 1440 |
|
Timestamp record threshold after which offline replicas will be moved to available nodes. Set threshold to zero to disable replica move. Default value: 134217728 |
|
Domain policy for domains Default value: strict |
|
Enable or disable optimized restores |
|
Timeout in seconds for sm abort. Use with caution. Default value: 1200 |
|
Timeout in minutes for stalled cloudsnap abort. Should be => 10 minutes Default value: 10 |
|
Time in hours after which the failed cloudsnaps are deleted for a configured credential. 0 disables deleting failed cloudsnaps |
|
Number of cloudsnap threads doing concurrent uploads/downloads. Valid values >= 2 and <= 16, others automatically rounded Default value: 16 |
|
Enable or disable cloudsnap catalog collection |
|
Allowed minimum for periodic interval (in minutes) for scheduled cloudsnaps. Should be => 5 minutes Default value: 15 |
|
Retry limit on error for cloudsnap operations with objectstore. Default value: 3 |
|
Configure periodic interval (in minutes) to query unique blocks size for volumes. Default value: 720 |
|
Configure periodic interval (in minutes) to compute the IO profile for volume. Only applies to volumes with \"auto\" IO profile. |
|
Semi-colon separate string of labels, example 'node=uuid1,uuid2;io_priority=high'. Use '' to reset to default. |
|
Json, example of global rule followed by node specific and pool specific rule: '[{'OverCommitPercent': 200, 'SnapReservePercent': 30},{'OverCommitPercent': 50, 'SnapReservePercent':30, 'LabelSelector':{'node':'node-1,node-2', 'poolLabel':'poolValue'},]'. Use '[]' to reset to default. |
|
Minimum pool free space for pool to be online Default value: 100 |
|
Number of sharedv4 threads. This will affect sharedv4 volume performance as well as the amount of CPU and memory consumed for handling sharedv4 volumes. Default value: 16 |
|
Timeout in seconds for sharedv4 (NFS) mount commands. Default value: 120 |
|
proxy to be used by cloudsnap (setting not required if using PX_HTTP_PROXY/PX_HTTPS_PROXY env. variables) |
|
network interface name used by cloudsnaps(data, mgmt, eth0, etc) |
|
Enable or disable temporary kvdb loss support |
|
Comma seprated key value pairs for runtime options |
|
Specify type of action for runtime options Default value: update-global |
|
Comma seprated key value labels for node specific runtime options. |
|
for detached volumes none will not generate schedule snapshots, optimized will generated one, always will generate them always Default value: optimized |
|
Maximum number of concurrent api invocations allowed Default value: 20 |
|
Enable periodic cache flush Default value: disabled |
|
Interval at which cache flush would be performed. Default value: 30 |
|
Disable, or enable with a minimum and maximum dirty block percentage in cache. (Valid Range: [10 90]). e.g. on,33,67 |
|
Expiration (in minutes) is the time the volume stays in trashcan before being purged. |
|
Sets the full backup frequency. Default value: 7 |
|
Enable cloudsnap using metadata optimization Default value: true |
|
Do not use cloudsnap using metadata optimization if metadata size is over this limit in percent with respect to upload size. Value set to 0 disables this check. Default value: 15 |
|
Do not use cloudsnap using metadata optimization if metadata size is over this limit in size in mebibytes. Value set to 0 disables this check. Default value: 10240 |
|
Lttng command to execute |
|
Amount of disk space (GB) to be utilized by lttng trace files. Greater than 0 enables traces and 0 disables it |
|
Maximum throughput (KiB, MiB or GiB) at which fstrim would free blocks to backing store, in each interval. Default value: 1GB |
|
Lttng loglevel setting Default value: unset |
|
Minimum throughput (MiB or GiB) at which fstrim would free blocks to backing store, in each interval. Default value: 1MiB |
|
Low latency watermark for fstrim Default value: 20 |
|
High latency watermark for fstrim Default value: 40 |
|
Maximum number of replicas per node Default value: 1024 |
|
Enable/Disable SkinnySnaps. Allows snapshots to be created with lower number of replicas than the parent volume. |
|
Skinnysnap Replication factor. If this value is same or greater than the volume replication level, number of snapshot replicas will be equal to the number of parent volume replicas. Default value: 1 |
|
SkinnySnap node selection algorithm. Default value: optimize_ha |
|
Cluster-wide average network bandwith usage limit in mebibytes per second, use 0 to disable this limit |
|
Per node average network bandwith usage limit in mebibytes per second, use 0 to not consider this limit |
|
The number of seconds to wait before deleting the volume/snapshot staged in RelaxedReclaim queue. Set to zero to disable RelaxedReclaim. |
|
Maximum number of volumes/snapshots that can be staged for RelaxedReclaim. Default value: 256 |
|
Enable/Disable automatic fstrim |
|
Maximum throughput (in MBytes) at which fstrim would free blocks to backing store, in each interval(fstrim-io-rate-interval). Minimum is 10MB Default value: 100 |
|
Internal(in seconds) associated with the fstrim-io-rate(MB) is freed to backing store. Minimum 1 second. Default value: 1 |