[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::ase

Title:ase
Moderator:SMURF::GROSSO
Created:Thu Jul 29 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2114
Total number of notes:7347

1760.0. "API support for cluster transition notification?" by LVFREE::TURKINGTON () Mon Dec 02 1996 13:21

T.RTitleUserPersonal
Name
DateLines
1760.1Tried using DLM?SMURF::PBECKPaul BeckMon Dec 02 1996 14:2128
1760.2Looks goodLVFREE::TURKINGTONMon Dec 02 1996 14:3112
1760.3Piece of cakeNETRIX::"cherkus@buff.zk3.dec.com"Dave CherkusMon Dec 02 1996 18:5211
1760.4DLM API DocumentationSMURF::RODGERSNothing is written.Fri Dec 06 1996 18:307
1760.5DLM timeoutsLVFREE::TURKINGTONFri Feb 14 1997 14:0411
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
1760.6cluster didn't re-form (not dlm)SMURF::AMATOJoe AmatoMon Feb 24 1997 18:137
    there is no timeout on lock transitions.  sounds like your cluster did
    not re-form.  did the connection manager re-form the cluster (use
    cnxshow)?   can you do a ping over the memory channel between nodes? 
    if its a 2 node virtual hub cluster, do you have a tie-breaker disk set
    up?
    
    joe
1760.7fyiCLUSO::tomIf the bad guys don't get you then the good guys willMon Mar 03 1997 17:0890
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.