OK excellent info.. What about dns entries, how do i
go about making the staging box respond when the
request is made thru the 8001 port and the live server
respond when the request is on the 80 port.. Thank you
for the prompt response

Gracias

Mario
--- Henri Bergius <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Mario Valencia wrote:
> | Is there any info available on how to setup
> midgard on
> | a 2 server environment e.g. staging sites on 1
> box,
> | live sites on another box... Any help
> appreciated...
> 
> You can use most of the same methodologies as with
> staging/live
> setup running on a single computer. Essentially:
> 
> * Run repligard export of your database
> 
> * Run the exported file through remove_unapproved.pl
> and
> ~  delete_expired.pl yamp scripts:
> ~ 
>
http://cvs.midgard-project.org/index.cgi/contrib/yamp/
> 
> * scp the file to second computer
> 
> * a cron script on the second computer notices the
> file and
> ~  imports it
> 
> So, on the staging server, something like:
> #!/bin/sh
> repligard -c my_repligard.conf -e my_dump.xml.gz
> gunzip my_dump.xml.gz
> remove_unapproved.pl my_dump.xml
> delete_expired.pl my_dump.xml
> scp my_dump.xml [EMAIL PROTECTED]:
> 
> | Mario Valencia
> 
> /Bergie
> 
> - --
> Henri Bergius                          
> [EMAIL PROTECTED]
> Consultant Partner                      Tel:
> +358-20-198 6032
> Nemein Oy                              
> http://www.nemein.com/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Darwin)
> Comment: Using GnuPG with Thunderbird -
> http://enigmail.mozdev.org
> 
>
iD8DBQFAR5+vNkT8k497k9IRArRsAJ0ci20JlldBQhxscFOML+gvWuOB/ACdG1Q6
> 4P56dobC9GRb3IRwgEa9uOA=
> =WEE4
> -----END PGP SIGNATURE-----
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

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

Reply via email to