[HowTo] Udaljeni backup server - FreeBSD, ZFS, i Rsync

[HowTo] Udaljeni backup server - FreeBSD, ZFS, i Rsync

offline
  • soxxx 
  • Prijatelj foruma
  • Pridružio: 25 Maj 2005
  • Poruke: 1482
  • Gde živiš: Gracanica, Kosovo

Izvanredan post, samo cu preneti kratko, ostalo pogledajte na linku:
Citat:
Intro

A co-worker and I developed a centralised backup solution using FreeBSD, ZFS, and Rsync. The following set of posts describe how we did it.

Note: this is fairly long, and includes code dumps from all the scripts and config files used.

Server Hardware

Our central backup server uses the following hardware:

* Chenbro 5U rackmount case, with 24 hot-swappable drive bays, and a 4-way redundant PSU
* Tyan h2000M motherboard
* 2x dual-core Opteron 2200-series CPUs at 2.2 GHz
* 8 GB ECC DDR2-SDRAM
* 3Ware 9550SXU PCI-X RAID controller in a 64-bit/133 Mhz PCI-X slot
* 3Ware 9650SE PCIe RAID controller in an 8x PCIe slot
* Intel PRO/1000MT 4-port gigabit PCI-X NIC
* 24x 500 GB SATA harddrives
* 2x 2 GB CompactFlash cards in CF-to-IDE adapters

OS Configuration

We're currently running the 64-bit amd64 version of FreeBSD 7.1. We'll be upgrading to 7.2 once it's released. And we are anxiously awaiting the release of 8.0 with ZFSv13 support.

Two of the gigabit NIC ports are combined using lagg(4) and connected to one gigabit switch. We're considering adding the other two ports to the lagg interface, but we're waiting for a new managed switch that support LACP before we do.

The 2 CF cards are configured as gm0 using gmirror(Cool. / and /usr are installed on gm0.

The 3Ware RAID controllers are configured basically as glorified SATA controllers. Each drive is configured as a "SingleDrive" array, and appear to the OS as separate drives. Using SingleDrive instead of JBOD allows the RAID controller to use the onboard cache, and allows us to use the 3dm2 monitoring software. Each drive is also named after the slot/port it is connect to (disk01 through disk24).

The 24 harddrives are also labelled using glabel(Cool, according to the slot they are in, using the same names as the RAID controller uses (disk01 through disk24).
...

http://forums.freebsd.org/showthread.php?t=3689



Registruj se da bi učestvovao u diskusiji. Registrovanim korisnicima se NE prikazuju reklame unutar poruka.
Ko je trenutno na forumu
 

Ukupno su 1075 korisnika na forumu :: 42 registrovanih, 3 sakrivenih i 1030 gosta   ::   [ Administrator ] [ Supermoderator ] [ Moderator ] :: Detaljnije

Najviše korisnika na forumu ikad bilo je 3466 - dana 01 Jun 2021 17:07

Korisnici koji su trenutno na forumu:
Korisnici trenutno na forumu: A.R.Chafee.Jr., anta, aramis s, babaroga, bojankrstc, Denaya, Dogma21, Dorcolac, DPera, dragoljub11987, gomago, ikan, krkalon, madza, Mercury, Metanoja, Milometer, milos97, Mirage 2000N, MiroslavD, mnn2, nextyamb, Nikolaa11, nikoladim, ObelixSRB, pape, perko91, Povratak1912, powSrb, procesor, rovac, royst33, ruma, Sir Budimir, skvara, ss10, tmanda323, vathra, Vlada78, wolverined4, zziko, šumar bk2