Now the cluster-specific stuff begins.
Create the Cluster
 
    Click Home::Environment::Clusters. Click New::Cluster. Set name as cluster1. Click OK. This returns you to the "Summary of Clusters" page.
 
    Click on the link for the freshly created cluster1.
 
    Set the Cluster Address to be adc00ooo. Click Save.
 
Create A Machine
 
A Machine is a WLS admin abstraction that lets the wls admin server interact with an important standalone Java program called the NodeManager. More on that later. Think of it as the thing that contains the managed server instances that form the nodes of your cluster.
 
    Click Environment::Machines.
 
    Click New. Set the name as machine1 and set the Machine OS to UNIX. Click Next.
 
    Set the listen address to adc00ooo. Leave the rest as is. Click finish. This takes you to the "Summary of Machines" page. Click the link for the newly created Machine.
 
    Click the Node Manager tab and verify the Listen Address and Listen Port are as expected. Note them down somewhere.
 
Create the Managed Servers for the Cluster
 
    Click Environment::Servers. Click New.
 
    Fill in server name as server1.
 
    Fill in Server Listen Address as adc00ooo.
 
    Fill in Server Listen Port as 18080.
 
    Select the radio button, "Yes, make this server a member of an existing cluster". Make sure cluster1 is selected in the menu drop down.
 
    Click Next.
 
    Review the choices and click Finish.
 
    Repeat the steps in this section but use server2 and 28080 as the Server Name and Listen Port.
 
Add the Managed Servers to the Machine
 
    Click Environment::Machines. Select machine1.
 
    Click the Servers tab.
 
    Click Add.
 
    Choose the "Select an existing server and associate it with this Machine" radio button. Ensure server1 is shown in the "Select a server" dropdown.
 
    Click next.
 
    Repeat the steps in this section but select "server2" this time.
 
Ensure the Managed Servers are Enabled for Source Level Debugging
 
If you wish to attach a JPDA enabled source level debugger to your server instances, it's easy to do! 

1 Comments

  • miojo Newbie
    Save some steps by simply starting NodeManager from the domain dir:   $ user_projects/domains/base_domain/bin/startNodeManager.sh Starting from 12c, the node manager scripts are now part of the domain for easier setup. //