Skip Headers
Oracle® Traffic Director Installation Guide
11g Release 1 (11.1.1.7.0)

Part Number E21034-04
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

2 Configuring Shared Storage on Exalogic for Installing Oracle Traffic Director

This chapter describes how to configure shared storage on the ZFS appliance in Exalogic, before installing Oracle Traffic Director.

The setup that is discussed in this chapter is ideal when you are looking for application-level traffic management capabilities to monitor and shape the traffic within Exalogic. In order to achieve this, two compute nodes are allocated, wherein incoming traffic is appropriately screened and routed to one of the back-end application servers. In this scenario, Oracle Traffic Director (web tier) is typically hosted on two compute nodes and the application tier is located on other compute nodes. The web tier and application tier traffic here are isolated both at the physical level as well as the network level.

Note:

On Exalogic (Solaris), Oracle Traffic Director can be configured for high availability only when installed on a global zone. In addition, all administration nodes must be running on the global zone.

This chapter contains the following sections:

2.1 Overview of Shared Storage in Exalogic

In an Exalogic environment, all compute nodes are connected to a shared storage array (ZFS storage appliance) through the InfiniBand fabric. The shared storage array is used to install and configure all applications, and it is mounted locally within each of these compute nodes through Network File System (NFS).

Before installing Oracle Traffic Director on Exalogic, you must first create new projects and shares, and then mount these shares locally.

For an Oracle Traffic Director installation, it is recommended that the share hosting Oracle Traffic Director is unique to the compute node. For example, if Oracle Traffic Director is installed on two compute nodes for high availability, then the following installation layout is recommended:

2.2 Creating Projects and Shares

If you wish to configure Oracle Traffic Director for high availability, the administration server and administration node must have root access within the instance root directory. Similarly, the ZFS share location needs to be configured appropriately so that a root user can read and write to this share location. This can be accomplished by enabling root access as NFS exception within the ZFS console.

Perform the following steps for creating and mounting shares with root access:

Note:

It is recommended that you install Oracle Traffic Director on each node. This is to ensure that there is no application downtime while patching Oracle Traffic Director.

  1. Create a new project and create new shares within it, or create new shares within an existing project. For information about creating projects and shares, see the following sections in the "Configuring the Sun ZFS Storage 7320 Appliance" chapter of the Oracle Exalogic Elastic Cloud Machine Owner's Guide, http://docs.oracle.com/cd/E18476_01/doc.220/e18478/storage.htm :

    • Creating Custom Projects

    • Creating Custom Shares

  2. Log in to the ZFS storage appliance.

  3. Ensure that the shares that you just created are configured to allow root access on the compute nodes that will host Oracle Traffic Director. This can be done by:

    • Using the ZFS shared storage administration console:

      In the NFS Exceptions section in the ZFS shared storage administration console, ensure that the share hosting Oracle Traffic Director configuration has appropriate NFS exceptions to allow root access.

      In addition, in the Properties section in the Project Settings page, deselect the following options

      • Update access time on read

      • Restrict ownership change

      For more information about using these options, see the following guides:

    • Using the CLI:

      Run the following command:

      sharenfs ="sec=sys,rw=@<ip-address-1>/<network-prefix-bits>,root=@<ip-address-2>/<network-prefix-bits>"
      
      • For an Exalogic physical configuration, ip-address-1 and ip-address-2 would be the BOND0 IP addresses of the compute nodes.

      • For an Exalogic virtual configuration, ip-address-1 and ip-address-2 would be the IP addresses of the vServers on the IPoIB-vServer-shared-storage network.

      
      

      Example:

      set sharenfs="sec=sys,rw=@196.168.10.0/24,root=@192.168.10.1/24"
      

      Note:

      • The terms BOND0 and BOND1 refer to the default interfaces for IP over InfiniBand (IPoIB) and Ethernet over InfiniBand (EoIB), respectively, on the Oracle Linux operating system.

      • Oracle Solaris uses the IP Multipathing (IPMP) technology to support IPMP Groups that consist of one or more physical interfaces on the same system that are configured with the same IPMP group name. This technology provides the same functionality as Bonded Interfaces on Oracle Linux. You can name the IPMP groups anything. In this guide, BOND0 and BOND1 are used as example names to keep the terminology consistent with Oracle Linux.

      For shares that were created without root access, run the following commands. This ensures that a root user within a compute node that hosts Oracle Traffic Director is able to start the administration server and administration node:

      <ZFS-SharedStorage> shares
      <ZFS-SharedStorage> select <Project-used-for-OTD>
      <ZFS-SharedStorage> get sharenfs
      <ZFS-SharedStorage> set sharenfs ="sec=sys,rw=@<<ip-address-1>/<network-prefix-bits>,root=@<ip-address-2>/<network-prefix-bits>"
      <ZFS-SharedStorage> commit
      

2.3 Mounting Shares

After creating the shares with the appropriate permission, mount the shares based on your requirement:

The mount point that you create is the location where Oracle Traffic Director will be installed. For more information, see Chapter 4, "Installing Oracle Traffic Director."