Administration guide > Secure the deployment environment > Tutorial: Integrate WebSphere eXtreme Scale security with WAS > Module 1: Prepare WAS

Secure the deployment environment > Tutorial: Integrate WebSphere eXtreme Scale security with WAS > Module 1: Prepare WAS >

< Previous | Next >


Lesson 1.2: Configure the WAS environment

To prepare the environment for the tutorial, configure WAS 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.

The following steps were written using WAS v7.0. However, you can also apply the concepts apply to earlier versions of WAS.


Configure WAS security

  1. Configure WAS security.

    1. In the WAS administrative console, click...

      Security | Global Security | Federated repositories | Set as current

    2. Click Configure to go to the Federated repositories panel.

    3. Enter the Primary administrative user name, for example, admin. Click Apply.

    4. When prompted, enter the administrative user password and click OK. Save the changes.

    5. On the Global Security page, verify that Federated repositories setting is set to the current user account registry.

    6. Select the following items:

    7. Click Apply and save the changes.

    8. Restart the deployment manager and any running application servers.

    The WAS administrative security is enabled using the internal file-based federated repositories as the user account registry.

  2. Create two user groups:

    1. Click...

      Users and groups | Manage groups | Create

    2. Type adminGroup as the group name.

      Enter Administration group as the description. Click Create.

    3. Click Create alike. Type operatorGroup as the group name.

      Enter Operator group as the description. Click Create.

    4. Click Close.

  3. Create users...

    1. Click...

      Users and groups | Manage users | Create

    2. Create a user called admin1 with the first name Joe and last name Doe with the password admin1. Click Create.

    3. Create a second user. Click Create alike to create a a user called operator1 with the first name Jane and last name Doe with the password operator1. Click Create. Click Close.

  4. Add users to the user groups.

    1. Click...

      Users and groups | Manage users

    2. Search for users to add to groups.

      Click Search and set the search for value to an asterisk (*) to display all the users.

    3. From the search result, select the admin1 user and click the Groups tab.

      Click Add to add the group.

    4. Search the groups to find the available groups.

      Click the adminGroup and click Add.

    5. Repeat these steps to add the operator1 user to the operatorGroup user group.

  5. Save the changes, log out of the administrative console, and restart the deployment manager and node agent to enable the security settings.

You enabled security and created users and user groups have administrative and operator access to the WAS configuration.


Create server clusters

Create two server clusters in the WAS configuration:

  1. In the WAS administrative console go to...

    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.


Lesson checkpoint

You enabled global security for the WAS cell, created users and user groups, and created clusters to host the application and data grid.

< Previous | Next >