Weblogic study summary (five) - to create a basic cluster

  WebLogic Server hosting a server cluster composed of a plurality of operating simultaneously, they perform the same application, operate to provide greater scalability and reliability together . Cluster appears as a single WebLogic server instance on the client. You can use clusters to take advantage of workload balancing and failover features a single managed server can not provide. Clustered hosting server running on one or more different machines. Hosted by adding additional servers to the cluster on the same machine, you can easily expand the cluster.

First, create an existing managed server cluster

1, ensure that the management server is up and running. Open a web browser and enter the WebLogic Server Administration Console URL: http: // localhost: 7001 / console

2. Enter the administrator credentials.

WebLogic Server Management console displays the home page.

3. Expand the "environment" in the "Domain Structure" and select "Server."

 

4, the Summary Servers page, select Control. If any managed server is running, close them.

 

5. Click Yes to confirm forced to close. Click Refresh Refresh icon to ensure that all managed servers are down.

6, in the "Change Center", click "Lock and edit."

7, in the domain structure, expand Environment and select Clusters.

8, in the Clusters table, click New, and then select Cluster.

9, in the new cluster page, enter the cluster properties

  Name: cluster1

  Messaging Mode: Unicast

Click OK.

 

 10, to add the server to the cluster

  In the Clusters table, select cluster1 (newly created cluster).

  In setting cluster1 page, select Configuration, then Servers.

  In the Servers table, click Add.

11, "Adding a server to the cluster" page, select the hosting server

  Select the option to add to an existing server cluster, and choose the managed server server1 from the drop-down list.

  Click Finish.

 

12. Repeat steps 10 and 11, and the server server2 server3 managed added to the cluster.

13, in the "Change Center", click "Activate Changes." 

Second, start the cluster server

1. To start the managed servers for each machine, make sure the Node Manager is configured correctly and is reachable.

  In the left pane of the console, expand Environment and select Machines.

  Select the View Manager status node name of the computer.

  In "Machine Setup" page, select "monitor", select "Node Manager state."

  

 

2, in the domain structure WebLogic Server Management Console, select Clusters.

 3, in the Clusters table, select cluster1 (newly created cluster).

4, set cluster1 page, select Control.

  You can view all managed servers added to the cluster.

5, in this example server hosting the cluster table, the hosting server selected in the closed state

 

 6. Click Start and confirm to continue.

  The selected hosting server starts. Click Refresh Refresh icon to ensure that all managed server is running.

Third, monitor cluster

1, in the management console, the domain structure, select Environment, then select Clusters.
2, in the Clusters table, select cluster1 (newly created cluster).
3, setting cluster1 page, select Monitoring, and then select Summary.

4, server status under the Summary Table displays all currently managed servers participating in the cluster. To see more information on the table server, click "Custom" table and column to the table to be displayed.

For example, to display the current heap size hosting server, select the current size of the stack and move it to the selected column in the table. Then, click Apply.

 

Guess you like

Origin www.cnblogs.com/lqs649646508/p/11617172.html