Révision 26
doc/README (revision 26) | ||
---|---|---|
1 |
# $Id$ |
|
2 |
|
|
3 |
* Enabling cronjob snapshots: |
|
4 |
|
|
5 |
examples: |
|
6 |
enable-snapshot -m 10 -H 4 -D "*" -M "*" -d "*" -N data/hosts/wheezy -t filesystem -k 7 |
|
7 |
|
|
8 |
Take a snaphot of filesystem data/hosts/wheezy every day at 4:10 am, keep 7 snapshots (here's days). |
|
9 |
|
|
10 |
enable-snapshot -m 21 -H 4 -D "*" -M "*" -d "*" -N data/hosts/gluster1 -t volume -k 30 |
|
11 |
|
|
12 |
Take a snaphot of volume data/hosts/gluster1 every day at 4:21 am, keep 30 snapshots (here's days). |
|
13 |
|
|
14 |
* Enabling cronjob replicas |
|
15 |
|
|
16 |
examples: |
|
17 |
enable-replica -o data/hosts/comp -r baie3/data/hosts/comp -n 7 -s r720data4 -m 0 -H 5 -D "*" -M "*" -d "*" |
|
18 |
|
|
19 |
Copy data from data/hosts/comp to baie3/data/hosts/comp, on r720data4 server, every day at 5:00 am, keep 7 snapshots |
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
0 | 24 |
doc/INSTALL (revision 26) | ||
---|---|---|
1 |
# $Id$ |
|
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 |
|
|
0 | 43 |
Formats disponibles : Unified diff