WebSphere Application Server & Liberty

 View Only
  • 1.  Deploy war in a single node of a cluster

    Posted Wed October 11, 2023 07:51 PM

    Hello everyone

    I have a question, is it possible to deploy a war file in a single node of a cluster? 

    Thank you



    ------------------------------
    Ismael Gutierrez E

    Please, stay safe!
    Take care of you and your loved ones.
    ------------------------------


  • 2.  RE: Deploy war in a single node of a cluster

    IBM Champion
    Posted Fri October 13, 2023 02:00 AM

    Hello Ismael,

    Not that I'm aware of.

    What we did for a similar situation was to define a server instance on the one node and deployed the app to that server. We did not make this server instance part of the cluster.

    I guess the point of the cluster is that it ensures the app is deployed to all nodes that are part of the cluster.

    Regards, 



    ------------------------------
    Sean Boyd
    ------------------------------



  • 3.  RE: Deploy war in a single node of a cluster

    Posted Wed October 18, 2023 02:20 PM

    Thanks for your answer, I will propouse the solution that you used.



    ------------------------------
    Ismael Gutierrez E
    IT Consutant Senior

    Please, stay safe!
    Take care of you and your loved ones.
    ------------------------------



  • 4.  RE: Deploy war in a single node of a cluster

    Posted Mon October 16, 2023 03:52 AM

    As documented, "Servers that belong to a cluster are members of that cluster set and must all have identical application components deployed on them."
    Clusters and workload management - IBM Documentation
    It is not supported to have an application deployed to one cluster member only. 
    As mentioned by Sean, the best approach is to set up an additional server to host that web application. 

    Hope that helps.

    Lars



    ------------------------------
    [Lars] [Besselmann]
    Integration Technical Specialist, IBM Technology Sales, EMEA
    IBM
    Düsseldorf
    [Lars.Besselmann@de.ibm.com]
    ------------------------------



  • 5.  RE: Deploy war in a single node of a cluster

    Posted Wed October 18, 2023 02:22 PM

    Thanks for your answer, I will suggest to install a new server.



    ------------------------------
    Ismael Gutierrez E
    IT Consutant Senior

    Please, stay safe!
    Take care of you and your loved ones.
    ------------------------------