Starting a WebLogic Server Cluster

10-8 Using Clusters for Oracle WebLogic Server

10.2.3 Create a Clustered Domain

The are multiple methods of creating a clustered domain. For a list, see Section 4.5, Methods of Configuring Clusters. For instructions to create a cluster using the: ■ Configuration Wizard, first see Creating a WebLogic Domain in Creating Domains Using the Configuration Wizard for instructions on creating the domain, and then Select Optional Configuration for instructions on configuring a cluster. ■ Administration Console, see Create and configure clusters in Oracle WebLogic Server Administration Console Help.

10.2.3.1 Starting a WebLogic Server Cluster

There are multiple methods of starting a cluster—available options include the command-line interface, scripts that contain the necessary commands, and Node Manager. Regardless of the method you use to start a cluster, start the Administration Server first, then start the Managed Servers in the cluster. Follow the instructions below to start the cluster from a command shell. Note that each server instance is started in a separate command shell. 1. Open a command shell. 2. Change directory to the domain directory that you created with the Configuration Wizard. 3. Type this command to start the Administration Server: StartWebLogic 4. Enter the user name for the domain at the Enter username to boot WebLogic Server prompt. 5. Enter the password for the domain at the Enter password to boot WebLogic Server prompt. The command shell displays messages that report the status of the startup process. 6. Open another command shell so that you can start a Managed Server. 7. Change directory to the domain directory that you created with the Configuration Wizard. 8. Type this command StartManagedWebLogic server_name address:port where: server_name is the name of the Managed Server you wish to start Note: Node Manager eases the process of starting servers, and restarting them after failure. To use Node Manager, you must first configure a Node Manager process on each machine that hosts Managed Servers in the cluster. See Section 10.2.4, Configure Node Manager. Setting up WebLogic Clusters 10-9 address is the IP address or DNS name for the Administration Server for the domain port is the listen port for the Administration Server for the domain 9. Enter the user name for the domain at the Enter username to boot WebLogic Server prompt. 10. Enter the password for the domain at the Enter password to boot WebLogic Server prompt. The command shell displays messages that report the status of the startup process. 11. To start another server instance in the cluster, return to step 6. Continue through step 10. 12. When you have started all Managed Servers in the cluster, the cluster startup process is complete.

10.2.4 Configure Node Manager