Add a File Storage

You can add a file storage to an existing Oracle WebLogic Server for OCI domain that was originally created without a file storage.

Note:

You cannot use this procedure on a domain that was created before Release 21.3.3 (September 16, 2021). For these existing domains, you must manually add the file storage.

Edit the file storage variables for the stack and then run an Apply job.

  1. Sign in to the Oracle Cloud Infrastructure Console.
  2. Click the navigation menu Navigation Menu icon, select Developer Services. Under the Resource Manager group, click Stacks.
  3. Select the Compartment that contains your stack.
  4. Click the name of your stack.
  5. Click Variables.
  6. Click Edit Variables.
  7. Select Add File System Storage.
  8. Configure the file storage:
    • If you chose to create a Virtual Cloud Network (VCN):
      1. Optional: Select the availability domain in which you want to create the file system and mount target.
      2. Specify the CIDR of the new subnet.
    • If you chose to use an existing VCN and a new subnet:
      1. Optional: Select the availability domain where you want to create the file system and mount target.
      2. Specify the CIDR of the new subnet.
    • If you chose to use an existing VCN and an existing subnet:
      • If you do not want to use an existing mount target or an existing file system:
        1. Optional: Select the availability domain where you want to create the file system and mount target.
        2. Select an existing subnet to use for the mount target. This subnet must be available in the selected VCN.
      • If you select Existing Mount Target:
        1. Select the compartment where you have the existing mount target. The mount target must reside within the subnet in the selected VCN.
        2. Specify the OCID of the existing mount target ID.
      • If you select Existing File System:
        1. Select an existing subnet to use for the mount target. This subnet must be available in the selected VCN.
        2. Select the compartment where you have the existing file system.
        3. Specify the OCID of the existing file system.
      • If you select both Existing Mount Target and Existing File System:
        1. Select the compartment where you have the existing mount target.
        2. Specify the OCID of the existing mount target ID.
        3. Select the compartment where you have the existing file system.
        4. Specify the OCID of the existing file system. The existing file system must be in the same availability domain as the existing mount target.
  9. Click Next.
  10. Click Save Changes.
  11. Click Terraform Actions, and then click Apply.
  12. Enter a name for the job, and then click Apply.
  13. Periodically monitor the progress of the Apply job until it is finished.