version 9, including all changes.
.
Rev |
Author |
# |
Line |
3 |
CraigBox |
1 |
!! Installing BackupExec on DebianLinux (10.x) |
|
|
2 |
|
|
|
3 |
The Remote Agent has been renamed RALUS (for Remote Agent for Linux and UNIX Servers) and an excellent HOWTO on using [RALUS on Debian|http://newvibes.net/linux/backup.html] is available. |
|
|
4 |
|
9 |
WilliamStockall |
5 |
Don't forget to run <tt>update-rc.d VRTSralus.init defaults</tt> to make it start/stop appropriately. |
5 |
CraigBox |
6 |
|
|
|
7 |
Note, you need to [have a RALUS license on your media server to use RALUS 10|http://seer.support.veritas.com/docs/276788.htm], but you can use v9 for 'free'. |
3 |
CraigBox |
8 |
|
|
|
9 |
!! Installing BackupExec on DebianLinux (9.x) |
1 |
AristotlePagaltzis |
10 |
|
|
|
11 |
Untar and install to <tt>/usr/local/bkupexec</tt> and copy the <tt>agent.cfg</tt> from there to a newly created <tt>/etc/bkupexec</tt> directory. Now create a <tt>/etc/init.d/bkupexec</tt> file with the following content: |
|
|
12 |
|
|
|
13 |
<verbatim> |
|
|
14 |
#!/bin/sh |
|
|
15 |
# |
8 |
AristotlePagaltzis |
16 |
# Starts and stops the Backup Exec agent |
1 |
AristotlePagaltzis |
17 |
# Craig Box, 25/8/03 |
|
|
18 |
|
|
|
19 |
PATH=/sbin:/bin:/usr/sbin:/usr/bin |
|
|
20 |
DAEMON=/usr/local/bkupexec/agent.be |
|
|
21 |
CONF=/etc/bkupexec/agent.cfg |
|
|
22 |
|
|
|
23 |
# clear conflicting settings from the environment |
|
|
24 |
unset TMPDIR |
|
|
25 |
|
|
|
26 |
# See if the daemon is there |
|
|
27 |
test -x $DAEMON || exit 0 |
|
|
28 |
|
|
|
29 |
case "$1" in |
|
|
30 |
start) |
|
|
31 |
echo -n "Starting the Backup Exec agent: agent.be" |
|
|
32 |
start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF |
|
|
33 |
echo "." |
|
|
34 |
;; |
|
|
35 |
stop) |
|
|
36 |
echo -n "Stopping the Backup Exec agent: agent.be" |
|
|
37 |
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON |
|
|
38 |
echo "." |
|
|
39 |
;; |
|
|
40 |
restart|force-reload) |
|
|
41 |
echo -n "Restarting the Backup Exec agent: agent.be" |
|
|
42 |
start-stop-daemon --stop --quiet --oknodo --exec $DAEMON |
|
|
43 |
sleep 2 |
|
|
44 |
start-stop-daemon --start --quiet -b --exec $DAEMON -- -c $CONF |
|
|
45 |
echo "." |
|
|
46 |
;; |
|
|
47 |
*) |
|
|
48 |
echo "Usage: /etc/init.d/bkupexec {start|stop|restart|force-reload}" |
|
|
49 |
exit 1 |
|
|
50 |
;; |
|
|
51 |
esac |
|
|
52 |
|
|
|
53 |
exit 0 |
|
|
54 |
</verbatim> |
|
|
55 |
|
|
|
56 |
Make it executable and run <tt>update-rc.d bkupexec defaults 96</tt>, and you're away laughing. |
6 |
CraigBox |
57 |
|
|
|
58 |
!! Can't see my agent |
|
|
59 |
|
8 |
AristotlePagaltzis |
60 |
Run <tt>agent.be</tt> with <tt>-nd</tt> to debug and use the guide for [How to read a UNIX Agent debug log | http://seer.support.veritas.com/docs/263307.htm] to find out what’s wrong. |
4 |
CraigBox |
61 |
|
8 |
AristotlePagaltzis |
62 |
!! "<tt>The function is not implemented</tt>" when viewing your remote agent |
4 |
CraigBox |
63 |
|
8 |
AristotlePagaltzis |
64 |
Check that <tt>/etc/hosts</tt> has the right details ([FQDN], [IP] address) for the server you are running RALUS on. |
6 |
CraigBox |
65 |
|
8 |
AristotlePagaltzis |
66 |
!! "<tt>**** getservbyname(grfs, tcp) failed! ****</tt>" |
6 |
CraigBox |
67 |
|
8 |
AristotlePagaltzis |
68 |
You need an entry in <tt>/etc/services</tt>. As root, |
|
|
69 |
|
|
|
70 |
<verbatim> |
6 |
CraigBox |
71 |
echo 'grfs 6101/tcp' >> /etc/services |
8 |
AristotlePagaltzis |
72 |
</verbatim> |
6 |
CraigBox |
73 |
|
|
|
74 |
!! Not seeing the agent in the Windows server |
|
|
75 |
|
8 |
AristotlePagaltzis |
76 |
You need the hostname of the server you are announcing *to* in the <tt>/etc/hosts</tt> file as well. |
6 |
CraigBox |
77 |
|
|
|
78 |
Check the debug log to see you're getting a connection to port 6101 (which translates in Weird VERITAS Binary to 23.213): |
|
|
79 |
|
8 |
AristotlePagaltzis |
80 |
<pre> |
|
|
81 |
rcvr addr=10.7.13.10.23.213 |
|
|
82 |
attempting to connect. state=0 |
|
|
83 |
</pre> |
6 |
CraigBox |
84 |
|
8 |
AristotlePagaltzis |
85 |
Telnet to that IP on port 6101 and ensure you get a response. If not, check the Agent Browser service on the Windows machine. |
7 |
CraigBox |
86 |
|
8 |
AristotlePagaltzis |
87 |
[More troubleshooting notes | http://seer.entsupport.symantec.com/docs/192204.htm] are available on the VERITAS knowledge base. |
4 |
CraigBox |
88 |
|
8 |
AristotlePagaltzis |
89 |
---- |
4 |
CraigBox |
90 |
CategoryNotes |