Note: The source of this article is: "Weblogic 12c cluster environment construction " One: Environmental description
This article is configured under the Windows7 operating system, JDK version 1.8, WebLogic version 12.1.3.0.0.
Second: Planning before building a cluster
Where AdminServer is the total control, Server1, Server2, and Server3 are the three service nodes in the cluster.
Where AdminServer is also called the Management Server, Server1-3 is called a managed server. Three: Environment construction 1 , create a Management Server AdminServer.
AdminServer as the total control side of the WebLogic cluster. In general, our stand-alone WebLogic domain service is adminserver, such as:
2 , create a cluster of three service nodes
Double-click the Startweblogic.cmd script in the Base_domain directory to start the WebLogic service, after launch, the browser input http://127.0.0.1:7001/console, enter the user name password into the WebLogic console
Click Environment--Server--New
Enter the service name Server1, and host IP address 127.0.0.1, and port number 47001
Click Finish
Install the same way, creating Server2 and Server3. 3 , creating a cluster cluster
Click Environment---new cluster
Enter the cluster name cluster, transfer mode select "Single point of Transfer"
Click OK.
4 , create a computer
The computer was created to configure the Node manager to remotely start a managed server, such as Server1-3.
Click Environment--NEW, enter compute name, and operating system type because it is a Windows system, so choose Other.
Click Next, press Edit
Click Finish to create the computer. 5 , configuring the cluster and computer to which managed services belong
Click on the Environment-"server--", click on the service Server1
Select Configuration-General information, configure computer and cluster information
After the configuration is complete, click Save. The services Server2 and SERVER3 are configured in the same way.
After the configuration is complete, return to the list of servers, and you can see that the cluster and computer that the service belongs to are configured.
6 , start the Cluster service node
There are 3 ways to start managed service nodes Server1, Server2, Server3.
(1) The first way:
Open the cmd command line and enter the C:\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin directory to start the clustered hosting service as follows.
Syntax: Startmanagedweblogic.cmd the IP address and port of the managed Service name Management Service
command to start the managed service Server1: Startmanagedweblogic.cmd Server1 127.0.0.1:7001
In this way, you need to enter the user name and password for the Access Management Service ( user name and password for the 7001 domain login user and password)., after the input is complete, can start successfully, at this time, refresh the service, you can see that the service Server1 has been started.
The next two are all started as a node manager, which is the recommended way to start a managed service.
(2) The second way
Scripting mode startup
Modify C:\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\nodemanager The Nodemanager.properties field under the directory, the default Listenaddress=localhost
and securelistener=true changes to the value in the afternoon red box
Save after the modification is complete.
Enter the C:\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin directory and double-click Startnodemanager.cmd to start the node manager.
Then go to the WebLogic console interface, select Server-to-control, tick the corresponding hosting server, you can start the shutdown and other operations.
(3) The Third Way
First of all, according to the second way, the nodemanager.properties configuration.
Double-click Script Installnodemgrsvc.cmd under the C:\oracle\Middleware\Oracle_Home\user_projects\domains\base_domain\bin directory, Then right-click on the computer on the desktop--management--the service can see a number of services, such as a direct start is good
Start the service, and then go to the WebLogic console, followed by the second way.
Here, WebLogic's cluster environment is built.
_______________________________________________________________________________________________________________ ______________________________________
-------------------------
Weblogic 12c Cluster Environment construction