WebLogic deployment cluster and Proxy Server

Source: Internet
Author: User
Tags domian

WebLogic deployment cluster and Proxy Server

At the company's request, I recently learned about weblogic clusters. Next I will share with you what I have learned over the past few days and what problems I have encountered and how to solve them. Weblogic is a product of Orcale. As for its role, I don't need to talk about it. However, I think it is necessary to talk about several professional terms in weblogic.

1. Server

A friend who has used tomcat should be clear that when we have multiple projects deployed under the same tomcat server, we only need to start this tomcat and we can choose different directories, to access these applications, we do not need to change the port number. In the weblogic server, a server is the same as a tomcat. First, we need to specify an ip address and port (the ip address can be the ip address of a remote machine) when creating a server ). After the server is created, we can deploy the project in it. If we have multiple projects and want each project to correspond to different ports, we can create multiple servers. Sometimes we call server a 'node', so don't be confused when you hear others say a node.

2. Cluster

This is the focus of this article, cluster. According to my personal understanding, a cluster is to put together some servers with the same application for unified management. For example, if I have a project, I put it in three different servers (leave alone why I put three different servers ). So the question is, what should I do if my project needs to be changed? To redeploy on their respective servers? Don't be kidding. What if three are ten? What if it is not on the same machine (as mentioned above, it can be a remote machine )?

Let's take a look at the cluster with this question and put it together... unified management ....

Now we understand that this is the convenience the cluster brings to us. We need to add these servers to the same cluster. If the project changes, we only need to deploy the project, if you deploy the application through a cluster, weblogic automatically assigns the application to each sub-node.

3. domain

Domian is also called a 'region'. It is equivalent to a large container, which can store many servers. One of them is the default server, it starts with the startup of the domain. One thing we need to know is that when you want to start the server under a domain, you must first start this domain. The relationship between the Cluster and the domain is similar. In short, there is a domain first and then another one. If you do not understand it, it does not matter. After reading the figure below, I think you will probably understand it.

 

At this point, I think we should all know what clusters are and what their functions are. Next, let me explain when clusters are generally used.

I wonder if you are still wondering why I have mentioned that I want to deploy the same project to multiple servers separately? In fact, the purpose of this operation is to reduce the pressure on the server. When there are too many concurrent accesses to a web project, the server may crash due to heavy pressure, if users can be evenly distributed to multiple servers, it is obvious that this problem can be well solved. If you want to distribute user access to each server without the client's notice, in addition to using Cluster to synchronize applications, another technology is required here, namely, proxy, there is only one proxy server. If you want to access the application, you only need to access the proxy server. However, the proxy is used to allocate the user to the applications of each server.

Install and configure Weblogic 10 in CentOS 6.3

Oracle WebLogic 11g installation and deployment documentation PDF

Deploying Weblogic11g in Linux

Oracle basic tutorial-installing and configuring a single Weblogic instance

Uninstall Weblogic in Linux

Configuration of Weblogic multi-machine Cluster

Weblogic installation and configuration

With the above foundation, I will officially teach you how to deploy clusters and proxies.

Take the image above for example. Assume that I have a shop application, and I need to deploy it on a different machine. One IP address is 100, and the other IP address is 133. Here, I put the proxy server and cluster separately on another server with an IP address of 125. We call this 125: 7001 node A management node. 100: 7100 and 133: 7200 are managed server nodes.

First, create a 125: 7001 domian (prompting you to create multiple domains in the same machine if no hosts exist)

 

 

 

 

 

After configuring the management server, we will create the domain of the corresponding two subnodes.

The previous steps are the same.

For more details, please continue to read the highlights on the next page:

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.