Starting a stand-alone grid for REST data services

Follow these steps to start the WebSphere eXtreme Scale REST service sample grid for a stand-alone eXtreme Scale deployment.

Before you begin

Install the WebSphere eXtreme Scale Trial or full product:

About this task

Start the WebSphere eXtreme Scale sample grid.

Procedure

Start the catalog service process:

  1. Open a command-line or terminal window and set the JAVA_HOME environment variable:
    • [Linux][Unix] export JAVA_HOME=<>
    • [Windows] set JAVA_HOME=<>
  2. cd /gettingstarted
  3. Start the catalog service process.
    • [Linux][Unix] ./runcat.sh
    • [Windows] runcat.bat

Start two container server processes:

  1. Open another command-line or terminal window and set the JAVA_HOME environment variable:
    • [Linux][Unix] export JAVA_HOME=<>
    • [Windows] set JAVA_HOME=<>
  2. cd /gettingstarted
  3. Start a container server process:
    • [Linux][Unix] ./runcontainer.sh container0
    • [Windows] runcontainer.bat container0
  4. Open another command-line or terminal window and set the JAVA_HOME environment variable:
    • [Linux][Unix] export JAVA_HOME=<>
    • [Windows] set JAVA_HOME=<>
  5. cd /gettingstarted
  6. Start a second container server process:
    • [Linux][Unix] ./runcontainer.sh container1
    • [Windows] runcontainer.bat container1

Results

Wait until the eXtreme Scale containers are ready before proceeding with the next steps. The container servers are ready when the following message is displayed in the terminal window:

CWOBJ1001I: ObjectGrid Server <container name> is ready to process requests.

Where <container name> is the name of the container that was started in the previous step.