Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VM Tasks #9

Open
4 of 8 tasks
nathanhaigh opened this issue Oct 1, 2019 · 2 comments
Open
4 of 8 tasks

VM Tasks #9

nathanhaigh opened this issue Oct 1, 2019 · 2 comments
Assignees

Comments

@nathanhaigh
Copy link
Member

nathanhaigh commented Oct 1, 2019

Configure VM on internal openstack project for UofA/SAHMRI attendees

  • Instantiate
  • Add public keys
  • Image
  • Instantiate 1 VM per UofA/SAHMRI attendee

Configure VM on external openstack project for non-UofA/SAHMRI attendees

  • Instantiate
  • Add public keys
  • Image
  • Instantiate 1 VM per non-UofA/SAHMRI attendee
@nathanhaigh
Copy link
Member Author

@kortschak I don't know much about how data is synced to the VMs - can you comment/leave some details here?

@kortschak
Copy link
Collaborator

We have a cron job on each of the student machines that does a pull from the server which runs apache hosting the data files.

The server has /var/www/html/sib_2019 as the relevant root and each of the student machines has 0-59 * * * * /usr/local/bin/sync_data in their user crontab where sync_data is

#!/bin/bash
/bin/sleep $((RANDOM%60))
lftp -e "lcd ~/data; mirror -c; exit" http://<redactedip>/sib_2019/data/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants