root / doc / INSTALL @ 26
Historique | Voir | Annoter | Télécharger (1,15 ko)
1 | 26 | ltaulell | # $Id$ |
---|---|---|---|
2 | 26 | ltaulell | |
3 | 26 | ltaulell | * Mandatory |
4 | 26 | ltaulell | zfs on linux (see http://zfsonlinux.org/ ) |
5 | 26 | ltaulell | smartctl (smartmontools) |
6 | 26 | ltaulell | mbuffer (mbuffer) |
7 | 26 | ltaulell | |
8 | 26 | ltaulell | * install GUI on "manager" |
9 | 26 | ltaulell | |
10 | 26 | ltaulell | apt-get install openjdk-7-jre openjdk-7-jre-headless |
11 | 26 | ltaulell | optional: apt-get install smartmontools mbuffer xbase-clients |
12 | 26 | ltaulell | |
13 | 26 | ltaulell | create /opt/gZFS/ |
14 | 26 | ltaulell | |
15 | 26 | ltaulell | |
16 | 26 | ltaulell | rsync from svn (rsync --exclude '.svn*') bin/ and jarjarbin/ to /opt/gZFS/ |
17 | 26 | ltaulell | example: |
18 | 26 | ltaulell | rsync --recursive --exclude '.svn*' -e ssh ~/home/project/gZFS/bin root@<manager>:/opt/gZFS/ |
19 | 26 | ltaulell | rsync --recursive --exclude '.svn*' -e ssh ~/home/project/gZFS/jarjarbin root@<manager>:/opt/gZFS/ |
20 | 26 | ltaulell | |
21 | 26 | ltaulell | launch the GUI (user root): |
22 | 26 | ltaulell | java -jar /opt/gZFS/jarjarbin/gZFS-linux-x64.jar |
23 | 26 | ltaulell | |
24 | 26 | ltaulell | See the GUI manual. |
25 | 26 | ltaulell | |
26 | 26 | ltaulell | if manager also host zfs datasets that will be managed, see managed servers doc. |
27 | 26 | ltaulell | |
28 | 26 | ltaulell | * install tools on each "managed" servers : |
29 | 26 | ltaulell | |
30 | 26 | ltaulell | apt-get install smartmontools mbuffer |
31 | 26 | ltaulell | rsync from "manager" : |
32 | 26 | ltaulell | example: rsync --recursive --exclude "infodisks.cache" --exclude "jarjarbin" -e ssh root@<manager>/opt/gZFS /opt/ |
33 | 26 | ltaulell | |
34 | 26 | ltaulell | create /opt/gZFS/replicas/ and /opt/gZFS/snapshots/ |
35 | 26 | ltaulell | |
36 | 26 | ltaulell | make symbolic links to scripts : |
37 | 26 | ltaulell | for i in $(ls /opt/gZFS/bin/); do ln -s /opt/gZFS/bin/$i /sbin/$i ; done |
38 | 26 | ltaulell | |
39 | 26 | ltaulell | create cache : |
40 | 26 | ltaulell | get-disk-zpool > /opt/gZFS/infodisks.cache |
41 | 26 | ltaulell |