Mounting FSS to Compute Virtual Machine

This section enables you to mount the ftpshare directory across the OFSAA Processing Tier Compute nodes, and conditionally apply to any other nodes, for high availability or non-high availability deployments.

NOTE

Ensure that the ftpshare folder is created and use the mount under which the ftpshare folder was created.

To mount the file system to compute Virtual Machine, follow these steps:

Log in to the Oracle Cloud Infrastructure console.

Navigate to File Storage and select File Systems.

In the Name column, select the project-specific FSS that has been created. In this example, click shared_ifrs_storage to open the Details Screen and view the export path.

Figure 19: The Details Screen Displaying the Export Path

Title: Description of the details screen - Description: This illustration shows the details screen from where you can view the export path.

For the required export path, click More Title: More icon - Description: More icon, and select Mount Commands.

Figure 20: The Details Screen after clicking the More Icon

Title: Description of the Details screen follows - Description: This illustration shows the Details screen where you can view the required export path and click the more icon to open the mount commands window

Ensure that the Oracle Cloud Infrastructure (OCI) team has opened the Ingress or Egress ports.

Figure 21: The Mount Commands Window

Title: Description of the Mount Commands window follows - Description: This illustration shows the Mount Commands window where you can enter details in the Image and Command to install NFS client fields.

 

In the Mount Commands window:

In the COMMAND TO INSTALL NFS CLIENT field, enter the value sudo yum install nfs-utils.

In the COMMAND TO INSTALL NFS CLIENT field, enter the value sudo mkdir –p /mnt/shared, where /mnt/shared must be replaced with your mount value.

In the COMMAND TO MOUNT THE FILE SYSTEM field, enter the value sudo mount 10.0.14.5:/shared/mnt/shared, where /mnt/shared must be replaced with your mount value and 10.0.14.5 must be replaced with your storage VM IP address.

Click Close.

Use the PuTTY tunneling session to connect to the OFSAA Product Home1 compute virtual machine with the command, ssh <ofsaa product_home1>.

Execute the commands in the fields COMMAND TO INSTALL NFS CLIENT, COMMAND TO INSTALL NFS CLIENT, and COMMAND TO MOUNT THE FILE SYSTEM in sequence.

To verify that the execution of the mounting commands was successful, try to verify by accessing a sample text file from the OFSAA product home:

Verify the mount by using the command: df -k.

Create any text file in this mount.

Verify that this file is accessible when you connect to the OFSAA Product Home2 compute virtual machine.