Group Storage: Difference between revisions
No edit summary |
|||
Line 23: | Line 23: | ||
== Requesting a new storage space == | == Requesting a new storage space == | ||
To request a new storage space, please send an email to support-staff@ | To request a new storage space, please send an email to [mailto:support-staff@lists.grid5000.fr support-staff@lists.grid5000.fr]. Please copy/paste the following text and fill all the required information | ||
* Email subject: | * Email subject: | ||
Line 48: | Line 48: | ||
<...> | <...> | ||
The | The Grid'5000 team will create the storage space, and if the group is new, will create and set you as an owner of the group. | ||
=== Available servers for storage spaces === | === Available servers for storage spaces === | ||
Line 60: | Line 60: | ||
More servers will be added when this service will no longer be in beta. | More servers will be added when this service will no longer be in beta. | ||
=== Asking for storage extension === | |||
You can also contact the Grid'5000 team to get more space or to extend the expiration date of your storage. Just send a mail to [mailto:support-staff@lists.grid5000.fr support-staff@lists.grid5000.fr] with <code>Group storage extension</code> as subject and include the name of your storage, what extension do you need and why do you need it. | |||
== Managing the group == | == Managing the group == |
Revision as of 11:08, 11 March 2019
FIXME Page à renommer en "Group Storage"
This service provides large storage spaces, possibly shared between multiple Grid'5000 users. Those storage spaces are accessible on Grid'5000 over NFS.
Using a storage space that was already created
First you need to request access to the storage space, by contacting the storage space owner.
Once you have been authorized, autofs will do the job for you. You just have to go to:
node:
cd /srv/storage/
storage_name
@server_address
for example:
node:
cd /srv/storage/
my_storage
@granche-srv1.lille.grid5000.fr
You may want to add a symbolic link to this path for convenience:
node:
ln -s /srv/storage/
my_storage
@granche-srv1.lille.grid5000.fr
~/my_storage
![]() |
Warning |
---|---|
This will only work from the frontends or from a node with |
Requesting a new storage space
To request a new storage space, please send an email to support-staff@lists.grid5000.fr. Please copy/paste the following text and fill all the required information
- Email subject:
Group storage creation
- Email content:
What is your Grid'5000 login ? <...> What name do you want for your storage space ? (only lowercase letters, numbers and hyphen (-) allowed) <...> On which site do you want the storage space ? You can also specify the server. <...> What is the name of the group you want to be link with this storage space ? (must start by "sto-", only lowercase letters, numbers and hyphen (-) allowed) sto-<...> Does the group already exists (from another storage space) ? Yes/No What size do you require for the storage space? XXX GBytes/TBytes What is the intended usage, in ~5 lines ? <...> What is the expiration date (We will contact you before removing your storage) ? <...>
The Grid'5000 team will create the storage space, and if the group is new, will create and set you as an owner of the group.
Available servers for storage spaces
Site | Server Name | Size | Status | Notes |
---|---|---|---|---|
Lille | granche-srv1.lille.grid5000.fr | 90TB |
More servers will be added when this service will no longer be in beta.
Asking for storage extension
You can also contact the Grid'5000 team to get more space or to extend the expiration date of your storage. Just send a mail to support-staff@lists.grid5000.fr with Group storage extension
as subject and include the name of your storage, what extension do you need and why do you need it.
Managing the group
For now, the only way to manage the group is by using the REST API.
To get information about a group you may do:
frontend:
curl 'https://api.grid5000.fr/stable/users/groups//
sto-mygroup
' | jq
{ "uid": 1234, "name": "sto-mygroup", "manager_uid": "", "enabled": true, "system": false, "grants_access": false, "freely_join": false, "freely_leave": true, "created_at": "2019-03-06T09:11:13.000Z", "updated_at": "2019-03-06T09:22:12.000Z", "description": "My awesome group", "owners": [ "dtennant" ], "delegates": [ "msmith", "dtennant" ], "members": [ "dtennant", "msmith", "pcapaldi" ], "site": false }
To manage a group, for example adding 'jwhittaker'
as a member, first we get the current group configuration:
frontend:
curl 'https://api.grid5000.fr/stable/users/groups/
sto-mygroup
' | jq '.' > group_config.json
Then edit group_config.json
by adding 'jwhittaker'
to the members
array with your favorite text editor. Now we just need to send the new configuration to the API:
frontend:
curl -X PUT -H 'Content-Type: application/json' 'https://api.grid5000.fr/stable/users/groups/
sto-mygroup
' -d '@group_config.json' | jq