Mounting File Systems Across Compute Cloud@Customer Infrastructures

You can create a file system on one Compute Cloud@Customer infrastructure, and mount the file system from an instance that's on another infrastructure. To achieve this scenario, you must configure certain network parameters on each infrastructure.

Restriction

The Compute Cloud@Customer infrastructure hosting the file system and the instance on the remote infrastructure that mounts the file system can't have overlapping VCN CIDR blocks.

On the Infrastructure Hosting the File System

  1. Configure these network parameters:

    1. Create a Dynamic Routing Gateway (DRG).

      See Creating a Dynamic Routing Gateway.

    2. For the VCN subnet that will be used by the mount target, attach the VCN to the DRG.

      See Attaching VCNs to a Dynamic Routing Gateway.

    3. For the VCN subnet, add a route rule with the DRG as the target, and assign a destination CIDR that matches the remote infrastructure VCN CIDR.

      For example, if the remote instance that will mount the file system has a VCN with a 10.11.0.0/16 CIDR, the set the route rule destination CIDR to 10.11.0.0/16.

      Important

      Don’t specify 0.0.0.0/0 as the destination. Doing so causes serious internal network issues.

      Note

      This route rule configuration is only required for mounting file systems across Oracle Compute Cloud@Customer racks. This configuration isn't required for file system mounts within the same rack.

      See Working with Route Tables.

  2. Create a mount target. See Creating a Mount Target.
  3. Create a file system. See Creating a File System.
  4. Create an export that exports to both the source and remote VCN CIDR.

    The export CIDR must be big enough to cover both VCN subnet CIDRs. For example, if the host VCN CIDR is 10.10.0.0/16, and the remote instance VCN is 10.11.0.0/16, you can configure the export to use 10.10.0.0/15. This requirement only applies to the Oracle Compute Cloud@Customer hosting the file system.

    See Creating an Export for a File System.

On the Remote Infrastructure

  1. Configure these network parameters:

    1. Create a Dynamic Routing Gateway (DRG).

      See Creating a Dynamic Routing Gateway.

    2. For the VCN subnet, attach the VCN to the DRG.

      See Attaching VCNs to a Dynamic Routing Gateway.

    3. For the VCN subnet, add a route rule with the DRG as the target, and assign a destination CIDR that matches the host VCN CIDR.

      For example, if the host mount target has a VCN 10.0.0.0/16 CIDR, set the route rule destination CIDR to 10.0.0.0/16.

      Important

      Don’t specify 0.0.0.0/0 as the destination. Doing so causes serious internal network issues.

      Note

      This route rule configuration is only required for mounting file systems across Oracle Compute Cloud@Customer racks. not required for file system mounts within the same Compute Cloud@Customer rack.

      See Working with Route Tables.

  2. Log in to the instance and mount the file system.

    See: