Oracle WebLogic Server 12c: Creating and Configuring Machines
This tutorial contains the following sections:
  • Purpose
  • Time to Complete
  • Overview
  • Software Requirements
  • Prerequisites
  • Creating Machines
  • Configuring the Machines
  • Summary
  • Resources
  • Credits

Purpose
This tutorial shows how to create and configure Oracle WebLogic Server 12c machines.
Time to Complete
Approximately 1/2 hour

Overview
In a WebLogic Server domain, machines can be defined to represent physical computers that host one or more Oracle WebLogic Server instances. Machine definitions help WebLogic Server choose backup servers for session replication. Machine definitions also allow your administration server to communicate with any WebLogic Node Manager processes.

This tutorial covers creating and configuring machines by using the Oracle WebLogic Server 12c (12.1.1) administration console. It assumes that your domain will be distributed across two physical computers.

Software Requirements
The following is a list of software requirements:
  • Oracle WebLogic Server 12c (12.1.1)

Prerequisites
Before starting this tutorial, you should have completed the Oracle by Example tutorials titled
  • Oracle WebLogic Server 12c: Installing WebLogic Server and Creating a Domain.
  • Oracle WebLogic Server 12c: Configuring Managed Servers.

Creating Machines
To create machines in the domain by using the administration console, perform the following steps:

1. If the administration server of the domain is not already running, it needs to be started. To start it, in a Terminal window, navigate to the domain directory, and enter the command:
$ ./startWebLogic.sh
Screenshot for Step
When prompted for a username and password, enter the credentials of the domain administrator.

2. After the administration server is up and running, access the WebLogic Server administration console. Open a web browser and enter the URL:
http://hostname:port/console
In this tutorial, that is: http://host01.example.com:8001/console
Note: Use the host name of your host. Also, if you used a different port number for the administration server, use that port instead.
On the Welcome screen, log in using the Username and Password entered to start the administration server.
Screenshot for Step
#OUGTH: 12.1.3 เป็น 700x

3. Creating machines is a change to the domain's configuration, so it must first be locked. In the Change Center of the administration console, click the Lock & Edit button.
Screenshot for Step

4. Under Domain Structure, expand Environment (by clicking the + sign next to it). Then click Machines.
Screenshot for Step

5. On the right, notice that the Summary of Machines section appears. Above the Machines table (which is empty), click the New button.
Screenshot for Step

6. In the Create a New Machine screen, for Name enter dizzyMachine1.
For Machine OS use the drop-down list to select Unix.
Then click Next.

Screenshot for Step

#OUGTH: Machine ต่างกับ UNIX Machine อย่างไร?

7. On the next screen, for Type of Node Manger, use the drop-down list to select Plain.
For the Node Manager Listen Address, enter the IP address or host name of one of the computers on which your server(s) run. In this tutorial it is: host01.example.com.
For the Node Manager Listen Port, leave the default of 5556.
Then click Finish.
Screenshot for Step

8. Follow the same procedure and create another machine. This time give it the Name of dizzyMachine2. Once again, set the Machine OS to Unix and the Node Manager Type to Plain. This time change the Listen Port to 5557.
For the Node Manager Listen Address, enter the IP address or host name of the second computer on which your server(s) run. In this tutorial it is: host02.example.com.
When finished, both machines show up in the Machines table.
Screenshot for Step
#OUGTH: OBE นี้, เอาเครื่องเดียว มาจำลองเป็น 2 machines.

9. To complete the changes, go back to the Change Center. Click the Activate Changes button.
Screenshot for Step
The message "All changes have been activated. No restarts are necessary." is displayed.


Configuring the Machines
To add managed servers to the newly created machines by using the administration console, perform the following steps:

1. In the Machines table, click the machine dizzyMachine1.
Screenshot for Step

2. In the Change Center, click the Lock & Edit button.
Screenshot for Step

3. Under the Settings for dizzyMachine1, click the Configuration tab and then the Servers subtab.
Screenshot for Step

4. Above the Servers table, click the Add button.
Screenshot for Step

5. On the Add a Server to Machine screen, select the option Select an existing server, and associate it with this machine.
Use the Select a server drop-down list to choose dizzy1.
Then click Finish.
Screenshot for Step
The message "Server created successfully" is displayed.

6. Back under Domain Structure, click Machines again.
In the Machines table, click the machine dizzyMachine2.
Screenshot for Step

7. Under the Settings for dizzyMachine2, click the Configuration tab and then the Servers subtab.
Above the Servers table, click the Add button.
On the Add a Server to Machine screen, select the radio button Select an existing server, and associate it with this machine.
Use the Select a server drop-down list to choose dizzy2.
Then click Finish.
Screenshot for Step
The message "Server created successfully" is displayed.

8. Follow that same procedure to add the server dizzy3 to the machine dizzyMachine2.
Now there are two servers assigned to that machine.
Screenshot for Step

9. To complete the changes, go back to the Change Center. Click the Activate Changes button.
Screenshot for Step
The message "All changes have been activated. No restarts are necessary." is displayed.

10. To see a summary of what you have done, under Domain Structure, under Environment, click Servers. In the Servers table on the right, you can see all the servers in the domain and to which machine each is assigned.
Screenshot for Step


Summary
In this tutorial, you learned how to:
  • Create machines
  • Configure machines
  • Add servers to machines
Resources
  • For documentation on Oracle WebLogic Server 12c, visit the Documentation Library.
  • For more information on configuring machines, see the Create and configure machines section of the Administration Console Online Help.
  • To learn more about Oracle WebLogic Server, refer to additional OBEs in the OLL website.
Credits
  • Lead Curriculum Developer: Bill Bell
  • Original OBE Created By: TJ Palazzolo


141120.14:43:51
• จัดรูปแบบเอกสาร.

141206.16:59:21
• ทำผ่านด้วย 12.1.3
/link/obe-06112-oracle-weblogic-server-12c-creating-and-configuring-machines