All of lore.kernel.org
 help / color / mirror / Atom feed
* config file lost
@ 2013-06-16 13:02 Or Gerlitz
       [not found] ` <51BDB769.70107-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Or Gerlitz @ 2013-06-16 13:02 UTC (permalink / raw)
  To: Hal Rosenstock
  Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	Yan Burman

opensm 3.3.15 comes with /etc/rdma/opensm.conf as part of the rpm, 
3.3.16 doesn't, why?

# rpm -ql opensm-3.3.16-1.el6.x86_64
/etc/init.d/opensmd
/etc/logrotate.d/opensm
/etc/opensm
/usr/sbin/opensm
/usr/sbin/osmtest
/usr/sbin/sldd.sh
/usr/share/doc/opensm-3.3.16
/usr/share/doc/opensm-3.3.16/AUTHORS
/usr/share/doc/opensm-3.3.16/COPYING
/usr/share/doc/opensm-3.3.16/QoS_management_in_OpenSM.txt
/usr/share/doc/opensm-3.3.16/README
/usr/share/doc/opensm-3.3.16/opensm_release_notes-3.3.txt
/usr/share/doc/opensm-3.3.16/performance-manager-HOWTO.txt
/usr/share/man/man5/torus-2QoS.conf.5.gz
/usr/share/man/man8/opensm.8.gz
/usr/share/man/man8/osmtest.8.gz
/usr/share/man/man8/torus-2QoS.8.gz
/var/cache/opensm


#  rpm -ql opensm-3.3.15-1.el6.x86_64
/etc/logrotate.d/opensm
/etc/rc.d/init.d/opensm
/etc/rdma/opensm.conf
/etc/sysconfig/opensm
/usr/sbin/opensm
/usr/sbin/osmtest
/usr/share/doc/opensm-3.3.15
/usr/share/doc/opensm-3.3.15/AUTHORS
/usr/share/doc/opensm-3.3.15/COPYING
/usr/share/doc/opensm-3.3.15/ChangeLog
/usr/share/doc/opensm-3.3.15/INSTALL
/usr/share/doc/opensm-3.3.15/NEWS
/usr/share/doc/opensm-3.3.15/README
/usr/share/doc/opensm-3.3.15/doc
/usr/share/doc/opensm-3.3.15/doc/QoS_management_in_OpenSM.txt
/usr/share/doc/opensm-3.3.15/doc/opensm-sriov.txt
/usr/share/doc/opensm-3.3.15/doc/opensm_release_notes-3.3.txt
/usr/share/doc/opensm-3.3.15/doc/partition-config.txt
/usr/share/doc/opensm-3.3.15/doc/performance-manager-HOWTO.txt
/usr/share/man/man5
/usr/share/man/man5/torus-2QoS.conf.5.gz
/usr/share/man/man8
/usr/share/man/man8/opensm.8.gz
/usr/share/man/man8/osmtest.8.gz
/usr/share/man/man8/torus-2QoS.8.gz
/var/cache/opensm

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: config file lost
       [not found] ` <51BDB769.70107-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
@ 2013-06-17 18:44   ` Hal Rosenstock
       [not found]     ` <51BF591B.4090002-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Hal Rosenstock @ 2013-06-17 18:44 UTC (permalink / raw)
  To: Or Gerlitz
  Cc: Hal Rosenstock,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	Yan Burman

On 6/16/2013 9:02 AM, Or Gerlitz wrote:
> opensm 3.3.15 comes with /etc/rdma/opensm.conf as part of the rpm,
> 3.3.16 doesn't, why?

I'm not 100% sure about the origin of those RPMs but I think the 3.3.15
one is RedHat packaged and the 3.3.16 appears to be PLD packaged and the
processes are a little different. I suspect the 3.3.16 one is packaged
with the spec file in the tree whereas RedHat uses their own spec file.

FWIW it's simple to generate an up to date config file:

opensm -c opensm.conf

-- Hal

