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

Conference help::dns

Title:DECdns - Digital's Distributed Name Service
Notice:not to be confused with DNS: Domain Name Service (Kits: 1420,947))
Moderator:BULEAN::WHEATER
Created:Tue Apr 14 1987
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1443
Total number of notes:5833

1427.0. "Clearinghouse with DNS$CH_STATE DYING" by EVTAI1::GIRAUD_C () Thu Feb 06 1997 13:42

 Hello ,



 On a critical customer site we have the following DECdns problem:

 2 DECdns servers in the namespace  ( VAX/Openvms 6.1 - DECnet osi 6.3 and
                                      DECdns V2.1-65 )

        - clearinghouse .NETSAC_CH  on node NETSAC ( contains all master
                                    replicas

                             .
                             .DNA_BackTranslation
                             .DNA_NodeSynonym
                             .NODE
                             .PC
                             .DTSS_GlobalTimeServer



        - clearinghouse .NETSYS_CH  on node NETSYS ( contains all read/only
                                    replicas of directories and subdirectories
                                    of .DNA_BackTranslation... except
                                    .DNA_BackTranslation.%X39250 which was not
                                    replicated on NETSYS_CH


        Actually , the DNS Server ( clearinghouse .netsac_ch) has a big problem.
        The clearinghouse .netsac_ch on this server is broken .
        In fact this clearinghouse just before  the DNS server has been stopped
        had the following status DNS$CHstate = Dying

        The DNS server has been restarted but now the clearinghouse .netsach_ch
        is not seen .

        dns> dir clear .*       gives only  .netsys_ch

        We decided to remaster all directories in .netsys_ch , in order to
        recreate a new clearing house on NETSAC and repopulate it .

        We successfully remastered all the directories and subdirectories
        in netsys_ch except the subdirectory .DNA_BackTranslation.%x39250 which
        unfortunately was not replicated .


        Is it possible to recover it ? and how ?

        We tried to create the directory
        dns>  create dir .DNA_BackTransklation.X39250 at clear .netsys_ch
        but unsuccesfully ( directory already exists )

        Thanks for help.
        Any suggestions would be appreciated.


         Christian
        (CSC Paris)
T.RTitleUserPersonal
Name
DateLines
1427.1try create replicaDRAGNS::WHEATERFri Feb 07 1997 10:2922
    Hi Christian:

    how many clearinghouse to you have now: netsys_ch, netsach_ch,
    net_sac_ch - 3 clearing houses.

    by remastering I assume that you mean that you have used the SET DIR
    ___ TO NEW EPOCH to change the clearing house that the master is in.
    is that correct?

    When you deleted the clearinghouse that had a problem did you purge the
    clerk cache on all systems so that old clearhouse was removed from the
    cache.

    the directory .DNA_BackTranslation.%x39250 didn't relicate you say,
    were you using a create replica command when it failed to replicate.
    do you still have a good master copy? if you still have a good master
    you should be able to create a replica with the create replica command.

    -Bob Wheater
    DECdns Engineering
    
    
1427.2Can't create itEVTAI1::GIRAUD_CFri Feb 07 1997 11:1458
  Hi Bob,

  Thanks for your help .

  We have only 2 clearinghouses :

  netsac_ch on NETSAC and netsys_ch on NETSYS
  On NETSAC:

  dns > dir clear .*

        netsys_ch  ( netsac_ch not seeen  , it was the clearinhhouse in
                     dns$chstate Dying before stopping the server )

  On NETSYS:

  dns> dir clear .*

       netsac_ch
       netsys_ch

  dns> set dnscp pref clear .netsac_ch
  dns> sho dir . or others commands --> unable to communicate with any DECDNS
       Server.

>>>>>by remastering I assume that you mean that you have used the SET DIR
>>>>>___ TO NEW EPOCH to change the clearing house that the master is in.
>>>>>is that correct?

     Yes.


>>>>>When you deleted the clearinghouse that had a problem did you purge the
>>>>>clerk cache on all systems so that old clearhouse was removed from the
>>>>>cache.

     No clearinghouse was deleted , only netsys_ch ( which contains r/o
     replicas) is available.

     On NETSYS we decided to remaster all the replicas
            dns> set dir . master netsys_ch , exclude netsac_ch
            dns> set dir .node master netsys_ch , exclude netsac_ch ...

            in order to delete the clearinghouse on NETSAC and recreate it.


     This step was successfull , but unfortunately the
     .DNA_BackTranslation.%X39250 had not a R/O replica on NETSYS .

     We can't create it ( directory already exists ) and we haven't a good
     master copy .

     We only have backup of the the checkpoint , tlog and version database
     files on NETSAC ( master replicas of all directories ) when NETSAC_CH
     was in Dying State .

     Christian .
                                                                                
1427.3more description neededDRAGNS::WHEATERTue Feb 11 1997 13:1714
    Hi Christian:

    Your explaination is confusing! I would like to see the exact sequence
    of commands and where the master and read-only replicas were before you
    started.

    Since its a backtranslation directory you might be able to re-create
    is by re-registering the appropriate nodes using DECNET_REGISTER.

    I suggest that you submit an IPMT with a more detailed description of
    the problem.


    -Bob
1427.4More details ...EVTAI1::GIRAUD_CWed Feb 12 1997 11:1586

 Hi Bob ,


 Before we started , we had the following configuration:


     DNS Server :    NETSAC         |       DNS Server :    NETSYS
     Clearinghouse : NETSAC_CH      |       Clearinghouse : NETSYS_CH
                                    |
      .                             |           .
      .DNA_BackTranslation          |           .DNA_BackTranslation
      .DNA_BackTranslation.afi      |
      .DNA_BackTranslation.afi.area |           .DNA_BackTranslation.afi.area
      .DNA_NodeSynonym              |           .DNA_NodeSynonym
      .node                         |           .node
                                    |
      all master replicas           |             all R/O replicas
                                    |             except
                                    |             .DNA_BackTranslation.afi
                                                                              




     On NETSAC:

     DNS> dir clear .*

          netsac_ch with DNS$CHstate Dying
          netsys_ch with DNS$CHstate On


    The DNS server and clerk have been stopped and restarted on NETSAC
    and after that , netsac_ch became unavailable.


    Unable to reenable it , we decided to perform following operations :


         1 - first to remaster all r/o replicas on NETSYS.
         2 - then delete the netsac_ch on NETSAC
         3 - create a new clearinghouse on NETSAC
         4 - reconstruct the read-only replicas in netsac_ch




       ***  Step 1 : Remastering all r/o replicas on NETSYS ****

DNS> set dir . to new epoch master .netsys_ch ,exclude .netsac_ch
DNS> set dir .DNA_Nodesynonym to new epoch master netsys-ch , excl .netsac_ch
DNS> set dir .DNA_BackTranslation to new epoch master netsys-ch , e .netsac_ch
DNS> set dir .DNA_BackTransalation.afi.area to new epoch m netsys-ch ,
              excl .netsac_ch
DNS> set dir .node to new epoch master netsys-ch , excl .netsac_ch


           This step was successfull .


 But now we have a problem with creation of .DNA_BackTranslation.afi on
 NETSYS because this replica was only master replica in netsac_ch
 ( Unavailable clearinghouse)

 - Creating the replica by doing the following command:

   DNS> create replica .DNA$Back_Translation.afi to new epoch master .netsys_ch,
        exclude .netsac_ch


      fails with message "directory already exists"

 - Registering a node using Decnet_register in an existing area  works
   successfully but doesn't create the missing replica in netsys-ch

 - Registering a node in a new area fails with " Unable to communicate
   with any decdns server"


   We can't perform the other steps as far as we don't have a  replica
   .DNA$BackTranslation.afi , built in netsys-ch.


   Christian.