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

Moving files to/from the head node #5

Closed
briandrawert opened this issue Mar 11, 2015 · 5 comments
Closed

Moving files to/from the head node #5

briandrawert opened this issue Mar 11, 2015 · 5 comments

Comments

@briandrawert
Copy link
Contributor

Need a good way to move files to and from the MOLNs controller. Possibilities:

  1. commands to move individual files or folders (like scp)
    • molns sync-up controller local-file-name
    • molns sync-down controller remote-file-name
  2. SSHfs mount a folder (only on linux)
    • molns sshfs controller local-folder-name
  3. Sync to/from a S3/Swift bucket (must be on same provider)
    • molns sync-from-cloud controller local-folder-name bucket-name
    • molns cloud-checkpoint controller local-folder-name bucket-name
@ahellander
Copy link
Contributor

adding to this:

  1. Extend the webpage with an upload form.
  2. Extend the drag and drop capabilities of the IPython home-page to accept any filetype.
  3. rsync a folder.

1 above (scp). is simple, but maybe it should be
molns cp local-file-name controller.
or
molns put local-file-name controller

It is low-hanging fruit and satisfy the basic requirements.

In addition, we should then extend molnsutil to push a file on the controller to all engines. I am thinking about mesh files for example. Alternatively, we need to assemble model objects on the controller node and push them over the wire (inefficient).

@briandrawert
Copy link
Contributor Author

Referring to your numbers above:
for 4, I like "molns put" and "molns get".
for 1, there are web-app file managers. We should look into that

@ahellander
Copy link
Contributor

From actually having to do this today to push a meshfile to be accessible by the model class constructor, I feel that a quick and big improvement would be to enable

molns put [localfile] [clustername]

Which would
scp -i xxx.pem localfile ubuntu@ip:/shared

Seems like the usecase for this is almost alwats to make a local datafile needed by some part of the computation globally accessible to workers.

@briandrawert
Copy link
Contributor Author

molns put is implemented here: #22

@briandrawert
Copy link
Contributor Author

Closed in #30

ahellander added a commit that referenced this issue Sep 19, 2015
Bug fixes and adding ODE solver for GillesPy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants