* nfs lock/stat issue
@ 2002-11-11 18:21 Jay R. Wren
2002-11-11 21:26 ` Weird 'collect' problem Jonathan Williams
0 siblings, 1 reply; 3+ messages in thread
From: Jay R. Wren @ 2002-11-11 18:21 UTC (permalink / raw)
Hello managers,
We recently added some ip aliases to our nfs server by adding
ifconfig ee0 alias 1.2.3.4
ifconfig ee0 alias 1.2.3.5
ifconfig ee0 alias 1.2.3.6
to our /etc/inet.local file. Each alias has a corresponding dns entry
which resolves forward and reverse as expected.
We are having an issue with nfs mounted file systems when the file
system is mounted via one of these aliases. It seems rpc.lockd and
rpc.statd bind only to the first ip on a given interface. So in the
case above if the interface ee0 has 1.2.3.3 and the above aliases
rpc.lockd and rpc.statd only listen on 1.2.3.3 and not the above
aliases.
rpcinfo -p shows me the ports that these two services are listening
on, and netstat -na shows which interfaces these ports are listening on.
rpcinfo -p |grep -E "stat|lock"
100001 2 udp 2080 rstatd
100001 3 udp 2080 rstatd
100001 4 udp 2080 rstatd
100024 1 udp 1650 status
100024 1 tcp 2550 status
100021 1 tcp 2551 nlockmgr
100021 2 tcp 2551 nlockmgr
100021 3 tcp 2551 nlockmgr
100021 4 tcp 2551 nlockmgr
100020 3 tcp 2551 llockmgr
100021 1 udp 1651 nlockmgr
100021 2 udp 1651 nlockmgr
100021 3 udp 1651 nlockmgr
100021 4 udp 1651 nlockmgr
100020 3 udp 1651 llockmgr
netstat -na | grep for ports from above list
tcp 0 0 127.0.0.1.2551 *.*
LISTEN
tcp 0 0 1.2.3.3.2551 *.* LISTEN
tcp 0 0 127.0.0.1.2550 *.*
LISTEN
tcp 0 0 1.2.3.3.2550 *.* LISTEN
udp 0 0 *.2080 *.*
udp 0 0 127.0.0.1.1651 *.*
udp 0 0 1.2.3.3.1651 *.*
From this list rstatd (not nfs related, services rup requests) is
listening on all interfaces, but all remaining ports(rpc.statd &
rpc.lockd) are listening only on localhost and the first interface.
I can start a second rpc.lockd with that -b argument and a hostname or
ip address, but I cannot start a statd. My NFS clients are having
locking issues that are preventing them from functioning.
I know the easy fix is to tell my NFS clients to mount via the primary
IP instead of the aliases, but I am seeking an alternative solution for
various reasons.
Thanks,
--
Jay R. Wren
Systems Programmer
Oakland University
Rochester, Michigan
^ permalink raw reply [flat|nested] 3+ messages in thread* Weird 'collect' problem 2002-11-11 18:21 nfs lock/stat issue Jay R. Wren @ 2002-11-11 21:26 ` Jonathan Williams 2002-11-12 14:54 ` SUMMARY: " Jonathan Williams 0 siblings, 1 reply; 3+ messages in thread From: Jonathan Williams @ 2002-11-11 21:26 UTC (permalink / raw) Ok. I have a box (ES40, Tru64 5.1, patch 3) on which I want to run "collect" on a continual basis. It was running the other day for about 3 hours, when all of a sudden, the "collect" process jumped up and started chewing up 198.2 % CPU usage. The database running on that system didn't care for this at all, so I killed the collect process. Then I started it up again a bit later, and then about 5 hours later, it did the same thing again. I got the 198.2% from the "top" program, as well as the output from a ps -ef|grep collect. The version of collect that I'm running came with the OS--so I would think it should work: broadway:/>collect -V Collector Version = 2.00, Collect Datafile Version = 14, Compiled: Dec 1 2000 broadway:/> And the exact command I am running (that someone from this list sent to me): collect -ol -i60,120 -f /var/adm/collect.dated/collect -H d0:5,3m -W 1h -M 10,15 So that's it. Is this a known problem with a (hopefully) known solution? TIA Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc. ^ permalink raw reply [flat|nested] 3+ messages in thread
* SUMMARY: Weird 'collect' problem 2002-11-11 21:26 ` Weird 'collect' problem Jonathan Williams @ 2002-11-12 14:54 ` Jonathan Williams 0 siblings, 0 replies; 3+ messages in thread From: Jonathan Williams @ 2002-11-12 14:54 UTC (permalink / raw) Ok...I received a bunch of emails, all pretty much saying the same thing: It is a known issue, and is corrected in Patch Kit 5 for 5.1 (and in pk 3 for 5.1a) Once I install this patch, the version of collect will be: Imperial:/>collect -V Collector Version = 2.0.2, Collect Datafile Version = 15, Compiled: Apr 10 2002 Imperial:/> Thanks to all for the replies. Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc. ----- Original Message ----- From: "Jonathan Williams" <jonathw@shubertorg.com> To: <tru64-unix-managers@ornl.gov> Sent: Monday, November 11, 2002 4:26 PM Subject: Weird 'collect' problem > Ok. I have a box (ES40, Tru64 5.1, patch 3) on which I want to run "collect" on > a continual basis. It was running the other day for about 3 hours, when all of > a sudden, the "collect" process jumped up and started chewing up 198.2 % CPU > usage. The database running on that system didn't care for this at all, so I > killed the collect process. Then I started it up again a bit later, and then > about 5 hours later, it did the same thing again. I got the 198.2% from the > "top" program, as well as the output from a ps -ef|grep collect. > > The version of collect that I'm running came with the OS--so I would think it > should work: > > broadway:/>collect -V > Collector Version = 2.00, Collect Datafile Version = 14, Compiled: Dec 1 2000 > broadway:/> > > And the exact command I am running (that someone from this list sent to me): > > collect -ol -i60,120 -f /var/adm/collect.dated/collect -H d0:5,3m -W 1h -M 10,15 > > So that's it. Is this a known problem with a (hopefully) known solution? TIA > > > Jonathan Williams > Unix Systems Administrator > The Shubert Organization, Inc. > > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-11-12 14:54 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-11-11 18:21 nfs lock/stat issue Jay R. Wren 2002-11-11 21:26 ` Weird 'collect' problem Jonathan Williams 2002-11-12 14:54 ` SUMMARY: " Jonathan Williams
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox