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

Provide OVF support #36

Open
bigfoot1942 opened this issue Mar 18, 2020 · 9 comments
Open

Provide OVF support #36

bigfoot1942 opened this issue Mar 18, 2020 · 9 comments

Comments

@bigfoot1942
Copy link

If you were to offer an OVF containing a virtual appliance that can use nVIDIA Tesla T4 videocards, using vGPU, that would greatly reduce effort to implement this in an enterprise environment.

@jchodera
Copy link
Member

Great idea!

@jaimergp : Any chance you can look into this?

@jaimergp
Copy link
Contributor

I have only tangential experience with OVF/OVA files, but I am happy to help. I have some questions though:

  • Wouldn't we have license issues if we repackage things such as the Nvidia drivers or CUDA binaries?
  • What's the expected OS for the OVA? I guess a Linux flavor?
  • Wouldn't Docker images serve the same purpose here? Is there any chance you can use those to help you create the OVF/OVA? There's also Azure templates.

@bigfoot1942
Copy link
Author

bigfoot1942 commented Mar 19, 2020 via email

@jaimergp
Copy link
Contributor

jaimergp commented Mar 19, 2020

Ok, I have tried my best to export amalic's Docker image to an OVF/OVA appliance. You can get it here: https://we.tl/t-fn2IoAt8LZ

I followed these steps:

  1. Cloned https://github.com/iximiuz/docker-to-linux and edited the Ubuntu recipe so it uses amalic's docker image instead.
  2. Added vi, nano and network-manager to the apt install instructions.
  3. make ubuntu
  4. qemu-img convert -i raw -O vmdk linux.img fah.vmdk
  5. Created a new VirtualBox VM using that VMDK file. At this point you can login with root:root.
  6. Patched /etc/fstab to avoid read-only bugs.
  7. Patched /etc/init.d/FAHClient so it uses the root user (otherwise it fails to start).
  8. Exported the whole thing as an OVA appliance.

Basically, FAHClient will start in daemon mode even if you don't login, so that's all set up. You might want to edit /etc/fahclient/config.xml to specify username/team and/or enable more slots.

BUT:

  • I don't have access to VMWare to test it.
  • I haven't tried to expose the GPU to the VM.
  • I don't have vGPU-capable hardware so I can't test it either.

Hopefully this is enough to get you started?

@bigfoot1942
Copy link
Author

bigfoot1942 commented Mar 19, 2020 via email

@jaimergp
Copy link
Contributor

I am not aware of any more efforts being done, but given the popularity of F@H at this moment, I wouldn't be surprised! @seanpmassey, can you offer some more details here? Thanks!

@bigfoot1942
Copy link
Author

bigfoot1942 commented Mar 20, 2020 via email

@jaimergp
Copy link
Contributor

Awesome, thanks for the report!

@jaimergp
Copy link
Contributor

For those wondering, OVA support is already here:

https://flings.vmware.com/vmware-appliance-for-folding-home

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

3 participants