Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Creating multiple instance in one box

 
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
The only cure for that is hours of television radiation. And this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic