4 Configuring Storage for an Exalogic Enterprise Deployment

The file system model described in this guide was chosen for maximum availability, best isolation of components, symmetry in the configuration, and facilitation of backup and disaster recovery. The rest of the guide uses this directory structure and directory terminology. Other directory layouts are possible and supported.

This chapter contains the following topics:

4.1 Overview of Preparing Storage for an Exalogic Enterprise Deployment

Before you begin preparing the storage for your Exalogic enterprise deployment on Exalogic, review the following sections:

4.1.1 General Information About the Exalogic Enterprise Deployment File System

It is important to set up your file system in a way that makes the Exalogic enterprise deployment easier to understand, configure, and manage. Oracle recommends setting up your file system according to information in this chapter. The terminology defined in this chapter is used in diagrams and procedures throughout the guide.

4.1.2 Specific Information About the Exalogic File System

Each Exalogic compute node has access to the Sun ZFS Storage Appliance. The instructions in this guide assume you will be using the appliance to deploy the enterprise topology on your Exalogic compute node.

This guide assumes you have performed the initial hardware setup and configuration steps, and the Sun ZFS Storage 7320 appliance is running and available for use. For more information, see "Configuring the Sun ZFS Storage 7320 appliance" in the Oracle Exalogic Elastic Cloud Machine Owner's Guide.

4.2 Shared Storage Recommendations for Exalogic Enterprise Deployments

This section contains the following topics:

4.2.1 Shared Storage Recommendations for Binary (Middleware Home) Directories

The following sections describe guidelines for using shared storage for your Oracle Fusion Middleware home directories:

4.2.1.1 About the Binary (Middleware Home) Directories

When you install any Oracle Fusion Middleware product, you install the product binaries into a Middleware home. The binary files installed in the Middleware home are read-only and remain unchanged unless the Middleware home is patched or upgraded to a newer version.

In a typical production environment, the Middleware home files are saved in a separate location from the domain configuration files, which you create using the Oracle Fusion Middleware Configuration Wizard.

The Middleware home for an Oracle Fusion Middleware installation contains the binaries for Oracle WebLogic Server, the Oracle Fusion Middleware common files, and any Oracle Fusion Middleware product-specific directories.

For more information about the structure and content of an Oracle Fusion Middleware home, see Oracle Fusion Middleware Concepts.

4.2.1.2 About Using Redundant Binary (Middleware Home) Directories

For maximum availability, Oracle recommends using redundant binary installations on shared storage.

In this model, you install two identical Middleware homes for your Oracle Fusion Middleware software on two different shares. You then mount one of the Middleware homes to one set of servers, and the other Middleware home to the remaining servers. Each Middleware home has the same mount point, so the Middleware home always has the same path, regardless of which Middleware home the server is using.

Should one Middleware home become corrupted or unavailable, only half your servers are affected. For additional protection, Oracle recommends that you disk mirror these shares.

If separate shares are not available on shared storage, Oracle recommends simulating separate shares using different directories within the same share and mounting these to the same mount location on the host side. Although this does not guarantee the protection that multiple shares provide, it does allow protection from user deletions and individual file corruption.

4.2.2 Shared Storage Recommendations for Domain Configuration Files

The following sections describe guidelines for using shared storage for the Oracle WebLogic Server domain configuration files you create when you configure your Oracle Fusion Middleware products in an Exalogic enterprise deployment:

4.2.2.1 About Oracle WebLogic Server Administration and Managed Server Domain Configuration Files

When you configure an Oracle Fusion Middleware product, you create or extend an Oracle WebLogic Server domain. Each Oracle WebLogic Server domain consists of a single Administration Server and one or more managed servers.

For more information about Oracle WebLogic Server domains, see Oracle Fusion Middleware Understanding Domain Configuration for Oracle WebLogic Server.

In an Exalogic enterprise deployment, it is important to understand that the managed servers in a domain can be configured for active-active high availability. However, the Administration Server must be active-passive, meaning that if the active instance fails, the other instance takes over.

