public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Compaq - HP Server Management drivers and agents.
@ 2003-05-30 19:31 Brett Simpson
  0 siblings, 0 replies; 3+ messages in thread
From: Brett Simpson @ 2003-05-30 19:31 UTC (permalink / raw
  To: gentoo-dev; +Cc: rippeld

[-- Attachment #1: Type: text/plain, Size: 685 bytes --]

To all of those who are running Compaq/HP Proliant servers I have attached an 
initial ebuild. The hpasm-6.30.0.12.tar.bz2 file is based off the 
hpasm-6.30.0-12.Redhat8_0.i386.rpm but had to be signifcantly changed. 
So far it works on a DL360 G1 and G2 (shows the temps, fan speed, and logs) 
but I had to make a considerable amount of changes to get it to work cleanly 
due to tons of files using rc.d in there paths. What I was wondering is if 
anyone else who has a proliant server running gentoo would like to help out 
in testing and improving the ebuild? 

Eventually I would also like to get the storage, network, survey, array 
config, and any other software working.

Brett

[-- Attachment #2: hpasm-6.30.0.12.ebuild --]
[-- Type: text/plain, Size: 2405 bytes --]

DESCRIPTION="hp Server Management Drivers and Agents."
HOMEPAGE="http://h18000.www1.hp.com/products/servers/linux/documentation.html"
LICENSE="other"
RDEPEND="snmp? ( net-analyzer/net-snmp )"

DEPEND="${RDEPEND}
	virtual/linux-sources
	mailx"

SRC_URI="ftp://207.156.7.60/pub/linux/gentoo/${P}.tar.bz2"

IUSE=""
SLOT="0"
KEYWORDS="x86"
S="${WORKDIR}"

src_install() {
	
#	use snmp ???

	HPASM_HOME="/opt/compaq"
	
	dodir ${HPASM_HOME}

    cp -Rdp \
        opt/compaq/* \
		${D}${HPASM_HOME}

	into /
	dosbin sbin/bootcfg 

	dosym /opt/compaq/hpasm/addon/libcpqci.so.1.0 /opt/compaq/hpasm/addon/libcpqci.so.1
	dosym /opt/compaq/hpasm/addon/libcpqci.so.1.0 /opt/compaq/hpasm/addon/libcpqci.so

	dodir /usr/share/pixmaps
	dosym /opt/compaq/cpqhealth/cpqasm/hplogo.xbm /usr/share/pixmaps/hplogo.xbm
	dosym /opt/compaq/cpqhealth/cpqasm/m_blue.gif /usr/share/pixmaps/m_blue.gif
	dosym /opt/compaq/cpqhealth/cpqasm/m_fail.gif /usr/share/pixmaps/m_fail.gif
	dosym /opt/compaq/cpqhealth/cpqasm/m_green.gif /usr/share/pixmaps/m_green.gif
	dosym /opt/compaq/cpqhealth/cpqasm/m_red.gif /usr/share/pixmaps/m_red.gif
	dosym /opt/compaq/cpqhealth/cpqasm/m_yellow.gif /usr/share/pixmaps/m_yellow.gif

	dosym /opt/compaq/cpqhealth/cpqasm/cpqimlview /sbin/cpqimlview
	dosym /opt/compaq/cpqhealth/cpqasm/cpqimlview /sbin/hpimlview
	dosym /opt/compaq/cpqhealth/cpqasm/cpqimlview.tcl /sbin/cpqimlview.tcl
	dosym /opt/compaq/cpqhealth/hplog /sbin/hplog
	dosym /opt/compaq/cpqhealth/hpuid /sbin/hpuid
	dosym /opt/compaq/cpqhealth/cpqasm/imlbe /sbin/imlbe

	dosym /opt/compaq/hpasm/etc/rebuild /sbin/hpasm_rebuild

	dodir /usr/lib

	if [ ! -f /usr/lib/libcrypto.so.2 ]
    		then
		dosym /usr/lib/libcrypto.so.0.9.6 /usr/lib/libcrypto.so.2
	fi

	if [ ! -f /usr/lib/libssl.so.2 ]
    		then
		dosym /usr/lib/libssl.so.0.9.6 /usr/lib/libssl.so.2
	fi

	dodir /var/spool/compaq


	exeinto /etc/init.d
	doexe etc/init.d/hpasm

	doman usr/share/man/man4/cpqhealth.4.gz usr/share/man/man4/hpasm.4.gz \
		usr/share/man/man8/cpqimlview.8.gz usr/share/man/man8/hplog.8.gz \
		usr/share/man/man8/hpuid.8.gz
	
}
	
pkg_postinst() {
	einfo ""
	einfo "If you want to run cpqimlview or hpimlview you will" 
	einfo "need to emerge xfree, tix, and tclx"
	einfo ""
	einfo "You now need to execute /etc/init.d/hpasm start in"
	einfo "order to use the installed package. The kernel"
	einfo "modules will automatically build for you."
	einfo ""
}



[-- Attachment #3: Type: text/plain, Size: 37 bytes --]

--
gentoo-dev@gentoo.org mailing list

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

* Re: [gentoo-dev] Compaq - HP Server Management drivers and agents.
@ 2003-05-30 22:23 Joshua Brindle
  0 siblings, 0 replies; 3+ messages in thread
From: Joshua Brindle @ 2003-05-30 22:23 UTC (permalink / raw
  To: gentoo-dev, Simpson, Brett; +Cc: rippeld

Actually I would.. I run gentoo on all Compaq proliants including
ml 350, ml 370's, dl 360's and dl 380's..

Our main servers are on dl 380's, does this software work on those?
That'd be optimal since that is what we'll be using at least for the 
time being for most of our servers. Also.. If you'd like
the ebuild in portage (and i'd be happy to do it once it's fixed up)
please write a bug, you can assign it directly to me if you wish.

Thanks..


>To all of those who are running Compaq/HP Proliant servers I have attached an 
>initial ebuild. The hpasm-6.30.0.12.tar.bz2 file is based off the 
>hpasm-6.30.0-12.Redhat8_0.i386.rpm but had to be signifcantly changed. 
>So far it works on a DL360 G1 and G2 (shows the temps, fan speed, and logs) 
>but I had to make a considerable amount of changes to get it to work cleanly 
>due to tons of files using rc.d in there paths. What I was wondering is if 
>anyone else who has a proliant server running gentoo would like to help out 
>in testing and improving the ebuild? 
>
>Eventually I would also like to get the storage, network, survey, array 
>config, and any other software working.


Joshua Brindle

--
gentoo-dev@gentoo.org mailing list


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

* Re: [gentoo-dev] Compaq - HP Server Management drivers and agents.
@ 2003-05-31 19:54 Brett Simpson
  0 siblings, 0 replies; 3+ messages in thread
From: Brett Simpson @ 2003-05-31 19:54 UTC (permalink / raw
  To: gentoo-dev, method; +Cc: David Rippel

I have tried it on a DL360G1, DL360G2, and a DL380G2 and the only problem I ran into was trying to run hpimlview. It gave me a memory error when I ran it through an ssh session. Otherwise the fans quiet down and all the other info from /proc seems ok. 

I'll open a new bug for this ebuild.

Brett 

>>> Joshua Brindle <method@gentoo.org> 05/31/03 14:06 PM >>>
Actually I would.. I run gentoo on all Compaq proliants including
ml 350, ml 370's, dl 360's and dl 380's..

Our main servers are on dl 380's, does this software work on those?
That'd be optimal since that is what we'll be using at least for the 
time being for most of our servers. Also.. If you'd like
the ebuild in portage (and i'd be happy to do it once it's fixed up)
please write a bug, you can assign it directly to me if you wish.


--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2003-05-31 19:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-30 19:31 [gentoo-dev] Compaq - HP Server Management drivers and agents Brett Simpson
  -- strict thread matches above, loose matches on Subject: below --
2003-05-30 22:23 Joshua Brindle
2003-05-31 19:54 Brett Simpson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox