Re: Creating a PEAR mirror
| From: | Christian Weiske | Date: | Thu, 24 Jul 2008 07:54:14 +0000 |
| Subject: | Re: Creating a PEAR mirror | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-50453@lists.php.net to get a copy of this message | ||
Hello Kevin,
> > Mirror usage goes up as soon as the main server is not reachable, which
> > happened two or three times this year - and which was the main reason
> > to set them up.
>
> How is the failovermechanism implemented?
> Do you just change (low TTL) DNS records or is there a more elegant
> technique in place?
No, it's far away from elegant:
If you see that pear.php.net times out, you can manually switch the mirror to (de|us).pear.php.net
via "pear config-set preferred_mirror ..". And the IRC channel gets its topic changed :)
--
Regards/Mit freundlichen Grüßen
Christian Weiske