O'Reilly logo

IBM WebSphere eXtreme Scale 6 by Anthony Chaves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding more containers

Running one container allows several clients to use the same grid, but doesn't offer much more than that. We are still limited to one JVM heap, one computer's CPU resources, and bandwidth. Starting additional containers is easy:

C:\wxs\ObjectGrid\bin>startOgServer.bat server1 -objectgridFile c:\wxs\workspace\PaymentProcessor\bin\jpa-objectgrid.xml -deploymentPolicyFile 
c:\wxs\workspace\PaymentProcessor\bin\ogdeployment.xml
-catalogServiceEndPoints galvatron:2809 -jvmArgs -cp c:\jboss-4.2.2.GA\server\default\lib\*;c:\wxs\wor
kspace\PaymentProcessor\bin;c:\jboss-4.2.2.GA\lib\*

This is almost the same line used to start server0. This gives us a second container to store objects in. We can start as many servers as we want ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required