|
|

|
 |
 |
 |
overview |
 |
 |
 |
|
As with most software development cycles, the Novell NetWare
network operating system has been subject to a number of major and
minor version releases over time. This has resulted in the widespread
use of a number of different versions of NetWare. Backup applications
and tape drivers are always caught in the middle of these
transitions. They are tasked with being able to use old and new tape
hardware technology to backup data using previous and current
versions of NetWare.
Earlier versions of NetWare made use of a monolithic driver
architecture known as DDFS (Device Driver Functional Specification),
in which adapters and peripherals such as disks and tapes used
drivers having the file extension ".DSK".
Adding new devices to the monolithic architecture was problematic,
so Novell introduced a new driver architecture called NWPA (NetWare
Peripheral Architecture). With NWPA, a driver having the file
extension ".CDM" (custom device module) is used to control the
peripheral, and a separate driver having the file extension ".HAM"
(host adapter module) is used for the adapter or controller.
Although NWPA was adopted as the system of preference, the "old"
DDFS architecture continued to be supported until NetWare Version
5.0. In addition, new minor releases in the NetWare 3 and NetWare 4
series were subsequently issued with support for both DDFS and NWPA.
Downloadable "patches" were also made available to allow users with
NetWare 3 and NetWare 4 to use the new NWPA architecture.
This can be summarized as follows:
|
NetWare Version
|
Driver Architecture
|
|
NetWare 3.12
|
DDFS (+ NWPA with Patches)
|
|
NetWare 3.2
|
DDFS and NWPA
|
|
NetWare 4.11
|
DDFS (+ NWPA with Patches)
|
|
NetWare 4.2
|
DDFS and NWPA
|
|
NetWare 5.0
|
NWPA only
|
It is clear that, irrespective of the operating system version or
tape drive vendor, problems are sometimes experienced by users
attempting to set up NetWare systems with backup applications
(particularly using NWPA architecture) to perform tape backups.
|
 |
 |
tape class drivers |
 |
 |
 |
|
Tape Class drivers are mainly used by Novells built-in
backup applications - SBackup for NetWare 3 / 4) and SBCON for
NetWare 5. Further services can be layered on top of the class driver
modules, such as NetWare 5s SMS (Storage Management Services).
SBCON and by many other backup applications use SMS to provide media
management abstraction.
As with the DDFS architecture, Independent Software Vendor (ISV)
backup applications tend to use the ASPI (Advanced SCSI
Programming Interface) layer to communicate with tape
drives. Therefore, when using backup applications such as
BackupExec and ArcServeIT, the ASPI layer
driver must be loaded in place of the normal tape driver. The server
should either have the normal tape driver loaded or the ASPI layer
driver, but never both at the same time.
Typical DDFS drivers Used for Tape Drives
The following tables list typical DDFS drivers used for tape drives on NetWare 3 / 4 systems.
|
TYPICAL HBA DRIVERS
|
Description
|
|
AIC7870.DSK
|
NetWare 3 / 4 Adaptec AIC78XX chipset driver
(inc. AHA-2940UW)
|
|
SDMSNET3.DSK
|
NetWare 3 LSI (formerly Symbios) driver
(inc. 53C895 chipset)
|
|
SDMSNET4.DSK
|
NetWare 4.x LSI driver
(inc. 53C895 chipset)
|
|
ASPI DRIVERS
|
Used by ISV Backup Apps
(BackupExec, ArcServeIT etc.)
|
|
ASPITRAN.DSK
|
NetWare 3 / 4 ASPI driver for AIC7870.DSK
|
|
NETASPI3.DSK
|
NetWare 3 ASPI driver for SDMSNET3.DSK
|
|
NETASPI4.DSK
|
NetWare 4 ASPI driver for SDMSNET4.DSK
|
|
TAPE DRIVERS
|
Used by Novell Backup App - SBackup
|
|
TAPEDAI.DSK
|
NetWare 3 / 4 Tape Device Driver
|
NWPA Drivers Used for Tape Drives
The following tables list NWPA drivers used for tape drives on NetWare 3 / 4 / 5 systems.
|
TYPICAL HBA DRIVERS
|
Description
|
|
AHA2940.HAM
|
Adaptec AIC-7880/AHA-2940UW family driver
|
|
AIC78U2.HAM
|
Adaptec Ultra2SCSI and LVD driver
|
|
SYM8XXNW.HAM
|
LSI driver (inc. 53C895 chipset)
|
|
SYMHINW.HAM
|
LSI driver (53C896 chipset)
|
|
ASPI DRIVERS
|
Used by ISV Backup Apps
(BackupExec, ArcServeIT etc.)
|
|
NWASPI.CDM
|
Generic NWPA ASPI driver
|
|
TAPE DRIVERS
|
Used by Novell Backup Apps - SBackup (NW3 / 4) and
SBCON (NW5)
|
|
SCSI2TP.CDM
|
NetWare 3 / 4 NWPA Tape Device driver
|
|
NWTAPE.CDM
|
NetWare 4.2 / 5 NWPA Tape Device driver
|
|
DLTTAPE.CDM
|
SureStore DLT Tape Driver. Supports the DLT2000,
DLT2000XT, DLT4000, DLT7000, and DLT8000. The driver also
supports DLT2500, DLT2700, DLT2500XT, DLT2700XT, DLT4500,
and DLT4700 autoloaders, but does not support autoloader
robotics.
|
|
EXATAPE.CDM
|
Exabyte 8mm Tape Device driver (support for Exabyte tape
drives (EXB-8900 Mammoth, EXB-8705 Eliant 820, EXB-8700,
EXB-8505, and EXB-8500)
|
|
 |
 |
support for ISV application commands to tape drives |
 |
 |
 |
|
There are three ways for applications to communicate to devices.
1. Write a ".CDM" driver
2. Call NPA_CDM_Passthru API
3. Call NPA_HACB_Passthru API
Create a ".CDM" driver
Perhaps the most ideal tape device solution currently available in
NetWare is to use a ".CDM" driver that is architected strictly for
tape devices. The tape class driver contains code that can take
optimal advantage of the features available in a tape device. The
requests processed by the driver are not inhibited by the slow
performance that is inherent in a pass-through solution. Applications
that communicate with the tape device also have access to the
device's features without the need to understand the explicit
language and particulars of the device.
Passthru command support
The two other methods to ISV backup applications are available but
not recommended for various reasons as discussed below.
The NWPA architecture provides ISV backup software the ability to
communicate directly with tape drives. The API named
NPA_HACB_Passthru is used to send requests to a device in
order to receive status or diagnostic information about the device.
The application must have an understanding of the device and handle
any errors that occur as a result of the requests. The request types
can be for either SCSI (type 1) or IDE (type 2) devices. This API
bypasses the ".CDM" driver and communicates directly to any ".HAM"
drivers and works for tape devices attached to any adapter. The
architecture can handle custom requests to other vendor-specific tape
types; however, in that case a custom ".HAM" driver is used. Using
the NPA_HACB_Passthru is slow and should just be used for I/O
control and should not be used for I/O read or write functions of the
backup software.
The NPA_CDM_Passthru is slow also and is used to send
vendor-specific requests to the managing ".CDM" of a tape device.
This API sends I/O request functions (3E) or control functions (1E).
The ".CDM" must understand the parameters being sent, and take the
necessary action including specific requests to the device if
needed.
|
 |
 |
Novell support of the ASPI protocol |
 |
 |
 |
|
Before NWPA existed, most ISV backup applications either built-in
their own tape driver support via the DDFS interface or relied upon
ASPI (Advanced SCSI Protocol Interface) from Adaptec.
When NWPA was introduced, the backup applications that used DDFS
support did not have ".CDM" drivers yet to cover their list of
supported tape drives. The backup applications that used ASPITRAN.DSK
from the DDFS interface did not have a NWPA solution either.
Therefore, Novell was requested to do two things by tape vendors and
ISV's of backup applications. The first request was to add support
for specific tape devices to the NWTAPE.CDM module. Support for new
devices is regularly being added to this module. The second request
was to create an ASPI interface module for the NWPA architecture.
This module is called NWASPI.CDM but Novell no longer owns the source
code to it. NWASPI.CDM does not use Novell's Media Manager
interface and may not keep pace with advances needed for operation on
NetWare.
The NWASPI.CDM driver uses the services provided by the SCSI HBA
".HAM" driver. So, as long as the ".HAM" driver and NWASPI.CDM are
loaded, ISV backup software can be used with NWPA. The NWASPI.CDM
module is limited in handling messages from multiple applications.
Its design causes security problems on NetWare because devices
are not registered exclusively, this allows multiple applications
access to the same device, which can lead to data corruption. The
ASPI protocol does not support certain features from the SCSI-2
protocol specification, which may be of concern to developers on
NetWare. It does not support tagged command queuing, linking, message
phase control, disconnect/reconnect control, narrow/wide negotiation,
and synchronous negotiation. ASPI does support synchronous, wide, and
disconnected transfers, but not the setup control of them.
|
 |
|
 |
 |