[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

1914.0. "How to force a service to NOT relocate" by COMICS::CORNEJ (What's an Architect?) Mon Mar 03 1997 18:09

    When talking to a customer last week he identified a need for a way
    to flag a service as being "non-relocatable" for a period of time. He
    runs large batch operations (2-3 days) and would rather that ASE did
    NOT fail over his file system due to ANY events.  At other times, when
    the large batch updates are not happening, he would like the normal ASE
    behaviour.
    
    Is there any way to temporarily flag a service as not relocatable?  The
    only way I could see was to remove the service at the start of the
    batch and re-create it at the end of the batch.
    
    Jc
    
    
T.RTitleUserPersonal
Name
DateLines
1914.1USCTR1::ASCHERDave AscherMon Mar 03 1997 18:216
    you could remove the failover node(s) from the list of nodes in
    the environment. This would have the advantage of not stopping
    the service when you made the changes. 
    
    
    
1914.2Maybe via the existance of a fileNETRIX::"myrdal@zk3.dec.com"Greory P. MyrdalMon Mar 03 1997 19:4116
Hi,

You could also have your stop script check for the existence of a 
file.  If it exists, have the stop script fail the stop, thus
the service will not be relocated.  Outside of ASE you could create
or remove the file.

The down side to this approach is that there are cases (ie. harware 
failure) that the relocate could still happen.  But there are only a 
few of these and they involve more serious errors.

If you have the option to remove the member from the ASE note .1 is a 
better solution.

-- Greg
[Posted by WWW Notes gateway]
1914.3USCTR1::ASCHERDave AscherMon Mar 03 1997 21:0412
You could also have your stop script check for the existence of a 
file.  If it exists, have the stop script fail the stop, thus
the service will not be relocated.  Outside of ASE you could create
or remove the file.

    I use this trick all the time - 'DoNothing' and 'DontStart' are
    checked for in my scripts. However, in real life with our bigger
    systems the hard failovers are the most common - bad cpu, bad
    memory. The script never has a chance to execute.
    
    d