|  | 
I have implemented the cluster doorbell scheme outlined in .1, but when
I tested the "cluster transition" (I powered off one of my cluster members),
after 7 minutes the lock was still not granted.
Is there a way I can tune the "timeout" on DLM lock transitions?   
any help is appreciated.
thanks
steve
 | 
|  | This may be both a little late and a little early. The following
function will be added to the MEMORY CHANNEL API library for wave
3.5.
Tom
=================================================================
imc_wait_cc(3)                                                 imc_wait_cc(3)
NAME
  imc_wait_cc - Blocks the caller until a cluster configuration change
  occurs.
LIBRARY
  MEMORY CHANNEL API library (libimc.a)  (provided in Production Server and
  MEMORY CHANNEL software configurations)
SYNOPSIS
  #include <sys/imc.h>
  int  imc_wait_cc (
         imc_hostinfo *hosts );
PARAMETERS
  hosts     Points to a data structure that contains information about the
            hosts in the cluster. Initially set by the user to the current
            host configuration. On return from the function call, this param-
            eter is updated to reflect the current cluster configuration.
DESCRIPTION
  The imc_wait_cc function blocks the caller until either a host joins the
  cluster or a host leaves the cluster.
  The function initially checks that the current cluster configuration is the
  same as that passed in by the user (in the hosts field).
  If they are different, the function immediately returns. On return, the
  hosts field is set to the new cluster configuration.
  If they are the same, the function blocks the caller until either a host
  joins the cluster or a host leaves the cluster. The function then returns.
  On return, the hosts field is set to the new cluster configuration.
  The data structure of type imc_hostinfo is comprised of the following
  fields:
          int        num;
          char      name [IMC_MAXHOSTS][MAXHOSTNAMELEN];
  The num field represents the number of hosts in the cluster. The num field
  can be in the range 0 to IMC_MAXHOSTS-1. If the user passes in a value out-
  side this range, IMC_BADPARM will be returned.
  The host names are returned in the two-dimensional name array. The elements
  in the array are numbered 0 to (num-1).
RETURN VALUES
  The imc_wait_cc function returns one of the following values:
  IMC_SUCCESS
            Normal successful completion.
  IMC_INIT  This host has not been initialized to use the MEMORY CHANNEL API
            library.
  IMC_BADPARM
            An invalid parameter was specified in the call to the imc_wait_cc
            function.
  IMC_INTR  The imc_wait_cc function was interrupted by a signal.
RELATED INFORMATION
  Command: imc_init(1)
  Functions: imc_gethosts(3)
  TruCluster Production Server Software MEMORY CHANNEL Application Program-
  ming Interfaces.
 |