System StatusFor details, click the Status 09/02/2009 11:57 am Events
Who's onlineThere are currently 0 users and 1 guest online.
Current weatherMA - Boston, Logan International Airport ![]()
Tue, 11/24/2009 - 06:54 |
Networker on Debian HOWTO12.4.1.1 Installing EMC NetWorker Client
The client package will allow the backup server to connect to your system and
To install these packages on a Debian GNU/Linux system, they must be converted Converting the packages goes like this:
vendredi:/tmp# alien --to-deb lgtoclnt-7.3-1.i686.rpm
lgtoclnt_7.3-2_i386.deb generated
vendredi:/tmp# alien --to-deb lgtoman-7.3-1.i686.rpm
lgtoman_7.3-2_i386.deb generated
You can then install the packages like this
# dpkg --install lgtoclnt-7.3-1.i686.deb
# dpkg --install lgtoman-7.3-1.i686.deb
The conversion from RPMs is not perfect and you will have to perform a few 12.4.1.2 Setting up and Configuring
To get backups with Legato, there must be
You need to tell
# mkdir -p /nsr/res
# echo "backup-server.example.com" > /nsr/res/servers
# echo "other.example.net" >> /nsr/res/servers
Note that NetWorker uses a non lsb compliant directory
If you are using a firewall, you need to open the NetWorker ports. NetWorker
# EMC NetWorker (Backups)
ACCEPT net fw udp 7937:7938
ACCEPT net fw tcp 7937:7938
ACCEPT net fw tcp 10001:10100
To check the installation, start
vendredi:/tmp/Legato# /usr/sbin/nsrexecd
vendredi:/tmp/Legato# ps aux | grep nsr
root 4031 0.5 0.6 1132 768 ? S 15:48 0:00 /usr/sbin/nsrexecd
root 4033 0.0 0.2 848 344 p2 S 15:48 0:00 grep nsr
vendredi:/tmp/Legato#
Next go to the backup server, and do a test run, where nothing is actually
root@lehmus:/# savegrp -n -p -v -P hplp -c vendredi Linux_Clients
vendredi:All level=incr
01/21/99 16:26:17 savegrp: Run up to 12 clients in parallel
01/21/99 16:26:17 savegrp: vendredi:probe started
savefs -s lehmus -g Linux_Clients -p -n -l full -R -v
01/21/99 16:26:20 savegrp: vendredi:probe succeeded.
rcmd vendredi, user root: `savefs -s lehmus -g Linux_Clients -p -n -l full -R -v'
nsrexec: authtype nsrexec
type: NSR client description;
pools supported: Yes;
remote user: root;
groups: daemon, root, bin, sys, adm, tty, disk, lp, mail, news, daemon;
arch: i586;
client OS type: Linux;
CPUs: 1;
IP address: 172.19.13.36;
machine type: desktop;
MB used: 828;
NetWorker version: Utah.Build.MJFeral_8_11_98_SNAP;
OS: Linux 2.0.34;
version: Utah.Build.MJFeral_8_11_98_SNAP;
save set: path=/, level=full, diskno=0, max_sessions=3, stype=save,\
path=/var, level=full, diskno=0, max_sessions=3, stype=save,\
path=/export/home, level=full, diskno=0, max_sessions=3, stype=save ;
parallelism: 8
--- Probe Summary ---
vendredi:/ level=full, dn=0, mx=3, vers=pools, p=4
vendredi:/ level=full, pool=SMT Workstation, save as of Thu Jan 1 03:00:00 GMT+0300 1970
vendredi:/var level=full, dn=0, mx=3, vers=pools, p=4
vendredi:/var level=full, pool=SMT Workstation, save as of Thu Jan 1 03:00:00 GMT+0300 1970
vendredi:/export/home level=full, dn=0, mx=3, vers=pools, p=4
vendredi:/export/home level=full, pool=SMT Workstation, save as of Thu Jan 1 03:00:00 GMT+0300 1970
vendredi:index level=full, dn=-1, mx=0, vers=pools, p=4
vendredi:index level=full, pool=SMT Workstation, save as of Thu Jan 1 03:00:00 GMT+0300 1970
root@lehmus:/#
If the previous tests looked OK, you can set up automatic backups on the server
The remaining configuration on the Linux host is to add starting of
#! /bin/sh
#
# Script to start EMC Networker backup daemon
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/nsrexecd
NAME=nsrexecd
DESC="legato backup daemon"
NICE=15
test -f $DAEMON || exit 0
set -e
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
start-stop-daemon --start -N $NICE -o --exec $DAEMON
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
start-stop-daemon --stop -o --name $NAME --exec $DAEMON
echo "."
;;
restart|force-reload)
echo -n "Restarting $DESC: $NAME"
start-stop-daemon --stop -o --name $NAME --exec $DAEMON
sleep 1
start-stop-daemon --start -N $NICE -o --exec $DAEMON
echo "."
;;
*)
echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload}"
exit 1
;;
esac
exit 0
You then have to add the backup service to your startup sequence:
# update-rc.d networker defaults 90
Now Legato should be setup up properly, and automatic backups run as configured |
User loginResearch Computing PollFirefox on your Mac?There are a number of useful web applications that work happily with Firefox but just won't work with Safari. (You can log in with your Partner's username and password.) NavigationArchives
Slashdot News FeedMedical News
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||