Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-05 Thread Ira Weiny
On Thu, 05 Apr 2012 18:31:15 + Bart Van Assche wrote: > On 03/31/12 00:39, Ira Weiny wrote: > > > First, a question: what package installs the openibd script in OFED? For > > the > > life of me I can't find this script in 1.5.4.1 or 3.2 ... :-/ [*] > > > That's easy to figure out: > >

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-05 Thread Bart Van Assche
On 03/31/12 00:39, Ira Weiny wrote: > First, a question: what package installs the openibd script in OFED? For the > life of me I can't find this script in 1.5.4.1 or 3.2 ... :-/ [*] That's easy to figure out: $ rpm -qf /etc/init.d/openibd kernel-ib-1.5.4-3.0.12+.x86_64 Bart. -- To unsubscr

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-05 Thread Jason Gunthorpe
On Thu, Apr 05, 2012 at 01:46:19PM -0400, Doug Ledford wrote: > > The purpose of the udev hook path is to set the node description on > > initial device insertion, which may be before, or after the DHCP > > process completes, in such cases. > > Well, a udev rule is guaranteed to be before dhcp co

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-05 Thread Doug Ledford
On 04/04/2012 01:12 PM, Jason Gunthorpe wrote: > On Tue, Apr 03, 2012 at 07:14:42PM -0700, Ira Weiny wrote: >> On Mon, 2 Apr 2012 12:45:45 -0600 >> Jason Gunthorpe wrote: >> >>> On Mon, Apr 02, 2012 at 03:27:35PM +, Heinz, Michael William wrote: >>> Any ideas on how we could solve the hos

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-04 Thread Ira Weiny
On Wed, 4 Apr 2012 11:12:00 -0600 Jason Gunthorpe wrote: > On Tue, Apr 03, 2012 at 07:14:42PM -0700, Ira Weiny wrote: > > On Mon, 2 Apr 2012 12:45:45 -0600 > > Jason Gunthorpe wrote: > > > > > On Mon, Apr 02, 2012 at 03:27:35PM +, Heinz, Michael William wrote: > > > > > > > Any ideas on ho

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-04 Thread Jason Gunthorpe
On Wed, Apr 04, 2012 at 05:17:48PM +, Heinz, Michael William wrote: > I agree that setting it via the network scripts is preferable - if > we can find a fairly consistent way to do it across distros. OFED only supports two distros, we don't really need to be distro-agnostic. At this point it i

RE: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-04 Thread Heinz, Michael William
al to change Node Description naming scheme for HCA's On Tue, Apr 03, 2012 at 07:14:42PM -0700, Ira Weiny wrote: > On Mon, 2 Apr 2012 12:45:45 -0600 > Jason Gunthorpe wrote: > > > On Mon, Apr 02, 2012 at 03:27:35PM +, Heinz, Michael William wrote: > > > > > Any

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-04 Thread Jason Gunthorpe
On Tue, Apr 03, 2012 at 07:14:42PM -0700, Ira Weiny wrote: > On Mon, 2 Apr 2012 12:45:45 -0600 > Jason Gunthorpe wrote: > > > On Mon, Apr 02, 2012 at 03:27:35PM +, Heinz, Michael William wrote: > > > > > Any ideas on how we could solve the hostname problem while we're > > > changing the desc

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-03 Thread Ira Weiny
On Mon, 2 Apr 2012 12:45:45 -0600 Jason Gunthorpe wrote: > On Mon, Apr 02, 2012 at 03:27:35PM +, Heinz, Michael William wrote: > > > Any ideas on how we could solve the hostname problem while we're > > changing the description? > > The node description needs to be set from the DCHP notifier

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-02 Thread Ira Weiny
On Mon, 2 Apr 2012 15:27:35 + "Heinz, Michael William" wrote: > I like this idea - but it reminds me of a related issue I raised a while > back: nodes can often set the HCA description before they received a hostname > from DHCP - in which case you end up with saqueries full of "localhost H

RE: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-02 Thread Heinz, Michael William
ipt that has to patch the DHCP chain. -Original Message- From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] Sent: Monday, April 02, 2012 2:46 PM To: Heinz, Michael William Cc: Ira Weiny; linux-rdma@vger.kernel.org; Doug Ledford; Bob Ciotti; James Silva Subject: Re: [RFC] Proposal t

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-02 Thread Jason Gunthorpe
On Mon, Apr 02, 2012 at 03:27:35PM +, Heinz, Michael William wrote: > Any ideas on how we could solve the hostname problem while we're > changing the description? The node description needs to be set from the DCHP notifier script chain (eg /etc/network/if-up.d/ on Debian) and also from a udev

RE: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-02 Thread Heinz, Michael William
I like this idea - but it reminds me of a related issue I raised a while back: nodes can often set the HCA description before they received a hostname from DHCP - in which case you end up with saqueries full of "localhost HCA-1". At the time, QLogic's proposal was to modify the kernel stack so t

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-01 Thread Joseph Glanville
On 2 April 2012 06:49, Doug Ledford wrote: > I'm fine with this change.  If people agree, I'll "make it so" in our > products. > > Sent from my ASUS Eee Pad > > Ira Weiny wrote: > > First, a question: what package installs the openibd script in OFED?  For the > life of me I can't find this scrip

Re: [RFC] Proposal to change Node Description naming scheme for HCA's

2012-04-01 Thread Doug Ledford
I'm fine with this change. If people agree, I'll "make it so" in our products. Sent from my ASUS Eee Pad Ira Weiny wrote: First, a question: what package installs the openibd script in OFED? For the life of me I can't find this script in 1.5.4.1 or 3.2 ... :-/ [*] Right now the "standard"