[OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Adam Megacz

It's not pretty, but it's working for me right now.  May be useful to
others.

  http://www.megacz.com/advice/afs/one.machine.multiple.cells.html

It would make me really, really happy if the OpenAFS server knew how
to bind to just a single interface -- then I wouldn't need to run
Linux-VServer (which requires a kernel patch and severely limits which
kernels you can use).

It's pretty clear where to do this (rx_user.c:rx_Init()), but where to
get the desired interface IP from ($AFS_SERVER_CONFIG_DIR/NetBind?) is
a judgement call for somebody else to make.

  - a

-- 
PGP/GPG: 5C9F F366 C9CF 2145 E770  B1B8 EFB1 462D A146 C380

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] OpenAfs and MS Office: Delayed Write Failed

2006-05-23 Thread Frank Burkhardt
Hi,

On Mon, May 22, 2006 at 09:31:04AM -0400, Jeffrey Altman wrote:
 Please generate the logs again and this time make sure that Clock Time
 and Show Milliseconds are selected in both DbgView and FileMon prior
 to capturing the log data.  This will allow the events in one log to be
 synchronized with the data in the other log.

Here they are:

 http://fbo.no-ip.org/mail-temp/crash-debug-23052006.log
 http://fbo.no-ip.org/mail-temp/crash-filemon-23052006.log
  
Regards,

Frank
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Derrick J Brashear

On Tue, 23 May 2006, Adam Megacz wrote:



It's not pretty, but it's working for me right now.  May be useful to
others.

 http://www.megacz.com/advice/afs/one.machine.multiple.cells.html

It would make me really, really happy if the OpenAFS server knew how
to bind to just a single interface -- then I wouldn't need to run
Linux-VServer (which requires a kernel patch and severely limits which
kernels you can use).

It's pretty clear where to do this (rx_user.c:rx_Init()), but where to
get the desired interface IP from ($AFS_SERVER_CONFIG_DIR/NetBind?) is
a judgement call for somebody else to make.


NetInfo minus NetRestrict, withh the -rxbind patch I will submit in 3 
hours


Derrick
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] Access Home Dir on AFS

2006-05-23 Thread shri Raj

Dear all,

First of all let me thank you guys for inputs on my two questions first was 
afs tokens gui available for MacOS thanks to David (btw, does anyone has dmg 
file? friend help me to recompile code but my other art majors wanna have 
dmg file)and second one was accessing my home space which I still need 
answer for. I am not trying to use AFS as my home directory as I don’t have 
internet connection all time.


Problem:
When click on AFS from my desktop it takes me to the root of our cell not 
directly to my home directory.


create a softlink (ln -s) idea of bil but is there any other solution.

By the way I am not an IT guy, I am art and business major so please write 
down details so can solve my every growing problem.


Thanks
Sri raj


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Ken Hornstein
It would make me really, really happy if the OpenAFS server knew how
to bind to just a single interface -- then I wouldn't need to run
Linux-VServer (which requires a kernel patch and severely limits which
kernels you can use).

I am not sure if that's sufficient; what would you do about the FSSync port,
for example?  (It's on localhost.2040).

--Ken
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


RE: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread ted creedon
Groups of interfaces bound to a designated cell would be more useful.

tedc

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ken Hornstein
Sent: Tuesday, May 23, 2006 7:49 AM
To: openafs-info@openafs.org
Subject: Re: [OpenAFS] HOWTO: multiple cells on a single machine 

It would make me really, really happy if the OpenAFS server knew how
to bind to just a single interface -- then I wouldn't need to run
Linux-VServer (which requires a kernel patch and severely limits which
kernels you can use).

I am not sure if that's sufficient; what would you do about the FSSync port,
for example?  (It's on localhost.2040).

--Ken
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Ken Hornstein
Groups of interfaces bound to a designated cell would be more useful.

If you find a machine with multiple localhost interfaces, let me know :-)

(Arguably, fssync should probably be a Unix domain socket).

--Ken
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Derrick J Brashear

On Tue, 23 May 2006, Ken Hornstein wrote:


Groups of interfaces bound to a designated cell would be more useful.


(So would a pony. And?)


If you find a machine with multiple localhost interfaces, let me know :-)

(Arguably, fssync should probably be a Unix domain socket).


Actually, it should possibly be, like fs-pts connections, just another 
authenticated RPC, and I considered doing that.


Derrick

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


RE: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread ted creedon
Just an idea, that's all. Does AFS use localhost?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ken Hornstein
Sent: Tuesday, May 23, 2006 8:06 AM
To: openafs-info@openafs.org
Subject: Re: [OpenAFS] HOWTO: multiple cells on a single machine 

