Skip to end of banner
Go to start of banner

opService Installation

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 7 Current »

opService is an integration between NMIS8 and HP Service Manager.  It creates incidents based on the events from NMIS.

Installation Prerequisites

  • The individual performing this installation has some Linux experience.
  • NMIS8 is installed on the same server where opHA will be installed
  • NMIS8 is installed in /usr/local/nmis8
  • opHA will be installed into /usr/local/nmis8
  • Root access is available (not always needed but much easier)
  • Perl 5.10 
  • NMIS 8.4.8G or later

Installation Steps

Perl Libraries

At this time, opService is distributed as a source installation, so the correct perl libraries need to be installed, for some customers these have been pre-bundled and are available on request.

mkdir tmplocal
cd tmplocal
tar xvf ../Perl-Libs-20130221.tar.gz
cp -r * /usr/local/ 
cd .. 
rm -rf tmplocal 

Install opService

  • Copy the opService tarball to the poller or master NMIS server (a tarball is a GZIP'd tar file, e.g. opService-Linux-x86_64-8.tar.gz)
    1. You may need to use SCP or FTP to get the file onto the server.
  • The file will now likely be in the users home directory.
  • If the installation directory does not already exist
  • Change into the directory where the tarball was copied
  • Untar the file
Version=8
#(not required for Debian/Ubuntu)
unalias cp
cd ~
tar xvf ~/opService-Linux-x86_64-$Version.tar.gz
cd opService-Linux-x86_64-$Version/

Run the installation program, answer the questions and opService will be installed.  The defaults will normally always work.

./install-opService.pl

Install opService Daemon

Setup init.d to handle opService

cp /usr/local/opmantek/install/opserviced.init.d /etc/init.d/opserviced
chmod 755 /etc/init.d/opserviced
service opserviced start

The daemon can be stopped or restarted using the command "service opserviced restart".

Setup the Log Files

Create the empty log files

touch /usr/local/opmantek/logs/opservice.log
touch /usr/local/opmantek/logs/incident.log

 

Configuring opService

That is the topic for another article.

  • No labels