On Sun, Feb 25, 2001 at 04:43:27PM -0500, Enrique Vega wrote:
> on 2/24/01 5:16 PM, Alexander Bokovoy at [EMAIL PROTECTED] wrote:
> 
> > On Sat, Feb 24, 2001 at 09:27:23PM +0100, Jochen Lillich wrote:
> >> Hi there,
> >> 
> >> using Midgard for quite some time now (it must be about a year), I'd
> >> like to start using the new possibilities repligard offers. But I
> >> can't make heads nor tails out of it. :-(
> 
> Jochen, you are not the only one that can't make heads or tails out of
> repligard!
> 
> > First of all, read Repligard chapter in Midgard Manual. It will give you
> > a basic overview how replication process touches Midgard Database.
> 
> Alexander, I've read the repligard chapter and you are correct in saying
> that it is a basic overview of the replication process. That's it! The
> documentation seems to assume that the user is an expert programmer. This
> would be ok if all of us intending to use repligard were experts, but I have
> to tell you that this is not the case for all of the users that will use
> repligard.
I understand. Unfortunately, my English skills are far from needed for creating
something readable as far as documentation concerned :-( If somebody more skilled
and with Russian knowledge could do (good) translation, I'll be happy to communicate.

> *    The loginusernameand passwordattributes allow you to restrict
> replication to a Sitegroup, or to a specific resource tree.
> *    The replicateelement enables further granularity in replication.
> 
> When I look at repligard.conf I see nothing which points to replicate
> element :-( I also am wondering how giving a username/password determines
> which information repligard will use. Note that I have created two identical
> usernames for myself to administrate accollarts.org and artmetal.com. So
> which of these would repligard use? Both?
I'm assuming that 'accolarts.org' and 'artmetal.com' are names of sitegroups.
In this case, login info should be 'user!sitegroup'. Reason for it is that
Repligard cannot deduce sitegroup from host information like mod_midgard
because there is no host information provided when user runs Repligard.

 
> Anyway, here is the repligard.conf file in its entirety. There are no
> comments or anything which would help a user with my experience use
> repligard to replicate. Is it possible to add a couple of comments in this
> file to help a user like myself? Or maybe add some examples to the midgard
> manual? I'm willing to learn! I just don't know where to look...
> 
> <?xml version="1.0" encoding="ISO-8859-1" ?>
> <!DOCTYPE Repligard [
> <!ELEMENT Repligard (database?,login?,replicate?)>
> 
> <!ELEMENT database EMPTY>
> <!ATTLIST database schema CDATA #REQUIRED>
> <!ATTLIST database name CDATA #REQUIRED>
> <!ATTLIST database username CDATA #REQUIRED>
> <!ATTLIST database password CDATA #REQUIRED>
> <!ATTLIST database encoding CDATA #REQUIRED>
> <!ATTLIST database blobdir CDATA #REQUIRED>
> 
> <!ELEMENT login EMPTY>
> <!ATTLIST login username CDATA #REQUIRED>
> <!ATTLIST login password CDATA #REQUIRED>
> 
> <!ELEMENT replicate (resource*)>
> <!ATTLIST replicate all (yes|no) 'no'>
> 
> <!ELEMENT resource EMPTY>
> <!ATTLIST resource type CDATA #IMPLIED>
> <!ATTLIST resource id CDATA #IMPLIED>
> <!ATTLIST resource guid CDATA #IMPLIED>
> ]>
Schema above describes fully which elements and their attributes can be used
and which of them are required.


-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project   | www.midgard-project.org |    Aurora R&D team 
Minsk Linux Users Group |    www.minsk-lug.net    |  www.aurora-linux.com  
   IPLabs Linux Team    |     linux.iplabs.ru     | Architecte Open Source
-- The superfluous is very necessary.
                -- Voltaire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to