4.2.2.2 Shared Storage Requirements for Administration and Managed Server Domain Configuration Files

Oracle recommends creating two copies of the domain configuration files:

  • One copy is for the Administration Server configuration files.

    This is known as the ASERVER_HOME directory, and you install this directory on shared storage and mount it exclusively to the host that is running the Administration Server.

    In the event of the failure of that host, you can mount the directory on a different host and the Administration Server started on that host.

  • The other copy is for the managed server configuration files.

    This is known as the MSERVER_HOME directory. It resides on "private shared storage" This means that you create a storage partition for each node and mount that storage exclusively to that node.

    As a result, the deployment you decide upon should conform to the requirements (if any) of the storage system. Some storage systems offer configuration options to facilitate multiple compute nodes mounting the same shared volume.

4.2.3 Shared Storage Recommendations for JMS File Stores and Transaction Logs

JMS file stores and JTA transaction logs must be placed on shared storage in order to ensure that they are available from multiple hosts for recovery in the case of a server failure or migration.

For more information about saving JMS and JTA information in a file store, see "Using the WebLogic Persistent Store" in Oracle Fusion Middleware Configuring Server Environments for Oracle WebLogic Server.

Note:

Oracle recommends using different shares for runtime artifacts, such as JMS stores, and the domain configuration. The replication, backup and restore, and lifecycle operations on these two types of data should be different, with more aggressive preservation policies on the JMS and TLOGS artifacts than on the domain configuration.

4.3 Directory Variables for an Oracle Fusion Middleware SOA Enterprise Deployment on Exalogic

This section describes the directory variables used throughout this guide for configuring the Oracle SOA Exalogic enterprise deployment. You are not required to set these as environment variables. Table 4-1 lists and describes directory variables used to identify the directories installed and configured in the guide.

Table 4-1 Directories and Directory Variables

Variable Description Example Location

ORACLE_BASE

This environment variable and related directory path refers to the base directory under which all Oracle products are installed.

/u01/oracle

MW_HOME

This variable and related directory path refers to the location where Oracle Fusion Middleware resides.

Each MW_HOME has a WL_HOME, an ORACLE_COMMON_HOME and one or more ORACLE_HOME directories.

/u01/oracle/products/fmw

WL_HOME

This variable and related directory path contains installed files necessary to host a WebLogic Server.

The WL_HOME directory is a peer of Oracle home directory and resides within the MW_HOME.

MW_HOME/wlserver_10.3

ORACLE_HOME

This variable points to the location where an Oracle Fusion Middleware product, such as Oracle Traffic Director Server or Oracle SOA Suite is installed and the binaries of that product are being used in a current procedure. In this guide, this value might be preceded by a product suite abbreviation, for example: SOA_ORACLE_HOME, OSB_ORACLE_HOME.

SOA_ORACLE_HOME:

/u01/oracle/products/fmw/soa

OSB_ORACLE_HOME:

/u01/oracle/products/fmw/osb

WEB_ORACLE_HOME

The specific Oracle home where the Web tier (Oracle Traffic Director) software binaries have been installed.

/u02/private/oracle/products/web/web

SOA_ORACLE_HOME

The specific Oracle home where the Oracle SOA software binaries have been installed.

/u01/oracle/products/fmw/soa

OSB_ORACLE_HOME

The specific Oracle home where the Oracle Service Bus software binaries have been installed.

/u01/oracle/products/fmw/osb

ORACLE_COMMON_HOME

This variable and related directory path refer to the location where the Oracle Fusion Middleware Common Java Required Files (JRF) Libraries and Oracle Fusion Middleware Enterprise Manager Libraries are installed.

MW_HOME/oracle_common

Domain Directory

This path refers to the file system location where the Oracle WebLogic domain information (configuration artifacts) is stored. Different WebLogic Servers can use different domain directories even when in the same node.

For information, see Section 4.2, "Shared Storage Recommendations for Exalogic Enterprise Deployments."

ORACLE_INSTANCE

An Oracle instance contains one or more system components, such as Oracle Traffic Director. An Oracle instance directory contains updatable files, such as configuration files, log files, and temporary files.

In this guide, this value might be preceded by a product suite abbreviation, such as WEB_ORACLE_INSTANCE.

/u02/private/config/instances/web1

JAVA_HOME

This is the location where JDK is installed.

NOTE: The examples documented in this guide use JRockit. Any certified version of Java on the operating system used by the Exalogic compute nodes.

MW_HOME/jrockit_verion

ASERVER_HOME

This is the primary location of the domain configuration where the Administration server is running. It is installed in the ORACLE_BASE directory on shared storage.

/u01/oracle/config/domains/domain_name

MSERVER_HOME

This is a copy of the domain configuration used to start and stop managed servers. It is installed in the ORACLE_BASE directory on the private storage volume or share.

/u02/private/oracle/config/domains/domain_name

APP_DIR

This is the primary location of the Fusion Middleware applications once they are deployed.

/u02/private/oracle/config/domain_name/applications


4.4 Recommended Directory Locations for an Oracle Exalogic Enterprise Deployment

This section describes the recommended directory structure for an Oracle SOA Exalogic enterprise deployment.

Wherever a shared storage location is directly specified, it is implied that shared storage is required for that directory. The shared storage locations are examples and can be changed as long as the provided mount points are used. However, Oracle recommends this structure in the shared storage device for consistency and simplicity.

Note:

References to the Web Tier directories and to WEBHOST1 and WEBHOST2 are included here to accommodate the topologies that include installing Oracle Traffic Director on the Exalogic compute node.

If you are using remote Oracle HTTP Server instances as your Web tier, then you will be installing the Oracle HTTP Server software and creating the Oracle HTTP Server instances on the local storage for the remote Web Tier host computers, rather than on the Sun ZFS Storage 7320 appliance.

This section includes the following topics:

4.4.1 Shared Storage for Oracle SOA Enterprise Deployment on Exalogic

In an Oracle SOA enterprise deployment on Exalogic, it is recommended that the shares shown in Table 4-2 be created on shared Storage.

You can mount shared storage either exclusively or shared. If you mount it exclusively, it will be mounted to only one host at a time. (This is typically used for active/passive failover).

When scaling out or scaling up, you can use the shared MW_HOME for additional servers of the same type without performing more software installations.

Table 4-2 Shared Storage Directories

Environment Variable Mount Point Mounted on Hosts Exclusive

MW_HOME

/u01/oracle/products/fmw

SOAHOST1, SOAHOST2

No

ORCLE_BASE/config

/u01/oracle/config

SOAHOST1, SOAHOST2

No


Figure 4-1 Shared Storage for an Oracle SOA Exalogic Enterprise Deployment

Shared Storage for anSOA Exalogic Deployment
Description of "Figure 4-1 Shared Storage for an Oracle SOA Exalogic Enterprise Deployment"

4.4.2 Private Storage for an Exalogic Enterprise Deployment

Table 4-3 shows the recommended directories to be created on private storage for an Exalogic enterprise deployment. These directories are not installed on the local disk of the compute node, but instead the mount points are used to point to a specific share on the ZFS file share for each compute node rather than the local physical disk of the compute node. They are mounted exclusively by each compute node

Table 4-3 Private Storage Directories

Tier Environment Variable Directory Hosts

Web Tier

WEB_MW_HOME

/u02/private/oracle/products/web

WEBHOST1

WEBHOST2

Web Tier

WEB_ORACLE_HOME

/u02/private/oracle/products/web/web

WEBHOST1

WEBHOST2

Web Tier

WEB_ORACLE_INSTANCE

/u02/private/oracle/config/instances/webn

WEBHOST1

WEBHOST2

Web Tier

WEB_ORACLE_ADMININSTANCE

/u02/private/oracle/config/instances/OTDAS

WEBHOST1

WEBHOST2

Application Tier

MSERVER_HOME

/u02/private/oracle/config/domains/domain_name

SOAHOST1

SOAHOST2


Figure 4-2 Private Storage for Oracle SOA Exalogic Enterprise Deployment

Private Storage for SOA Exalogic
Description of "Figure 4-2 Private Storage for Oracle SOA Exalogic Enterprise Deployment"

While it is recommended that you put ORACLE_INSTANCE directories onto private storage, you can use shared storage.

4.5 Configuring Exalogic Storage for Oracle SOA

The following sections describe how to configure the Sun ZFS Storage 7320 appliance for an Exalogic enterprise deployment:

4.5.1 Summary of the Storage Appliance Directories and Corresponding Mount Points

For the Oracle SOA enterprise topology, you install all software products on the Sun ZFS Storage 7320 appliance, which is a standard hardware storage appliance available with every Exalogic compute node. No software is installed on the private storage available for each compute node.

To organize the Exalogic enterprise deployment software on the appliance, you create a new project, called soaedg. The shares (/products and /config) are created within this project on the appliance, so you can later mount the shares to each compute node.

To separate the product binaries from the files specific to each compute node, you create a separate share for each compute node. Each private directory is identified by the logical host name; for example, SOAHOST1 and SOAHOST2.

Figure 4-3 shows the recommended physical directory structure on the Sun ZFS Storage 7320 appliance.

Table 4-4 shows how the shares on the appliance map to the mount points you will create on the compute nodes that host the Exalogic enterprise deployment software.

Figure 4-3 Physical Structure of the Shares on the Sun ZFS Storage Appliance

Physical Structure of the Shares
Description of "Figure 4-3 Physical Structure of the Shares on the Sun ZFS Storage Appliance"

Table 4-4 Mapping the Shares on the Appliance to Mount Points on Each Compute Node

Project Share Mount Point Host Mounted On

soaedg

products

/export/soaedg/products

SOAHOST1/ SOAHOST2

/u01/oracle/products

soaedg

config

/export/soaedg/config

SOAHOST1/ SOAHOST2

/u01/oracle/config

soaedg

soahost1

/export/soaedg/configsoahost1

SOAHOST1

/u02/private/oracle/config

soaedg

soahost2

/export/soaedg/configsoahost2

SOAHOST2

/u02/private/oracle/config

soaedg

webhost1config

/export/soaedg/configwebhost1

WEBHOST1

/u02/private/oracle/config

soaedg

webhost2config

/export/soaedg/configwebhost2

WEBHOST2

/u02/private/oracle/config

soaedg

webhost1products

/export/soaedg/productswebhost1

WEBHOST1

/u02/private/oracle/products

soaedg

webhost2products

/export/soaedg/productswebhost2

WEBHOST2

/u02/private/oracle/products


4.5.2 Prerequisite Storage Appliance Configuration Tasks

The instructions in this guide assume that the Sun ZFS Storage 7320 appliance is already set up and initially configured. Specifically, it is assumed you have reviewed the following sections in the Oracle Exalogic Elastic Cloud Machine Owner's Guide:

4.5.3 Creating the SOAEDG Project Using the Storage Appliance Browser User Interface (BUI)

To configure the appliance for the recommended directory structure, you create a custom project, called soaedg, using the Sun ZFS Storage 7320 appliance Browser User Interface (BUI).

After you set up and configure the Sun ZFS Storage 7320 appliance, the appliance has a set of default projects and shares. For more information, see "Default Storage Configuration" in the Oracle Exalogic Elastic Cloud Machine Owner's Guide.

The instructions in this section describe the specific steps for creating a new "soaedg" project for the Exalogic enterprise deployment. For more general information about creating a custom project using the BUI, see "Creating Custom Projects" in the Oracle Exalogic Elastic Cloud Machine Owner's Guide.

