Re: config file lost
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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: config file lost
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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: config file lost
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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: config file lost
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 majord...@vger.kernel.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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html