[OpenAFS-devel] SOS: AFS instllation/Configuration
Srikanth Bhaskar
srikanth.bhaskar@gmail.com
Wed, 31 Jan 2007 17:39:43 +0530
------=_Part_1333_10266656.1170245383664
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi Marcus,
Thanks a lot for the reply!
I am referring to the documentation on the website. It does not speak about
how to go ahead configuring after installing the rpms on Linux.
------------------------------
Defining Cell Name and Membership for Server
Processes<http://www.openafs.org/pages/doc/QuickStartUnix/auqbg002.htm#ToC_64>
Now assign your cell's name. The chapter in the *IBM AFS Administration
Guide* about cell configuration and administration issues discusses the
important considerations, explains why changing the name is difficult, and
outlines the restrictions on name format. Two of the most important
restrictions are that the name cannot include uppercase letters or more than
64 characters.
Use the *bos setcellname* command to assign the cell name. It creates two
files:
- */usr/afs/etc/ThisCell*, which defines this machine's cell
membership
- */usr/afs/etc/CellServDB*, which lists the cell's database server
machines; the machine named on the command line is placed on the list
automatically
*Note:* In the following and every instruction in this guide, for the
machine name argument substitute the fully-qualified hostname (such as *
fs1.abc.com*) of the machine you are installing. For the cell name argument
substitute your cell's complete name (such as *abc.com*).
Issue the *bos setcellname* command to set the cell name.
# *cd /usr/afs/bin*
# *./bos setcellname* <machine name> <cell name> *-noauth*
------------------------------
I hand-edited the file as you mentioned stopping the bosserver. Even then, I
get the same error. I hand-edited the file in /usr/afs/etc and
/usr/vice/etc/ also.
I was able to go through this point on AIX and Solaris. but on FC3, I am
stuck at this point. Any other resources? Please suggest me..
Thanks,
Srikanth
On 1/31/07, Marcus Watts <mdw@umich.edu> wrote:
> Writes "Srikanth Bhaskar" <srikanth.bhaskar@gmail.com>:
> > Message-ID: <f1d994890701310218n1c6dd420j9654e045ef9c651@mail.gmail.com>
> > From: "Srikanth Bhaskar" <srikanth.bhaskar@gmail.com>
> > To: openafs-devel@openafs.org, openafs-info@openafs.org
> > Subject: [OpenAFS-devel] SOS: AFS instllation/Configuration
> >
> > Hi All Again!
> >
> > I have been trying to install/configure AFS since more than a week now.
> I
> > have tried it on Windows (2003), Linux (RHEL 3, FC3), Solaris (10) and
> AIX(
> > 5.3). I have been ending up with a different set of errors each time and
> > everytime.
> >
> > I have downloaded the rpms for FC3 and have installed the rpms. I see
> that
> > all the binaries and the config related files exist in their paths. But
> now,
> > when I try to set the cell, I end up with this error:
> >
> > [root@bri6506-5-fc3-1 etc]# ls
> > CellServDB ThisCell
> > [root@bri6506-5-fc3-1 etc]# /usr/bin/bos setcellname bri6506-5-fc3-1
> > afs.ca.com -noauth
> > bos: failed to set cell (could not find entry)
> >
> > Could anyone please help me with the correct steps after installing the
> rpms
> > for FC3?
> > Many Thanks,
>
> What instructions were you following?
> Where did you look to find instructions? Perhaps we can arrange
> to have better instructions in those places for those who follow
> you.
>
> You don't note what you have in "CellServDB" (or ThisCell), but an empty
> server list would likely produce the error you saw. Don't do that; your
> only recourse at that point is to stop bosserver and hand-edit CellServDB
> to
> make it right. This is probably what you should be doing in the first
> place.
>
> The instructions I use are here:
> /afs/umich.edu/user/m/d/mdw/wp/uniq.2k
> (later version, local paths)
> /afs/umich.edu/user/m/d/mdw/wp/uniq.2z
> (earlier version, with notes on possible RH paths)
> If you can't read afs, try
> http://www.umich.edu/~mdw/uniq.2k
> http://www.umich.edu/~mdw/uniq.2z
> the process described there is very much like what's automated in
> Sam Hartman's(?) debian install process. It avoids the need to use
> "-noauth" and starts right off with Kerberos 5. If you are successful
> with those instructions (or not), you should let people know. Since
> they aren't the official instructions, they probably describe some
> things better and some things worse. If you don't have writable afs
> space elsewhere, you will have to be a bit creative with the last part
> of these instructions (ie, you'll have to bring up a separate dedicated
> client at exactly the right point and with the correct configuration to
> mount your newly minted root volume.) These instructions should give
> you "real" afs space for /afs/ - this is different from what you would
> get if you run afsd with "-dynroot", which you apparently won't know
> about if you're reading afsd man pages, but which Derrick is expecting
> you would have used. If you do choose to use "-dynroot", you will need
> to set up DNS afsdb records which will likely constrain if not dictate
> your choice for cell name.
>
> -Marcus Watts
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>
--
Regards,
Srikanth Bhaskar
Hyderabad
+91 9866649917
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
They may forget wat you said,
but they will never forget how you made them feel..
------=_Part_1333_10266656.1170245383664
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
<div>Hi Marcus,</div>
<div> </div>
<div>Thanks a lot for the reply!</div>
<div> </div>
<div>I am referring to the documentation on the website. It does not speak about how to go ahead configuring after installing the rpms on Linux.</div>
<div> </div>
<div>
<hr>
</div>
<div> </div>
<h2><a href="http://www.openafs.org/pages/doc/QuickStartUnix/auqbg002.htm#ToC_64" name="HDRWQ51"><font color="#606420">Defining Cell Name and Membership for Server Processes</font></a></h2>
<p>Now assign your cell's name. The chapter in the <i>IBM AFS Administration Guide</i> about cell configuration and administration issues discusses the important considerations, explains why changing the name is difficult, and outlines the restrictions on name format. Two of the most important restrictions are that the name cannot include uppercase letters or more than 64 characters.
<p>Use the <b>bos setcellname</b> command to assign the cell name. It creates two files:
<ul>
<p>
<li><b>/usr/afs/etc/ThisCell</b>, which defines this machine's cell membership
<p></p>
<li><b>/usr/afs/etc/CellServDB</b>, which lists the cell's database server machines; the machine named on the command line is placed on the list automatically </li></li></p></ul>
<div>
<table>
<tbody>
<tr>
<td valign="top" align="left"><b>Note:</b></td>
<td valign="top" align="left">In the following and every instruction in this guide, for the <var>machine name</var> argument substitute the fully-qualified hostname (such as <b><a href="http://fs1.abc.com">fs1.abc.com</a>
</b>) of the machine you are installing. For the <var>cell name</var> argument substitute your cell's complete name (such as <b><a href="http://abc.com">abc.com</a></b>). </td></tr></tbody></table></div><a name="IDX2399">
</a><a name="IDX2400"></a>
<ol type="1">
<p></p></ol>
<p>Issue the <b>bos setcellname</b> command to set the cell name. </p>
<div> # <b>cd /usr/afs/bin</b> </div>
<div># <b>./bos setcellname</b> <<var>machine name</var>> <<var>cell name</var>> <b>-noauth</b><br>
<hr>
</div>
<div> </div>
<div>I hand-edited the file as you mentioned stopping the bosserver. Even then, I get the same error. I hand-edited the file in /usr/afs/etc and /usr/vice/etc/ also.</div>
<div> </div>
<div>I was able to go through this point on AIX and Solaris. but on FC3, I am stuck at this point. Any other resources? Please suggest me..</div>
<div> </div>
<div>Thanks,</div>
<div>Srikanth<br> </div>
<div><span class="gmail_quote">On 1/31/07, <b class="gmail_sendername">Marcus Watts</b> <<a href="mailto:mdw@umich.edu">mdw@umich.edu</a>> wrote:</span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Writes "Srikanth Bhaskar" <<a href="mailto:srikanth.bhaskar@gmail.com">srikanth.bhaskar@gmail.com
</a>>:<br>> Message-ID: <<a href="mailto:f1d994890701310218n1c6dd420j9654e045ef9c651@mail.gmail.com">f1d994890701310218n1c6dd420j9654e045ef9c651@mail.gmail.com</a>><br>> From: "Srikanth Bhaskar" <
<a href="mailto:srikanth.bhaskar@gmail.com">srikanth.bhaskar@gmail.com</a>><br>> To: <a href="mailto:openafs-devel@openafs.org">openafs-devel@openafs.org</a>, <a href="mailto:openafs-info@openafs.org">openafs-info@openafs.org
</a><br>> Subject: [OpenAFS-devel] SOS: AFS instllation/Configuration<br>><br>> Hi All Again!<br>><br>> I have been trying to install/configure AFS since more than a week now. I<br>> have tried it on Windows (2003), Linux (RHEL 3, FC3), Solaris (10) and AIX(
<br>> 5.3). I have been ending up with a different set of errors each time and<br>> everytime.<br>><br>> I have downloaded the rpms for FC3 and have installed the rpms. I see that<br>> all the binaries and the config related files exist in their paths. But now,
<br>> when I try to set the cell, I end up with this error:<br>><br>> [root@bri6506-5-fc3-1 etc]# ls<br>> CellServDB ThisCell<br>> [root@bri6506-5-fc3-1 etc]# /usr/bin/bos setcellname bri6506-5-fc3-1<br>>
<a href="http://afs.ca.com">afs.ca.com</a> -noauth<br>> bos: failed to set cell (could not find entry)<br>><br>> Could anyone please help me with the correct steps after installing the rpms<br>> for FC3?<br>> Many Thanks,
<br><br>What instructions were you following?<br>Where did you look to find instructions? Perhaps we can arrange<br>to have better instructions in those places for those who follow<br>you.<br><br>You don't note what you have in "CellServDB" (or ThisCell), but an empty
<br>server list would likely produce the error you saw. Don't do that; your<br>only recourse at that point is to stop bosserver and hand-edit CellServDB to<br>make it right. This is probably what you should be doing in the first
<br>place.<br><br>The instructions I use are here:<br> /afs/umich.edu/user/m/d/mdw/wp/uniq.2k<br> (later version, local paths)<br> /afs/umich.edu/user/m/d/mdw/wp/uniq.2z<br> (earlier version, with notes on possible RH paths)
<br>If you can't read afs, try<br> <a href="http://www.umich.edu/~mdw/uniq.2k">http://www.umich.edu/~mdw/uniq.2k</a><br> <a href="http://www.umich.edu/~mdw/uniq.2z">http://www.umich.edu/~mdw/uniq.2z</a><br>
the process described there is very much like what's automated in<br>Sam Hartman's(?) debian install process. It avoids the need to use<br>"-noauth" and starts right off with Kerberos 5. If you are successful
<br>with those instructions (or not), you should let people know. Since<br>they aren't the official instructions, they probably describe some<br>things better and some things worse. If you don't have writable afs
<br>space elsewhere, you will have to be a bit creative with the last part<br>of these instructions (ie, you'll have to bring up a separate dedicated<br>client at exactly the right point and with the correct configuration to
<br>mount your newly minted root volume.) These instructions should give<br>you "real" afs space for /afs/ - this is different from what you would<br>get if you run afsd with "-dynroot", which you apparently won't know
<br>about if you're reading afsd man pages, but which Derrick is expecting<br>you would have used. If you do choose to use "-dynroot", you will need<br>to set up DNS afsdb records which will likely constrain if not dictate
<br>your choice for cell name.<br><br> -Marcus Watts<br>_______________________________________________<br>OpenAFS-devel mailing list<br><a href="mailto:OpenAFS-devel@openafs.org">OpenAFS-devel@openafs.org
</a><br><a href="https://lists.openafs.org/mailman/listinfo/openafs-devel">https://lists.openafs.org/mailman/listinfo/openafs-devel</a><br></blockquote><br><br clear="all"><br>-- <br>Regards,<br>Srikanth Bhaskar<br>Hyderabad
<br>+91 9866649917<br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>They may forget wat you said, <br>but they will never forget how you made them feel.. </p></p>
------=_Part_1333_10266656.1170245383664--