<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic HOWTO / Guide / Instructions -  Install HP PSP On CentOS 5 in ProLiant Servers (ML,DL,SL)</title>
    <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/howto-guide-instructions-install-hp-psp-on-centos-5/m-p/4652208#M103665</link>
    <description>&lt;!--!*#--&gt;How To install the HP Proliant Support Pack (PSP) on CentOS 5:&lt;BR /&gt;&lt;BR /&gt;I had a drive die and was forced to rebuild the machine from scratch (backups are your friend), and subsequently prompted me to write the doc/post. My apologies at how rough it is, it was written on the fly.&lt;BR /&gt;&lt;BR /&gt;I hope it will help others who find themselves trying to install, setup and run the HP Proliant Support Pack (PSP) on CentOS.&lt;BR /&gt;&lt;BR /&gt;The following is based on my experiences and worked for me, your milage may vary and you follow these instructions at your own risk. If there is a command run that you do not understand take the time to check the man pages to understand the command and any switches used.&lt;BR /&gt;&lt;BR /&gt;Oh, and take the time to read the output of anything that looks like an error. A little reading and critical thought can go a long way...&lt;BR /&gt;&lt;BR /&gt;1) Download drivers from HP:&lt;BR /&gt;   &lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&amp;amp;cc=us&amp;amp;prodTypeId=15351&amp;amp;prodSeriesId=3884315&amp;amp;prodNameId=3884316&amp;amp;swEnvOID=4074&amp;amp;swLang=13&amp;amp;mode=2&amp;amp;taskId=135&amp;amp;swItem=MTX-b0c5f582d85444048079a2cd0a" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&amp;amp;cc=us&amp;amp;prodTypeId=15351&amp;amp;prodSeriesId=3884315&amp;amp;prodNameId=3884316&amp;amp;swEnvOID=4074&amp;amp;swLang=13&amp;amp;mode=2&amp;amp;taskId=135&amp;amp;swItem=MTX-b0c5f582d85444048079a2cd0a&lt;/A&gt;&lt;BR /&gt;   I downloaded hp-psp-8.25-18-CentOS.tar.gz&lt;BR /&gt;&lt;BR /&gt;1.a) Reference the HP PSP Support Manual&lt;BR /&gt;     &lt;A href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00472061/c00472061.pdf" target="_blank"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00472061/c00472061.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2) Software Dependencies&lt;BR /&gt;&lt;BR /&gt;   The HP PSP support Manual suggest that the following packages be installed prior to installing the HP packages.&lt;BR /&gt;&lt;BR /&gt;   I have added some packages that I found will be needed as well.&lt;BR /&gt;&lt;BR /&gt;    glib.i386 : A library of handy utility functions.&lt;BR /&gt;    glib.x86_64 : A library of handy utility functions.&lt;BR /&gt;&lt;BR /&gt;    compat-db.i386 : The Berkeley DB database library for Red Hat Linux 7.x compatibility.&lt;BR /&gt;    compat-db.x86_64 : The Berkeley DB database library for Red Hat Linux 7.x compatibility.&lt;BR /&gt;&lt;BR /&gt;    ncurses.x86_64 : A terminal handling library&lt;BR /&gt;&lt;BR /&gt;    libgcc.i386 : GCC version 4.1 shared support library&lt;BR /&gt;    libgcc.x86_64 : GCC version 4.1 shared support library&lt;BR /&gt;&lt;BR /&gt;    gcc.x86_64 : Various compilers (C, C++, Objective-C, Java, ...)&lt;BR /&gt;&lt;BR /&gt;    compat-gcc-34.x86_64 : Compatibility GNU Compiler Collection&lt;BR /&gt;&lt;BR /&gt;    compat-libstdc++-33.i386 : Compatibility standard C++ libraries&lt;BR /&gt;    compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries&lt;BR /&gt;&lt;BR /&gt;    compat-gcc-34-c++.x86_64 : C++ support for compatibility compiler&lt;BR /&gt;&lt;BR /&gt;    libstdc++.i386 : GNU Standard C++ Library&lt;BR /&gt;    libstdc++.x86_64 : GNU Standard C++ Library&lt;BR /&gt;&lt;BR /&gt;    lm_sensors.i386 : Hardware monitoring tools.&lt;BR /&gt;    lm_sensors.x86_64 : Hardware monitoring tools.&lt;BR /&gt;&lt;BR /&gt;    net-snmp-libs.i386 : The NET-SNMP runtime libraries.&lt;BR /&gt;    net-snmp-libs.x86_64 : The NET-SNMP runtime libraries.&lt;BR /&gt;&lt;BR /&gt;    net-snmp.x86_64 : A collection of SNMP protocol tools and libraries.&lt;BR /&gt;&lt;BR /&gt;    kernel-devel.x86_64 : Development package for building kernel modules to match the kernel.&lt;BR /&gt;&lt;BR /&gt;2.a) Install the dependencies&lt;BR /&gt;&lt;BR /&gt;     [root@server ~]# yum install glib.i386 glib.x86_64 compat-db.i386 compat-db.x86_64 ncurses.x86_64 libgcc.i386 libgcc.x86_64 gcc compat-gcc-34.x86_64 compat-libstdc++-33.i386 compat-libstdc++-33.x86_64 compat-gcc-34-c++.x86_64 libstdc++.i386 libstdc++.x86_64 lm_sensors.i386 lm_sensors.x86_64 net-snmp-libs.i386 net-snmp-libs.x86_64 net-snmp.x86_64 kernel-devel.x86_64&lt;BR /&gt;&lt;BR /&gt;3) Build the kernel config&lt;BR /&gt;&lt;BR /&gt;   [root@server ~]# cd /usr/src/kernels/2.6.18-194.3.1.el5-x86_64&lt;BR /&gt;   [root@server 2.6.18-194.3.1.el5-x86_64]# make oldconfig &amp;amp;&amp;amp; make prepare&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4) Unarchive the HP PSP support pack&lt;BR /&gt;&lt;BR /&gt;   [root@server ~]# tar zxvf hp-psp-8.25-18-CentOS.tar.gz&lt;BR /&gt;&lt;BR /&gt;5) Go to the directory with the packages you need for your arch&lt;BR /&gt;&lt;BR /&gt;   [root@server ~]# cd psp/centos/5/x86_64/current/&lt;BR /&gt;&lt;BR /&gt;6) Install the HP PSP packages (follow this order as some depend on others).&lt;BR /&gt;&lt;BR /&gt;6.a) Install the hp-OpenIPMI package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-OpenIPMI-8.2.5-34.rhel5.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;     You should see it compile the drivers and hopefully not see any errors or failures.&lt;BR /&gt;&lt;BR /&gt;6.b) Install hp-ilo package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-ilo-8.2.5-22.rhel5.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;6.c) Install the hp-health package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-health-8.2.5-50.rhel5.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;6.d) Install the hpacucli package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hpacucli-8.28-13.0.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;6.e) Install the hponcfg package&lt;BR /&gt;&lt;BR /&gt;    [root@server current]# yum localinstall --nogpgcheck hponcfg-1.9.0-3.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;6.f) Install the hpmouse package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hpmouse-1.1.2-33.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;     **********  NOTICE *************&lt;BR /&gt;     Please follow the steps below to configure this system.&lt;BR /&gt;     cd /opt/hp/hpmouse&lt;BR /&gt;     Run "sh ./hpmouse activate" to configure X.&lt;BR /&gt;     The X server must be restarted for the changes to take effect.&lt;BR /&gt;     See /opt/hp/hpmouse/hpmouse-README for details&lt;BR /&gt;&lt;BR /&gt;6.g) Install the HP SMH package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hpsmh-3.0.1-73.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;     **********************************************************&lt;BR /&gt;     * System Management Homepage installed successfully with *&lt;BR /&gt;     * default configuration values.   To change the default  *&lt;BR /&gt;     * configuration values,  type the following command at   *&lt;BR /&gt;     * the root prompt:                                       *&lt;BR /&gt;     *                                                        *&lt;BR /&gt;     * /opt/hp/hpsmh/sbin/smhconfig                           *&lt;BR /&gt;     *                                                        *&lt;BR /&gt;     **********************************************************&lt;BR /&gt;&lt;BR /&gt;6.h) Install the hp-snmp-agents package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-snmp-agents-8.2.5-50.rhel5.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;     ==============================================================================&lt;BR /&gt;     NOTE: In order to activate the software contained in this package, you must&lt;BR /&gt;           type '/sbin/hpsnmpconfig' as 'root' user.&lt;BR /&gt;           Once configuration is completed start the agents by typing&lt;BR /&gt;           /etc/init.d/hp-snmp-agents start&lt;BR /&gt;     ==============================================================================&lt;BR /&gt;&lt;BR /&gt;6.i) Install the HP SMH Templates&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-smh-templates-8.2.5-41.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;6.j) Install the cpqacuxe package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck cpqacuxe-8.28-13.0.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;6.k) Install the hp-diags package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hpdiags-8.2.5-7.linux.i586.rpm&lt;BR /&gt;&lt;BR /&gt;7) Start the hp-health service&lt;BR /&gt;&lt;BR /&gt;   /etc/init.d/hp-health start&lt;BR /&gt;&lt;BR /&gt;8) Configure the hp-snmp-agents service&lt;BR /&gt;&lt;BR /&gt;   This is what tripped me up the first time I installed the drivers, this is really needed for the SMH page.&lt;BR /&gt;&lt;BR /&gt;   [root@server current]# /sbin/hpsnmpconfig&lt;BR /&gt;&lt;BR /&gt;8.a) SNMP / SELinux Configuration problem.&lt;BR /&gt;&lt;BR /&gt;     The first time I set this up I didn't have any problems but after the rebuild I got the below errors:&lt;BR /&gt;&lt;BR /&gt;     [root@server ~]# tail /var/log/messages&lt;BR /&gt;      Jun 23 20:36:36 server setroubleshoot: SELinux is preventing ifconfig (ifconfig_t) "read write" to socket (initrc_t). For complete SELinux messages. run sealert -l 0d34c583-bf97-4aff-9716-603c7eee148e&lt;BR /&gt;&lt;BR /&gt;     I believe that one of the above installs of the HP packages should have taken care of the SELinux policies but this time it didn't.&lt;BR /&gt;&lt;BR /&gt;     Running the following command will check /var/log/messages and show you the rule that needs to be put in place.&lt;BR /&gt;&lt;BR /&gt;     [root@server targeted]# audit2allow -a&lt;BR /&gt;&lt;BR /&gt;      #============= ifconfig_t ==============&lt;BR /&gt;      allow ifconfig_t initrc_t:netlink_route_socket { read write };&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     Then I used the following command to build a policy package that would enable this rule.&lt;BR /&gt;&lt;BR /&gt;     [root@server ~]# audit2allow -a -M mysemanage&lt;BR /&gt;      ******************** IMPORTANT ***********************&lt;BR /&gt;      To make this policy package active, execute:&lt;BR /&gt;&lt;BR /&gt;      semodule -i mysemanage.pp&lt;BR /&gt;&lt;BR /&gt;     [root@server ~]# semodule -i mysemanage.pp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     And that is it, with the policy in place the error messages disappeared.&lt;BR /&gt;&lt;BR /&gt;8.b) SNMP Logs&lt;BR /&gt;&lt;BR /&gt;      Speaking of SNMP messages in the logs there will be a LOT of them. And that is fine when you first setup and want to make sure everything is configured correctly but after that they are annoying filler.&lt;BR /&gt;&lt;BR /&gt;      To disable the extra messages do the following:&lt;BR /&gt;&lt;BR /&gt;      vi /etc/sysconfig/snmpd.options&lt;BR /&gt;&lt;BR /&gt;      Change the following line from:&lt;BR /&gt;&lt;BR /&gt;      #OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a"&lt;BR /&gt;&lt;BR /&gt;      To:&lt;BR /&gt;&lt;BR /&gt;      OPTIONS="-LS 0-4 d -Lf /dev/null -p /var/run/snmpd.pid -a"&lt;BR /&gt;&lt;BR /&gt;      Notice the CAPITAL S, that is important.&lt;BR /&gt;&lt;BR /&gt;      Save &amp;amp; Quit&lt;BR /&gt;&lt;BR /&gt;      Then restart the snmp service.&lt;BR /&gt;&lt;BR /&gt;      /etc/init.d/snmpd restart&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;9) Configure the SMH service&lt;BR /&gt;&lt;BR /&gt;   You can edit the file /opt/hp/hpsmh/conf/smhpd.conf by using the smhconfig command. Replace the IP with the IP of the server you are setting up on.&lt;BR /&gt;&lt;BR /&gt;   [root@server current]# /opt/hp/hpsmh/sbin/smhconfig --ip-binding-list=192.168.0.10&lt;BR /&gt;&lt;BR /&gt;10) Configure iptables to open the ports needed to use HP SMH.&lt;BR /&gt;&lt;BR /&gt;    [root@server hp]# vi /etc/sysconfig/iptables&lt;BR /&gt;&lt;BR /&gt;    You need to add ports 2381 and port 636&lt;BR /&gt;&lt;BR /&gt;    Add the following two lines ABOVE the last REJECT line.&lt;BR /&gt;&lt;BR /&gt;    -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 2381 -j ACCEPT&lt;BR /&gt;    -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 636 -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;    Save &amp;amp; Quit.&lt;BR /&gt;&lt;BR /&gt;    Restart iptables:&lt;BR /&gt;    /etc/init.d/iptables restart&lt;BR /&gt;&lt;BR /&gt;11) Start the HP SMH service&lt;BR /&gt;&lt;BR /&gt;    /etc/init.d/hpsmhd start&lt;BR /&gt;&lt;BR /&gt;12) Enable the Smart Array Configuration Utility&lt;BR /&gt;&lt;BR /&gt;    Enable the web interface to the Smart Array configuration utility by doing the following:&lt;BR /&gt;&lt;BR /&gt;    [root@server psp]# cpqacuxe --enable-remote&lt;BR /&gt;&lt;BR /&gt;13) Test the HP SMH site.&lt;BR /&gt;&lt;BR /&gt;    Go to the site from your browser:&lt;BR /&gt;    https://server-ip:2381/&lt;BR /&gt;&lt;BR /&gt;    Accept the security certificate if it's not trusted.&lt;BR /&gt;&lt;BR /&gt;    Use the root username and password to log in. On the top-right of the page you should see, under 'Data Source', 'SNMP' if you have snmp and hp-snmp-agents configured correctly and started.&lt;BR /&gt;&lt;BR /&gt;14) Configure ILO&lt;BR /&gt;&lt;BR /&gt;    [root@server ~]# hponcfg  -w ilo.cfg&lt;BR /&gt;     Firmware Revision = 1.81 Device type = iLO 2 Driver name = hpilo&lt;BR /&gt;     RILOE II/iLO configuration successfully written to file "ilo.cfg"&lt;BR /&gt;&lt;BR /&gt;    [root@server ~]# vi ilo.cfg&lt;BR /&gt;&lt;BR /&gt;    Edit the following line and change the password:&lt;BR /&gt;      &lt;LOGIN user_login="Administrator" password="password"&gt;&lt;BR /&gt;&lt;BR /&gt;    It may also be a good diea to edit the networking settings and set a static IP on the ILO interface.&lt;BR /&gt;&lt;BR /&gt;    Save &amp;amp; Quit.&lt;BR /&gt;&lt;BR /&gt;    Load the new config file:&lt;BR /&gt;     [root@server ~]# hponcfg -f ilo.cfg&lt;BR /&gt;      Firmware Revision = 1.81 Device type = iLO 2 Driver name = hpilo&lt;BR /&gt;      &lt;INFORM&gt;Integrated Lights-Out will reset at the end of the script.&lt;/INFORM&gt;&lt;BR /&gt;      Please wait while the firmware is reset. This might take a minute&lt;BR /&gt;      Script succeeded&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;15) Test ILO login out.&lt;BR /&gt;&lt;BR /&gt;    If you set a static IP go to that address in a browser&lt;BR /&gt;&lt;BR /&gt;    https://server-ilo/&lt;BR /&gt;&lt;BR /&gt;    You *should* be able to log in with the account 'Administrator' and whatever password you set.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;16) Verify the services...&lt;BR /&gt;&lt;BR /&gt;    Use the following command to verify that the services are enabled at boot:&lt;BR /&gt;&lt;BR /&gt;    [root@server hp]# chkconfig --list | egrep 'hp|snmp'&lt;BR /&gt;    hp-health           0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;    hp-ilo              0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;    hp-snmp-agents      0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;    hpsmhd              0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;    snmpd               0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;    snmptrapd           0:off   1:off   2:off   3:on    4:off   5:off   6:off&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Final Notes:&lt;BR /&gt;&lt;BR /&gt;Sorry for the poor writing, I was just noting things down as I was working and should have spent more time editing before posting.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am also very sorry I didn't post all of the sources I used to sort all this mess out. Part of it was I had already done it before and the other part is I didn't think of recording the sources till it was too late.&lt;BR /&gt;&lt;BR /&gt;If you have any suggestions/edits let me know. I am going to track down a wiki I can post this up on so others can contribute if they feel like it. I'll try to post a link once I get it going.&lt;BR /&gt;&lt;BR /&gt;Some sources I used:&lt;BR /&gt;&lt;BR /&gt;  Google in general. :)&lt;BR /&gt;&lt;BR /&gt;  Site I used to fix my SNMP/SELinux problem:&lt;BR /&gt;    &lt;A href="http://www.centos.org/docs/5/html/Deployment_Guide-en-US/sec-sel-building-policy-module.html" target="_blank"&gt;http://www.centos.org/docs/5/html/Deployment_Guide-en-US/sec-sel-building-policy-module.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  Turning down the SNMP logging:&lt;BR /&gt;    &lt;A href="http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/" target="_blank"&gt;http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/&lt;/A&gt;&lt;BR /&gt;&lt;/LOGIN&gt;</description>
    <pubDate>Thu, 24 Jun 2010 02:23:01 GMT</pubDate>
    <dc:creator>Woody2143</dc:creator>
    <dc:date>2010-06-24T02:23:01Z</dc:date>
    <item>
      <title>HOWTO / Guide / Instructions -  Install HP PSP On CentOS 5</title>
      <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/howto-guide-instructions-install-hp-psp-on-centos-5/m-p/4652208#M103665</link>
      <description>&lt;!--!*#--&gt;How To install the HP Proliant Support Pack (PSP) on CentOS 5:&lt;BR /&gt;&lt;BR /&gt;I had a drive die and was forced to rebuild the machine from scratch (backups are your friend), and subsequently prompted me to write the doc/post. My apologies at how rough it is, it was written on the fly.&lt;BR /&gt;&lt;BR /&gt;I hope it will help others who find themselves trying to install, setup and run the HP Proliant Support Pack (PSP) on CentOS.&lt;BR /&gt;&lt;BR /&gt;The following is based on my experiences and worked for me, your milage may vary and you follow these instructions at your own risk. If there is a command run that you do not understand take the time to check the man pages to understand the command and any switches used.&lt;BR /&gt;&lt;BR /&gt;Oh, and take the time to read the output of anything that looks like an error. A little reading and critical thought can go a long way...&lt;BR /&gt;&lt;BR /&gt;1) Download drivers from HP:&lt;BR /&gt;   &lt;A href="http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&amp;amp;cc=us&amp;amp;prodTypeId=15351&amp;amp;prodSeriesId=3884315&amp;amp;prodNameId=3884316&amp;amp;swEnvOID=4074&amp;amp;swLang=13&amp;amp;mode=2&amp;amp;taskId=135&amp;amp;swItem=MTX-b0c5f582d85444048079a2cd0a" target="_blank"&gt;http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en&amp;amp;cc=us&amp;amp;prodTypeId=15351&amp;amp;prodSeriesId=3884315&amp;amp;prodNameId=3884316&amp;amp;swEnvOID=4074&amp;amp;swLang=13&amp;amp;mode=2&amp;amp;taskId=135&amp;amp;swItem=MTX-b0c5f582d85444048079a2cd0a&lt;/A&gt;&lt;BR /&gt;   I downloaded hp-psp-8.25-18-CentOS.tar.gz&lt;BR /&gt;&lt;BR /&gt;1.a) Reference the HP PSP Support Manual&lt;BR /&gt;     &lt;A href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00472061/c00472061.pdf" target="_blank"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c00472061/c00472061.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2) Software Dependencies&lt;BR /&gt;&lt;BR /&gt;   The HP PSP support Manual suggest that the following packages be installed prior to installing the HP packages.&lt;BR /&gt;&lt;BR /&gt;   I have added some packages that I found will be needed as well.&lt;BR /&gt;&lt;BR /&gt;    glib.i386 : A library of handy utility functions.&lt;BR /&gt;    glib.x86_64 : A library of handy utility functions.&lt;BR /&gt;&lt;BR /&gt;    compat-db.i386 : The Berkeley DB database library for Red Hat Linux 7.x compatibility.&lt;BR /&gt;    compat-db.x86_64 : The Berkeley DB database library for Red Hat Linux 7.x compatibility.&lt;BR /&gt;&lt;BR /&gt;    ncurses.x86_64 : A terminal handling library&lt;BR /&gt;&lt;BR /&gt;    libgcc.i386 : GCC version 4.1 shared support library&lt;BR /&gt;    libgcc.x86_64 : GCC version 4.1 shared support library&lt;BR /&gt;&lt;BR /&gt;    gcc.x86_64 : Various compilers (C, C++, Objective-C, Java, ...)&lt;BR /&gt;&lt;BR /&gt;    compat-gcc-34.x86_64 : Compatibility GNU Compiler Collection&lt;BR /&gt;&lt;BR /&gt;    compat-libstdc++-33.i386 : Compatibility standard C++ libraries&lt;BR /&gt;    compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries&lt;BR /&gt;&lt;BR /&gt;    compat-gcc-34-c++.x86_64 : C++ support for compatibility compiler&lt;BR /&gt;&lt;BR /&gt;    libstdc++.i386 : GNU Standard C++ Library&lt;BR /&gt;    libstdc++.x86_64 : GNU Standard C++ Library&lt;BR /&gt;&lt;BR /&gt;    lm_sensors.i386 : Hardware monitoring tools.&lt;BR /&gt;    lm_sensors.x86_64 : Hardware monitoring tools.&lt;BR /&gt;&lt;BR /&gt;    net-snmp-libs.i386 : The NET-SNMP runtime libraries.&lt;BR /&gt;    net-snmp-libs.x86_64 : The NET-SNMP runtime libraries.&lt;BR /&gt;&lt;BR /&gt;    net-snmp.x86_64 : A collection of SNMP protocol tools and libraries.&lt;BR /&gt;&lt;BR /&gt;    kernel-devel.x86_64 : Development package for building kernel modules to match the kernel.&lt;BR /&gt;&lt;BR /&gt;2.a) Install the dependencies&lt;BR /&gt;&lt;BR /&gt;     [root@server ~]# yum install glib.i386 glib.x86_64 compat-db.i386 compat-db.x86_64 ncurses.x86_64 libgcc.i386 libgcc.x86_64 gcc compat-gcc-34.x86_64 compat-libstdc++-33.i386 compat-libstdc++-33.x86_64 compat-gcc-34-c++.x86_64 libstdc++.i386 libstdc++.x86_64 lm_sensors.i386 lm_sensors.x86_64 net-snmp-libs.i386 net-snmp-libs.x86_64 net-snmp.x86_64 kernel-devel.x86_64&lt;BR /&gt;&lt;BR /&gt;3) Build the kernel config&lt;BR /&gt;&lt;BR /&gt;   [root@server ~]# cd /usr/src/kernels/2.6.18-194.3.1.el5-x86_64&lt;BR /&gt;   [root@server 2.6.18-194.3.1.el5-x86_64]# make oldconfig &amp;amp;&amp;amp; make prepare&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4) Unarchive the HP PSP support pack&lt;BR /&gt;&lt;BR /&gt;   [root@server ~]# tar zxvf hp-psp-8.25-18-CentOS.tar.gz&lt;BR /&gt;&lt;BR /&gt;5) Go to the directory with the packages you need for your arch&lt;BR /&gt;&lt;BR /&gt;   [root@server ~]# cd psp/centos/5/x86_64/current/&lt;BR /&gt;&lt;BR /&gt;6) Install the HP PSP packages (follow this order as some depend on others).&lt;BR /&gt;&lt;BR /&gt;6.a) Install the hp-OpenIPMI package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-OpenIPMI-8.2.5-34.rhel5.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;     You should see it compile the drivers and hopefully not see any errors or failures.&lt;BR /&gt;&lt;BR /&gt;6.b) Install hp-ilo package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-ilo-8.2.5-22.rhel5.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;6.c) Install the hp-health package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-health-8.2.5-50.rhel5.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;6.d) Install the hpacucli package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hpacucli-8.28-13.0.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;6.e) Install the hponcfg package&lt;BR /&gt;&lt;BR /&gt;    [root@server current]# yum localinstall --nogpgcheck hponcfg-1.9.0-3.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;6.f) Install the hpmouse package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hpmouse-1.1.2-33.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;     **********  NOTICE *************&lt;BR /&gt;     Please follow the steps below to configure this system.&lt;BR /&gt;     cd /opt/hp/hpmouse&lt;BR /&gt;     Run "sh ./hpmouse activate" to configure X.&lt;BR /&gt;     The X server must be restarted for the changes to take effect.&lt;BR /&gt;     See /opt/hp/hpmouse/hpmouse-README for details&lt;BR /&gt;&lt;BR /&gt;6.g) Install the HP SMH package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hpsmh-3.0.1-73.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;     **********************************************************&lt;BR /&gt;     * System Management Homepage installed successfully with *&lt;BR /&gt;     * default configuration values.   To change the default  *&lt;BR /&gt;     * configuration values,  type the following command at   *&lt;BR /&gt;     * the root prompt:                                       *&lt;BR /&gt;     *                                                        *&lt;BR /&gt;     * /opt/hp/hpsmh/sbin/smhconfig                           *&lt;BR /&gt;     *                                                        *&lt;BR /&gt;     **********************************************************&lt;BR /&gt;&lt;BR /&gt;6.h) Install the hp-snmp-agents package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-snmp-agents-8.2.5-50.rhel5.x86_64.rpm&lt;BR /&gt;&lt;BR /&gt;     ==============================================================================&lt;BR /&gt;     NOTE: In order to activate the software contained in this package, you must&lt;BR /&gt;           type '/sbin/hpsnmpconfig' as 'root' user.&lt;BR /&gt;           Once configuration is completed start the agents by typing&lt;BR /&gt;           /etc/init.d/hp-snmp-agents start&lt;BR /&gt;     ==============================================================================&lt;BR /&gt;&lt;BR /&gt;6.i) Install the HP SMH Templates&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hp-smh-templates-8.2.5-41.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;6.j) Install the cpqacuxe package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck cpqacuxe-8.28-13.0.noarch.rpm&lt;BR /&gt;&lt;BR /&gt;6.k) Install the hp-diags package&lt;BR /&gt;&lt;BR /&gt;     [root@server current]# yum localinstall --nogpgcheck hpdiags-8.2.5-7.linux.i586.rpm&lt;BR /&gt;&lt;BR /&gt;7) Start the hp-health service&lt;BR /&gt;&lt;BR /&gt;   /etc/init.d/hp-health start&lt;BR /&gt;&lt;BR /&gt;8) Configure the hp-snmp-agents service&lt;BR /&gt;&lt;BR /&gt;   This is what tripped me up the first time I installed the drivers, this is really needed for the SMH page.&lt;BR /&gt;&lt;BR /&gt;   [root@server current]# /sbin/hpsnmpconfig&lt;BR /&gt;&lt;BR /&gt;8.a) SNMP / SELinux Configuration problem.&lt;BR /&gt;&lt;BR /&gt;     The first time I set this up I didn't have any problems but after the rebuild I got the below errors:&lt;BR /&gt;&lt;BR /&gt;     [root@server ~]# tail /var/log/messages&lt;BR /&gt;      Jun 23 20:36:36 server setroubleshoot: SELinux is preventing ifconfig (ifconfig_t) "read write" to socket (initrc_t). For complete SELinux messages. run sealert -l 0d34c583-bf97-4aff-9716-603c7eee148e&lt;BR /&gt;&lt;BR /&gt;     I believe that one of the above installs of the HP packages should have taken care of the SELinux policies but this time it didn't.&lt;BR /&gt;&lt;BR /&gt;     Running the following command will check /var/log/messages and show you the rule that needs to be put in place.&lt;BR /&gt;&lt;BR /&gt;     [root@server targeted]# audit2allow -a&lt;BR /&gt;&lt;BR /&gt;      #============= ifconfig_t ==============&lt;BR /&gt;      allow ifconfig_t initrc_t:netlink_route_socket { read write };&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     Then I used the following command to build a policy package that would enable this rule.&lt;BR /&gt;&lt;BR /&gt;     [root@server ~]# audit2allow -a -M mysemanage&lt;BR /&gt;      ******************** IMPORTANT ***********************&lt;BR /&gt;      To make this policy package active, execute:&lt;BR /&gt;&lt;BR /&gt;      semodule -i mysemanage.pp&lt;BR /&gt;&lt;BR /&gt;     [root@server ~]# semodule -i mysemanage.pp&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;     And that is it, with the policy in place the error messages disappeared.&lt;BR /&gt;&lt;BR /&gt;8.b) SNMP Logs&lt;BR /&gt;&lt;BR /&gt;      Speaking of SNMP messages in the logs there will be a LOT of them. And that is fine when you first setup and want to make sure everything is configured correctly but after that they are annoying filler.&lt;BR /&gt;&lt;BR /&gt;      To disable the extra messages do the following:&lt;BR /&gt;&lt;BR /&gt;      vi /etc/sysconfig/snmpd.options&lt;BR /&gt;&lt;BR /&gt;      Change the following line from:&lt;BR /&gt;&lt;BR /&gt;      #OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a"&lt;BR /&gt;&lt;BR /&gt;      To:&lt;BR /&gt;&lt;BR /&gt;      OPTIONS="-LS 0-4 d -Lf /dev/null -p /var/run/snmpd.pid -a"&lt;BR /&gt;&lt;BR /&gt;      Notice the CAPITAL S, that is important.&lt;BR /&gt;&lt;BR /&gt;      Save &amp;amp; Quit&lt;BR /&gt;&lt;BR /&gt;      Then restart the snmp service.&lt;BR /&gt;&lt;BR /&gt;      /etc/init.d/snmpd restart&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;9) Configure the SMH service&lt;BR /&gt;&lt;BR /&gt;   You can edit the file /opt/hp/hpsmh/conf/smhpd.conf by using the smhconfig command. Replace the IP with the IP of the server you are setting up on.&lt;BR /&gt;&lt;BR /&gt;   [root@server current]# /opt/hp/hpsmh/sbin/smhconfig --ip-binding-list=192.168.0.10&lt;BR /&gt;&lt;BR /&gt;10) Configure iptables to open the ports needed to use HP SMH.&lt;BR /&gt;&lt;BR /&gt;    [root@server hp]# vi /etc/sysconfig/iptables&lt;BR /&gt;&lt;BR /&gt;    You need to add ports 2381 and port 636&lt;BR /&gt;&lt;BR /&gt;    Add the following two lines ABOVE the last REJECT line.&lt;BR /&gt;&lt;BR /&gt;    -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 2381 -j ACCEPT&lt;BR /&gt;    -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 636 -j ACCEPT&lt;BR /&gt;&lt;BR /&gt;    Save &amp;amp; Quit.&lt;BR /&gt;&lt;BR /&gt;    Restart iptables:&lt;BR /&gt;    /etc/init.d/iptables restart&lt;BR /&gt;&lt;BR /&gt;11) Start the HP SMH service&lt;BR /&gt;&lt;BR /&gt;    /etc/init.d/hpsmhd start&lt;BR /&gt;&lt;BR /&gt;12) Enable the Smart Array Configuration Utility&lt;BR /&gt;&lt;BR /&gt;    Enable the web interface to the Smart Array configuration utility by doing the following:&lt;BR /&gt;&lt;BR /&gt;    [root@server psp]# cpqacuxe --enable-remote&lt;BR /&gt;&lt;BR /&gt;13) Test the HP SMH site.&lt;BR /&gt;&lt;BR /&gt;    Go to the site from your browser:&lt;BR /&gt;    https://server-ip:2381/&lt;BR /&gt;&lt;BR /&gt;    Accept the security certificate if it's not trusted.&lt;BR /&gt;&lt;BR /&gt;    Use the root username and password to log in. On the top-right of the page you should see, under 'Data Source', 'SNMP' if you have snmp and hp-snmp-agents configured correctly and started.&lt;BR /&gt;&lt;BR /&gt;14) Configure ILO&lt;BR /&gt;&lt;BR /&gt;    [root@server ~]# hponcfg  -w ilo.cfg&lt;BR /&gt;     Firmware Revision = 1.81 Device type = iLO 2 Driver name = hpilo&lt;BR /&gt;     RILOE II/iLO configuration successfully written to file "ilo.cfg"&lt;BR /&gt;&lt;BR /&gt;    [root@server ~]# vi ilo.cfg&lt;BR /&gt;&lt;BR /&gt;    Edit the following line and change the password:&lt;BR /&gt;      &lt;LOGIN user_login="Administrator" password="password"&gt;&lt;BR /&gt;&lt;BR /&gt;    It may also be a good diea to edit the networking settings and set a static IP on the ILO interface.&lt;BR /&gt;&lt;BR /&gt;    Save &amp;amp; Quit.&lt;BR /&gt;&lt;BR /&gt;    Load the new config file:&lt;BR /&gt;     [root@server ~]# hponcfg -f ilo.cfg&lt;BR /&gt;      Firmware Revision = 1.81 Device type = iLO 2 Driver name = hpilo&lt;BR /&gt;      &lt;INFORM&gt;Integrated Lights-Out will reset at the end of the script.&lt;/INFORM&gt;&lt;BR /&gt;      Please wait while the firmware is reset. This might take a minute&lt;BR /&gt;      Script succeeded&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;15) Test ILO login out.&lt;BR /&gt;&lt;BR /&gt;    If you set a static IP go to that address in a browser&lt;BR /&gt;&lt;BR /&gt;    https://server-ilo/&lt;BR /&gt;&lt;BR /&gt;    You *should* be able to log in with the account 'Administrator' and whatever password you set.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;16) Verify the services...&lt;BR /&gt;&lt;BR /&gt;    Use the following command to verify that the services are enabled at boot:&lt;BR /&gt;&lt;BR /&gt;    [root@server hp]# chkconfig --list | egrep 'hp|snmp'&lt;BR /&gt;    hp-health           0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;    hp-ilo              0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;    hp-snmp-agents      0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;    hpsmhd              0:off   1:off   2:off   3:on    4:on    5:on    6:off&lt;BR /&gt;    snmpd               0:off   1:off   2:on    3:on    4:on    5:on    6:off&lt;BR /&gt;    snmptrapd           0:off   1:off   2:off   3:on    4:off   5:off   6:off&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Final Notes:&lt;BR /&gt;&lt;BR /&gt;Sorry for the poor writing, I was just noting things down as I was working and should have spent more time editing before posting.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am also very sorry I didn't post all of the sources I used to sort all this mess out. Part of it was I had already done it before and the other part is I didn't think of recording the sources till it was too late.&lt;BR /&gt;&lt;BR /&gt;If you have any suggestions/edits let me know. I am going to track down a wiki I can post this up on so others can contribute if they feel like it. I'll try to post a link once I get it going.&lt;BR /&gt;&lt;BR /&gt;Some sources I used:&lt;BR /&gt;&lt;BR /&gt;  Google in general. :)&lt;BR /&gt;&lt;BR /&gt;  Site I used to fix my SNMP/SELinux problem:&lt;BR /&gt;    &lt;A href="http://www.centos.org/docs/5/html/Deployment_Guide-en-US/sec-sel-building-policy-module.html" target="_blank"&gt;http://www.centos.org/docs/5/html/Deployment_Guide-en-US/sec-sel-building-policy-module.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;  Turning down the SNMP logging:&lt;BR /&gt;    &lt;A href="http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/" target="_blank"&gt;http://raetsel.wordpress.com/2008/02/15/snmpd-filling-up-varlogmessages/&lt;/A&gt;&lt;BR /&gt;&lt;/LOGIN&gt;</description>
      <pubDate>Thu, 24 Jun 2010 02:23:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/howto-guide-instructions-install-hp-psp-on-centos-5/m-p/4652208#M103665</guid>
      <dc:creator>Woody2143</dc:creator>
      <dc:date>2010-06-24T02:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: HOWTO / Guide / Instructions -  Install HP PSP On CentOS 5</title>
      <link>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/howto-guide-instructions-install-hp-psp-on-centos-5/m-p/4652209#M103666</link>
      <description>Very nice and hadfull post...</description>
      <pubDate>Fri, 25 Jun 2010 10:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/proliant-servers-ml-dl-sl/howto-guide-instructions-install-hp-psp-on-centos-5/m-p/4652209#M103666</guid>
      <dc:creator>Jan Soska</dc:creator>
      <dc:date>2010-06-25T10:35:51Z</dc:date>
    </item>
  </channel>
</rss>

