Hi Everyone,
I'm in the process of building a SAN (still very much in the testing / tinkering stage) based on FreeBSD + ZFS + HAST + CARP. I'm relatively new to FreeBSD (and this is my first post) but have been busy reading and building test after test after test in a virtual environment so I have at least a decent idea of what I'm doing before I touch real hardware.
I have read through many message board posts and Google searches but still have a few questions I'd like to ask here.
I'd like to build two boxes running on consumer hardware (primary node and secondary node); one that utilises SSD's for Cache and Log devices and the remaining drives are standard consumer HDD's. The primary box would be have the extra hardware (more RAM + better CPU + SSD's Cache & Log devices) and the secondary / fallback box would be just consumer HDD's only to be used temporarily while the primary is down; getting fixed etc.
After successfully building the initial version of the two boxes (again, virtually) and testing with HAST and CARP I was hoping someone could answer the below questions.
- If both boxes have multiple NICs (crossover between nodes [for HAST replication] and CARP on the other interfaces to the switch), how can I tell HAST which IP/interface to use?
- If the backup node doesn't contain Cache & Log devices; will I still be able to import the zpool on failover?
- Is HAST what I want to use? Am I better off using snapshots and an SSH tunnel between the two nodes?
- If someone has done similar, if you don't mind sharing any pointers, gotchas etc; I'd love to hear them.
Many Thanks,
Tarran
I'm in the process of building a SAN (still very much in the testing / tinkering stage) based on FreeBSD + ZFS + HAST + CARP. I'm relatively new to FreeBSD (and this is my first post) but have been busy reading and building test after test after test in a virtual environment so I have at least a decent idea of what I'm doing before I touch real hardware.
I have read through many message board posts and Google searches but still have a few questions I'd like to ask here.
I'd like to build two boxes running on consumer hardware (primary node and secondary node); one that utilises SSD's for Cache and Log devices and the remaining drives are standard consumer HDD's. The primary box would be have the extra hardware (more RAM + better CPU + SSD's Cache & Log devices) and the secondary / fallback box would be just consumer HDD's only to be used temporarily while the primary is down; getting fixed etc.
After successfully building the initial version of the two boxes (again, virtually) and testing with HAST and CARP I was hoping someone could answer the below questions.
- If both boxes have multiple NICs (crossover between nodes [for HAST replication] and CARP on the other interfaces to the switch), how can I tell HAST which IP/interface to use?
- If the backup node doesn't contain Cache & Log devices; will I still be able to import the zpool on failover?
- Is HAST what I want to use? Am I better off using snapshots and an SSH tunnel between the two nodes?
- If someone has done similar, if you don't mind sharing any pointers, gotchas etc; I'd love to hear them.
Many Thanks,
Tarran