Lesson 1.2: Configure the WebSphere Application Server environment

To prepare your environment for the tutorial, you must configure WebSphere® Application Server security. Enable administration and application security using internal file-based federated repositories as a user account registry. Then, you can create server clusters to host the client application and container servers. You also must create and start the catalog servers.

About this task

The following steps were written using WebSphere Application Server Version 7.0. However, you can also apply the concepts apply to earlier versions of WebSphere Application Server.

Configure WebSphere Application Server security

Before you begin

Create and augment profiles for the deployment manager and nodes with WebSphere eXtreme Scale. See Installing WebSphere eXtreme Scale or WebSphere eXtreme Scale Client with WebSphere Application Server for more information.

Procedure

Configure WebSphere Application Server security.
  1. In the WebSphere Application Server administrative console, click Security > Global Security.
  2. Select Federated repositories as the Available realm definition. Click Set as current.
  3. Click Configure.. to go to the Federated repositories panel.
  4. Enter the Primary administrative user name, for example, admin. Click Apply.
  5. When prompted, enter the administrative user password and click OK. Save your changes.
  6. On the Global Security page, verify that Federated repositories setting is set to the current user account registry.
  7. Select the following items: Enable administrative security, Enable application security, and Use Java 2 security to restrict application access to local resources. Click Apply and save your changes.
  8. Restart the deployment manager and any running application servers.
The WebSphere Application Server administrative security is enabled using the internal file-based federated repositories as the user account registry.

Create server clusters

Create two server clusters in your WebSphere Application Server configuration: The appCluster cluster to host the sample application for the tutorial and the xsCluster cluster to host the data grid.

Procedure

  1. In the WebSphere Application Server administrative console, open the clusters panel.
    Click Servers > Clusters > WebSphere application server clusters > New.
  2. Type appCluster as the cluster name, leave the Prefer local option selected, and click Next.
  3. Create servers in the cluster.
    Create a server named s1, keeping the default options. Add an additional cluster member named s2.
  4. Complete the remaining steps in the wizard to create the cluster. Save the changes.
  5. Repeat these steps to create the xsCluster cluster. This cluster has two servers, named xs1 and xs2.

Create a catalog service domain

After configuring the server cluster and security, you must define where catalog servers start.

Procedure

Define a catalog service domain in WebSphere eXtreme Scale
  1. In the WebSphere Application Server administrative console, click System administration > WebSphere eXtreme Scale > Catalog service domains.
  2. Create the catalog service domain.
    Click New. Create the catalog service domain with the name catalogService1, and enable the catalog service domain as the default.
  3. Add remote servers to the catalog service domain.
    Select Remote server. Provide the host name where the catalog server is running. Use the listener port value of 16809 for this example.
  4. Click OK and save your changes.

Lesson checkpoint

You enabled security in WebSphere Application Server, and created the server topolgy for WebSphere eXtreme Scale.