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). Instructions of how to access the UI can be found in EWC Cloud Management UI - Accessing the Horizon portal. In order to manage SFSs via the CLI follow the instructions inEWC OpenStack API access - EUMETSAT - How to manage Shared File Systems (SFS) with the OpenStack CLI.

Info
Pre-requisite: SFS are only available to EWC tenancies hosted by EUMETSAT, so the contents of this article only apply to EUMETSAT users.


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

Table of Contents

app-admin. Check EUMETSAT - Shared File Systems (SFS) - User Roles and Permissions for for info on roles for SFS.

Table of Contents

Verify

...

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 EUMETSAT clouds should already contain a pre-configured share network to use for your file shares. Verify the existence of this share network by selecting the Share option on the left-hand side menu , and click on the Share Networks option from the drop-down menu, click on Share Networks

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

Image Removed

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.

Image Removed

. You should see an entry like this

Image Added 

If no share network is available in your cloud, please open a ticket with the support team to resolve the issue.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:

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


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

Image RemovedImage Added

23. 3 In the 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.either general_performance or high_performance 
  • Share Network: select the share network created that you verfied in the previous step.
  • (Optional) Metadata: Add any metadata that the file share needs in the format key=value .

Image RemovedImage Added

Grant access to the SFS to a VM

Now that the file share is created, we need grant access to it to any VM we want. In order to do this, grab the IP of the VM to which you wish to give access, e.g 10.0.0.116. Then follow these steps

1. In the list of file shares, select Manage Rules from the dropdown menu on the right-hand side of the selected file share.

Image Added

2. Click on the button Add Rule

Image Added

3. Fill the fields for the access rule, specifically the Access Type, which for VMs will be ip, the Access Level, which could be read-write or read-only, and the Access To, which for VMs is the IP you grabbed earlier from the instance.

Image AddedTODO

Mount file share to a VM

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

Code Block
mkdir <path>/<to>/<local>/<share>

 then grab the export path for the file share. This can be found TODOin the UI by clicking on the file share name to see its details. It is recommended to use the path with the  Preferred: True  keyword.

Image Added

Then mount the selected export path into the created directory

...