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
- Configure WAS security.
- In the WAS administrative console, click...
Security | Global Security | Federated repositories | Set as current
- Click Configure to go to the Federated repositories panel.
- Enter the Primary administrative user name, for example, admin. Click Apply.
- When prompted, enter the administrative user password and click OK. Save the changes.
- On the Global Security page, verify that Federated repositories setting is set to the current user account registry.
- Select the following items:
- Enable administrative security
- Enable application security
- Use Java 2 security to restrict application access to local resources
- Click Apply and save the changes.
- 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.
- Create two user groups:
Users and groups | Manage groups | Create
- Type adminGroup as the group name.
Enter Administration group as the description. Click Create.
- Click Create alike. Type operatorGroup as the group name.
Enter Operator group as the description. Click Create.
- Click Close.
- Create users...
Users and groups | Manage users | Create
- Create a user called admin1 with the first name Joe and last name Doe with the password admin1. Click Create.
- 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.
- Add users to the user groups.
Users and groups | Manage users
- Search for users to add to groups.
Click Search and set the search for value to an asterisk (*) to display all the users.
- From the search result, select the admin1 user and click the Groups tab.
Click Add to add the group.
- Search the groups to find the available groups.
Click the adminGroup and click Add.
- Repeat these steps to add the operator1 user to the operatorGroup user group.
- 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:
- The appCluster cluster to host the sample application for the tutorial
- The xsCluster cluster to host the data grid
- In the WAS administrative console go to...
Servers | Clusters | WebSphere application server clusters | New
- Type appCluster as the cluster name, leave the Prefer local option selected, and click Next.
- Create servers in the cluster.
Create a server named s1, keeping the default options. Add an additional cluster member named s2.
- Complete the remaining steps in the wizard to create the cluster. Save the changes.
- Repeat these steps to create the xsCluster cluster.
This cluster has two servers, named xs1 and xs2.
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 >