[Mageia-sysadm] [1010] add vhost for static.mageia.org

Romain d'Alverny rdalverny at gmail.com
Sat Feb 12 00:50:56 CET 2011


On Sat, Feb 12, 2011 at 00:33, Michael Scherer <misc at zarb.org> wrote:
> On Fri, 11 Feb 2011 19:25:39 +0100, nicolas vigier wrote:
>> On Fri, 11 Feb 2011, Michael Scherer wrote:
>>
>>>>  class websites {
>>>> +    class base {
>>>> +       # FIXME :
>>>> +       # We should be able to define this path on each host.
>>>> +       # Maybe using Facter ?
>>>> +       $webdatadir = '/srv/web1-dd0/www'
>>>
>>> This path is ugly and really do not help much to know what is there.
>>> What is wrong with the /var/www we used everywhere ?
>>
>> This is where data partition is mounted on gandi VM. Maybe we can
>> remount it in an other place. Or find a way to define a different path
>> for this on each node.
>
> Or use lvm, like any disk :
>
> [root at champagne ~]# mount  | grep xvdb
> /dev/xvdb on /srv/web1-dd0 type ext3
> (rw,nosuid,nodev,noatime,errors=continue,barrier=1,data=ordered)
>
> This way, if we have a website that is bigger that 5go, we will not have to
> do funky stuff when adding a 2nd drive.
> If we move to a different server, we do not have left over.

I frankly don't know how it is exactly / could be handled. Had not the
time to dive into it. I won't give names, but maybe dams or boklm can
be of better help here :-p

Romain


More information about the Mageia-sysadm mailing list