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

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

354.0. "Partition_master question" by KETJE::CAPPELLEMANS (The Dark side of the \FORCE) Mon Mar 30 1992 12:45

Hello,

I'm preparing a ALL-IN-1 V3.0 Technical Update training and I'm trying to 
understand the File cabinet structure. 

I got 2 questions for the moment...

1) When a user accesses his FILECAB.DAT, I assume that a look up is done in the
file PARTITION.DAT, to retrieve the DIRECTORY specifying the drawer file
location. what is the key used to do this look-up??? is it FILECAB.PARTITION
which is used or is it build-up using the FILECAB.NAME

2) Where can I find a description of the PARTITION_MASTER DSAB?? How is the
link set between PARTITION_MASTER and PARTITION.???

MAny thanks in advance.

Pierre

T.RTitleUserPersonal
Name
DateLines
354.1Answer to Question 1IOSG::MAURICEIOSG ain't a place to raise a kidMon Mar 30 1992 12:5713
    Hi,
    
    Given an entry in FILECAB we first get FILECAB.PARTITION, and we use
    this to determine if the drawer is local. If it is then we use
    FILECAB.UNIQUE_NAME as the key to the PARTITION, and get
    PARTITION.DIRECTORY as the drawer file location.
    
    We do not access PARTITION_MASTER in the local code, and this is only
    accessed by the FCS. So I'll defer to Bob on you second question.
    
    Cheers
    
    Stuart
354.2partition master file infoCHRLIE::HUSTONMon Mar 30 1992 16:4355
    
    re .0
    
>2) Where can I found a description of the PARTITION_MASTER DSAB?? How is the link
>set betwwen PARTITION_MASTER and PARTITION.???
    
    The partition master file is keyed by the partition ID, which is a
    DNS$CTS of the partition object (the partition master file is only used
    at distribution level 1).
    
    When the server is handed a partition id to perform an action on it
    does the following:
    
    If this is the local server:
    	1) Do I service this partition? If the partition ID is in the
    	   partition master file then the server services it so it.
    	2) If I service the partition, lookup the name of the partition 
      	   definition file from the partition master file.
    	3) Use that partition file for the requested task.
        2a) If I don't service the partition (partition id is not in
            my partition master file), then the task must be brokered.
    	3a) Search the servers internal cache and/or DNS namespace to
            locate a server that does service the partition
     	4a) Broker the task to that server.
    
    If this is a server brokered TO:
    
    	1) Validate and authenticate the incoming connection request
    	   (from the server above at step 4a)
    	2) Verify that I really do service this partition by looking up
           the partition ID in my partition master file.
    	3) If I do service the partition, perform the requested task
    	4) If I don't service the partition return the error 
    	   OafcServerDnsNotSynch to indicate that this server
    	   and the DNS namespace are not in synch.
    
    some other info that may help you understand this all.
    
    When a server starts up at distribution level 1, it nexts through
    its partition master file, pulling partition names and IDs from 
    the file one by one. Each partition is then looked up in the DNS
    namespace to gather a server set for it and to verify that it exists
    and it is a partition. This info is then stored in a cache called the
    servers partition list. So in step 2 above, the file is not really
    used, the partition list is used to verify if the server services 
    the partition.
    
    the information in the DNS namespace and the infromation in a servers
    partition master file must match. That is to say, if the partition
    object in the DNS namespace says a server services a partiiton id, then
    that servers partition master file must have a partition id for that
    partition.
    
    --Bob
    
354.3One PARTITION_MASTER per server???AIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCMon Mar 30 1992 22:3418
Re: .2

Bob,

I thought that the PARTITION_MASTER file contained one entry for each partition
on the cluster (assuming dist level 1) and that there was only one 
PARTITION_MASTER per cluster.

.2 implies that there is one PARTITION_MASTER per server.

Of course if all the servers in a cluster have to service the same set of 
partitions then both the above equate to the same thing.

Which one is right?

Thanks,

Terry
354.4many thanks but still more questionsKETJE::CAPPELLEMANSThe Dark side of the \FORCETue Mar 31 1992 09:0821
Re 2: What's DNS$CTS (I'm also ignorant about DNS)

And more in general, I got the Diamond FT slides aboit File cabinet Data structure
and the different Data strucures are layed out. But I can not find back 
explanation for different fileds (they do not appear in APR 1).
CAn yoy give me more info about the following fields

PARTITION.FORMAT
PARTITION.VERSION
PARTITION.DRAWER_IUID
PARTITION.MSG
PARTITION.FORWARD

FILECAB.EXTERNAL_UID

PARTITION_MASTER.OPAQUE_NAME

many thanks in advance

Pierre
354.5IOSG::MAURICEIOSG ain't a place to raise a kidTue Mar 31 1992 10:0216
    Re .4
    
    PARTITION.FORMAT	- not used in V3 - do not use it yourself
    PARTITION.VERSION	- not used in V3 - do not use it yourself
    PARTITION.DRAWER_IUID - internal identifier for use by File Cab. Server
    PARTITION.MSG	- flag whether drawer has [.MSG] subdirectory
    PARTITION.FORWARD	- not used in V3 - do not use it yourself
    
    FILECAB.EXTERNAL_UID - external identifier for use by File Cab. Server
    
    PARTITION_MASTER.OPAQUE_NAME - DNS internal representation of a
    				   partition name.
    
    Cheers
    
    Stuart
354.6One PM/system and 1 partition file/partitionCHRLIE::HUSTONTue Mar 31 1992 15:4819
    
    re .3
    
    Terry,
          
    There is one partition master file per system and one partition file
    per partition (assuming distribution level 1). Distribution level
    0 partitions are not stored in the partition master file and there
    can be only 1 level 0 partition per system.
    
    A partition master file has an entry in it for each partition on the
    system.  there can be multiple servers per partition, but each server
    needs its own server configuration file.
    

    that clear it up??
    
    --Bob
    
354.7All servers the same in a clusterAIMTEC::PORTER_TTerry Porter, ALL-IN-1 Support, Atlanta CSCTue Mar 31 1992 17:226
Bob,

So that means all the servers in a cluster service the same set of 
partitions. Right?

Terry
354.8Officially, yupCHRLIE::HUSTONTue Mar 31 1992 19:527
    
    Terry,
    
    Yup, there are ways around that, but I don't believe we document them.
    
    --Bob