View previous topic :: View next topic |
Author |
Message |
Ika7734 n00b

Joined: 29 Jan 2004 Posts: 7
|
Posted: Mon Feb 23, 2004 5:39 pm Post subject: compaq (hp) Insight agents installation |
|
|
Has anyone tried this on a Compaq (HP) DL360?
I've managed to get the HP specific SNMP working, however, when I try to get the HPASM working I get a ton of /etc/rc.d/init.d/functions file not found.
the functions file appears to be redhat specific (that's the installs HP wants to use, binary RPMS). Does anyone have a gentoo version of the functions file? I'm no real script wizard and any help would be appreciated. |
|
Back to top |
|
 |
Ika7734 n00b

Joined: 29 Jan 2004 Posts: 7
|
Posted: Thu Jul 22, 2004 5:07 pm Post subject: |
|
|
Well after a long time of not focusing on this, I'm back at it.
I successfully got insight to load and run, but I can't get it to start on boot.
I've done the rc-update but the boot process seems to ignore it.
If I'm logged in as root, I can simply run /etc/init.d/hpasm start and it fires up, but not at boot, I don't even see an attempt.
I don't know much about how rc-update works, so do I need to tweak the scripts in /etc/init.d to make rc-update happy? |
|
Back to top |
|
 |
veezi Apprentice


Joined: 10 Nov 2003 Posts: 226
|
Posted: Fri Jul 23, 2004 12:14 am Post subject: |
|
|
Are you trying to manually install hpasm (downloaded from HP)? Or, are you talking about the version currently in portage (app-admin/hpasm)? |
|
Back to top |
|
 |
Ika7734 n00b

Joined: 29 Jan 2004 Posts: 7
|
Posted: Fri Jul 23, 2004 1:12 am Post subject: |
|
|
There's one in portage?!
Aaack, silly me I thought it was proprietary crap. I was trying to use the ones from HP's site and munging the stuff from the RedHat RPMS...
I'll give it a go with portage. Thanks! |
|
Back to top |
|
 |
veezi Apprentice


Joined: 10 Nov 2003 Posts: 226
|
Posted: Fri Jul 23, 2004 4:55 am Post subject: |
|
|
Keep in mind the one in portage is pretty old now (version 6.3), while hpasm is at 7.1 right now.
If I were you I'd try to make my own ebuild of 7.1 by copying what's in 6.3. If you get that to work you might want to file a bug report at bugs.gentoo.org, and get the developer to pumb the ebuild to the latest version.
Also, case you didn't know, HP has a linux version of hpsim (HP Systems Insight Manager). Very nice software for managing proliants. Check it out at http://www.hp.com/servers/manage.
Good luck! |
|
Back to top |
|
 |
Ika7734 n00b

Joined: 29 Jan 2004 Posts: 7
|
Posted: Fri Jul 23, 2004 12:57 pm Post subject: |
|
|
I'm going to give the 6.3 in portage a try first.
I managed to get the hp supplied ones base installs to work from a manual start, except the storage agents, they validate the disto. I just couldn't get them to start on boot. Right now I know enough about Gentoo to be really dangerous, and haven't looked into making ebuilds just yet. |
|
Back to top |
|
 |
tuxus Retired Dev

Joined: 03 Nov 2002 Posts: 15
|
|
Back to top |
|
 |
TuxFriend Apprentice


Joined: 14 Aug 2002 Posts: 151
|
Posted: Sat Nov 13, 2004 2:43 pm Post subject: |
|
|
Yahoo!!!, thanks a lot, any plans to add this to the portage tree like the old version? |
|
Back to top |
|
 |
tweibley n00b

Joined: 11 Nov 2003 Posts: 12
|
Posted: Sat Nov 13, 2004 5:29 pm Post subject: |
|
|
Can someone please give me instructions on how to properly emerge these ebuilds? Just download them with wget to where? Etc.
Thanks in advance,
--Taylor < >< _________________ --Taylor < >< |
|
Back to top |
|
 |
TuxFriend Apprentice


Joined: 14 Aug 2002 Posts: 151
|
|
Back to top |
|
 |
tweibley n00b

Joined: 11 Nov 2003 Posts: 12
|
Posted: Sat Nov 13, 2004 6:03 pm Post subject: |
|
|
/etc/init.d/hpasm start --->
Code: |
Enabling Advanced Server Management at Sat Nov 13 13:29:57 EST 2004 on Linux kernel: 2.6.7-gentoo-r9
The hp ProLiant Event Logging Driver is not available
for this Linux kernel: 2.6.7-gentoo-r9
Looking for sources to build 2.6.7-gentoo-r9
Sources for Linux kernel 2.6.7-gentoo-r9 have been located
Recompiling cpqevt for current Linux Kernel . . .
Creating directory "/opt/compaq/cpqhealth/cpqevt/2.6.7-gentoo-r9"
Replacing /opt/compaq/cpqhealth/cpqevt/2.6.7-gentoo-r9/cpqevt.o at Sat Nov 13 13:29:58 EST 2004 . . .
Custom cpqevt Driver installed . . .
Reloading the hp ProLiant Advanced Server Management Event module . . .
insmod: error inserting '/opt/compaq/cpqhealth/cpqevt/2.6.7-gentoo-r9/cpqevt.o': -1 Invalid module format
WARNING! The hpasm RPM is not compatible with this kernel.
See /opt/compaq/cpqhealth/cpqhealth_boot.log for details.
Hint: Look for Compiler or Linker issues.
WARNING! The cpqhealth RPM has failed to install!
|
Any help?
PS This is the contents of the log file it says to look at.
PPS Can't figure out how to get to the webagent to work... this (google cached) page seems to have some info... http://64.233.179.104/search?q=cache:r0foNE6wFbgJ:h200002.www2.hp.com/bc/docs/support/SupportManual/c00067308/c00067308.pdf+hpwebsetup&hl=en _________________ --Taylor < >< |
|
Back to top |
|
 |
tuxus Retired Dev

Joined: 03 Nov 2002 Posts: 15
|
Posted: Sat Nov 13, 2004 6:54 pm Post subject: |
|
|
hpasm-7.1.0.145.1.ebuild is only for 2.4 kernel
hpasm-7.2 is for 2.6 but not ready |
|
Back to top |
|
 |
veezi Apprentice


Joined: 10 Nov 2003 Posts: 226
|
Posted: Sun Nov 14, 2004 1:35 am Post subject: |
|
|
tuxus wrote: | hpasm-7.1.0.145.1.ebuild is only for 2.4 kernel
hpasm-7.2 is for 2.6 but not ready |
Just wanted to say thank you tuxus for the great work.
When will it hit portage? |
|
Back to top |
|
 |
tweibley n00b

Joined: 11 Nov 2003 Posts: 12
|
Posted: Sun Nov 14, 2004 4:14 am Post subject: |
|
|
Yeah, thank you! I eventually gave up... glad I now know I just need to be patient for the right version to come out  _________________ --Taylor < >< |
|
Back to top |
|
 |
FLYLM n00b

Joined: 25 Mar 2004 Posts: 62 Location: France
|
Posted: Wed Nov 24, 2004 10:25 pm Post subject: |
|
|
I did not test it yet, but I say to you thank... |
|
Back to top |
|
 |
dledeaux n00b

Joined: 29 Nov 2004 Posts: 3
|
Posted: Mon Nov 29, 2004 9:07 pm Post subject: |
|
|
Which flavors of Proliants are these tools compatible with? I perused HP's website but couldn't really come up with anything conclusive. I'm working with a Compaq Proliant 2500. If these tools work with the 2500, do they also have any functions for controlling the LCD screen? |
|
Back to top |
|
 |
lojack n00b

Joined: 24 Jun 2004 Posts: 28 Location: Newark, DE (USA)
|
Posted: Fri Mar 04, 2005 3:04 am Post subject: |
|
|
tuxus wrote: | hpasm-7.1.0.145.1.ebuild is only for 2.4 kernel
hpasm-7.2 is for 2.6 but not ready |
Can I beg you to finish the 7.2 ebuild??? I'm dying to get SLES9 off of this Proliant DL320.
I'd be happy to test it!
TIA
Chris/cms |
|
Back to top |
|
 |
pitcrawler Apprentice


Joined: 09 Jan 2005 Posts: 155 Location: Oklahoma, USA
|
Posted: Thu Mar 10, 2005 12:14 pm Post subject: |
|
|
From looking at the hpasm 7.1 and 7.2 packages, they look quite similar, so the 7.1 ebuild hopefully shouldn't take much modification. I got the redhat x64_emt64 7.1 version of the package partially working on a DL380 server with gentoo before , but I may soon have a go at getting the new version to work soon. I just don't want to mess anything up with the server as it's in almost constant use. |
|
Back to top |
|
 |
strolls n00b

Joined: 17 Mar 2003 Posts: 18
|
Posted: Mon Mar 14, 2005 6:45 am Post subject: |
|
|
pitcrawler wrote: | From looking at the hpasm 7.1 and 7.2 packages, they look quite similar, so the 7.1 ebuild hopefully shouldn't take much modification. |
Holy frick! I'm glad someone thinks this'll be easy! I just took a look at the hpasm-7.1.0.145.1.ebuild & it looks murderous to me!
pitcrawler wrote: | I got the redhat x64_emt64 7.1 version of the package partially working on a DL380 server with gentoo before , but I may soon have a go at getting the new version to work soon. I just don't want to mess anything up with the server as it's in almost constant use. |
Oooh! How soon? I've just installed Gentoo on my new Proliant 6500. If I'm right in thinking that these tools will enable me to set alerts when hard-drives are removed & suchlike, then this'd be a killer feature for me. I'm sure I'm not the only person who'd be glad to help test.
Stroller. |
|
Back to top |
|
 |
pitcrawler Apprentice


Joined: 09 Jan 2005 Posts: 155 Location: Oklahoma, USA
|
Posted: Mon Mar 14, 2005 3:38 pm Post subject: |
|
|
I just installed the hpasm-7.2.1-313.rhel4.x86_64.rpm package on my DL380 Dual Xeon EMT64 server using the standard rpm tools. I can now run 'hpasmcli' to get a command line interface to the server management tools. Everything seems to work fine. I can now experiment a bit and try and write an e-build for the package. |
|
Back to top |
|
 |
strolls n00b

Joined: 17 Mar 2003 Posts: 18
|
Posted: Tue Mar 15, 2005 5:56 pm Post subject: |
|
|
pitcrawler wrote: | I just installed the hpasm-7.2.1-313.rhel4.x86_64.rpm package on my DL380 Dual Xeon EMT64 server using the standard rpm tools. I can now run 'hpasmcli' to get a command line interface to the server management tools. Everything seems to work fine. I can now experiment a bit and try and write an e-build for the package. |
Well, you're getting further than I am! Did you `emerge rpm` & then just rpm the package? That was how I was expecting to do this in the first place, before I found this discussion.
I can't even get the previous ebuild to unpack, so I can take a look at how it works. I'm sure I must be doing something stupid.
Code: |
# ebuild unpack /usr/local/portage/app-admin/hpasm/hpasm-7.1.0.145.1.ebuild
!!! Name error in : missing a version or name part.
!!! Error: PF is null ''; exiting.
# ls /usr/local/portage/app-admin/hpasm/
ChangeLog files hpasm-6.40.0.16.ebuild metadata.xml
Manifest hpasm-6.30.0.12-r1.ebuild hpasm-7.1.0.145.1.ebuild
# ls /usr/local/portage/app-admin/hpasm/files/
digest-hpasm-6.30.0.12-r1 functions initlog
digest-hpasm-6.40.0.16 hpasm initlog.conf
digest-hpasm-7.1.0.145.1 hppasswd snmpd.conf
#
|
|
|
Back to top |
|
 |
pitcrawler Apprentice


Joined: 09 Jan 2005 Posts: 155 Location: Oklahoma, USA
|
Posted: Thu Mar 17, 2005 3:01 pm Post subject: |
|
|
I'm about to make an e-build for hpasm-7.2.1-313.rhel4.x86_64.rpm. This is for servers with 64-bit processors and the 2.6 kernel. Info on supported servers can be found at the bottom of this page.
The e-build will be based on the hpasm-6.30 ebuild which is currently in portage.
I'm only able to test it on a DL380 G4 server but it will most likely work with the other servers listed on that page. I have no idea if this rpm also works with the 2.4 kernel. but I'm guessing it doesn't. For that you would need the rhel3 version.
I did install it the way you mentioned, I did:
Code: | emerge rpm
rpm -ivh hpasm-7.2.1-313.rhel4.x86_64.rpm |
The hpasm ebuild that is currently in portage simply converts the rpm to a tar.gz using the rpm2targz tool. Then it unpacks it, deletes all the symlinks in there, copies the rest of the files to the correct places then recreates the symlinks. Apparently you can't just unpack a symlink from an rpm because it just doesn't work. |
|
Back to top |
|
 |
strolls n00b

Joined: 17 Mar 2003 Posts: 18
|
Posted: Thu Mar 17, 2005 3:14 pm Post subject: |
|
|
pitcrawler wrote: | I did install it the way you mentioned, I did:
Code: | emerge rpm
rpm -ivh hpasm-7.2.1-313.rhel4.x86_64.rpm |
|
Ah! Many thanks. I think I'll be doing that myself, then. (Your ebuild won't be any good to me, as my Proliant is just an old PII).
pitcrawler wrote: | The hpasm ebuild that is currently in portage simply converts the rpm to a tar.gz using the rpm2targz tool. Then it unpacks it, deletes all the symlinks in there, copies the rest of the files to the correct places then recreates the symlinks. Apparently you can't just unpack a symlink from an rpm because it just doesn't work. |
Hmmmn... I don't understand the need for the ebuild, in that case. Excuse me if I'm missing something, but isn't distributing binary files what RPM was designed for?
Stroller. |
|
Back to top |
|
 |
Magnum_ n00b

Joined: 01 Mar 2004 Posts: 61
|
Posted: Fri May 20, 2005 1:43 pm Post subject: |
|
|
Will there be a similar e-build available for x86 please?
2.6 kernels are being used more & more frequently, and I just can't get it working... I tried rpm-installing the hpasm-7.3.0-58.ul10.i386.rpm, but it gives me dependency errors (needs /bin/sh & /bin/bash)...
I also tried the redhat package instead of unified linux... |
|
Back to top |
|
 |
strolls n00b

Joined: 17 Mar 2003 Posts: 18
|
Posted: Fri May 20, 2005 6:14 pm Post subject: |
|
|
Magnum_ wrote: | ... I tried rpm-installing the hpasm-7.3.0-58.ul10.i386.rpm, but it gives me dependency errors (needs /bin/sh & /bin/bash)... |
You already have /bin/bash installed; since it behaves mostly like `sh` when invoked that way you'll find that it's symlinked to /bin/sh on most systems. You just need to "force" the rpm installation - I think there's a -f flag. |
|
Back to top |
|
 |
|