Operating System - Linux
1828208 Members
2446 Online
109975 Solutions
New Discussion

Re: Installing management tools on Oracle VM Server

 
bartd_1
Occasional Advisor

Installing management tools on Oracle VM Server

Hello,

I've been used to HP Servers in combination with Windows based operating systems. I will be using a linux distro (Oracle VM Server, based on RHEL) on a DL380G6 server now.

I want to install the standalone management tools on Linux, especially the System Management Homepage and the Event Notifier.

I think I figured out how to install the management homepage, but I can't find the event notifier tool for linux.

I want to get SMTP mails when hardware fails in my server. How do I need to set this up and where can I find the correct download?

I have no interest in setting up HP SIM central server management, I just want to have the local management website & event notifier.

Any help is extremely appreciated.
15 REPLIES 15
Taifur
Respected Contributor

Re: Installing management tools on Oracle VM Server

bartd_1
Occasional Advisor

Re: Installing management tools on Oracle VM Server

Thanks for your reply, but as the last paragraph in my first posts already tells me, I have no interest in setting up a HP SIM central server. I only need a working HPSMH (System Management Homepage) and an Event notifier in case of hardware failures.
bartd_1
Occasional Advisor

Re: Installing management tools on Oracle VM Server

I got the HP-tools working on Oracle VM server. You need the packages that are related to RHEL, because OraVM is redhat inspired.

These are the necessary steps:

- Install & configure Postfix as mail program
- Install Compat standard C++ library
rpm â ivh compat-libstdc++-7.3-2.96.118.i386.rpm
- Install Hp System Management Homepage
rpm â ivh hpsmh-6.0.0-95.i386.rpm
To change default configuration: /opt/hp/hpsmh/sbin/smhconfig

- Open ports 2301 & 2381 in firewall iptables
Configure the linux firewall (called iptables) to open hp smh ports 2301 & 2381
Add the following rules to /etc/sysconfig/iptables

-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2301 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 2381 -j ACCEPT

and restart the firewall
service iptables restart

- Check running homepage : netstat â anp |grep 2381

- Install HP Array Diagnostic Utility
rpm â ivh hpadu-8.26-1.noarch.rpm
- Install HP Array Configuration Utility
rpm â ivh hpacucli-8.35-7.0.noarch.rpm
- Install HP System Health Application and Command Line Utilities
rpm â ivh hp-health-8.3.2.2-1.rhel5.i386.rpm

- Start the health monitor: /etc/init.d/hp-health start
â
- Install HP SNMP Agents
rpm â ivh hp-snmp-agents-8.3.0.27-25.rhel5.i386.rpm
configure it : /sbin/hpsnmpconfig
use existing snmp.cfg ï   no, set all community strings to public (important!)

- start the snmp agents /etc/init.d/hp-snmp-agents start

- Install HP System Management Homepage templates
rpm â ivh hp-smh-templates-8.3.0.9-13.noarch.rpm

- Restart HP System Management Homepage
service hpsmhd restart

- Access HP System Management Homepage , log-in (root/ password) and check the hardware readings

- Configure trapemail:
/opt/hp/hp-snmp-agents/cma.conf
Check if the line underneath is in there:

########################################################################
# trapemail is used for configuring email command(s) which will be
# executed whenever a SNMP trap is generated.
# Multiple trapemail lines are allowed.
# Note: any command that reads standard input can be used. For example:
# trapemail /usr/bin/logger
# will log trap messages into system log (/var/log/messages).
########################################################################
trapemail /bin/mail -s 'HP Insight Management Agents Trap Alarm' root

Disconnect power connector, remove one power supply out of the server, remove NIC, remove a disk and check if you get all error & warning e-mails correctly.

The only thing I haven't got working yet is the ILO driver/shell configuration tool and the HP network card teaming.
kathychanumac.mo
Occasional Advisor

Re: Installing management tools on Oracle VM Server

Hi bartd,

thank you for your reply!

this is the message when I installed hp system management homepage(hpsmh-6.1.0-103.i386.rpm) in OVM server 2.2:

