Collecting logs using camCollector script

The camCollector script is used to collect diagnostic information for Managed services and the underlying platform.

About the task

The script collects the following information:

Before you begin

To run the camCollector script, you must have configured OpenShift Client(oc).

Procedure

  1. Ensure that you are logged in to your OpenShift Cluster with this command:

       oc login -n management-infrastructure-management
    

    Note: If you use a namespace other than management-infrastructure-management, you need to edit the infrastructure_management_ns variable in the script.

  2. Download the camCollector script from GitHub using the following commands:

    curl https://raw.githubusercontent.com/IBM-CAMHub-Open/cam-support/release-2.0/scripts/camCollector.sh --output camCollector.sh
    
    chmod +x camCollector.sh
    
  3. Run camCollector.sh script using the following command:

    ./camCollector.sh