Traffic Director 12c (12.2.1): Using the Configuration Wizard


Options



Before You Begin

Purpose

This tutorial provides instructions for creating a WebLogic domain with Oracle Traffic Director to be able to create and configure Oracle Traffic Director Configurations and Instances using the Oracle Fusion Middleware Configuration Wizard.

Time to Complete

Approximately 15 Minutes.

Background

Oracle Traffic Director is a fast, reliable, and scalable layer-7 software load balancer. You can set up Oracle Traffic Director to serve as the reliable entry point for all HTTP, HTTPS and TCP traffic to application servers and web servers in the back end. Oracle Traffic Director distributes the requests that it receives from clients to servers in the back end based on the specified load-balancing algorithm, routes the requests based on specified rules, caches frequently accessed data, prioritizes traffic, and controls the quality of service.

When a WebLogic Server domain is extended to Oracle Traffic Director, the Oracle Traffic Director instances and configurations can be managed like any other elements of the WebLogic Server domain. Specifically, the instances can be managed from Enterprise Manager Fusion Middleware Control, the WLST Command line interface, and WebLogic Server Node Manager.

What Do You Need?

Operating System and Software Requirements
  • A Linux machine with version 6 or greater of Oracle Linux or Red Hat Linux
  • JDK 1.8 update 51 and above
  • Oracle WebLogic Server 12c (12.2.1) software
Prerequisites
  1. You should have completed the Oracle WebLogic Server 12c (12.2.1) Multitenancy: Installing WebLogic Server Using the Infrastructure Installer tutorial

  2. Install Oracle Traffic Director(OTD) by following the steps in the Install Oracle Traffic Director(OTD) topic of the Configuring Oracle Traffic Director as a Cluster Proxy tutorial.

  3. Created the WebLogic Server Restricted JRF Domain for Oracle Traffic Director by following the steps in Creating the WebLogic Server Restricted JRF Domain for Oracle Traffic Director topic of the Configuring Oracle Traffic Director as a Cluster Proxy tutorial.

Creating OTD Configuration using Fusion Middleware Control

To create a configuration by using Fusion Middleware Control, do the following tasks:

  1. To display Fusion Middleware Control:

    1. Enter the URL, http://host01.example.com:7001/em, in your Web browser.
    2. Enter weblogic as User Name and welcome1 as Password and click Login.
    FMW Control Login Screen
    Description of this image
  2. Click the WebLogic Domain button at the upper left corner of the page and select Administration > OTD Configurations.

    jrf_Domain Home Page
    Description of this image
  3. In the Change Center, click Lock & Edit.

    Change Center
    Description of this image
  4. In the Common Tasks pane select the Create button on the Oracle Traffic Director Configurations page.

    Oracle Traffic Director
                                  Configurations Page
    Description of this image

    The New Configuration wizard opens.

  5. On the Create Configuration: General page:

    1. For Name, enter tdirector_config.
    2. Accept the default type HTTP for Origin Server Type.
    3. Click Next.
    General Page
    Description of this image
  6. On the Create Configuration: Listener page:

    1. Accept defaults for Port and IP Address fields.
    2. For Server Name, enter host01.example.com.
    3. Click Next.
    Listener Page
    Description of this image
  7. On the Create Configuration: Server Pool page:

    1. Click Add Server button in the Origin Servers section of the page.

      Server Pool Page
      Description of this image
    2. In the row that gets added on clicking Add Server button in the Origin Servers section of the page, enter the following and click Add Server button again:

      1. For Host, enter host01.example.com.
      2. For Port, enter 7005.
      Server Pool Page
      Description of this image
    3. In the second row that gets added on clicking Add Server button in the Origin Servers section of the page, enter the following and click Next :

      1. For Host, enter host01.example.com.
      2. For Port, enter 7006
        .
      Server Pool Page
      Description of this image
  8. On the Create Configuration: Deployment page:

    1. Select machine1.
    2. Click Next.
    Deployment Page
    Description of this image
  9. On the Create Configuration: Review page:

    1. Review the configuration.
    2. Click Create Configuration.
    Review Page
    Description of this image
  10. Back on the Oracle Traffic Director Configurations page, in the Change Center, click Activate Changes.

    Change Center
    Description of this image

Want to Learn More?

Credits

  • Lead Curriculum Developers: Tom Eliason, Veerabhadra Rao Putrevu