Starting a data grid for REST data services in WebSphere Application Server

Follow these steps to start a stand-alone WebSphere® eXtreme Scale REST service sample data grid for a WebSphere eXtreme Scale deployment that is integrated with WebSphere Application Server. Although WebSphere eXtreme Scale is integrated with WebSphere Application Server, these steps start a stand-alone WebSphere eXtreme Scale catalog service process and container.

Before you begin

Install the product into a WebSphere Application Server Version 7.0.0.5 or later installation directory with security disabled. Augment at least one application server profile.

About this task

Start the WebSphere eXtreme Scale sample data grid.

Procedure

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

    To start the server without eXtreme Scale security, use the following commands.

    • [Linux][Unix]./runcat.sh
    • [Windows]runcat.bat
    To start the server witheXtreme Scale security, use the following commands.
    • [Linux][Unix]./runcat_secure.sh
    • [Windows]runcat_secure.bat
  3. Start two container server processes. Open another command-line or terminal window and set the JAVA_HOME environment variable:
    • [Linux][Unix]export JAVA_HOME=java_home
    • [Windows]set JAVA_HOME=java_home
  4. Start a container server process.

    To start the server without eXtreme Scale security, use the following commands.

    1. Open a command-line window.
    2. cd restservice_home/gettingstarted
    3. To start the server without eXtreme Scale security, use the following commands.
      • [Linux][Unix]./runcontainer.sh container0
      • [Windows]runcontainer.bat container0
    4. To start the server with eXtreme Scale security, use the following commands.
      • [Linux][Unix]./runcontainer_secure.sh container0
      • [Windows]runcontainer_secure.bat container0
  5. Start a second container server process.
    1. Open a command-line window.
    2. cd restservice_home/gettingstarted
    3. To start the server without eXtreme Scale security, use the following commands.
      • [Linux][Unix]./runcontainer.sh container1
      • [Windows]runcontainer.bat container1
    4. To start the server with eXtreme Scale security, use the following commands.
      • [Linux][Unix]./runcontainer_secure.sh container1
      • [Windows]runcontainer_secure.bat container1

Results

Wait until the container servers are ready before proceeding with the next steps. The container servers are ready when the following message is displayed:

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.