
48
MDR User Guide
The
DiskStripeSize
parameter specifies the stripe size to be used in the disk group.
This parameter should only be used when connecting an MDR Server alone to a static
disk group.
Returned value:
OK
or
ERROR
.
If
ERROR
is returned then the
errno
variable will be set accordingly. See
MdrDefs.h
for
MDR
errno
values.
ConnectedToDiskGroup
Declaration:
BOOL ConnectedToDiskGroup (char * DiskGroupName);
Description:
Check the connection to the MDR Disk Group specified by the
DiskGroupName
parameter.
Returned value:
TRUE
if the client is connected to the disk group
DiskGroupName
and
FALSE
if it is not.
ConnectToServer
Declaration:
STATUS ConnectToServer (char * ServerHostname);
Description:
Connect to the MDR server.
ConnectToServer
tries to establish a connection between the
MDR_CLIENT
object and
the MDR server specified by
ServerHostname
.
Returned value:
OK
or
ERROR
.
If
ERROR
is returned then the
errno
variable will be set accordingly.
See
MdrDefs.h
for MDR
errno
values.
ConnectedToServer
Declaration:
BOOL ConnectedToServer(void);
Description
:
Check the connection to the MDR server.
ConnectedToServer
checks if the client is connected to an MDR server.
Returned value:
TRUE
if the client is connected to an MDR server and
FALSE
if not.
CopyRecording
Declaration:
STATUS CopyRecording (UINT RecordingNb,
char *Source,
char *Target,
UINT FirstRecordingBlockToCopy,
UINT LastRecordingBlockToCopy);
Description:
Copy a recording.
This function copies the data of a recording between source and target devices.
The source and target devices, specified respectively by
<Source>
and
<Target>
are
one of the following:
Disks
MDR disk subsystem
Tape
SCSI tape drive (connected trough a SCSI PMC module)
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com