This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
HAST & CARP support
-
ralphte
- NewUser

- Posts: 2
- Joined: 22 Jul 2012 18:08
- Status: Offline
HAST & CARP support
Was looking in to setting up HAST with CARP to provided High Available for NAS4Free. I have already got the system working with the current version. Write up soon to come. Would the community be interested if I where to get the settings setup for the GUI to add to a upcoming build??
-
SKL111
- Starter

- Posts: 22
- Joined: 23 Jun 2012 20:17
- Status: Offline
Re: HAST & CARP support
CARP yes!
What is HAST?
What is HAST?
-
ralphte
- NewUser

- Posts: 2
- Joined: 22 Jul 2012 18:08
- Status: Offline
Re: HAST & CARP support
HAST - Highly Available Storage is for building a cluster for storage. it's pretty much raid 1 over two servers over a network. Check out the link below.
http://wiki.freebsd.org/HAST
http://wiki.freebsd.org/HAST
-
alexplatform
- Starter

- Posts: 38
- Joined: 26 Jun 2012 21:21
- Status: Offline
Re: HAST & CARP support
Yes pleaseWrite up soon to come. Would the community be interested if I where to get the settings setup for the GUI to add to a upcoming build??
- lindsay
- Forum Moderator

- Posts: 282
- Joined: 23 Jun 2012 09:59
- Location: Steinkjer,Norway
- Status: Offline
Re: HAST & CARP support
+1 from me
Protected by smoothiebox Red,Green,
Purple,Orange Zones/VLAN`s
Powered by AMD A10-6700T
XigmaNAS Box-1 11.2.0.4 - Omnius (revision 6625)
Platform : x64-embedded on 2X Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Motherboard: ASUS Z10PA-D8, 2xSocket-2011-3
SATA Controllers : 1X Avago Technologies (LSI) SAS2008 and 1x Avago Technologies (LSI) SAS2308
Pool 1 (Media-Pool) 8X4TB in raidz2
Pool 2 (Media-Pool-2) 4X2TB in raidz2 and 2X2TB in mirror mirror and 2X3TB in mirror
Pool 3 (Media-Pool-3) 2X2TB in mirror and 2X4TB in mirror and 2X1TB in mirror
Purple,Orange Zones/VLAN`s
Powered by AMD A10-6700T
XigmaNAS Box-1 11.2.0.4 - Omnius (revision 6625)
Platform : x64-embedded on 2X Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
Motherboard: ASUS Z10PA-D8, 2xSocket-2011-3
SATA Controllers : 1X Avago Technologies (LSI) SAS2008 and 1x Avago Technologies (LSI) SAS2308
Pool 1 (Media-Pool) 8X4TB in raidz2
Pool 2 (Media-Pool-2) 4X2TB in raidz2 and 2X2TB in mirror mirror and 2X3TB in mirror
Pool 3 (Media-Pool-3) 2X2TB in mirror and 2X4TB in mirror and 2X1TB in mirror
-
ScoutMaster
- NewUser

