• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

detecting an appserver

 
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All,
I have a shell script, using which I install our application in WebSphere. This installation involves extracting the traball into a directory and creating an instance of the Application Server on the node in which it's running. Before I create the Application Server, I stop and remove the instance with the same name, just in case a previous instance exists. I don't check if the application server exists already. Is there a way we can do this? (i.e. detect if an application server of a given name exists already on the node?)
I am using XMLConfig.sh and I am feeding XML files to this script, to stop, remove and create a new application server. Any help will be appreciated. Thanks.
-Bala Krishna
 
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you're running WAS 3.5 You might want to consider using wscp (WebSphere Control Program) to detect the presence of a node, from there it'a also quite easy to drop it from the repository.
The wscp command "Node list" lists all nodes in the admin rep.
/Peter
 
reply
    Bookmark Topic Watch Topic
  • New Topic