File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ =====================
2+ ipa-extra-hardware-hp
3+ =====================
4+ Installs HP specific software required for cardiff
5+ (`hardware <https://pypi.org/project/hardware/ >`_) benchmarks
6+
7+ * ``DIB_IPA_EXTRA_HARDWARE_CONREP_RPM ``: URL of an RPM file that provides the ``conrep `` utility.
8+ See `<ddr-timings https://github.com/stackhpc/ddr-timings >`_.
9+ For example:
10+
11+ .. code-block ::
12+
13+ export DIB_IPA_EXTRA_HARDWARE_CONREP_RPM="https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1201555626/v164819/rhel7/x86_64/hp-scripting-tools-11.40-9.rhel7.x86_64.rpm"
Original file line number Diff line number Diff line change 1+ rpm
2+ proliant-tools
3+ ipa-extra-hardware
Original file line number Diff line number Diff line change 1+ # RPMS needed for cardiff data collection:
2+ #
3+ # HP tools:
4+ # hp-scripting-tools - provides conrep for bios version, settings etc.
5+
6+ # FIXME: RedHat family only
7+
8+ CONREP_RPM=${DIB_IPA_EXTRA_HARDWARE_CONREP_RPM:-"https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1201555626/v164819/rhel7/x86_64/hp-scripting-tools-11.40-9.rhel7.x86_64.rpm"}
9+ DIB_RPMS_EXTRA="$CONREP_RPM"
10+
11+ # prepend packages to the existing list if it has been defined
12+ if [ ! -z ${DIB_RPMS:+x} ]; then
13+ export DIB_RPMS="$DIB_RPMS_EXTRA $DIB_RPMS"
14+ else
15+ export DIB_RPMS="$DIB_RPMS_EXTRA"
16+ fi
Original file line number Diff line number Diff line change 1+ # Use more up to date version of proliant tools
2+ export DIB_SSACLI_URL=${DIB_SSACLI_URL:-https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1857046646/v165910/ssacli-4.15-6.0.x86_64.rpm}
Original file line number Diff line number Diff line change 1+ ======================
2+ ipa-extra-hardware-ram
3+ ======================
4+ Collects DDR timing info on Intel processors.
5+
6+ * ``DIB_DDR_TIMINGS_VERSION ``: Version of ddr-timings to use.
7+ See `<ddr-timings https://github.com/stackhpc/ddr-timings >`_.
8+ For example:
9+
10+ .. code-block ::
11+
12+ export DIB_DDR_TIMINGS_VERSION=1.0.0
Original file line number Diff line number Diff line change 1+ ipa-extra-hardware
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ " ${DIB_DEBUG_TRACE:- 0} " -gt 0 ]; then
4+ set -x
5+ fi
6+ set -eu
7+ set -o pipefail
8+
9+ install-packages -e gcc
10+
11+ if $( which yum > /dev/null 2>&1 ) ; then
12+
13+ ${YUM:- yum} clean all
14+
15+ # Rebuilding the rpm database after removing packages will reduce
16+ # its size
17+ rpm --rebuilddb
18+
19+ fi
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ if [ " ${DIB_DEBUG_TRACE:- 1} " -gt 0 ]; then
4+ set -x
5+ fi
6+ set -u
7+ set -o pipefail
8+
9+ VERSION=${DIB_DDR_TIMINGS_VERSION:- 1.0.0}
10+
11+ pushd /tmp
12+ curl -k -L -o ddr-timings.tar.gz https://github.com/stackhpc/ddr-timings/archive/$VERSION .tar.gz
13+ tar -xvf ddr-timings.tar.gz
14+ cd ddr-timings-$VERSION && make install
15+ popd
Original file line number Diff line number Diff line change 1+ gcc :
2+ make :
Original file line number Diff line number Diff line change @@ -10,3 +10,4 @@ pciutils:
1010sdparm :
1111smartmontools :
1212sysbench :
13+ lsb_release :
You can’t perform that action at this time.
0 commit comments