source: MondoRescue/branches/2.0.7/monitas/README@ 459

Last change on this file since 459 was 352, checked in by bcornec, 18 years ago

monitas v0.1a

File size: 2.5 KB
Line 
1MONITAS
2"""""""
3
4Document last updated: June 19th, 2002
5
6
7WARNING
8"""""""
9
10Monitas is alpha-quality code. If it eats you alive, don't blame me. ;)
11However, please bear in mind that I am writing and testing it on a daily
12basis and I haven't lost any data yet.
13
14
15INSTALLING
16""""""""""
17
18Monitas will not work unless you install Mondo first. Mondo has its own
19dependencies which must be fulfilled before it will run, such as Mindi.
20So, before you even try to install Monitas, please install Mondo. Make
21sure you are installing the LATEST SNAPSHOT from the website
22(http://www.mondorescue.com/download.html).
23
24Unzip the Monitas tarball (the one you've unzipped in order to read
25this message). Then, type:-
26
27# cd monitas-0.1a
28# ./make-server info
29# ./make-client info
30# mkdir /root/monitas
31# cp -f client,server /root/monitas
32
33(If you have problems later on, repeat the 'make' commands but drop the
34'info' parameter from each.)
35
36
37SERVER
38""""""
39
40Because Monitas is alpha-quality code, you should not install it in
41/usr/sbin or /usr/local/sbin. Instead, run it from /root:-
42# /root/monitas/server info &
43
44To monitor the server, type:-
45# tail -f /var/log/monitas/monitas-server.log
46
47To kill the server, type:-
48# kill `cat /var/run/monitas-server.pid`
49
50CLIENT
51""""""
52
53Then, go to another console and type:-
54# /root/monitas/client info 127.0.0.1 &
55Replace '127.0.0.1' with the IP address of the PC on which the server runs.
56
57To monitor the client, type:-
58# tail -f /var/log/monitas/monitas-client.log
59
60To kill the client, type:-
61# kill `cat /var/run/monitas-client.pid`
62
63
64
65
66BACKING UP / COMPARING / RESTORING
67""""""""""""""""""""""""""""""""""
68
69To backup, compare or restore /usr/local, please go to the
70server's console and type one of these:-
71# echo "backup 127.0.0.1 /usr/local" > /var/spool/monitas/server-input.dev
72# echo "compare 127.0.0.1 /usr/local" > /var/spool/monitas/server-input.dev
73# echo "restore 127.0.0.1 /usr/local" > /var/spool/monitas/server-input.dev
74
75To do it while sitting at the client PC, type one of these:-
76# echo "backup /usr/local" > /var/spool/monitas/client-input.dev
77# echo "compare /usr/local" > /var/spool/monitas/client-input.dev
78# echo "restore /usr/local" > /var/spool/monitas/client-input.dev
79
80By default, files are restored to /mnt/RESTORING. To restore to the / dir,
81enter the following at the client's console:-
82# echo "restore /usr/local /" > /var/spool/monitas/client-input.dev
83or this on the server's console:-
84# echo "restore 127.0.0.1 /usr/local /" > /var/spool/monitas/server-input.dev
85
86
87-Hugo
88
89
Note: See TracBrowser for help on using the repository browser.