Relying on Vagrant for deploying the HPCCloud infrastructure’s is great but we can’t assuming that it will always work and additional interaction with the infrastructure may be required. Therefore, that documentation aims to provide various how to
with Vagrant and HPCCloud deployment.
Setting-up HPCCloud for development
The very first time you may want to run the following commands.
$ mkdir HPCCloud |
Then you can simply start again the Virtual Machine with the following commands.
$ cd HPCCloud |
In order to fully stop the Virtual Machine, you can run the following commands.
$ cd HPCCloud |
SSH to Virtual Machine
$ cd HPCCloud |
Once logged to the VM, services can be stoped and restarted with the following commands
sudo service girder [stop/start/restart] |
Fixing invalid Hostname
When HPCCloud run jobs on a remote cluster, that cluster needs to contact back the HPCCloud server and therefore the proper information needs to be given to those cluster.
This can be adjusted in the following file (replace: HOSTNAME_OR_VALID_IP by the proper value):
{ |
Same for girder so http://localhost:8080
properly reach girder
[global] |
Running Celery by hand
This can be usefull to follow any runtime error live or if the taskflow did properly load.
$ /usr/bin/python -m celery worker --app=cumulus --loglevel=INFO --config=cumulus.celery.commandconfig --concurrency=6 --logfile=/var/log/celery/command.log --pidfile=/var/run/celery/command.pid --hostname=command@vagrant-ubuntu-trusty-64 |