Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Setting up a mirror

492 bytes added, 14:23, 24 April 2007
added requirements
To If you want to set up a mirror of OpenVZ download sitedownloads, you should use a separate [[VE]] (or a dedicated server, but a VE is sufficient)here's how.  == Requirements == * The mirrored contents should be available through HTTP and FTP; both are optional but of course at least one should be there. In addition, you might provide rsync access — this is highly optional. * Your http/ftp servers should return correct status for non-existent files (HTTP 404, FTP 550). * Your mirror should be updated on a regular basis; 1 hour period is recommended. * Your should have some monitoring in place to check that your mirror is<b> serving the files using all the protocols it supports</b> updated periodically If you can set up a system conforming to the above requirements — read on. == Setting up the mirroring process ==
To initially mirror the contents, run
Next step is to add the cron job to run the same rsync command regularly. It is suggested to do that at least hourly.
 
== Setting up an access to your mirror ==
When you are ready to open up your mirror, set up HTTP/FTP access to it. Preferrably, the mirror should be available at <tt><nowiki>http://openvz.yoursite.com/</nowiki></tt> or <tt><nowiki>http://mirrors.yoursite.com/openvz/</nowiki></tt> (same with ftp).
 
== Announcing your mirror ==
Final step is to announce the mirror by sending an email to [mailto:mirrors@openvz.org mirrors@openvz.org]. It should contain at least the following information:
== Some stats ==
 
OpenVZ download site is about 10GB now (Jan 2007), so your mirror will need at least the same space. It is growing at about 1GB a month or slower.