Enabling global security

Why and when to perform this task

You can decide whether to enable IBM WebSphere Application Server security. You must enable security for all other security settings to function.

Steps for this task

  1. Enable global security in the WebSphere Application Server. Make sure that all node agents within the cell are active beforehand.
    For more information, see Configuring global security. It is important to click Security > Global Security and set the Enabled flag to on and to save the configuration has been saved to the repository. Verify that the validation that occurs after you click OK in the Security > Global Security panel is successful before continuing. If the validation is not successful and you continue with these steps, you risk the server not starting. Reconfigure the security settings until validation is successful.
  2. Push a copy of the new configuration to all of the running node agents using the administrative console.
    If a node agent fails to get the security-enabled configuration, communication with the deployment manager fails due to a lack of access (the node agent will not be security enabled). To force synchronize a specific node, complete the following steps from the administrative console:
    1. Go to System Administration > Nodes and select the option next to all the nodes (you do not need to select the deployment manager node).
    2. Click Full Resynchronize to verify that the file synchronization has occurred.
      The message might indicate that the nodes already are synchronized. This message is OK. When synchronization is initiated, verify that the Synchronized status displays for all nodes.
  3. Stop the deployment manager. Manually restart the deployment manager from the command line or service.
    To stop the deployment manager, complete the following step:
    1. Go to System Administration > Deployment Manager and click Stop. This action logs you out of the administrative console and stops the deployment manager process.
  4. Restart the deployment Mmanager process. To restart the deployment manager process, locate the install_root/bin directory and type the following code:
    START dmgr_proc_name,JOBNAME=server_short_name,
          ENV=cell_short_name.node_short_name.server_short_name

    Note: You must enter the previous command on a single line. It is split here for display purposes.

    After the deployment manager initialization is complete, go back into the administrative console to complete this task. Remember that security now is enabled in only the deployment manager. If you enabled single signon (SSO), specify the fully qualified domain name of your Web address, for example, http://myhost.domain:9090/admin. When you are prompted for a user ID and password, type the one that you entered as the administrator ID in the configured user registry.

  5. If the deployment manager does not start after enabling security, disable security using a script and restart. Disable security by issuing the following command from the DeploymentManager/bin directory: wsadmin -conntype NONE.
  6. Restart all node agents to make them security enabled.
    You must have restarted the deployment manager in a previous step before completing this step. If the node agent is security-enabled before the deployment manager is security-enabled, then the deployment manager cannot query the node agent for status or give the node agent commands. To stop all node agents, complete the following steps:
    1. Go to System Administration > Node Agents and select the option beside all node agents. Click Restart. A message similar to the following example is displayed at the top of the panel: The node agent on node NODE NAME was restarted successfully.
    2. Alternatively, if you previously did not stop your application servers, restart all of the servers within any given node by clicking System Administration > Node Agents and by clicking the node agents where you want to restart all the servers. Then, click Restart all Servers on Node. This action restarts the node agent and any started application servers.
  7. If any node agent fails to restart, perform a manual resynchronization of the configuration.
    This step consists of going to the physical node and running the client syncNode command. This client logs into the deployment manager and copies all of the configuration files to the node agent. This action ensures that the configuration is security-enabled. To resynchronize, complete the following steps:
  8. Restart all of the application servers on each node agent.
    If you have not already stopped your application servers before performing these steps, restart them now. To restart application servers on a node agent (they must already be started), go to System Administration > Node Agents. Click a node agent and select Restart all Servers on Node. If all servers are already stopped, start the servers by going to Servers > Application Servers and selecting the servers that you want to start. Click Start.
  9. If you click System Management > Nodes and the status of the node is Unknown, go to that node and physically stop and restart the node agent. To stop the node agent, issue the following command:
    STOP nodeagent_proc_name,JOBNAME=server_short_name,
           ENV=cell_short_name.node_short_name.server_short_name

    To start the node agent, issue the following command:

    START nodeagent_proc_name,JOBNAME=server_short_name,
           ENV=cell_short_name.node_short_name.server_short_name
  10. If you have any problems restarting the node agents or application servers, review the output logs in the WAS/logs/nodeagent or WAS /logs/server_name directory, respectively. Then, check the security troubleshooting section to see if any common problems are referenced.

Related concepts
Global security and server security
Java 2 security policy files
Related tasks
Configuring global security
Configuring user registries
Configuring Lightweight Third Party Authentication
Related reference
Global security settings
Java 2 security



Searchable topic ID:   tsecegs
Last updated: Jun 21, 2007 9:56:50 PM CDT    WebSphere Application Server for z/OS, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.websphere.zseries.doc/info/zseries/ae/tsec_egs.html

Library | Support | Terms of Use | Feedback