Alert.png The wiki is deprecated and due to be decommissioned by the end of September 2022.
The content is being migrated to other supports, new updates will be ignored and lost.
If needed you can get in touch with EGI SDIS team using operations @ egi.eu.

EGI Opendata platform

From EGIWiki
Revision as of 16:20, 20 September 2016 by Scardaci (talk | contribs) (→‎OneProvider)
Jump to navigation Jump to search
Overview For users For resource providers Infrastructure status Site-specific configuration Architecture




The EGI Open Data platform

Setup your ONEDATA deployment into the EGI Federated Cloud

This is a setep-by-step guide to setup a ONEDATA deployment into the EGI Federated Cloud. For further information about ONEDATA, please refer to its online documentation.

OneZone

ssh -i [path-to-your-private-key] ubuntu@[ip-address-of-your-instance] 
  • Install docker-compose in the machine as root.
sudo -i

curl -L https://github.com/docker/compose/releases/download/1.8.0-rc1/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

chmod +x /usr/local/bin/docker-compose

and verify its setup:

~# docker-compose -v
docker-compose version 1.8.0-rc1, build 9bf6bc6

don't forget to exit from the root shell.

  • In the home of the ubuntu user download the OneData software:
git clone https://github.com/onedata/getting-started

go to the scenario 3.0 folder.

cd getting-started/scenarios/3_0_oneprovider_onezone_multihost/

install OneZone using the run_onedata.sh script:

sudo ./run_onedata.sh --zone &

Wait for the message "Congratulations! onezone has been successfully started."

Now your OneZone instance is ready. You can access it with your browser:

https://[ip-address-of-your-instance]

Please, login with

login:admin
password:password

OneProvider

  • Create your storage in the cloud and store its ID in an environment variable.
occi --endpoint $ENDPOINT  --auth x509 --voms --user-cred $X509_USER_PROXY --action create --resource storage
--attribute occi.storage.size="num([number-og-GB])" --attribute occi.core.title="[storage_name]"
[ID]

export STORAGE_ID=[ID]

Access your data from an instance running into the EGI FedCloud