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

Conference decwet::networker

Title:NetWorker
Notice:kits - 12-14, problem reporting - 41.*, basics 1-100
Moderator:DECWET::RANDALL.com::lenox
Created:Thu Oct 10 1996
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:750
Total number of notes:3361

578.0. "ASE and advFS clones question" by CHEFS::TIMMIS_J () Mon Apr 14 1997 16:29

    I am running Networker V 4.2b + patches 12 on Digital UNIX V3.2G.
    I have 2 x 2100s and 2 x 4100s running as 2 DECsafe ASE pairs.
    Each server has it's own Disk Service 
    
    ServerA has serviceA which can fail over to serverB
    ServerB has serviceB which can fail over to serverA
    and the same for servers C and D
    
    All my disk services have advFS file systems.  I wish to:
    i. stop writes to my database
    ii. clone these file systems, 
    iii. allow writes to my database
    iv.  mount the
    v. perform the NSR backup 
    vi.  unmount and delete the clone
    
    The method I used under V3.2a of NSR which seemed to work was:
    
    add all the clone file systems and mount points to /etc/fstab
    e.g.  the clone of the ASE disk service 
    			apps_domain#apps on /serverA/apps
           has the following entry in /etc/fstab:
                 apps_domain#clone_apps       /clone/serverA/apps
    add the 4 clients as cluster hosts and save set "All" to my group
    backup using an automatic NSR group schedule
    
    Under V4.2b I had to create the cluster services e.g. serviceA. 
    The cluster hosts seem to backup OK, but all the clones of ASE 
    file sets automatically become cluster service clients not cluster 
    host clients.
    On running nwrecover the clones of ASE file sets are not shown
    and crash on trying to recover one of the clone file sets.
    They can be recovered using the command line recover with client
    serviceA 
    
    I have 2 questions:
    
    1.  Can I use advFS clones created outside of ASE
        to backup ASE disk services?
        Manu Davos uses a similar method in note 318.
    
    2.  Is there a fix for nwrecover?
    2.  Is there a fix for nwrecover?
    
    Thanks in advance for your help
T.RTitleUserPersonal
Name
DateLines
578.1Some tips...BRSDVP::DEVOSManu Devos NSIS Brussels 856-7539Tue Apr 15 1997 00:0727
    J(ohn?),
    
    1) Can I backup ADVFS clones created outside ASE service?
    
    Yes, you can. But the method you describe is not the "standard" one. In
    my case, the two ASE disk services are starting via the crontab a
    "backup" script. This script is doing exactly what you describe in your
    note, but is ending with a "savegrp" remote shell command to the NSR server.
    
    The two services are WELL defined as "Cluster service", are listing all
    the CLONED filesystems in the saveset field of DECnsr and the NSR group
    of these services iS NOT enabled, such that it is the crontab which
    takes the initiative to start the backup.
    
    You should not touch to /etc/fstab. One very important point with NSR
    is the fact that the IP alias in the /etc/hosts MUST be equal to thee
    ASE service name, and MUST be listed first after the IP address.
    
    If you prefer, you can also "enables" the NSR group let's say a half
    hour after the crontab has started its own script such that you are
    sure the cloning is done. But in that case, it becomes difficult to
    know when you can remove the clones as the script is not aware of the
    end of the backup.
    
    Hope it helps you,
    
    Manu.
578.2Thanks ...CHEFS::TIMMIS_JTue Apr 15 1997 08:1815
    Manu,
    
    Thanks very much for your prompt reply and yes it does help.
    
    I'm still not sure that creating clone filesets of filesets defined as
    part of an ASE disk service is "supported by ASE engineering"
    ASE documentation says that all file systems that are part of an ASE
    disk service should defined under ASE ref. ASE conference.
    
    However you've obviously implemented at a number of sites what the
    users want without problems.
    
    Thanks again for your help
    
    Jane
578.3BRSDVP::DEVOSManu Devos NSIS Brussels 856-7539Tue Apr 15 1997 14:2119
    Jane (I guessed John :-( ),
    
>>    I'm still not sure that creating clone filesets of filesets defined as
>>    part of an ASE disk service is "supported by ASE engineering"
>>    ASE documentation says that all file systems that are part of an
>>    ASE disk service should defined under ASE ref. ASE conference.
    
    All is supported if YOU are able to support it and is not violating the
    mandatory rules of a product. Now, if you create a clone, and mount
    this clone on a specific mount point, you can be facing the problem
    that a relocation is needed during the time the backup is running. So,
    you should foresee in the ASE stop script the stopping of the backup
    and the dismounting of the cloned filesystem. I can provide you a
    script which is detecting any clone created on a ASE filesystem and
    dismount it automatically.
    
    Kind regards,
    
    Manu.
578.4Do you use lsof?CHEFS::TIMMIS_JWed Apr 16 1997 02:3515
    Manu,
    
    I guessed that the reason one should not have file systems outside of
    an ASE Disk service is to ensure that failover takes place.
    
    I have written scripts to umount and delete all clones (using showfsets
    of all files in /etc/fdmns).  To ensure the clones umounted, if the
    umount failed I used to losf to check the processes using the clone
    areas and killed them.
    
    Have you used a similar method?
    
    Thanks and regards,
    
    Jane
578.5BRSDVP::DEVOSManu Devos NSIS Brussels 856-7539Wed Apr 16 1997 08:105
    
    Yes, Jane,
    
    I did exactly what you describe with lsof also...
    
578.6DECWET::FARLEEInsufficient Virtual um...er....Wed Apr 16 1997 10:0617
Manu,

You said that:

"All is supported if YOU are able to support it and is not violating the
    mandatory rules of a product."

But the ASE product requires as part of its mandatory rules that any and all
storage associated with a service be configured as part of that service
(i.e. be made known to ASE).


You and I both know that there are workarounds that are functional, but when
you make statements about what is supported, it is important to keep in mind
that there is a distinction between "works" and "is supported".

Kevin
578.7ADVFS clones like NetWorker !!!BRSDVP::DEVOSManu Devos NSIS Brussels 856-7539Wed Apr 16 1997 10:3016
    Kevin,
    
    I agree on the principles you indicate, but NOT concerning the
    particular topic of this note which concerns the ADVFS clones.
    
    The ADVFS clones were NOT backup'ed by NetWorker at the beginning
    (V3.2), and I reported the problem at that time. You then produced a
    patch which regards an ADVFS clone just as another fset of a domain 
    present in the ASE configuration DB. 
    
    So, if you consider that an ADVFS clone is not supported by NetWorker,
    then I should really conclude that the integration of ASE-LSM-ADVFS and
    NetWorker is yet poorer than I thought, ... but I am sure you don't.
    
    Regards, Manu.