Should i download the previous version of hp system management homepage as i found your version installed is "hpsmh-6.0.0-95.i386.rpm"?
----------------------------------------------
#rpm -ivh hpsmh-6.1.0-103.i386.rpm
Preparing... ########################################### [100%]
This Red Hat Linux distribution is not supported.
This Linux distribution is not supported.
Creating hpsmh user and group...
1:hpsmh ########################################### [100%]

**********************************************************
* System Management Homepage installed successfully with *
* default configuration values. To change the default *
* configuration values, type the following command at *
* the root prompt: *
* *
* /opt/hp/hpsmh/sbin/smhconfig *
* *
**********************************************************


hpsmhd already stopped
Starting hpsmhd: hpsmhd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]

Regards,
Kathy
bartd_1
Occasional Advisor

Re: Installing management tools on Oracle VM Server

I have the same warning message when starting the hp smh daemon, but it works, just give the steps a try.

The message of unsupported OS is just a warning, it really works ;)
kathychanumac.mo
Occasional Advisor

Re: Installing management tools on Oracle VM Server

Thank you for your information. It's really helpful.
wobbe
Respected Contributor

Re: Installing management tools on Oracle VM Server

I don't believe there is a event notifier for linux. So this is what I do usually.

1. When using centos edit the file /etc/redhat-release so it will be the same as on a RHEL system. I guess this will also work for OEL but I have never tried that.

2. Install the HP support pack using the INSTALL script. This is on the smartstart cdrom.

3. Setup sendmail. In my case I just edit the smartrelay setting in the sendmail config file.

4. By default SNMP traps also generate an email for the root user. So I create a .forward file in the /root folder. The .forward file is nothing more that a list of email addresses that get the email to root forwarded.

Goodluck.
Steven E. Protter
Exalted Contributor

Re: Installing management tools on Oracle VM Server

Shalom,

Most of PSP is designed for the host operating system, not the guest operating system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
kathychanumac.mo
Occasional Advisor

Re: Installing management tools on Oracle VM Server

I still cannot telnet to the target OVM through port 2381 even i shut off the iptables and all hp management services are up. Do you know why??

--------------------------------------------
telnet ovm22 2381
Trying ovm22...
telnet: connect to address ovm22: Connection refused
telnet: Unable to connect to remote host: Connection refused
bartd_1
Occasional Advisor

Re: Installing management tools on Oracle VM Server

That is strange, I don't have this problem.

Check if the site is running with:

netstat -anp |grep 2381

make sure iptables is really stopped or just put the extra rules in its configuration

also verify wether the hp management homepage is started

service hpsmhd status

if necessary start with

service hpsmhd start
kathychanumac.mo
Occasional Advisor

Re: Installing management tools on Oracle VM Server

I can reach the HP System Management Homepage now but seems the agents have some problems.
there are the log from system management homepage:

------------------------------------------------------------------
WARNING Thu 18 Mar 2010 03:52:21 PM CST
UI Webapps Loading Timeout -- Nav Load Time: 20s [Webapp-List: hmastor || hmanics || webagent || hmaserv]

WARNING Thu 18 Mar 2010 03:51:54 PM CST
UI Webapps Loading Timeout -- Nav Load Time: 20s [Webapp-List: hmastor || hmanics || webagent || hmaserv]

all services are up:
hpsmhd
hp-health
hp-snmp-agents
hp-ilo
kathychanumac.mo
Occasional Advisor

Re: Installing management tools on Oracle VM Server

Here is the screen dump:
kathychanumac.mo
Occasional Advisor

Re: Installing management tools on Oracle VM Server

it has been success after the following config:

add the following to /etc/snmp/snmpd.conf:

dlmod cmaX /usr/lib/libcmaX.so
rwcommunity y 127.0.0.1
trapcommunity public
syscontact Root (configure /etc/snmp/snmp.local.conf)
syslocation Unknown (edit /etc/snmp/snmpd.conf)


start SNMP daemon
#server snmpd start


bartd_1
Occasional Advisor

Re: Installing management tools on Oracle VM Server

Great stuff, strange that I did not have to set this up that way. I've been using Ora VM Server 2.1.5 though.