[OpenAFS-devel] Attempting to build a test environment. Help needed

Derrick Brashear shadow@gmail.com
Sun, 18 Apr 2010 23:17:06 -0400


On Sun, Apr 18, 2010 at 3:49 PM, Marcus Watts <mdw@umich.edu> wrote:
>> Date: =A0 =A0Sun, 18 Apr 2010 12:30:38 +0200
>> To: =A0 =A0 =A0openafs-devel@openafs.org
>> From: =A0 =A0Mohammed Gamal <m.gamal005@gmail.com>
>> Subject: [OpenAFS-devel] Attempting to build a test environment. Help ne=
eded
>>
>> Hi,
>> I am trying to build a test openafs environment for GSoC work. All I
>> need is to setup a local cell with some volumes, my main problem is in
>> the initial setup. I've cloned the source from the git repo and built
>> them and tried to follow through the guidelines in the quick start
>> guide, but I am a little bit lost as to what to do.
>>
>> Is there any standard scenario for setting up some simple test
>> environment, or is some public environment available for this purpose?
>>
>> Regards,
>> Mohammed
>
> I imagine anybody serious about afs development has a canned process
> for making a test cell, but I notice nobody posted theirs.

I do it by hand every time.

Your imagination is very vivid.

> Bringing up a test cell is easy. =A0Do not let anybody tell you it's hard
> or not worth doing. =A0You will learn so much more doing it that you cann=
ot
> afford to miss the opportunity. =A0This is the difference between being
> a half-assed developer, and a kick-ass developer.
>
> You need 2 machines:
>
> =A0 =A0 =A0 =A0machine A
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0db server, fs server
> =A0 =A0 =A0 =A0machine B
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0test client

You can do it with one if you're adventurous, crazy, or poor.

If you do, make sure you configure the fileserver to start before you
configure the client to start.