pxctl service
pxctl service
pxctl service
Description
Service mode utilities
pxctl service exit
pxctl service exit
Description
Stop the PX daemon
pxctl service call-home
pxctl service call-home <required-argument>
Description
Enable or disable the call home feature
Example
pxctl service call-home <enable|disable> * Required argument is "enable" or "disable"
pxctl service call-home status
pxctl service call-home status
Description
Check call-home status
pxctl service node-wipe
pxctl service node-wipe
Description
Wipes PX configuration data on this node
pxctl service diags
pxctl service diags
Description
creates a new tgz package with essential diagnostic information.
Flags
Flag | Description |
---|---|
( | output file name |
( | docker host daemon Default value: |
( | PX container ID |
( | upload diags to cloud |
( | only dump profile |
( | creates a new tgz package with all the available diagnostic information. |
( | generate diags for all the nodes in the cluster. |
( | generate diags for a specific remote node with the provided NodeIp or NodeID. |
( | force overwrite existing diags. |
pxctl service maintenance
pxctl service maintenance
Description
Maintenance mode operations
Flags
Flag | Description |
---|---|
( | exit maintenance mode |
( | enter maintenance mode |
( | cycle maintenance mode |
pxctl service email
pxctl service email
Description
Email setting commands
pxctl service email set
pxctl service email set
Description
Configure email settings for alerts.
Flags
Flag | Description |
---|---|
( | IP or DNS name for smtp server |
( | IP or DNS name for smtp server |
( | Username to authenticate with smtp-server (if required) |
( | Password to authenticate with smtp-server (if required) |
( | Sender of alert emails (defaults to noreply@portworx.com) Default value: |
( | Recipient of alert emails. |
( | Minimum severity for email trigger, (warning|critical) Default value: |
pxctl service email get
pxctl service email get
Description
Get email settings for alerts.
pxctl service email clear
pxctl service email clear
Description
Clear email settings for alerts.
pxctl service slack
pxctl service slack
Description
Slack setting commands
pxctl service slack set
pxctl service slack set
Description
Configure slack settings for alerts.
Flags
Flag | Description |
---|---|
( | url of the slack webhook This flag is required. |
( | Minimum severity for slack trigger, (warning|critical) Default value: |
pxctl service slack get
pxctl service slack get
Description
Get slack settings for alerts.
pxctl service slack delete
pxctl service slack delete
Description
Delete slack settings for alerts.
pxctl service node
pxctl service node
Description
Node maintenance operations
pxctl service node drain-attachments
pxctl service node drain-attachments
Description
Drain/Remove volume attachments from a node
pxctl service node cordon-attachments
pxctl service node cordon-attachments
Description
Cordons/Disables any new volume attachments from a node. Existing volumes will stay attached
Flags
Flag | Description |
---|---|
( | ID of the node for which any new volume attachments will be disabled This flag is required. |
pxctl service node uncordon-attachments
pxctl service node uncordon-attachments
Description
Re-enables volume attachments for a node.
Flags
Flag | Description |
---|---|
( | ID of the node for which volume attachments will be re-enabled This flag is required. |
pxctl service kvdb
pxctl service kvdb
Description
PX Kvdb operations
pxctl service kvdb restore
pxctl service kvdb restore
Description
Restore keys and values into kvdb from a kvdb.dump file
Example
/opt/pwx/bin/pxctl service kvdb restore --kvdb_dump_file <file_path>
Flags
Flag | Description |
---|---|
( | Kvdb dump file location This flag is required. |
( | Force will delete any existing keys from kvdb and perform the restore |
pxctl service kvdb endpoints
pxctl service kvdb endpoints
Description
List the kvdb client endpoints
pxctl service kvdb members
pxctl service kvdb members
Description
List the kvdb cluster members
pxctl service usage-report
pxctl service usage-report
Description
creates & download tgz package for px consumption reports
Flags
Flag | Description |
---|---|
( | generate reports for px consumption |