[Labs-l] Moving away from NFS homedir instance on Oct 30

Ryan Lane rlane32 at gmail.com
Wed Oct 31 16:59:51 UTC 2012


This slipped, unfortunately. I wasn't available at the time to do it.
I was going to send an email this morning mentioning it.

On Wed, Oct 31, 2012 at 3:13 AM, Hydriz Wikipedia <admin at alphacorp.tk> wrote:
> Hmm, was this forgotten? I don't see anything in the Server admin log on
> Wikitech, and I can still write to the /home directory.
>
> On Fri, Oct 26, 2012 at 8:25 AM, Ryan Lane <rlane32 at gmail.com> wrote:
>>
>> A few weeks ago I changed the /home mount to be a direct, rather than
>> an indirect, automount, which means that all of /home is mounted
>> rather than directories for each user. I did this in anticipation of
>> switching to glustefs for homedirs, but specifically I did it in
>> anticipation of enabling pam_mkhomedir. Today I enabled pam_mkhomedir.
>> So, if you log into an instance and your home directory didn't already
>> exist in the project, the instance will create it automatically.
>>
>> This is one step towards getting rid of the centralized NFS instance,
>> which is really small, causes us performance issues, and often fills
>> up, causing lots of annoying issues.
>>
>> Tuesday night (Oct 30) I'll switch the home directories over to
>> glusterfs storage, rather than the centralized home directories. This
>> isn't an easy switch. I'm going to take the following steps:
>>
>> 1. Change the NFS home directories to be read-only
>> 2. Copy each project's data to its private gluster share
>> 3. Change the autofs information in LDAP to point the /home mount to
>> the private gluster share
>>
>> After doing so, instances will need to be rebooted to use the new
>> mount. Until your instance is rebooted your home directories will be
>> read-only. After all instances are switched off of NFS, I'm going to
>> delete the NFS instance.
>>
>> - Ryan
>>
>> _______________________________________________
>> Labs-l mailing list
>> Labs-l at lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
>
>
>
> --
> Regards,
> Hydriz
>
> We've created the greatest collection of shared knowledge in history. Help
> protect Wikipedia. Donate now: http://donate.wikimedia.org
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>



More information about the Labs-l mailing list