DataPower

DataPower

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

How to start the Datapower WebGui on a Redhat OpenShift VM

  • 1.  How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted Mon September 15, 2025 01:44 PM

    We currently run our Datapower VM's on VMWare, but we are working to move them to Redhat OpenShift.

    We were able to install it and it worked fine, but when we restart the VM, the webgui doesn't start up.

     

    Another question: According to IBM support, changes made inside the Datapower pod will be lost when the pod is restarted.  We have hundreds of special built xsl and xml files to configured to work with our applications.  Does this mean, we can't develop the applications that we have within Datapower?



    ------------------------------
    John Parker
    ------------------------------


  • 2.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted Tue September 16, 2025 01:35 AM

    Hi John,

    First check if you are dealing with DataPower 'VM' or DataPower 'CI/CD' instance. This will help you navigate the migration path in clear manner. I will assume latter and try to answer your question. Please note, the suggested way to install DataPower in RHOS is via DataPower Operator. It is custom resource that needs to be deployed on RHOS. Assuming this is done,

    1. You need to expose the ports in 'Service' object in OCP cluster. Define your ports there (they must be up and running on your DataPower POD as well). As soon as the service object is created you can access webGUI (browse the service object from OCP UI and you can access them). 
    2. You can develop applications just the way you used to develop it before. Application development approach doesn't change when you move to OCP cluster. But the approach to package applications and put it on OCP cluster change quite significantly. Be prepared to re-write your DevOps pipeline in a significant manner.  

    I don't know if you work with IBM, but if you do, connect with Integration practice lead for CIC India and she should be able to guide you on this. Alternatively connect with IBM representative to have a guided journey on this.



    ------------------------------
    Ajitabh Sharma
    ------------------------------



  • 3.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted Tue September 16, 2025 06:08 AM

    I believe that we are trying to run Datapower as a VM, much like we ran under VMware.  We are switching to RHOS because VMware change their pricing structure.

    We looked at the containerized version of Datapower on RHOS, but it seemed much different from what we are already running.

     



    ------------------------------
    John Parker
    ------------------------------



  • 4.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted Wed September 17, 2025 12:49 PM

    We were able to fix it.  The person that did the installation and set up the webgui didn't write it to memory, so it went away every time it was rebooted.



    ------------------------------
    John Parker
    ------------------------------



  • 5.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted Wed September 17, 2025 08:33 AM

    I have created a config map:

    apiVersion: v1
    kind: ConfigMap
    metadata:
      namespace: <namespace>
      name: <name>
    data:
      datapower.cfg: |
        top
        configure terminal
        web-mgmt
        admin-state enabled
        exit

    and then added it to spec part when I created datapower service :
    spec:
      domains:
        - name: default
          dpApp:
            config:
              - <name>      # Config map to enable webgui 



    ------------------------------
    Janne Suotula
    ------------------------------



  • 6.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted Wed September 17, 2025 08:33 AM

    I have created a config map:

    apiVersion: v1
    kind: ConfigMap
    metadata:
      namespace: <namespace>
      name: <name>
    data:
      datapower.cfg: |
        top
        configure terminal
        web-mgmt
        admin-state enabled
        exit

    I added config map to spec section when I created datapower service:

    spec:
      domains:
        - name: default
          dpApp:
            config:
              - <name>      # Config map to enable webgui    


    ------------------------------
    Janne Suotula
    ------------------------------



  • 7.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted 30 days ago

    Hi John,

    there was already a response to your second question but more specifically if you want to make changes to your xsl/xml/whatever files, define a persistent volume and mount it to your container. Below a page from DataPower operator explaining things a bit.

    https://www.ibm.com/docs/en/datapower-operator/1.15.x?topic=SSHPDZ_1.15.0/apis/datapowerservice/v1beta1/spec/storage.htm 



    ------------------------------
    Hermanni Pernaa
    Solutions Architect
    Digia Plc
    Helsinki
    ------------------------------



  • 8.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted 30 days ago

    Hi Hermanni,

    Is this for the VM version of Datapower, or the containerized version?

    John



    ------------------------------
    John Parker
    ------------------------------



  • 9.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted 29 days ago

    Containerized version.



    ------------------------------
    Hermanni Pernaa
    Solutions Architect
    Digia Plc
    Helsinki
    ------------------------------



  • 10.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted 29 days ago

    Thanks!  We plan to look at that in the future.  Right now, we are moving from Vmware to OpenShift, so it's probably better to keep it a bit simpler change.



    ------------------------------
    John Parker
    ------------------------------



  • 11.  RE: How to start the Datapower WebGui on a Redhat OpenShift VM

    Posted 29 days ago

    Ok, when thinking on the containerized setup and the pipelines, please keep in mind that DataPower Operator is specifically targeted to OpenShift deployments:

    The DataPower Operator currently supports:

    • OpenShift Container Platform (OCP) 4.14, 4.15, 4.16, 4.17, 4.18, 4.19
    • Kubernetes 1.31, 1.32, 1.33


    ------------------------------
    Hermanni Pernaa
    Solutions Architect
    Digia Plc
    Helsinki
    ------------------------------