Adsm Backup
Adsm Backup
Adsm Backup
Table of Contents
Linux ADSM Mini−Howto.................................................................................................................................1
by Thomas König, [email protected]−karlsruhe.de...................................................................1
1. Introduction..........................................................................................................................................1
2. Installing the iBCS module..................................................................................................................1
3. Installing the ADSM client..................................................................................................................1
4. Running the client................................................................................................................................1
5. Known Problems..................................................................................................................................1
1. Introduction..........................................................................................................................................1
2. Installing the iBCS module..................................................................................................................1
3. Installing the ADSM client..................................................................................................................2
4. Running the client................................................................................................................................3
5. Known Problems..................................................................................................................................4
i
Linux ADSM Mini−Howto
by Thomas König,
[email protected]−karlsruhe.de
v, 15 January 1997
This document describes how to install and use a client for the commercial ADSM backup system for
Linux/i386.
1. Introduction
2. Installing the iBCS module
3. Installing the ADSM client
4. Running the client
5. Known Problems
1. Introduction
ADSM is a network−based backup system, sold by IBM, in use at many organizations. There are clients for a
large variety of systems (different UNIX brands, Windows, Novell, Mac, Windows NT). Unfortunately, at
the time of this writing, there is no native Linux version.
You will have to use the SCO binary, and install the iBCS2−emulator for running ADSM. This description is
for ADSM v2r1.
At the time if this writing, I am only aware of a version which works with the i386 version of Linux.
For a 2.0 kernel version, get ibcs−2.0−960610.tar.gz, unpack it in a suitable place, chdir into that
directory, and apply the following patch:
If you don't have them already, create the needed device files by executing
# cd /dev
# ln −s null XOR
# ln −s null X0R
# mknod socksys c 30 0
# mknod spx c 30 1
Servername
TCPServeraddress
NODename
Server
As before
Followsymbolic
SUbdir
domain
You will then have to create a SCO−compatible /etc/mnttab from your /etc/fstab. You can use the
following Perl script, fstab2mnttab, for this.
#!/usr/bin/perl
while(<MTAB>) {
next if /pid/;
chop;
/^(\S*)\s(\S*)\s(\S*)\s.*$/;
$device = $1;
$mountpt = $2;
$fstype = $3;
if($fstype ne "nfs" && $fstype ne "proc") {
$mnttab_rec =
pack($mnttab_struct, $device, $mountpt, 0x9d2f, time());
syswrite(MNTTAB, $mnttab_rec, 72);
print "Made entry for: $device $mountpt $fstype\n";
}
}
close(MNTTAB);
exit 0;
You do not need to install any shared libraries for these clients; everything is linked statically.
5. Known Problems
Unfortunately, SCO can only deal with hostnames no longer than eight characters. If your hostname is longer,
or fully qualified, you may need to specify your hostname on the NODename line in
/usr/adsm/dsm.sys.
If you use the DISPLAY variable, you will have to supply the fully qualified host name (i.e.
DISPLAY=host.full.do.main:0 instead of DISPLAY=host:0).
5. Known Problems 4