IBM Cloud Docs
Getting help and support

Getting help and support

Contact Portworx support by using one of the following methods.

Gathering logs

You can use the following script to collect log information from your Portworx cluster.

The following script collects Portworx logs from your cluster and saves them on your local machine in the /tmp/pxlogs directory.

Before you begin: Log in to your account. If applicable, target the appropriate resource group. Set the context for your cluster.

  1. Clone the ibmcloud-storage-utilities repo.

    git clone https://github.com/IBM/ibmcloud-storage-utilities.git
    
  2. Navigate to the px_logcollector directory.

    cd ibmcloud-storage-utilities/px_utils/px_logcollector/ 
    
  3. Run the px_logcollect.sh script. You can collect logs from all your worker nodes, or you can specify the --workers option and pass the private IP addresses of the worker nodes from where you want to collect logs. If you specify the --workers option, the log files are saved in the /tmp/pxlogs/<worker_node_IP> directory with the private IP address of each worker node as the folder name. To get the private IP addresses of your worker nodes, run the kubectl get nodes command.

    • Collect the logs from all worker nodes in your cluster.

      sudo ./px_logcollect.sh
      
    • Collect the logs from only certain worker nodes in your cluster.

      sudo ./px_logcollect.sh --workers <worker-IP> <worker-IP> <worker-IP>
      
  4. Review the log files locally. If you can't resolve your issue by reviewing the logs, open a support ticket and provide the log information that you collected.