WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

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
  • 1.  Application installation in multiple physical machines using wsadmin scripting

    Posted 01/31/12 01:38 PM
    Hi all,

       In WAS, we have wsadmin scripting with which we can install enterprise application(EAR)..

       I wanted to perform this task on multiple physical machines sequentially(one after another).

      can we use wsadmin scripting to perform this task automatically???


  • 2.  Application installation in multiple physical machines using wsadmin scripting

    Posted 01/31/12 08:17 PM
    More info on you setup would help you get an answer to this question.

    What version (5, 6, 7)?
    What edition (express, network deployment, etc.)?
    Are these two physical servers federated to the same deployment manager?


  • 3.  Application installation in multiple physical machines using wsadmin scripting

    Posted 02/01/12 01:38 PM
    Ours is WAS 6.1 ND.. We are having different Deployment Manager(Dmgr) in different physical machines..

    Is the task of installing applications can be achieved automatically??


  • 4.  Application installation in multiple physical machines using wsadmin scripting

    Posted 02/01/12 09:06 PM
    From my understanding, your topology looks like this...

    Server1 - DMGR1
    Server2 - DMGR2

    It looks like you already have a wsadmin script that you use to install the EAR and you want to perform this task on Server1, then Server2.

    You can't do this through wsadmin scripting since the wsadmin tool connects to the DMGR of the server and you don't have the ability to connect to a different DMGR (not that I know of at least).

    You should be able to do this by writing another script that runs the wsadmin script for each server.

    Note that since these are 2 different servers with 2 different DMGRs, you should be able to do the installation in parallel.