PowerVM

Power Virtualization

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


#Power
#TechXchangeConferenceLab
 View Only
Expand all | Collapse all

rest/api/uom/VirtualIOServer returns an error Unable to connect to Database

  • 1.  rest/api/uom/VirtualIOServer returns an error Unable to connect to Database

    Posted Wed November 09, 2016 04:40 PM

    Originally posted by: RaviW


    Rest response for '/rest/api/uom/VirtualIOServer' returns an error; 

    "Error occurred while querying for VirtualMediaRepository from VIOS. - Unable to connect to Database."

     

    According to http://www-01.ibm.com/support/docview.wss?uid=hpc1vios568c20d2 that "Unable to connect to DB" is fixed in 2.2.3.60. The Version of VIOS is 2.2.4.10. Need to know how to peruse resolution. Perhaps it need further configuration or firmware update on managed system ?

    Also found "LINK ERROR Recommended Actions PERFORM PROBLEM DETERMINATION PROCEDURES" in VIOS error logs but not sure if this related.


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


  • 2.  Re: rest/api/uom/VirtualIOServer returns an error Unable to connect to Database

    Posted Thu November 10, 2016 02:28 PM

    Originally posted by: AQER_Veena_Ganti


    Hi,

    The "Unable to connect to Database" error from the VIOS could happen for various reasons. We have to debug case by case basic.  Link errors especially for storage being used for the DB can cause the issue. Please ensure that you are at the latest VIOS service pack (2.2.4.30) and that all the hardware issues if present, are resolved. Also, make sure that network connectivity is good and the hostname resolves (both forward and reverse lookups). If the error persists, please open a PMR to debug. Thanks!


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


  • 3.  Re: rest/api/uom/VirtualIOServer returns an error Unable to connect to Database

    Posted Fri November 11, 2016 07:21 AM

    Originally posted by: SergeyBurlyaev


    Hi Veena,

    You wrote: "Please ensure ... that all the hardware issues if present, are resolved".

    Does it mean that HMC REST Services will not work if we have some errors in VIOS configuration?


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


  • 4.  Re: rest/api/uom/VirtualIOServer returns an error Unable to connect to Database

    Posted Fri November 11, 2016 11:07 AM

    Originally posted by: AQER_Veena_Ganti


    Hi,

    Not necessarily. It depends on what configuration errors are present. In this particular case, the error indicates an issue with DB access. Hence  it is better to check for any storage type errors especially for those disks where the DB is housed to ensure the access problems are not because of hardware.


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