summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/control.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename HASTCTL_ defines, which are used for conversion between maintrociny2011-04-261-3/+2
| | | | | | | | | | hastd process and workers, remove unused one and set different range of numbers. This is done in order not to confuse them with HASTCTL_CMD defines, used for conversation between hastctl and hastd, and to avoid bugs like the one fixed in in r221075. Approved by: pjd (mentor) MFC after: 1 week
* Don't open configuration file from worker process. Handle SIGHUP in thepjd2011-01-241-0/+1
| | | | | | | | master process only and pass changes to the worker processes over control socket. This removes access to global namespace in preparation for capsicum sandboxing. MFC after: 2 weeks
* Fix descriptor leaks: when child exits, we have to close control and eventpjd2010-09-221-0/+2
| | | | | | socket pairs. We did that only in one case out of three. MFC after: 3 days
* Make control_set_role() more public. We will need it soon.pjd2010-08-051-0/+3
| | | | MFC after: 1 month
* Please welcome HAST - Highly Avalable Storage.pjd2010-02-181-0/+44
HAST allows to transparently store data on two physically separated machines connected over the TCP/IP network. HAST works in Primary-Secondary (Master-Backup, Master-Slave) configuration, which means that only one of the cluster nodes can be active at any given time. Only Primary node is able to handle I/O requests to HAST-managed devices. Currently HAST is limited to two cluster nodes in total. HAST operates on block level - it provides disk-like devices in /dev/hast/ directory for use by file systems and/or applications. Working on block level makes it transparent for file systems and applications. There in no difference between using HAST-provided device and raw disk, partition, etc. All of them are just regular GEOM providers in FreeBSD. For more information please consult hastd(8), hastctl(8) and hast.conf(5) manual pages, as well as http://wiki.FreeBSD.org/HAST. Sponsored by: FreeBSD Foundation Sponsored by: OMCnet Internet Service GmbH Sponsored by: TransIP BV
OpenPOWER on IntegriCloud