Skip to main content

pxctl cluster

pxctl cluster

pxctl cluster

Description

Manage the cluster

pxctl cluster list

pxctl cluster list

Description

List nodes in the cluster

pxctl cluster inspect

pxctl cluster inspect

Description

Inspect a node

pxctl cluster delete

pxctl cluster delete <required-argument>

Description

Delete a node

Example

/opt/pwx/bin/pxctl cluster delete [flags] nodeID

pxctl cluster options

pxctl cluster options

Description

List and update cluster wide options

pxctl cluster options list

pxctl cluster options list

Description

List cluster wide options

pxctl cluster options update

pxctl cluster options update

Description

Update cluster wide options

Flags

FlagDescription

--auto-decommission-timeout

(uint)

Timeout (in minutes) after which storage-less nodes will be automatically decommissioned. Timeout cannot be set to zero.

--license-expiry-check

(uint)

Number of `days` to raise alert before license expires. Set to zero to disable alerts.

Default value: 7

--license-expiry-check-interval

(str)

Interval for license expiry checks. Valid only if 'license-expiry-check' is defined.

Default value: 6h0m5s

--default-rpc-timeout

(int)

Default RPC timeout (in minutes) for all client communications

Default value: 5

--fb-lock-timeout

(uint)

Timeout (in minutes) for which the kvdb lock will be held during FB create volume call. minimum duration 3 mins.

Default value: 6

--fb-stats-expiry-duration

(uint)

Duration (in minutes) after which cached stats for FB volumes will expire. minimum duration 1 min.

Default value: 15

--disabled-temporary-kvdb-loss-support

(str)

Enable or disable temporary kvdb loss support

Valid values:
  • on
  • off

Default value: on

--concurrent-api-limit

(uint)

Maximum number of concurrent api invocations allowed

Default value: 20

--incremental-uploads-disabled

(str)

Disable Pure1 incremental uploads of PX information

Valid values:
  • true
  • false

--incremental-uploads-interval-mins

(int)

Interval for Pure1 incremental uploads of PX information.

Default value: 30

--kvdb-defrag-frequency-in-hours

(int)

Interval in hours at which a kvdb defrag will be run. Default is 2 weeks. Set to 0 to disable kvdb defrag.

Default value: 336

--min-kvdb-defrag-limit-mb

(int)

Minimum Kvdb DB size in MBs to trigger a defrag.

Default value: 100

--ro-vol-pod-bounce-interval

(uint)

Interval (in seconds) at which the background task should check for read-only (ro) volume mounts which were supposed to be read-write (rw), so it can bounce pods using such volumes.

Default value: 30