www.mamboteam.com
Debian Linux (on HP)  
Home arrow Forum
Friday, 30 July 2010
 
 
HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support

gfx* Home Help Search Calendar Login Registergfx
Debian on HP, Linux  |  Debian on HP (HP software: agents, drivers and such)  |  HP System Management  |  HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support « previous next »
Pages: [1] 2 Print
Author Topic: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support  (Read 6487 times)
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« on: February 18, 2006, 05:45:11 pm »

hi everyone.

This release should be pretty easy to install, but isnt tested much.
post problems or questions about this release here.
Logged
folke
Newbie
*
Offline Offline

Posts: 4


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #1 on: February 28, 2006, 08:44:51 am »

We are installing a dl380g4 and thinking about using this agents.
Anyone tried this out and can comment about it?

If this works well, we will add the agents to our other deb servers to.

Anything that we must think about before doing this?

--
Regards Folke
Sweden
Logged
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #2 on: February 28, 2006, 10:08:11 am »


Anything that we must think about before doing this?


not really.

but everybody should remember this isnt tested much yet.
it works great here, but i wouldnt use it in a productive environment by now.
Logged
stoffell
Administrator
Sr. Member
*****
Offline Offline

Posts: 74

Carpe Diem


View Profile WWW
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #3 on: March 01, 2006, 08:06:37 am »

We are installing a dl380g4 and thinking about using this agents.
Anyone tried this out and can comment about it?

