Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The creation of Shared File Systems (SFS) can be done directly using the OpenStack Horizon User Interface (UI). Instruction Instructions of how to access the UI can be found in in EWC Cloud Management UI - Accessing the Horizon portal. In order to manage SFSs via the CLI follow the instructions inEWC OpenStack API access - How to manage Shared File Systems (SFS) with the OpenStack CLI.

Info
Pre-requisite: setting up SFS in a tenancy can be done only by users with ewcloud-tenant-admin role CONFIRM NAME OF ROLE

Table of Contents

Create a Share Network

SFS are shared among different users and machines by using a share network. The steps to create such share network using the OS Horizon UI are:

1.1 Select Share from the left-hand side menu, and from the drop-down menu, click on Share Networks

1.2 Click on Create Share Network on the right-hand side.

Image Modified

1.3 On the prompt window give a name to the share network in the field Name. The recommended format for this is <tenant-name>-sfs-server. Add a description appropriate to the purpose of the share network.

...

1.4 In the next step, leave both of the subnet options as None. NOT SURE ABOUT THIS ONE. CHECK

Create a File share

File shares can also be created in the OS Horizon UI by following these steps:

12.1 Select Select Share from the left-hand side menu, and from the drop-down menu, click on Shares.

12.2 Click on on Create Share on the right-hand side.

Image Modified

2.3 In the prompt window fill the following fields:

  • Share Name: select a name for the file share, the recommendation is to use <tenancy_name>-sfs.
  • (Optional) Description: add a description of the file share.
  • Share Protocol: select NFS.
  • Size: select the required size for the SFS, e.g. 1 GB.
  • Share Type:  choose a type from those available in the drop-down menu, e.g. SFS.
  • Share Network: select the network created in the previous step.
  • (Optional) Metadata: Add any metadata that the file share needs in the format key=value .

Image Added.3 NO MORE STEPS SO FAR CAUSE HORIZON IS BUGGING OUT

Grant access to the SFS to a VM

TODO

Mount file share to a VM

Even if the file share is accessible to the VM, one can not read or write on it until it is mounted to a directory in the VM. In order to do so, first create an appropriate directory on the VM

...