> # rpm -ql opensm-3.3.16-1.el6.x86_64
> /etc/init.d/opensmd
> /etc/logrotate.d/opensm
> /etc/opensm
> /usr/sbin/opensm
> /usr/sbin/osmtest
> /usr/sbin/sldd.sh
> /usr/share/doc/opensm-3.3.16
> /usr/share/doc/opensm-3.3.16/AUTHORS
> /usr/share/doc/opensm-3.3.16/COPYING
> /usr/share/doc/opensm-3.3.16/QoS_management_in_OpenSM.txt
> /usr/share/doc/opensm-3.3.16/README
> /usr/share/doc/opensm-3.3.16/opensm_release_notes-3.3.txt
> /usr/share/doc/opensm-3.3.16/performance-manager-HOWTO.txt
> /usr/share/man/man5/torus-2QoS.conf.5.gz
> /usr/share/man/man8/opensm.8.gz
> /usr/share/man/man8/osmtest.8.gz
> /usr/share/man/man8/torus-2QoS.8.gz
> /var/cache/opensm
> 
> 
> #  rpm -ql opensm-3.3.15-1.el6.x86_64
> /etc/logrotate.d/opensm
> /etc/rc.d/init.d/opensm
> /etc/rdma/opensm.conf
> /etc/sysconfig/opensm
> /usr/sbin/opensm
> /usr/sbin/osmtest
> /usr/share/doc/opensm-3.3.15
> /usr/share/doc/opensm-3.3.15/AUTHORS
> /usr/share/doc/opensm-3.3.15/COPYING
> /usr/share/doc/opensm-3.3.15/ChangeLog
> /usr/share/doc/opensm-3.3.15/INSTALL
> /usr/share/doc/opensm-3.3.15/NEWS
> /usr/share/doc/opensm-3.3.15/README
> /usr/share/doc/opensm-3.3.15/doc
> /usr/share/doc/opensm-3.3.15/doc/QoS_management_in_OpenSM.txt
> /usr/share/doc/opensm-3.3.15/doc/opensm-sriov.txt
> /usr/share/doc/opensm-3.3.15/doc/opensm_release_notes-3.3.txt
> /usr/share/doc/opensm-3.3.15/doc/partition-config.txt
> /usr/share/doc/opensm-3.3.15/doc/performance-manager-HOWTO.txt
> /usr/share/man/man5
> /usr/share/man/man5/torus-2QoS.conf.5.gz
> /usr/share/man/man8
> /usr/share/man/man8/opensm.8.gz
> /usr/share/man/man8/osmtest.8.gz
> /usr/share/man/man8/torus-2QoS.8.gz
> /var/cache/opensm
> 
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: config file lost
       [not found]     ` <51BF591B.4090002-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2013-06-18  9:03       ` Or Gerlitz
       [not found]         ` <51C02269.5050105-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Or Gerlitz @ 2013-06-18  9:03 UTC (permalink / raw)
  To: Hal Rosenstock
  Cc: Hal Rosenstock,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	Yan Burman

On 17/06/2013 21:44, Hal Rosenstock wrote:
> I'm not 100% sure about the origin of those RPMs but I think the 3.3.15
> one is RedHat packaged and the 3.3.16 appears to be PLD packaged and the
> processes are a little different. I suspect the 3.3.16 one is packaged
> with the spec file in the tree whereas RedHat uses their own spec file.
>
> FWIW it's simple to generate an up to date config file:
>
> opensm -c opensm.conf

Hal,

YES for your observations, that 3.3.15 was RHEL packages and the 3.3.16 
was built from the upstream spec. I know that
I can generate the config file using the method you suggested, however, 
does the upstream service scripts uses the location to which this is 
generated,  so things are plug-and-play, or I need to hack that somehow?

Or.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: config file lost
       [not found]         ` <51C02269.5050105-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
@ 2013-06-18 11:19           ` Hal Rosenstock
       [not found]             ` <51C0424F.60307-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Hal Rosenstock @ 2013-06-18 11:19 UTC (permalink / raw)
  To: Or Gerlitz
  Cc: Hal Rosenstock,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	Yan Burman

On 6/18/2013 5:03 AM, Or Gerlitz wrote:
> On 17/06/2013 21:44, Hal Rosenstock wrote:
>> I'm not 100% sure about the origin of those RPMs but I think the 3.3.15
>> one is RedHat packaged and the 3.3.16 appears to be PLD packaged and the
>> processes are a little different. I suspect the 3.3.16 one is packaged
>> with the spec file in the tree whereas RedHat uses their own spec file.
>>
>> FWIW it's simple to generate an up to date config file:
>>
>> opensm -c opensm.conf
> 
> Hal,
> 
> YES for your observations, that 3.3.15 was RHEL packages and the 3.3.16
> was built from the upstream spec. I know that
> I can generate the config file using the method you suggested, however,
> does the upstream service scripts uses the location to which this is
> generated,  

Is /etc/rdma a standard location in Linux ? Is it used by other RDMA
upstream components ?

Also, opensm doesn't by default use this location for the config file. I
expect that's dealt with by other scripts RedHat supplies.

> so things are plug-and-play, or I need to hack that somehow?

You would currently need to hack that.

-- Hal

> Or.
> 
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: config file lost
       [not found]             ` <51C0424F.60307-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2013-06-18 11:57               ` Or Gerlitz
  0 siblings, 0 replies; 5+ messages in thread
From: Or Gerlitz @ 2013-06-18 11:57 UTC (permalink / raw)
  To: Hal Rosenstock
  Cc: Hal Rosenstock,
	linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org),
	Yan Burman

On 18/06/2013 14:19, Hal Rosenstock wrote:
> Is /etc/rdma a standard location in Linux ? Is it used by other RDMA upstream components ?

its used by RHEL packages, not upstream

>
> Also, opensm doesn't by default use this location for the config file. I expect that's dealt with by other scripts RedHat supplies.

yes, this is part of their specs I think
>
>> >so things are plug-and-play, or I need to hack that somehow?
> You would currently need to hack that.

How exactly? I'd like to build rpm from upstream opensm, generate config 
file and have the opensm service script to read this config and apply it 
for successive restarts or sig HUPs I send. Maybe you can come up with 
some patch, it will help


Or.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-06-18 11:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-16 13:02 config file lost Or Gerlitz
     [not found] ` <51BDB769.70107-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-06-17 18:44   ` Hal Rosenstock
     [not found]     ` <51BF591B.4090002-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-06-18  9:03       ` Or Gerlitz
     [not found]         ` <51C02269.5050105-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-06-18 11:19           ` Hal Rosenstock
     [not found]             ` <51C0424F.60307-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2013-06-18 11:57               ` Or Gerlitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.