PowerVM

Power Virtualization

Connect, learn, share, and engage with IBM Power.


#Power
#TechXchangeConferenceLab
 View Only
Expand all | Collapse all

HMC PCM error codes

  • 1.  HMC PCM error codes

    Posted Wed January 04, 2017 09:33 AM

    Originally posted by: adejoux


    Hello,

    I am searching informations about error codes in the section SampleInfo of the PCM JSON data.

     

    For example when I have a data collection error like below, I see a status 1

    
               {
                    "sampleType": "ManagedSystem",
                    "sampleInfo": {
                        "timeStamp": "2017-01-04T09:01:30-0500",
                       
    "status": 1,
                        "errorInfo": [
                            {
                                "errId": "4002",
                                "errMsg": "Processing did not happen because of error in managed system's LTM collection",
                                "uuid": "067fe31c-d3d5-314a-a065-ec216a49d9c2",
                                "reportedBy": "ManagedSystem",
                                "occurrenceCount": 1
                            }
                        ]
                    }
                },
    

    So in this case I should skip the processing of data but often I receive status 2 which happens at least when the system cannot collect SEA informations:

        "sampleInfo": {
                        "timeStamp": "2017-01-04T09:03:58-0500",
                        
    "status": 2,
                        "errorInfo": [
                            {
                                "errId": "3011",
                                "errMsg": "To get Network Bridge utilization the VIOS should be running 2.2.3 or later and System Firmware level should be 780 or later",
                                "uuid": "067fe31c-d3d5-314a-a065-ec216a49d9c2",
                                "reportedBy": "ManagedSystem",
                                "occurrenceCount": 1
                            }
                        ]
                    }
    

    So I would like to know if my understanding about status is correct:

    status 0: everything fine. I should work with the data

    status 1: no data collected. I should skip this sample.

    status 2: some things couldn't be collected but I have some data I should be able to process.

    Is it correct? If you have documentation about it, it would be great :)

     

    Thanks,

     

    Alain

     

     

     


    #HMCandCMC
    #Power-Hardware-Management-Console-Programmers


  • 2.  Re: HMC PCM error codes

    Posted Thu January 05, 2017 06:50 AM

    Originally posted by: dyutiman


    Hi Alain,

    Thanks for reaching out.

    Your understanding about the 'status' codes in PCM JSON data is absolutely correct.

     

    Status is 0 (zero) when everything goes fine. You should proceed with that.

    Status is 1 when PCM was not able to collect or process any data. You should not proceed in this case.

    Status is 2 when PCM was able to collect some partial data.  Proceed with data which ever is available.

     

    And many thanks for pointing it out, we will be include these in our PCM documentation.

     

    Regards,

    Dyutiman


    #HMCandCMC
    #Power-Hardware-Management-Console-Programmers


  • 3.  Re: HMC PCM error codes

    Posted Thu January 05, 2017 10:31 AM

    Originally posted by: adejoux


    Thanks :)


    #HMCandCMC
    #Power-Hardware-Management-Console-Programmers