You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

NOTE: the contents of this article only apply to the users of the EUMETSAT part of the EWC.

Pre-requisites

Setting up SFS in a tenancy can be done only by users with ewcloud-tenant-admin role!


Ticket

SFS should be available for tenants created after 28/10/2022, if the tenant is older and you wish to use SFS, please open us a ticket here.

Create Server Openstack SFS

From Morpheus go to Infrastructure → Storage, select the Servers tab and click +ADD

select TYPE as Openstack SFS and name as <tenant name>-sfs-server, e.g., be-rmib-rss-sfs-server and click save changes

this will create the storage server. Now you can create the File shares, from the same page, go to the File Shares tab.

Create a File share

and click +ADD to create a file share and select the Openstack SFS share

select the Storage server as the one you created in the previous step, give it a name, e.g., be-rmib-rss-sfs-test, set the size, and select 'nova' as the availability zone.  Then click "Save Changes"

This will create the Shared Filesystem in the storage backend. Wait until you have the "Share Path:" defined in Morpheus. This will take some time.

Network configuration required for the VMs that need to access the SFS

The VMs that are going to use the SFS must be in the network of the SFS server, example:

Adding permissions to use the Shared Filesystem

Once the Shared Filesystem is created, you need to add access rules to allow read-only or read/write operations.

To do that, you can select the share in question in "Infrastructure → Storage → File Shares", once there, click on the "Access" tab and then click the "+ ADD" button ...

... and fill the required information:

Mount file share to VM

To mount the shared filesystem in a VM you can type the following commands:

sudo mkdir /sfs-test # create the directory to mount the filesystem
sudo mount <PUT_YOUR_SFS_URL_HERE> /sfs-test

Example:

sudo mkdir /sfs-test # create the directory to mount the filesystem
sudo mount 10.83.81.227:/share_d161509e_2ea9_43f2_a472_b263ede7628f /sfs-test


Alternatively, you can add an entry in the /etc/fstab to automatically mount the filesystem.

  • No labels