A collection of useful scripts to automatic install StoRM components.
You can deploy on a single host a EMI2/EMI3 StoRM full installation, configured, as default, to be tested with StoRM-testsuite.
Using these deployment scripts is very simple.
First of all you have to download the appropriate setup-script, choosing between:
- EMI3 StoRM (stable) - SL5 SL6
- EMI3 StoRM from developers repo (unstable) - SL5 SL6
- EMI2 StoRM (stable) - SL5 SL6
or building it on your own, knowing that the available variables are the following:
- ADDITIONAL_REPO: the URI of a different repo to add for StoRM and EMI components installation
- EMI_RELEASE_REMOTE_RPM (mandatory): the URI of the EMI release rpm
- EPEL_RELEASE_REMOTE_RPM (mandatory): the URI of the EPEL release rpm
- YAIM_CONFIGURATION_FILE: the URI of the storm.def file with YAIM configuration values
- REQUIRED_STORM_UID: the required user-id of storm user
- REQUIRED_STORM_GID: the required user-gid for storm user
- IGI_TEST_CA_REMOTE_RPM: the URI of the IGI-test-CA rpm
- EGI_TRUSTANCHORS_REPO: the URI of the EGI-trustanchors repo
- JAVA_LOCATION: a different java location
- FS_TYPE: values are "DISK" or "GPFS" (default: DISK)
By default, the storm deployment script looks for a setup script in:
/root/storm-setup.sh
If this file exists, the deployment script will source its content first of all.
To launch the deployment script:
sh emi-storm-clean-deployment.sh
So, for example, to deploy the latest EMI3 StoRM packages on a SL6 you can do the following commands:
wget https://raw.github.com/italiangrid/storm-deployment-test/master/setup-scripts/SL6/setup-emi3-devel-sl6.sh
source setup-emi3-devel-sl6.sh
wget https://raw.github.com/italiangrid/storm-deployment-test/master/emi-storm-clean-deployment.sh
sh emi-storm-clean-deployment.sh
If you want to test the upgrade from EMI2 StoRM to the EMI3 version, on SL5, do the following commands:
wget https://raw.github.com/italiangrid/storm-deployment-test/master/setup-scripts/SL5/setup-emi2-sl5.sh
source setup-emi2-sl5.sh
wget https://raw.github.com/italiangrid/storm-deployment-test/master/emi-storm-clean-deployment.sh
sh emi-storm-clean-deployment.sh
wget https://raw.github.com/italiangrid/storm-deployment-test/master/setup-scripts/SL5/setup-emi3-sl5.sh
source setup-emi3-sl5.sh
wget https://raw.github.com/italiangrid/storm-deployment-test/master/emi2-to-emi3-upgrade-script.sh
sh emi2-to-emi3-upgrade-script.sh