|
Next
Previous
Contents
The SCO binary is supplied as three tar files, or disks. Change to
the root directory, set your umask according to your policies, and
unpack them from there (as root). In your Directory /tmp, you will
find an installation script; execute that.
You will then have to hand-edit /usr/adsm/dsm.sys and
/usr/adsm/dsm.opt .
In dsm.sys , important lines to specify are:
- Servername
The name of the server
- TCPServeraddress
The fully qualified host name of the server
- NODename
Your own hostname
In dsm.opt , you will have to specify
- Server
As before
- Followsymbolic
Wether or not to follow symbolic links (not a good idea, in general)
- SUbdir
Wether to back up subdirectories (you usually want that)
- domain
The file systems to back up
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
$mnttab_struct = "a32 a32 I L";
open(MTAB, "/etc/mtab") || die "Cannot open /etc/mtab: $!\n";
open(MNTTAB, ">/etc/mnttab") || die "Cannot open /etc/mnttab: $!\n";
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.
Next
Previous
Contents
|