I have tested them on an ML350G4p and an ML350G3 (both now production servers), went very well.
The script is pretty straight forward, make sure you read the readme, and install the dependencies. (alien,wget and fakeroot if I'm not mistaken)

If for any reason you should encounter problems (unlikely, but still Wink) please post here..

cheers
Logged
folke
Newbie
*
Offline Offline

Posts: 4


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #4 on: March 01, 2006, 11:22:52 am »

I'll give it a go today.

The new server will be on a dev enviroment at first..

--
Regards Folke
Logged
tatamisi
Newbie
*
Offline Offline

Posts: 2


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #5 on: March 22, 2006, 03:09:31 pm »

I've installed hpasm using script from this site on Compaq Proliant ML350 G3 on Ubuntu Breezy. Installation process went smooth, but I'm not sure everything goes right.

In official HP  "Managing ProLiant servers with Linux Howto"http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00223285/c00223285.pdf
I read:
Quote
The drivers and agents are inserted immediately. However, the Health Monitor may take more than two minutes to load, which is expected behavior.
On systems with variable speed fans, you may notice that the fans will start spinning more slowly if the temperature is reasonably low.

Hpasm on my machine have started in 1 second (not 2 minutes) and fans have spinned as fast as before.

Further, in the same howto I found:
Quote
To check if the Health Monitor is loaded properly, type [...]
ps -efm | grep hpasmd
You should see a listing of the processes named hpasmd. There will be 12+ of these entries.
There was only one such an entry.
hplog -v shows only one event, from 22th february - I installed hpasm on 21 th march...

Is this normal behaviour?

cheers

tatamisi
« Last Edit: March 22, 2006, 03:11:30 pm by Wojciech Kowalczuk » Logged
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #6 on: March 23, 2006, 10:30:53 am »

Quote
Hpasm on my machine have started in 1 second (not 2 minutes) and fans have spinned as fast as before.

i have the agents installed on suse too, and they never took long to load. however stopping of the Health Monitor take some time.
check with hplog -f how your fans working, and with hplog -t check the temp.
my fans always spin low, perhaps because the temp never rise too much.

Quote
There was only one such an entry.

when i do a ps -efm | grep hpasmd i have 12+ processes like discribed.

Quote
hplog -v shows only one event, from 22th february - I installed hpasm on 21 th march...

what you see there is your Integrated Management Log. try plugging out an redundant powersupply or a raid disc.
you should see events there.
« Last Edit: March 23, 2006, 10:32:34 am by mutombo » Logged
tatamisi
Newbie
*
Offline Offline

Posts: 2


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #7 on: March 24, 2006, 01:50:38 pm »

Hi,
Quote
# hplog -t
ID     TYPE        LOCATION      STATUS    CURRENT  THRESHOLD
 1  ADM1029      System Board    Nominal   91F/ 33C 125F/ 52C
 2  ADM1029      CPU (1)         Nominal   84F/ 29C 140F/ 60C
 3  ADM1029      CPU (2)         Nominal   75F/ 24C 140F/ 60C

# hplog -f
ID     TYPE        LOCATION      STATUS  REDUNDANT FAN SPEED
 1  Auto. Speed  Processor Zone  Nominal    N/A     Automatic
 2  Auto. Speed  I/O Zone        Nominal    N/A     Automatic
Fans are spinning with maximum speed all the time.

As you suggested, I removed raid disc, there's no entry about it in hplog -v output.
I have no idea how to debug this problem.

cheers
tatamisi
Logged
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #8 on: March 24, 2006, 03:16:13 pm »

this is my output:


Code:
dclx01:~# hplog -t
ID     TYPE        LOCATION      STATUS    CURRENT  THRESHOLD
 1  ADM1022      Processor Zone  Nominal  111F/ 44C 143F/ 62C
 2  Maxim 1617   CPU (1)         Nominal  131F/ 55C 163F/ 73C
 3  ADM1022      I/O Zone        Nominal  118F/ 48C 154F/ 68C
 4  Maxim 1617   CPU (2)         Absent   ---F/---C ---F/---C
 5  ADM1022      Pwr. Supply Bay Nominal   98F/ 37C 131F/ 55C

dclx01:~# hplog -f
ID     TYPE        LOCATION      STATUS  REDUNDANT FAN SPEED
 1  Var. Speed   Processor Zone  Nominal    Yes     Low    (  8)
 2  Var. Speed   Processor Zone  Nominal    Yes     Low    (  8)
 3  Var. Speed   I/O Zone        Nominal    Yes     Low    ( 15)
 4  Var. Speed   I/O Zone        Nominal    Yes     Low    ( 15)
 5  Var. Speed   Processor Zone  Nominal    Yes     Low    (  8)
 6  Var. Speed   Processor Zone  Nominal    Yes     Low    (  8)
 7  Var. Speed   Pwr. Supply Bay Nominal    Yes     Low    ( 20)
 8  Var. Speed   Pwr. Supply Bay Nominal    Yes     Low    ( 20)



here i plugged out and in the powersupply

Code:

dclx01:~# hplog -v

ID   Severity       Initial Time      Update Time       Count
-------------------------------------------------------------
0000 Information    17:14  02/21/2006 17:14  02/21/2006 0001
LOG: IML cleared through HP ProLiant Health Agent (cmahealthd)

0001 Caution        15:08  03/24/2006 15:08  03/24/2006 0001
LOG: System Power Supply: General Failure (Power Supply 2)

0002 Caution        15:08  03/24/2006 15:08  03/24/2006 0001
LOG: System Power Supplies Not Redundant

dclx01:~# hplog -v

ID   Severity       Initial Time      Update Time       Count
-------------------------------------------------------------
0000 Information    17:14  02/21/2006 17:14  02/21/2006 0001
LOG: IML cleared through HP ProLiant Health Agent (cmahealthd)

0001 Repaired       15:08  03/24/2006 15:09  03/24/2006 0001
LOG: System Power Supply: General Failure (Power Supply 2)

0002 Repaired       15:08  03/24/2006 15:09  03/24/2006 0001
LOG: System Power Supplies Not Redundant


you see how the Caution change to Repaired.

im sorry but i dont have a ML350 here right now.

perhaps check the bios for fan speed, some ML have their config there.

http://debian.catsanddogs.com/component/option,com_smf/Itemid,32/topic,21.0

about your empty IML thats weird, you should check via your ILO board if the problems listed there.



P.S. thinking about the fansyndrom, if there no documentation which server has which fansystem, perhaps we should start collecting this information.
« Last Edit: March 24, 2006, 03:23:51 pm by mutombo » Logged
yom
Newbie
*
Offline Offline

Posts: 2


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #9 on: March 31, 2006, 03:24:55 pm »

Hi,

I tried to get that package compiling on sarge-amd64, with no luck. Here's the build.log :
Code:
dpkg-buildpackage: source package is hpasm
dpkg-buildpackage: source version is 7.4.0-56
dpkg-buildpackage: source maintainer is Christian Michallek <cm@data-consult.de>
dpkg-buildpackage: host architecture is amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
# TL: nothing to be cleaned
#-/usr/bin/make clean
dh_clean
 dpkg-source -b debian
dpkg-source: warning: source directory `./debian' is not <sourcepackage>-<upstreamversion> `hpasm-7.4.0'
dpkg-source: building hpasm in hpasm_7.4.0-56.tar.gz
dpkg-source: building hpasm in hpasm_7.4.0-56.dsc
 debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
# TL: nothing to be compiled
#/usr/bin/make
#docbook-to-man debian/hpasm.sgml > hpasm.1
touch build-stamp
 fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
# Add here commands to install the package into debian/hpasm.
# TL: just copy all files
#/usr/bin/make install DESTDIR=/root/debian/debian/hpasm
cp -a etc opt sbin usr /root/debian/debian/hpasm
cp -a install /root/debian/debian/hpasm/opt/compaq/utils/
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps -l debian/hpasm/opt/compaq/hpasm/addon --exclude=cmhp.o --exclude=cmhp_lib.o
debian/hpasm/opt/compaq/foundation/bin/cmahostd: error while loading shared libraries: libfakeroot-sysv.so.0: cannot open shared object file: No such file or directory
dpkg-shlibdeps: failure: ldd on `debian/hpasm/opt/compaq/foundation/bin/cmahostd' gave error exit status 1
dh_shlibdeps: command returned error code 256
make: *** [binary-arch] Error 1

/usr/lib/fakeroot-sysv.so.0 exists, /usr/lib is in /etc/ld.so.conf, and 'ldconfig' was issued. However, the linking still fails. Any idea ?
Logged
mutombo
Administrator
Sr. Member
*****
Offline Offline

Posts: 72


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #10 on: March 31, 2006, 03:42:32 pm »

seems like a fakeroot problem,
but i cant test it because i have no 64bit system here right now.

you could try to run the build without fakeroot.
or try it without 64bit support.
Logged
yom
Newbie
*
Offline Offline

Posts: 2


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #11 on: March 31, 2006, 05:31:13 pm »

You were right, compilation succeeded without fakeroot. Here's the patch for the installation script to compile on amd64 archs :
Code:
--- HPasm-rpm2deb-sarge.sh      2006-03-31 17:27:55.000000000 +0200
+++ HPasm-rpm2deb-sarge-amd64.sh        2006-03-31 16:39:41.000000000 +0200
@@ -11,7 +11,7 @@
 FTPSITE=ftp://ftp.compaq.com/pub/products/servers/supportsoftware/linux/
 HPASM=hpasm-7.4.0
 HPASM_SV=-56
-HPASM_DIS=.sles8.i386.rpm
+HPASM_DIS=.sles8.x86_64.rpm
 
 
 #
@@ -1447,7 +1447,7 @@
 _EOT_
 
 chmod +x debian/rules
-dpkg-buildpackage -us -uc -rfakeroot >../build.log 2>&1
+dpkg-buildpackage -us -uc >../build.log 2>&1
 
 cd ..
 rm -rf debian
@@ -1455,7 +1455,7 @@
 echo ""
 echo "You can install those packages with:"
 echo ""
-echo "  # dpkg -i ${HPASM}${HPASM_SV}_i386.deb"
+echo "  # dpkg -i ${HPASM}${HPASM_SV}_amd64.deb"
 echo ""
 echo "Make sure you have all the dependencies installed on your system:"
 echo ""
Thanks for your help.
Logged
Snape
Newbie
*
Offline Offline

Posts: 2


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #12 on: April 12, 2006, 12:28:14 am »

Not having any problems per se, but I'm more concerned with how these processes run in a "normal" sarge environment.  Functionality is as expected, but hpasm seems to spawn a LOT of processes (more than its older cousins).  The original RPMs on RHEL run pretty much 1 task per process (even hpasmd runs only one process contrary to the documentation), but on sarge, I see a lot of hpasmd and cmahealthd processes- although they don't seem to be eating up excess memory or CPU cycles....

For example:
  641 ?        00:00:00 hpasmd
  656 ?        00:00:00 cmathreshd
  658 ?        00:00:01 cmahostd
  667 ?        00:00:00 cmapeerd
  705 ?        00:00:00 cmastdeqd
  713 ?        00:00:00 cmahealthd
  755 ?        00:00:00 cmapeerd
  757 ?        00:00:00 cmapeerd
  779 ?        00:00:00 cmaeventd
  785 ?        00:00:00 cmaidad
  791 ?        00:00:00 cmafcad
  797 ?        00:00:00 cmaided
  872 ?        00:00:00 hpasmd
  873 ?        00:00:00 hpasmd
  874 ?        00:00:01 hpasmd
  875 ?        00:00:00 hpasmd
  876 ?        00:00:08 hpasmd
  877 ?        00:00:00 hpasmd
  879 ?        00:00:00 hpasmd
  880 ?        00:00:00 hpasmd
  881 ?        00:00:00 hpasmd
  882 ?        00:00:00 hpasmd
  883 ?        00:00:00 hpasmd
  884 ?        00:00:00 hpasmd
  885 ?        00:00:00 cmahealthd
  886 ?        00:00:00 cmahealthd
  887 ?        00:00:00 cmastdeqd
  888 ?        00:00:00 cmahealthd
  889 ?        00:00:00 cmastdeqd
  890 ?        00:00:00 cmahealthd
  891 ?        00:00:00 cmahealthd
  892 ?        00:00:00 cmahealthd
  893 ?        00:00:00 cmahealthd
  926 ?        00:00:00 cmahostd
  935 ?        00:00:00 cmafcad
  945 ?        00:00:00 cmaided

All those processes are running on 1 server.  Is this common?
Logged
Snape
Newbie
*
Offline Offline

Posts: 2


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #13 on: April 24, 2006, 04:28:34 pm »

Figured it out...if this set of scripts is used on a 2.4 kernel, it spawns mutiple processes per task.  On 2.6, it works fine.  So if your machine is running 2.4, convert the RHEL2.1 packages instead of the UL packages.
Logged
Castor
Newbie
*
Offline Offline

Posts: 3


View Profile
Re: HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support
« Reply #14 on: October 09, 2006, 04:58:25 pm »

Hi everybody!

I'm trying to install this management stuff on an ML350 G3. Can anybody help me, where can I download this rpm2deb script, and which version to use for Debian Sarge?


Thanks, Regards.

Logged
Debian on HP, Linux  |  Debian on HP (HP software: agents, drivers and such)  |  HP System Management  |  HPasm-rpm2deb-sarge.sh (hpasm_7.4.0-56) support « previous next »
Pages: [1] 2 Print 
Jump to:  
Powered by MySQL Powered by PHP Powered by SMF 1.1 RC3 | SMF © 2001-2006, Lewis Media
Joomla Bridge by JoomlaHacks.com

Apollo design by Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.063 seconds with 18 queries.
 
Top! Top!