This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Creating multiple instance in one box

 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I've been a java developer for several years now but I am just new to WAS administration. Currently there is one instance running in our box and that is for development. What they wanted me to do is create two more instances on the same box, one for UAT and one for Integration. Is this possible? if yes, where do I start? could this be done on the admin console? do i still need the installation cd to do this? We are using WAS 6.0 by the way and we will be doing this in Unix.

Any form of help or advise would be appreciated. =)

Thanks,
Andres
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Andres Delrotti wrote:Hi,

Is this possible? if yes, where do I start?
Andres


Sorry I don't know anything about UNIX & we are on IBMi OS (AS400)
I'm doing this using IBM-HTTP server & It has a link to create WAS profile
& another way is using console

STRQSH
cd /QIBM/ProdData/WebSphere/AppServer/V61/Base/bin
manageprofiles -create -profileName WASSvr01 -templatePath default -startingPort 53001

I hope you can do this using UNIX console

Thanks
Dhanu

 
Ranch Hand
Posts: 446
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is possible to run multiple instances on the same box provided the box has enough CPU, Memory, and Disk to handle this.

The instance in WebSphere world means profiles. Using profile mgmt tool (PMT) you can create multiple instances. Each profile runs in its own JVM and has different port numbers etc.

Explore PMT and your answer lies in it. You can invoke it via pmt.bat or pmt.sh file under your WebSphere install directory.
 
Andres Delrotti
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Deepak Pant wrote:Yes it is possible to run multiple instances on the same box provided the box has enough CPU, Memory, and Disk to handle this.

The instance in WebSphere world means profiles. Using profile mgmt tool (PMT) you can create multiple instances. Each profile runs in its own JVM and has different port numbers etc.

Explore PMT and your answer lies in it. You can invoke it via pmt.bat or pmt.sh file under your WebSphere install directory.



i tried doing it and the problem is the graphic interface is disabled in Unix so it wont start.

i tried using the wasprofile.sh -create but there are errors which i cant seem to figure out

i tried doing it in windows but the same thing still happens, here the command i entered:

wasprofile.bat -create -profileName TestProfile -profilePath "C:\Program Files\IBM\WebSphere\AppServer1\profiles" -templatePath "C:\Program Files\IBM\WebSphere\AppServer1\profileTemplates\" -nodeName NATILLENode02 -cellName NATILLENCell02 -hostName localhost

and i get this in the log

com.ibm.ws.profile.WSProfileException: Cannot find the TestProfile profile.

Well of course it shouldn't be able to find TestProfile, its the profile you are creating. I can't seem to figure this out.
 
There will be plenty of time to discuss your objections when and if you return. The cargo is this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic