Prepare the Storage on OCI

This document uses the EDG folder structure as reference, which uses both shared and private folders.

If your primary environment does not follow the exact EDG folder structure described in this document, then use the following guidelines:

  • For shared folders: Use Oracle Cloud Infrastructure File Storage file systems. For the runtime shared folders, you can also use Oracle Database File System (see Learn More for more information).
  • For private usage folders: Use Oracle Cloud Infrastructure Block Volumes or, alternatively, Oracle Cloud Infrastructure File Storage file systems mounted privately by each host.

Prepare the OCI File Storage

Provision the mount targets and file systems to create the Oracle Cloud Infrastructure File Storage service for the mid-tier hosts in Oracle Cloud Infrastructure (OCI).

If your OCI region has more than one Availability Domain and you plan to distribute the mid-tier hosts between two Availability Domains, then create a mount target in each Availability Domain. Create and export the shared file systems (soadrconfig, soadrruntime ) in the mount target of the Availability Domain where the Administration server will normally run, and create and export the others file systems (soadrproducts1 and soadrproducts2) in the mount target of the Availability Domain where the host that is going to mount it is located. For example, soaproducts1 in the mount target of the Availability Domain where SOAHOST1 is located, and soadrproducts2 in the mount target of the Availability Domain where the SOAHOST2 is located. For more information, see Plan the Resources for the DR Environment.

  1. Connect to the OCI Console for your tenancy.
  2. Select the proper region.
  3. Provision the mount targets.
    1. Open the navigation menu and click Storage. Under File Storage, click Mount Targets.
    2. In the List Scope section, select a compartment.
    3. Click Create Mount Target.
    4. Enter the required mount target information. Click the click here link in the dialog box to enable compartment selection for the mount target, its VCN, or subnet resources.
      Use the appropriate VCN and subnet. For performance reasons, it is recommended to place the File Storage mount target in the same Availability Domain as the hosts that will mount it (the mid-tier compute instances).
    5. Once created, note the name and the IP of the mount target (for example, 100.70.8.100).
    6. If your OCI region has more than one availability domain and you plan to distribute the mid-tier hosts between availability domains, then create a mount target in each availability domain.
  4. Provision the file systems.

    This example uses four files systems in a single availability domain within the compartment, as shown in the table.

    File System Name Availability Domain Compartment Export Path Mount Target
    soadrconfigFSS Same as SOA mid-tiers HyDRCompmt /export/soadrconfig Select previously created Mount target
    soadrruntimeFSS Same as SOA mid-tiers HyDRCompmt /export/soadrruntime Select previously created Mount target
    soadrproducts1FSS Same as SOA mid-tiers HyDRCompmt /export/soadrproducts1 Select previously created Mount target
    soadrproducts2FSS Same as SOA mid-tiers HyDRCompmt /export/soadrproducts2 Select previously created Mount target
    1. Select the proper region in the OCI Console.
    2. Open the navigation menu and click Storage. Under File Storage, click File Systems.
    3. In the List Scope section, select a compartment.
    4. Click Create File System.
    5. Click Create and customize the values for the name, path, and so on.
      See the examples in the table.
    6. In the Mount Target Information section, specify details for the mount target that is associated with the file system. Click Select an Existing Mount Target, then select the mount target from the list.
  5. Click Create.
  6. Repeat the steps to provision file systems for each file system needed.

Note:

For the Terraform code to create these mount targets, file systems and exports, see Download Code.

Prepare the OCI Block Volumes

For the storage that is used privately by each host, (the private configuration such as node manager and MSERVER_HOME), you must provision at least one Block Volume per host. Provision each Block Volume in the same Availability Domain of the host that is going to mount it.

The table shows example values for creating the block volumes:

Block Volume Availability Domain Compartment Size Backup Policy
soadrBV1 Same as the SOA mid-tier host 1 HyDRCompmt 50 GB Select backup policy according to your business requirements
soadrBV2 Same as the SOA mid-tier host 2 HyDRCompmt 50 GB Select backup policy according to your business requirements
  1. Connect to the OCI Console for your tenancy.
  2. Select the proper region.
  3. Open the navigation menu and click Storage.
  4. Under Block Storage, click Block Volumes, click Create Block Volume.
  5. Customize the name, compartment, Availability Domain and the volume size. Select a backup policy for the block volume.
    You can leave the default values for the rest of the properties.
  6. Click Create.
  7. Repeat the steps to create the required block volumes.