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