To create a new custom project called soaedg on the Sun ZFS Storage 7320 appliance:

  1. Direct your browser to the storage system BUI, using either the IP address or host name you assigned to the NET0 port as follows:

    https://ipaddress:215
    

    Or, for example:

    https://elsn01-priv:215
    
  2. Log in to the BUI using the storage administrator's user name and password. Ideally, root.

  3. Access the Projects user interface by selecting Configuration > STORAGE > Shares > Projects.

    The BUI displays the Project Panel.

  4. Enter soaedg as the name of the new project.

  5. Click the General tab on the project page to set project properties.

    Update the mount point to meaningful names for better tracking of the shares for this project (such as /export/soaedgç). For the purposes of the Exalogic enterprise deployment, you can accept the rest of default project properties.

    For more information about the properties you can set here, see the "Project Settings" table in the Oracle Exalogic Elastic Cloud Machine Owner's Guide.

  6. Click Apply on the General tab to create the soaedg project.

4.5.4 Creating the Shares in the Project Using the BUI

After you have created the soaedg project, the next step is to create the required shares within the project.

The instructions in this section describe the specific steps for creating the shares required for an Oracle SOA Exalogic enterprise deployment. For more general information about creating custom shares using the BUI, see "Creating Custom Shares" in the Oracle Exalogic Elastic Cloud Machine Owner's Guide.

Table 4-5 lists the shares required for all the topologies described in this guide. The table also indicates what privileges are required for each share.

Table 4-5 Shares Required on the Sun ZFS Storage 7320 appliance

Share Name Privileges to Assign to User, Group, and Other

products

R and W (Read and Write)

config

R and W (Read and Write)

SOAHOST1

R and W (Read and Write)

SOAHOST2

R and W (Read and Write)


Create four additional shares for each of the compute nodes hosting Oracle Traffic Director, as shown in Table 4-6.

Table 4-6 Shares Required When Using Oracle Traffic Director

Share Name Privileges to Assign to User, Group, and Other

webhost1config

R and W (Read and Write)

webhost2config

R and W (Read and Write)

webhost1products

R and W (Read and Write)

webhost2products

R and W (Read and Write)


To create each share, use the following instructions, replacing the name and privileges, as described in Table 4-5 and Table 4-6:

  1. In the Browser User Interface (BUI), access the Projects user interface by clicking Configuration > STORAGE > Shares > Projects. The Project Panel is displayed.

  2. On the Project Panel, click soaedg.

  3. Click the plus (+) button next to Filesystems to add a file system.

    The Create Filesystems screen is displayed.

  4. In the Create Filesystems screen, choose soaedg from the Project pull-down menu.

  5. In the Name field, enter the name for the share.

    Refer to Table 4-5 and Table 4-6 for the name of each share.

  6. From the Data migration source pull-down menu, choose None.

  7. Select the Access option and set the permissions for each share.

    Refer to Table 4-5 and Table 4-6 for the permissions to assign each share.

    Note:

    The required ACL and USER settings for appropriate restrictions on the file system must be defined specially if the mounts are using NFS V4. For details about configuring these permissions, see "Configuring NFS Version 4 (NFSv4) on Exalogic" in the Oracle Fusion Middleware Exalogic Machine Owner's Guide.

  8. Add the appropriate mount point according to Table 4-4.

  9. To enforce UTF-8 encoding for all files and directories in the file system, select the Reject non UTF-8 option.

  10. From the Case sensitivity pull-down menu, select Mixed.

  11. From the Normalization pull-down menu, select None.

  12. Click Apply to create the share.

  13. Add the appropriate NFS exceptions for each defined share:

    1. Click Protocols.

    2. Uncheck inherit from project.

    3. Add the required hosts listed in the tables above as NFS exceptions for each share.

    4. In addition, add the required private (IPoIB) addresses for the nodes that will access the storage. these must be added as Type network and for the Entity field enter the bond0 IP address used by each compute node. For example, 192.168.10.1/32.

Repeat the procedure for each share listed in Table 4-5 and Table 4-6 (if you are using Oracle Traffic Director).