Technical Note: Deploying Access Manager to an Application Server Cluster

Install and Configure Application Server

In this section, one machine will contain the DAS host server and the Application Server host-server1). Two additional servers (server1 and server2) will contain the Application Server instances.

  1. Install Application Server using the Java ES installer with the Configure Now option. When you install Application Server, the Java ES installer also creates the node agent. .

  2. Install the Application Server command line utilities on server1 and server2. You will install node agents on these servers (See Step 3c). The examples in this document use nodeagent1, nodeagent2, nodeagent3 as the node agent names

  3. Configure the Application Server Cluster. Examples in the following steps use the Application Server asadmin command-line utility; however, you can use the Application Server Administration Console, if you prefer.

    1. Start the node agent on the DAS (host-server1). For example:

      asadmin> start-node-agent --user admin --passwordfile password-file nodeagent1
    2. Create node agents on server1 and server2.

      asadmin> create-node-agent --host host-server1.example.com --port 4849 --user admin 
      --passwordfile password-file nodeagent2
      asadmin> create-node-agent --host host-server1.example.com --port 4849 --user admin 
      --passwordfile password-file nodeagent3
    3. Start the node agents on server1 and server2. For example:

      asadmin> start-node-agent --user admin --passwordfile password-file nodeagent2
      asadmin> start-node-agent --user admin --passwordfile password-file nodeagent3
    4. Create the cluster on the DAS. For example:

      asadmin create-cluster --user admin --passwordfile password-file amcluster
    5. Create a server instance for the cluster at the DAS. For example:

      asadmin> create-instance --user admin --passwordfile password-file 
      --cluster amcluster --nodeagent nodeagent1 
      --systemproperties HTTP_LISTENER_PORT=8182: instance1
      asadmin> create-instance --user admin --passwordfile password-file 
      --cluster amcluster --nodeagent nodeagent2 
      --systemproperties HTTP_LISTENER_PORT=8182: instance2
      asadmin> create-instance --user admin --passwordfile password-file 
      --cluster amcluster --nodeagent nodeagent3 
      --systemproperties HTTP_LISTENER_PORT=8182: instance3

      Note –

      If you are creating an instance on a remote server, specify the node agent name on the remote server. Also, make sure that the node agent is running on the remote server.