User Tools

Site Tools


unix:freebsd:system_builds:xenstoragebackend

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unix:freebsd:system_builds:xenstoragebackend [2019/09/15 07:23] rodolicounix:freebsd:system_builds:xenstoragebackend [2019/09/17 01:46] (current) – [NFS] rodolico
Line 38: Line 38:
 In our case, we will use four network ports. Two will be used set up as a Link Aggregation and used to sync changes to the master server to the slave. We will also use this for the control interface, thus we will have two vlan's on it. The control interface is on vlan 30, and the sync interface on vlan 60. In our case, we will use four network ports. Two will be used set up as a Link Aggregation and used to sync changes to the master server to the slave. We will also use this for the control interface, thus we will have two vlan's on it. The control interface is on vlan 30, and the sync interface on vlan 60.
  
-The other pair will be used strictly for iscsi and nfs communications to the clients. This will be done over vlan 50.+The other pair is set up as an additionall LAGG and used for iscsi and nfs communications to the clients. This will be done over vlan 50. This is set up with an alias to allow fast switching between the primary and secondary servers when HAST decides it is necessary.
  
 <code bash rc.conf> <code bash rc.conf>
Line 71: Line 71:
 ifconfig_lagg0_50_alias="inet vhid 1 pass iscsilan alias 10.19.209.64/24" ifconfig_lagg0_50_alias="inet vhid 1 pass iscsilan alias 10.19.209.64/24"
 </code> </code>
 +
 +==== HAST and CARP ====
 +
 +Now, set up your disks for High Availability. See [[unix:freebsd:system_builds:hast|]]
  
 ==== NFS ==== ==== NFS ====
Line 78: Line 82:
 See [[unix:freebsd:system_builds:nfsserver|]] for notes on how to set up NFS server. See [[unix:freebsd:system_builds:nfsserver|]] for notes on how to set up NFS server.
  
 +However, you will need to disable nfs autostart (since it relies on zfs, which relies on hast). nfsd and rpcbind will need to be managed in our failover script.
 ==== Set up iSCSI server ==== ==== Set up iSCSI server ====
 ==== Create iSCSI volumes and export them ==== ==== Create iSCSI volumes and export them ====
unix/freebsd/system_builds/xenstoragebackend.txt · Last modified: 2019/09/17 01:46 by rodolico