ha-storage with two Nas

Discussion in 'Proxmox VE: Installation and configuration' started by abb, Jul 11, 2018.

  1. abb

    abb New Member

    Joined:
    Jul 11, 2018
    Messages:
    5
    Likes Received:
    0
    Hi everybody,

    I'm new to this forum and this is my first post.
    I am stuck in a High Availability cluster setup. I have the following configuration:

    - two servers
    - two storage nodes (qnap nas) with iSCSI support.

    I want to create an ha-setup where:
    - if one of server fails the vm still runs on the second one,
    - if one storage node fails, proxmox automatically uses the second one,

    In other terms I want HA both on the server and on the storage level,
    Is there any possible way to do this? I can mount the 2x iscsi volumes on proxmox, but then what is the next step?

    thanks
     
  2. wolfgang

    wolfgang Proxmox Staff Member
    Staff Member

    Joined:
    Oct 1, 2014
    Messages:
    3,759
    Likes Received:
    223
    Hi,

    there is no HA with tow Proxmox VE nodes.
    This is very dangerous and can end in losing your data.
     
  3. tschanness

    tschanness Member

    Joined:
    Oct 30, 2016
    Messages:
    259
    Likes Received:
    17
    Also the two qnaps won't be able to do HA even if you have 3PVE servers. You'd need to ensure that the data is always in sync which is (afaik) not possible with qnap.
     
  4. abb

    abb New Member

    Joined:
    Jul 11, 2018
    Messages:
    5
    Likes Received:
    0
    thanks,

    yes, actually I am searching for something like redundant storage, if one Nas fails proxmox automatically switches to the other éautomatically. is this possible?
     
  5. alexskysilk

    alexskysilk Active Member
    Proxmox VE Subscriber

    Joined:
    Oct 16, 2015
    Messages:
    417
    Likes Received:
    46
    Yes. many commercial NAS solutions (Synology, Nexenta) and free solutions (NAS4free) have HA capabilities. Freenas might also but probably in the enterprise version.
     
  6. abb

    abb New Member

    Joined:
    Jul 11, 2018
    Messages:
    5
    Likes Received:
    0
    thank you for the reply,

    would software solutions like NAS4free be setup as a VM inside proxmox (with ha) to present the 2x Nas as one storage? or are there other possible configurations like using software raid1 to have redundancy?
     
  7. alexskysilk

    alexskysilk Active Member
    Proxmox VE Subscriber

    Joined:
    Oct 16, 2015
    Messages:
    417
    Likes Received:
    46
    No, you'd install them on your NAS boxes.
     
  8. Belokan

    Belokan Member

    Joined:
    Apr 27, 2016
    Messages:
    120
    Likes Received:
    5
    For HA storage with two NAS, you can configure it at guest level.
    For instance, on Linux, just provide one LUN from each NAS and configure software mirroring using mdadm for instance.
    I guess something similar is available on windows too...
     
  9. abb

    abb New Member

    Joined:
    Jul 11, 2018
    Messages:
    5
    Likes Received:
    0
    thank you very much for the response, I guess that is the solution I was searching for,
    so here is a summary of the config:

    1- HA for the VM by installing glusterfs on the proxmox server nodes (vm HA using shared storage),
    2- HA storage level (like Belokan suggested) by using the LUNs from each NAS at VM level, then using software mirroring.
     
  10. abb

    abb New Member

    Joined:
    Jul 11, 2018
    Messages:
    5
    Likes Received:
    0
    Just one detail, the VM will have two disks, one for the OS (stored on the server nodes), and the other for (large) data (like the "/var/" folder for Linux OSs)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice