Setting up a mirror

From OpenVZ Linux Containers Wiki

Jump to: navigation, search

If you want to set up a mirror of OpenVZ downloads, here's how.

Contents

Requirements

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

rsync -av --delete rsync://download.openvz.org/openvz-download /local/path

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 http://openvz.yoursite.com/ or http://mirrors.yoursite.com/openvz/ (same with ftp).

Announcing your mirror

Final step is to announce the mirror by sending an email to mirrors@openvz.org. It should contain at least the following information:

Some stats

OpenVZ download site is about 76 GB now (as of Nov 2011), so your mirror will need at least the same space. It is growing at about 1 GB a month.

The traffic for download.openvz.org is about 3T to 15T per month; it should be much lower than that for your mirror.

See also

Personal tools
Namespaces
Variants
Actions
Navigation
Sites
Toolbox