My OMV Build [SERVER + VM + NAS]

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • My OMV Build [SERVER + VM + NAS]

      My system is now completly updated, so this post is outdate
      See below post for new setup

      =================

      my system is more oriented to server and vm
      nas part is weak point :(

      [environtment]
      1. intel E3-1265L v3 - 4core 8thread
      2. 2x3TB HDD for static files
      3. 1x64GB SSD for OMV os
      4. 1x256GB SSD for VM os
      5. 8GBx3 NO ECC RAM
      6. OMV 3.0.29
      I set all hdd to spindown some amount of time
      power consumption is around 40W in idle


      [omv-plugin]
      1. omv-letsencrypt (adapted for 3.0.26 by me) - all service I use are encryped by this cert
        (click if you interest it)
      2. omv-rsnapshot (fixed some bug by me) - good plugin for backup, using hard-link and incremental backup it saves total backup size
      3. omv-unionfilesystems
      4. omv-snapraid
      5. omv-openvpn
      6. samba
      (I already made pull requests for all fixes by me)

      I used omv-docker,
      but docker permission management is so horrible, so I don't use docker now
      IMHO I don't recommend docker

      [other service]
      1. lounge : irccloud.com similar service
        it keeps irc log when I'm not using
        below is how to install ( for OMV 3.x )

        Shell-Script

        1. apt-get install -y curl nodejs
        2. curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
        3. git clone https://github.com/thelounge/lounge
        4. cd lounge
        5. npm install -g
        6. npm run build -g
        7. # add user lounge
        8. adduser lounge
        9. # login as lounge
        10. su lounge
        11. # add lounge account name `user`
        12. lounge add user
        13. echo -e '''[Unit]
        14. Description=lounge
        15. [Service]
        16. Type=simple
        17. User=lounge
        18. WorkingDirectory=/home/lounge
        19. ExecStart=/usr/bin/lounge --port 9000 --private start
        20. [Install]
        21. WantedBy=multi-user.target''' > /etc/systemd/system/multi-user.target.wants/lounge.service
        Display All

      2. emby & tvheadend : emby & tvheadend for TV recording, viewing
      3. webvirtmgr : kvm management web gui, image is below
        (if you want to know how to setup click here)
        it helps me to make VM, management VM (vnc for VM, resource management, power control)
        I have 2 NIC, one is attached lan the other is attached to wan

      4. qemu : I packaged manually qemu from qemu-git master (which will be released as qemu-2.7)
        why? since it supports intel Intergrated graphic passthrough ( if you interest, google `qemu IGD passthrough`) (norma
        what's important? I can run desktop VM and OMV concurrently
        and it is no need to add additional pcie graphic card for it! since I use intel HD graphic for my VM
        it gives full desktop experience.
        I also made program which delegate reset button in my case to turn on and turn off my desktop VM with arduino
        so I have a one computer which is act as desktop and NAS server

      5. ddclient : for my dynamic ip



      thanks for reading my omv setup
      I welcome all question, advice, critics etc.. :)
      OMV3 on Proxmox
      Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
      omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
      Click link for more details

      The post was edited 16 times, last by luxflow ().

    • luxflow wrote:

      omv-letsencrypt (adapted for 3.0.26 by me) - all service I use are encryped by this cert
      (click if you interest it)
      nice :thumbup:
      but how bring you omv-docker to work with omv 3.0.29?
      omv 4.0.19 | 64 bit | omvextrasorg 4.1.2 | kernel 4.14
      used plugins: nginx | mysql | docker-gui |rsnapshot | antivirus | apt tool | letsEncrypt |
      used other: netxtcloud | logitechmediaserver | emby
    • happyreacer wrote:

      luxflow wrote:

      omv-letsencrypt (adapted for 3.0.26 by me) - all service I use are encryped by this cert
      (click if you interest it)
      nice :thumbup: but how bring you omv-docker to work with omv 3.0.29?
      I used omv-docker in omv 2.X (previous omv setup) then I upgrade to this omv setup
      OMV3 on Proxmox
      Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
      omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
      Click link for more details
    • can you by any chance do a how-to write up on how to setup all of this step by step?

      I have almost the same needs and wants, and in the process of rebuilding my server now. (long story short, I had an OMV 2.2.25 build and got hacked, nothing to serious but have to rebuild the install. having some hardware issue so post pone the whole rebuild until have time to fix the hardware.)

      but I am not a Linux guru and have problems setting things up so they work as needed.

      my hardware is:

      Supermicro SC846 -- 24 Bay
      MB: H8DME-2 Updated BIOS v3.5
      CPU: 2x AMD Opteron Hex Core 2431 @ 2.4Ghz for total of 12 cores
      PSU: Silencer 760 Watt ATX Power Supply
      RAM: 49GB DDR2 PC-5300 @ 667mHz ECC
      IPMI Card: Kira 100
      CONTROLLERS : 3xSAT2-MV8 PCI-X
      NIC : 2x onBoard Realteck + 1 Intel Pro Dual port PCI-e card for total of 4 ports
      HDD: 2×120 SSD in RAID-1 (1xSanDisk + 1xIntel)
      2x3T HDD
      4x2T HDD
      2x1T HDD


      Don't need to encrypt but all others are preaty much the same needs as yours

      1. omv-rsnapshot (fixed some bug by me) - good plugin for backup, using hard-link and incremental backup it saves total backup size
      2. omv-unionfilesystems
      3. omv-snapraid
      4. omv-openvpn
      5. samba


      I know hot to install and use #2,#3 #5, I can install #1 and #4 but never been able to set it up so it worked.

      Not sure about Lounge, have to look into it,
      really want to run KVM with webvirtmanager but can not ever install the manager so it works. KVM is not an issue as I have used it before but want web UI for it.

      I also need ddclient but it can wait.

      all other things like emby and tvheadend and coach potato I wan to run in VM, not on the main system.
      once my main server is up and running I think I will span up an OMV VM and setup all in it.


      if you do have any pointers please share it with the class :)
      omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
      SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
      PSU: Silencer 760 Watt ATX Power Supply
      IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
      OS on 2×120 SSD in RAID-1 |
      DATA: 3x3T| 4x2T | 2x1T

      The post was edited 1 time, last by vl1969 ().

    • luxflow wrote:

      1. omv-letsencrypt (adapted for 3.0.26 by me) - all service I use are encryped by this cert
        (click if you interest it)
      2. omv-rsnapshot (fixed some bug by me) - good plugin for backup, using hard-link and incremental backup it saves total backup size

      Nice setup. Thanks for the fixes :) I merged them. I'm sure there are plenty of people who would like to hear more about your qemu/webvirtmgr setup.
      omv 4.1.8.2 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.8
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • vl1969 wrote:

      can you by any chance do a how-to write up on how to setup all of this step by step?
      yes, but I can only provide bash shell scripts which is not user-friendly out of box solutions

      vl1969 wrote:

      I know hot to install and use #2,#3 #5, I can install #1 and #4 but never been able to set it up so it worked.
      so you installed #1 and #4 but not working as expected?
      as I know two plugins are stable 2.X (although I used only in 3.X)
      I cannot help you now since I don't know what is exactly your problem.
      for openvpn, if you successfuly create certificates and download it,
      check your router's dmz setting

      vl1969 wrote:

      really want to run KVM with webvirtmanager but can not ever install the manager so it works. KVM is not an issue as I have used it before but want web UI for it.
      can I ask why you use KVM? as I know there is openmediavault-phpvirtualbox (although it has weak point in pci passthrough, it is still good if you don't need pci passthrough)
      OMV3 on Proxmox
      Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
      omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
      Click link for more details
    • ok let me explain my post a bit :)

      I am a bit of a noob when it comes to Linux.
      even after almost 3 years playing with it [face-palm in shame and embarrassment]

      but I can follow directions well and use google well to get me through almost any thing, keyword here is almost ...

      so I want to have a single box server that can be a Full fledged VM server to host a bunch of VMs
      but it also need to host all of my data drives and provide access to them to all clients VM and real.

      so when doing my setup, and it is very much like yours, I load up an OMV on the main box, than
      I load SnapRaid (and let's be clear I am using the plug-ins for whatever I can)
      I use my 3Tb drives for parity, since P drives must be the largest one in pool
      I use all the rest as data;
      so I have a pool of
      4x2Tb HDD + 2x1Tb HDD
      with 2x3Tb Parity drives at the moment.

      all is nice and good.

      than I install unionfilesystems and use MERGERFS pool as mainShare pooling all my data drives into single mount.

      all good so far. I was able to install and setup all of it nicely with minimal issues,if any.

      I have tried rsnapshot and openvpn before but was not able to make it work. not sure why or what went wrong.
      so need much help with them, at least a better information on what and how they do things they do.
      I am still reading up on all of this but never hurt to ask questions to someone who done it and it work for them.

      my problem with openvpn is simply my luck of knowledge on how it works.
      in the past I only dealt with Windows based VPN that you simply install the small cisco or a like client on the client PC
      give the ip and credentials and it works. I do not know how to do this on Linux.

      same thing with rsnapshot , I simply do not understand it well enough to make it work.

      still reading and learning all about it.

      now, my last setup I did use VB plugin.and have nothing against it.
      I just think that
      first KVM is Linux native Vm solution. it is part of and fully supported by the Kernel.
      it also seams to have a lot less overhead compared to VB.
      my only gripe is luck of good light weight UI for it. a webUI is a plus as I can than manage it from any PC having only browser as opposed to needing a libvirt client or such.
      I do not expect to need the pass-through options as I simply do not have anything to pass through to VM.
      I plan to add couple of network tuners later, but they can be installed and managed via network in VM. no need to pass-through.

      all data in my case should be and will be accessed via samba or nfs mounts.
      omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
      SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
      PSU: Silencer 760 Watt ATX Power Supply
      IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
      OS on 2×120 SSD in RAID-1 |
      DATA: 3x3T| 4x2T | 2x1T
    • subzero79 wrote:

      The lounge definitely sounds interesting does it have a mobile web theme ?
      yes it has mobile theme, easy to use

      ================================
      I added how to install lounge in OMV 3.x
      OMV3 on Proxmox
      Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
      omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
      Click link for more details

      The post was edited 1 time, last by luxflow ().

    • luxflow wrote:

      luxflow wrote:

      webvirtmgr : kvm management web gui, image is below
      (if you want to know how to setup click here)
      I added how to setup webvirtmgr
      when I click on the link I get Access not authorized error :)
      omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
      SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
      PSU: Silencer 760 Watt ATX Power Supply
      IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
      OS on 2×120 SSD in RAID-1 |
      DATA: 3x3T| 4x2T | 2x1T
    • cool, I started the test run in my OMV VM
      and the step "virtualenv env" is no-go

      Shell-Script

      1. /var/www/webvirtmgr# virtualenv --help
      2. -bash: virtualenv: command not found

      am I missing something ?
      should I have rebooted after
      "apt-get install python-virtualenv python-dev libxml2-dev libvirt-dev zlib1g-dev" ?


      also I am on Debian 8 OMV 3.0.30
      does that makes any difference?
      omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
      SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
      PSU: Silencer 760 Watt ATX Power Supply
      IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
      OS on 2×120 SSD in RAID-1 |
      DATA: 3x3T| 4x2T | 2x1T

      The post was edited 1 time, last by vl1969 ().

    • vl1969 wrote:

      also I am on Debian 8 OMV 3.0.30
      does that makes any difference?
      yes, in OMV 8, process is slightly different
      I will add description for OMV 3.x

      =================
      added for OMV 3.x
      OMV3 on Proxmox
      Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
      omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
      Click link for more details

      The post was edited 1 time, last by luxflow ().

    • tekkb wrote:

      @luxflow... was talking about this video you linked. It was a big radiator he used for the water cooling. And it was a really expensive build but used double sided tape with the SSDs.
      haha sorry since I'm not good at english, so sometimes misunderstand things
      especially idioms

      I misunderstand radiator as HDD, Linus as Linux, so I understand linux in my ssd will be erased due to hdd heat
      what a shame ;)

      yes linus `went go out`
      OMV3 on Proxmox
      Intel E3-1245 v5 | 32GB ECC RAM | 4x3TB RAID10 HDD
      omv-zfs | omv-nginx | omv-letsencrypt | omv-openvpn
      Click link for more details

      The post was edited 1 time, last by luxflow ().

    • ok, I think I got as far as I can using VM.
      the Hyper-V VM is not compatible with nested virtualization so I can not run KVM on it. some services will not start for it to work.
      I fixed my hardware last night, turns out when I was moving my SSD around I bump the MB power cable out of the place.
      so
      I will be rebuilding the whole setup in a few days. let you know if I find issues with the script.
      I know my hardware is VT-d/IOMMU compartible.
      omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
      SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
      PSU: Silencer 760 Watt ATX Power Supply
      IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
      OS on 2×120 SSD in RAID-1 |
      DATA: 3x3T| 4x2T | 2x1T