ADSM-L

cc:Mail database cannot be locked

1996-04-23 13:45:26
Subject: cc:Mail database cannot be locked
From: Frank Ramke <ramke AT VNET.IBM DOT COM>
Date: Tue, 23 Apr 1996 10:45:26 PDT
Jerry,

The NetWare client will use the SMS open mode of
 NWSM_USE_LOCK_MODE_IF_DW_FAILS - for static serialization.
 NWSM_NO_LOCK_NO_PROTECTION     - for all other ADSM serialization types.


From the SMS Developers Guide:

NWSM_USE_LOCK_MODE_IF_DW_FAILS - Attempt to open the data set with
"write deny" access right. If this fails, lock the data set before
opening it.

NWSM_NO_LOCK_NO_PROTECTION - Attempt to open the data set with
"deny write" or locking access rights. If these attempt fails,
open the data set any way. There is no guarantee of the data set's
integrity.

We don't use the following mode. Novell discouraged us from using
it. However, ADSM is very retentive, if it detects that the file
changed during backup, it will resend it. The downside, of course
is performance. What does the list say?

NWSM_OPEN_READ_ONLY    - Open the data set with read-only access rights.
The data set's state is not guaranteed if this mode is used.

Frank Ramke
======================================================================
    ITT Hartford Insurance Group
    (203) 547-2960    jlawson AT itthartford DOT com
-----------------------------------------------------------------------------
We recently had an "event" in which a backup of a NetWare server kicked off
We recently had an "event" in which a backup of a NetWare server kicked off
while there was a high number of active users on the server.  Utilization was
high from the NetWare monitor, but the real problem occurred when ADSM got to
the cc:Mail data bases CLANDATA and MLANDATA, and then we started having
problems with access to cc:Mail.  Mail users received messages reading
"DataBase cannot be locked", and were not allowed access to their mail.  Those
that did gain access had a lot of messages with a title of "Test cannot be rea
d".  The resolution of the problem was to cancel the backup, and rerun it
later.   After the cancellation, the problem cleared itself.

The customer believes that ADSM locked the file while it was backing it up
(options are set to Shared Dynamic), but based on my observations and
understanding, I did not think this was correct, but rather thought it was
that cc:Mail could not gain an exclusive use of the file, since ADSM was
reading it.  I could also believe that NetWare has some part in the episode.
Can anyone shed some light on what we saw?  Has anyone else seen the problem
in their shop?



*****************************************************************************
Jerry Lawson
ITT Hartford Insurance Group
jlawson AT itthartford DOT com
<Prev in Thread] Current Thread [Next in Thread>