- Posts: 5
- Joined: 28 Jun 2012 14:53
- Status: Offline
Re: HAST & CARP support
+1
& then another +1,000,000
I've tinkered, and have had HAST/CARP setup on both FreeNAS, and Nas4Free, but never got into the WebUI.
Some invaluable pages that I referenced when I started out was (in no particular order) ->
http://www.aisecure.net/2012/02/07/hast ... -failover/
http://viktorpetersson.com/2010/09/27/s ... with-carp/
http://qq929962616.72pines.com/2012/03/ ... n-freenas/
http://wiki.freebasd.org/HAST/
One thing that would be really nice in a WebUI, would be 'hastctl status' info, as well as a test & **RECOVERY** feature (eg for assiting in resolving Split Brain etc ), as I like to test stuff like this every so often so that I dont fall short in an emergency. Also being able to switch primary/secondary nodes to be master/slave would be helpful as well as having some form of cross check in place before/after etc.
An awesome feature would be to have each node accessable from the same WebUI. ie, so it can access the 'second' node, and update/apply configs accordingly.
Having ability to tweak settings for each node, eg advskew (ifconfig for carp - different on each node), as well as other misc settinsg like adding/changing a 'resource' in hast.conf
Consider with HAST, as much as its High Avail for your precious data, you now have >2x chance of something going wrong. HAST will only work with two nodes. Wish it would be more like raid6.
I have multiple chunks of identical server H/W sitting around, ready waiting to help test if wanted / needed.
& then another +1,000,000
I've tinkered, and have had HAST/CARP setup on both FreeNAS, and Nas4Free, but never got into the WebUI.
Some invaluable pages that I referenced when I started out was (in no particular order) ->
http://www.aisecure.net/2012/02/07/hast ... -failover/
http://viktorpetersson.com/2010/09/27/s ... with-carp/
http://qq929962616.72pines.com/2012/03/ ... n-freenas/
http://wiki.freebasd.org/HAST/
One thing that would be really nice in a WebUI, would be 'hastctl status' info, as well as a test & **RECOVERY** feature (eg for assiting in resolving Split Brain etc ), as I like to test stuff like this every so often so that I dont fall short in an emergency. Also being able to switch primary/secondary nodes to be master/slave would be helpful as well as having some form of cross check in place before/after etc.
An awesome feature would be to have each node accessable from the same WebUI. ie, so it can access the 'second' node, and update/apply configs accordingly.
Having ability to tweak settings for each node, eg advskew (ifconfig for carp - different on each node), as well as other misc settinsg like adding/changing a 'resource' in hast.conf
Consider with HAST, as much as its High Avail for your precious data, you now have >2x chance of something going wrong. HAST will only work with two nodes. Wish it would be more like raid6.
I have multiple chunks of identical server H/W sitting around, ready waiting to help test if wanted / needed.
-
bdekker
- NewUser

- Posts: 1
- Joined: 10 Oct 2012 13:26
- Status: Offline
Re: HAST & CARP support
I have just setup nas4free with HAST & CARP and it works fine. You have to put back some modules (if_carp.ko, geom_gate.ko /etc/rc.d/hastd, /sbin/hastd and /sbin/hastctl) and enable the modules in the loader.conf. Once you 'r done, add the carp0 interface to the rc.d and you can config it using the gui. Add some preinit commands to put back the additional modules (cp /cf/boot/hast* /sbin , cp /cf/conf/hastd /etc/rc.d, cp /cf/conf/hast.conf /etc, cat /cf/conf/devd.conf.add >> /etc/devd.conf ) and make a script to switch from slave to master and vice versa. In order to make the changes mount the /cf directory rw (mount -uw /cf).
It would be nice if nas4free can ship the if_carp.ko and geom_gate.ko and the /etc/rc.d/hastd, /sbin/hastd and /sbin/hastctl ! Manually editing the disks was not really a problem for me, the xml file is very easy to understand but It would be nice if the gui would recognize them right away.
It would be nice if nas4free can ship the if_carp.ko and geom_gate.ko and the /etc/rc.d/hastd, /sbin/hastd and /sbin/hastctl ! Manually editing the disks was not really a problem for me, the xml file is very easy to understand but It would be nice if the gui would recognize them right away.
- zoon01
- Developer

- Posts: 724
- Joined: 20 Jun 2012 21:06
- Location: Netherlands
- Contact:
- Status: Offline
Re: HAST & CARP support
Please try build 9.1.0.1.509
have a nice day
have a nice day
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz
Development system is same system in virtualbox.
Development system is same system in virtualbox.
-
pug
- NewUser

- Posts: 1
- Joined: 14 Dec 2012 08:48
- Status: Offline
Re: HAST & CARP support
it would be necessary to kill hastd via ssh, after that HAST was configurable on NAS4free. Until that kill, NAS4free was not able to initialize HAST.
Web GUI should also support such devices, please see bug #60 in bugtracker.
Web GUI should also support such devices, please see bug #60 in bugtracker.