Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

Β View Only
Expand all | Collapse all

MAS 9 on OpenShift Local

  • 1.  MAS 9 on OpenShift Local

    Posted Wed July 03, 2024 04:25 PM

    Hi,
    has anyone already successfully installed MAS v9 on OpenShift Local?
    I am asking because I am encountering a problem with the "app-cfg-manage" task which raises the error "validate and parse jdbc connection parameter".
    IMO it is due to the fact that I use a db external to OCP but that doesn't explain the error as I never had any problems with v8.



    ------------------------------
    Diego Visentin
    EAM BU Director
    Tempestive S.p.A.
    ------------------------------


  • 2.  RE: MAS 9 on OpenShift Local

    Posted Wed July 03, 2024 04:34 PM
    We have it running on our internal server with an external database if that is helpful.  





  • 3.  RE: MAS 9 on OpenShift Local

    Posted Wed July 03, 2024 04:49 PM

    OK, thanks for the information Jason.
    That should remove my doubt that there is a generic problem in the ansible related to jdbc configuration with an external db.
    Looking at the log it turns out that ansible does not have the jdbc configuration data, as if the API call to retrieve it returns an empty response (even though the JdbcCfg resource is correctly configured).
    Of course it would be strange if the problem arose from using OCP Local because I think it is analogous to an SNO scenario. 
    I will try the installation from scratch again as soon as I have time.



    ------------------------------
    Diego Visentin
    EAM BU Director
    Tempestive S.p.A.
    ------------------------------



  • 4.  RE: MAS 9 on OpenShift Local

    Posted Thu July 04, 2024 09:35 AM

    Hi Diego - Have you see these steps for OpenShift Local - https://github.com/evilADevil/mas-local

    Thanks.



    ------------------------------
    Thanks & Regards,
    Prashant Sharma
    Principal Maximo Solution Architect | IBM Champion 2022, 2023 & 2024
    ------------------------------



  • 5.  RE: MAS 9 on OpenShift Local

    Posted Thu July 04, 2024 10:15 AM

    Hi Prashant, 
    I used the CLI utility as I always do, usually successfully.



    ------------------------------
    Diego Visentin
    EAM BU Director
    Tempestive S.p.A.
    ------------------------------



  • 6.  RE: MAS 9 on OpenShift Local

    Posted Mon July 08, 2024 06:49 PM

    Hi Diego - For Openshift Local have you seen this article - https://github.com/evilADevil/mas-local

    Thanks,

    Prashant



    ------------------------------
    Prashant Sharma
    ------------------------------



  • 7.  RE: MAS 9 on OpenShift Local

    Posted Mon July 08, 2024 07:07 PM

    Hey Diego

    I have it running. I just upgraded my MAS 8.11.12 instance which I installed on OpenShift Local to MAS 9. OpenShift Local is a gamechanger for developers. I tied SNO as well, but was not successful. OpenShift Local is definitely the best option.

    I am also using an external DB to OCP - I think this is the easiest if you are trying to install on a laptop like me. I am using SQL Server Developer.

    Cheers

    Aneesh



    ------------------------------
    Aneesh Joseph
    ------------------------------



  • 8.  RE: MAS 9 on OpenShift Local

    Posted Tue July 09, 2024 05:47 AM

    Hi Aneesh,
    Thanks for reassuring us that at least the upgrade process works. πŸ‘
    But I would also like to be able to validate the installation from scratch via the CLI. I have tried several of its latest releases, but always to no avail. 
    Assuming it works for sure in some scenarios, I suppose there is something untested in mine. For example, using the external db.



    ------------------------------
    Diego Visentin
    EAM BU Director
    Tempestive S.p.A.
    ------------------------------



  • 9.  RE: MAS 9 on OpenShift Local

    Posted Wed February 12, 2025 04:37 PM

    Diego, were you able to solve this? I stuck exactly on the same step. Doing the maximo POC, for the very first time and I believe I have a very similar setup. Cluster of OCP , and I run db2 (community edition) in docker. I can connect to the db2 instance using from Dbeaver using exactly same jdbc string wihtout a problem. 

    But the install fails on "validate and parse jdbc connection parameter". (masinstance-entitymgr-ws-xxxx pod) 

     I am wondering if the jdbc url is not properly passed to the container that runs the ansible job.



    ------------------------------
    Grzegorz Powiedziuk
    ------------------------------



  • 10.  RE: MAS 9 on OpenShift Local

    Posted Sun February 16, 2025 09:33 AM

    Hi Grzegorz,

    That time I found that the <InstanceID>-<WorkspaceID>-jdbccfg-workspace-application-binding was empty and I solved it by entering the jdbc parameters by hand.
    This is not the way I would recommend, but having also tried opening a ticket with IBM support without getting any useful feedback, I approached the problem in this unorthodox way.



    ------------------------------
    Diego Visentin
    ------------------------------



  • 11.  RE: MAS 9 on OpenShift Local

    Posted Wed February 26, 2025 04:33 PM

    Thank you both! I think I got it sorted.

    I installed the core first, then enabled the manage option from the admin interface. From there, I was able to specify the JDBC URL. That's when I realized my DB2 instance was missing the necessary tables and schema.

    I also learned that Maximo runs a script to check if a database update is needed and applies it if necessary. But for some reason, it wasn't able to update my DB2 automatically. So, I manually created the tables, schema, and Maximo user, then updated the JDBC connection again-finally, it worked!

    I'm sure I did a bunch of things out of order, but hey, I got to where I needed to be! πŸ˜†

    Thanks again!



    ------------------------------
    Grzegorz Powiedziuk
    ------------------------------



  • 12.  RE: MAS 9 on OpenShift Local

    Posted Mon February 17, 2025 12:53 AM

    More than likely your problem is you missed the CRC setting to allow the VM to see the host network.

    crc config set host-network-access true

    You can find more info here: https://github.com/evilADevil/mas-local/tree/main/mssql
    I also install using the MAS CLI instead the playbook at that link and have no problem.



    ------------------------------
    Alex Donatelli
    IBM
    ------------------------------



  • 13.  RE: MAS 9 on OpenShift Local

    Posted Mon February 17, 2025 03:14 AM

    Thanks for the suggestion. I will try it the next time I need to rebuild my local system.



    ------------------------------
    Diego Visentin
    ------------------------------