diff options
author | mav <mav@FreeBSD.org> | 2015-09-10 12:40:31 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-09-10 12:40:31 +0000 |
commit | 7ee575bccae31cf9cf140b6bd20f80360024ade4 (patch) | |
tree | 21fdd7752fb9d89cacedc1ad0f81075a34353a18 /sys/conf | |
parent | 1d4ff31d062979783b9c032a98744476927f858e (diff) | |
download | FreeBSD-src-7ee575bccae31cf9cf140b6bd20f80360024ade4.zip FreeBSD-src-7ee575bccae31cf9cf140b6bd20f80360024ade4.tar.gz |
Reimplement CTL High Availability.
CTL HA functionality was originally implemented by Copan many years ago,
but large part of the sources was never published. This change includes
clean room implementation of the missing code and fixes for many bugs.
This code supports dual-node HA with ALUA in four modes:
- Active/Unavailable without interlink between nodes;
- Active/Standby with second node handling only basic LUN discovery and
reservation, synchronizing with the first node through the interlink;
- Active/Active with both nodes processing commands and accessing the
backing storage, synchronizing with the first node through the interlink;
- Active/Active with second node working as proxy, transfering all
commands to the first node for execution through the interlink.
Unlike original Copan's implementation, depending on specific hardware,
this code uses simple custom TCP-based protocol for interlink. It has
no authentication, so it should never be enabled on public interfaces.
The code may still need some polishing, but generally it is functional.
Relnotes: yes
Sponsored by: iXsystems, Inc.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/files | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files index 280f6a6..df8233f 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -85,6 +85,7 @@ cam/ctl/ctl_frontend.c optional ctl cam/ctl/ctl_frontend_cam_sim.c optional ctl cam/ctl/ctl_frontend_ioctl.c optional ctl cam/ctl/ctl_frontend_iscsi.c optional ctl +cam/ctl/ctl_ha.c optional ctl cam/ctl/ctl_scsi_all.c optional ctl cam/ctl/ctl_tpc.c optional ctl cam/ctl/ctl_tpc_local.c optional ctl |