Administration guide > Secure the deployment environment > Tutorial: Security in a mixed environment > Module 1: Prepare the environment
Secure the deployment environment > Tutorial: Integrate WebSphere eXtreme Scale security in a mixed environment with an external authenticator > Module 1: Prepare the mixed WAS and stand-alone environment >
< 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. You also must create and start the catalog 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
Create and augment profiles for the deployment manager and nodes with WebSphere eXtreme Scale. See Install WebSphere eXtreme Scale or WebSphere eXtreme Scale Client with WAS for more information.
Configure WAS security.
The WAS administrative security is enabled using the internal file-based federated repositories as the user account registry.
- In the WAS administrative console, click Security > Global Security.
- Select Federated repositories as the User account repository. Click 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, and 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.
Create server clusters
Create two server clusters in the WAS configuration: The appCluster cluster to host the sample application for the tutorial and the xsCluster cluster to host the data grid.
- In the WAS administrative console, open the clusters panel. Click 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.
Create a catalog service domain
After configuring the server cluster and security, define where catalog servers start.
- Define a catalog service domain in WebSphere eXtreme Scale v7.1 or later
- In the WAS administrative console, click System administration > WebSphere eXtreme Scale > Catalog service domains.
- 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.
If you are using v7.1 without fix 1 applied, set the JMX Port to 16099.
- 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.
- Click OK and save the changes.
- Define a catalog service domain in WebSphere eXtreme Scale v7.0
You can create the catalog.services.cluster custom property in a cell, node, or server scope. For this example, you can create the catalog.server.cluster custom property as a cell custom property.
- In the WAS administrative console, click System administration > Cell > Custom properties > New.
- Name as catalog.services.cluster and the value in the appropriate form, using the defined attributes. For example, the value might be: cs1:[your_node_hostname]:16601:16602:16809. See v7.0: Starting the catalog service process in a WAS environment
You enabled security in WAS, and created the server topolgy for WebSphere eXtreme Scale.
< Previous | Next >