Groups of interfaces bound to a designated cell would be more useful.

If you find a machine with multiple localhost interfaces, let me know :-)

(Arguably, fssync should probably be a Unix domain socket).

--Ken
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Ken Hornstein
Just an idea, that's all. Does AFS use localhost?

I said that two messages ago, didn't I?

--Ken
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Ken Hornstein
 (Arguably, fssync should probably be a Unix domain socket).

Actually, it should possibly be, like fs-pts connections, just another 
authenticated RPC, and I considered doing that.

I can see reasons for and against that; I guess I don't care all that
much, other than changing fssync to a Unix domain socket will probably
be less work.  But as long as I'm not doing the code, the amount of
work for me is the same :-)

--Ken
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


RE: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread ted creedon
What is the function of the FSSync port?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Ken Hornstein
Sent: Tuesday, May 23, 2006 8:17 AM
To: openafs-info@openafs.org
Subject: Re: [OpenAFS] HOWTO: multiple cells on a single machine 

 (Arguably, fssync should probably be a Unix domain socket).

Actually, it should possibly be, like fs-pts connections, just another 
authenticated RPC, and I considered doing that.

I can see reasons for and against that; I guess I don't care all that
much, other than changing fssync to a Unix domain socket will probably
be less work.  But as long as I'm not doing the code, the amount of
work for me is the same :-)

--Ken
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] OpenAfs and MS Office: Delayed Write Failed

2006-05-23 Thread Jeffrey Altman
Frank:

You are consistently receiving an IN PAGE ERROR unfortunately
there do not appear to be any errors occurring on the AFS CIFS
server side of the connection.  The CIFS client is simply breaking the
connection at some point.

A couple of questions:

* what version of Word are you using?  When I monitor Word 2003 SP2
  I see that most of the writing is being performed by SYSTEM and not
  by WINWORD.EXE.  This is because Word is using asynchronous background
  writes. In your log data I see all of the data being written by
  WINWORD.EXE.

* what version of OpenAFS for Windows is this log generated with?

The debug monitor log shows that shortly after the file monitor
logs the IN PAGE ERROR, the AFS cache manager receives a number of
TellMeAboutYourself requests from AFS File Servers.  This often
indicates that there was a network failure of some kind as the
servers are responding to the establishment of a new rx connection.
If the network dropped on the machine, the Windows CIFS client would
respond by closing all of the existing connections.  Perhaps that
is what you are seeing.  Its not clear from the logs that anything
unusual is taking place.

Jeffrey Altman


Frank Burkhardt wrote:
 Hi,
 
 On Mon, May 22, 2006 at 09:31:04AM -0400, Jeffrey Altman wrote:
 Please generate the logs again and this time make sure that Clock Time
 and Show Milliseconds are selected in both DbgView and FileMon prior
 to capturing the log data.  This will allow the events in one log to be
 synchronized with the data in the other log.
 
 Here they are:
 
  http://fbo.no-ip.org/mail-temp/crash-debug-23052006.log
  http://fbo.no-ip.org/mail-temp/crash-filemon-23052006.log
   
 Regards,
 
 Frank
 ___
 OpenAFS-info mailing list
 OpenAFS-info@openafs.org
 https://lists.openafs.org/mailman/listinfo/openafs-info



smime.p7s
Description: S/MIME Cryptographic Signature


RE: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Derrick J Brashear

On Tue, 23 May 2006, ted creedon wrote:


What is the function of the FSSync port?


fileserver and volserver need to talk


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


RE: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread ted creedon
So 127.0.0.1, 127.0.0.2, etc could be used?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Derrick J Brashear
Sent: Tuesday, May 23, 2006 8:44 AM
To: openafs-info@openafs.org
Subject: RE: [OpenAFS] HOWTO: multiple cells on a single machine 

On Tue, 23 May 2006, ted creedon wrote:

 What is the function of the FSSync port?

fileserver and volserver need to talk


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Ken Hornstein
So 127.0.0.1, 127.0.0.2, etc could be used?

I've never seen a machine with a 127.0.0.2 interface.  Loopback is generally
sort of magical; I don't think you can have more than one (certainly not in
a portable way).  In theory, you could pick different port numbers ...
but how you configure that is an open question.

--Ken
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


[OpenAFS] mkmount -- unable to create a root.cell mount point

2006-05-23 Thread shajid t
Hi,

I want to add a new mount point for a cell without
restarting the AFS service.

