NOTE: the contents of this article only apply to the users of the EUMETSAT part of the EWC.
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.
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.
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.
The VMs that are going to use the SFS must be in the network of the SFS server, example:
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:
To mount the shared filesystem in a VM you can type the following commands:
|
Example:
|
Alternatively, you can add an entry in the /etc/fstab to automatically mount the filesystem.