After reading the documents I figured that I should
issue the following command as admin:

mkmount  -dir /afs/cellname -vol root.cell -cell
cellname

this is what I got :
fs: You can not change a backup or readonly volume

of course no mount point was created.

I have updated the CellServDB with the new ip addrs.

Any ideas as to what is wrong?

shajid

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] mkmount -- unable to create a root.cell mount point

2006-05-23 Thread Derek Atkins

/afs is readonly, either because you're using the freelance mode
or because root.afs is a read-only clone.  Try running fs newcell
with the new cell information.  In the latter case you also need to
edit the read-write copy of your root.afs volume.

-derek

Quoting shajid t [EMAIL PROTECTED]:


Hi,

I want to add a new mount point for a cell without
restarting the AFS service.

After reading the documents I figured that I should
issue the following command as admin:

mkmount  -dir /afs/cellname -vol root.cell -cell
cellname

this is what I got :
fs: You can not change a backup or readonly volume

of course no mount point was created.

I have updated the CellServDB with the new ip addrs.

Any ideas as to what is wrong?

shajid

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info





--
  Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
  Member, MIT Student Information Processing Board  (SIPB)
  URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
  [EMAIL PROTECTED]PGP key available

___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] HOWTO: multiple cells on a single machine

2006-05-23 Thread Derrick J Brashear
OpenAFS RT ticket 32308 has a patch providing bound rx socket support for 
all the servers. It binds to a single IP address which is all addresses in 
NetInfo minus all in NetRestrict, if the -rxbind option is given.


Applies to 1.4.x


___
OpenAFS-info mailing list
OpenAFS-info@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-info


Re: [OpenAFS] OpenAfs and MS Office: Delayed Write Failed

2006-05-23 Thread Jeffrey Altman
I have been able to reproduce the problem on my system.  The scenario
is that the Windows CIFS client is breaking the connection while there
are dozens of CIFS Write requests outstanding.  The client appears to
break the connection on my system when the oldest outstanding connection
has been waiting for 90 seconds.

You can increase the wait period by setting this registry value to
a higher value.  Perhaps 120 or 180 seconds.

[HKLM\SYSTEM\CurrentControlSet\Services\lanmanworkstation\parameters]
SessTimeout

This problem is exacerbated by the fact that requests in process within
the cache manager are not prioritized by age and they can be processed
out of order.  When there are many outstanding requests some requests
end up waiting longer than is desirable.

This problem will only go completely away when the CIFS interface
is replaced by an IFS.  Only then will there not be an arbitrary
timeout applied to operations.

Jeffrey Altman


Jeffrey Altman wrote:
 Frank:
 
 You are consistently receiving an IN PAGE ERROR unfortunately
 there do not appear to be any errors occurring on the AFS CIFS
 server side of the connection.  The CIFS client is simply breaking the
 connection at some point.
 
 A couple of questions:
 
 * what version of Word are you using?  When I monitor Word 2003 SP2
   I see that most of the writing is being performed by SYSTEM and not
   by WINWORD.EXE.  This is because Word is using asynchronous background
   writes. In your log data I see all of the data being written by
   WINWORD.EXE.
 
 * what version of OpenAFS for Windows is this log generated with?
 
 The debug monitor log shows that shortly after the file monitor
 logs the IN PAGE ERROR, the AFS cache manager receives a number of
 TellMeAboutYourself requests from AFS File Servers.  This often
 indicates that there was a network failure of some kind as the
 servers are responding to the establishment of a new rx connection.
 If the network dropped on the machine, the Windows CIFS client would
 respond by closing all of the existing connections.  Perhaps that
 is what you are seeing.  Its not clear from the logs that anything
 unusual is taking place.
 
 Jeffrey Altman
 
 
 Frank Burkhardt wrote:
 Hi,

 On Mon, May 22, 2006 at 09:31:04AM -0400, Jeffrey Altman wrote:
 Please generate the logs again and this time make sure that Clock Time
 and Show Milliseconds are selected in both DbgView and FileMon prior
 to capturing the log data.  This will allow the events in one log to be
 synchronized with the data in the other log.
 Here they are:

  http://fbo.no-ip.org/mail-temp/crash-debug-23052006.log
  http://fbo.no-ip.org/mail-temp/crash-filemon-23052006.log
   
 Regards,

 Frank
 ___
 OpenAFS-info mailing list
 OpenAFS-info@openafs.org
 https://lists.openafs.org/mailman/listinfo/openafs-info
 


smime.p7s
Description: S/MIME Cryptographic Signature