Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

HP HPOM Reference

News HP Operations Manager Recommended links Documentation  Env Variables Server Directories Agent directories
opcagt opcmon opcnode opcragt bbcutil opcmsg opclaygrp
ovc ovdeploy ovpolicy ovconfget ovcert ovcoreid opcsw
 Troubleshooting Agents Troubleshooting agents Server Health checking Checking the  Processes Log Files Port used by HPOM HTTP agent
Server Installation agent installation via ssh Installation from local files Deinstallation of agent Adding nodes Agent patching Nodes
node groups Layout groups Message groups Policies Server rotation Event Correlation SiteScope - Operations Manager integration
Certificates management Logfile Encapsulation Server patch Installation Migration from Tivoli TEC Terminology Humor Etc

Note: HP renamed the product called now HP operations manager way too many times. Also it is very inconsistent with using abbreviations. Here we will assume that the term "HP Operations manager" and abbreviations HPOM, OMU, and HPOM  mean the same thing :-)

There are two interfaces to HPOM -- Admin GUI and operator GUI.

To access the Admin GUI for the first time open your browser and point it to the address where HP HPOM is installed.

For HTTP the default port is 9662 and for HTTPS it is 9663.

In your browser you should see the login screen. Enter your login name and password

Checking health of the server

Source  ov.envvars script located in HPOM's bin directory (normally /opt/OV/bin).

These scripts are named ov.envvars.csh, ov.envvars.sh, etc. (that is, ov.envvars followed by the name of the shell you're using). When you run the appropriate script for your shell, it defines environment variables such as $OV_BIN, $OV_MAN, and $OV_TMP, which point to the OpenView bin, man, and tmp directories, respectively.

Thus, you can easily go to the directory containing OpenView's manual pages with the command cd $OV_MAN. These environment variables are used  in all of OpenView's documentation.

Commands to Manage Policies:

ovpolicy (/optiOV/bin) Installs, manages, and removes policies on both local and remo{e nodes

Key options:

-list -view policies, policy version, and current status

-enable I -disable [-polname I -poltype]

opcpolicy (/opt/OV/bin/OpC/utils) Manage and maintain policies and policy groups

Deploy Policies/Templates from the Command Line

opcragt -distrib -templates -actions -monOMUrs hostname

Checking currently deployed templates/policies

You can look at the current templates/policies deployed to a remote node by using:

ovpolicy -l -host

Or from the localhost:

ovpolicy -l

There can be special  node groups that are not intended for use with responsibilities. These node groups are flagged as Invisible Node Groups and will not appear in any responsibility matrix. That can make responsibilities matrix more compact.

Commands


Top Visited
Switchboard
Latest
Past week
Past month

NEWS CONTENTS

Old News

HP Operations Manager Basics .. Help - a knol by Sreenevas Subramaniam

Installation

Adding/deleting nodes

Test opcmsg
/opt/OV/bin/OpC/opcmsg s=critical o=Test a=Test msg_text="This server is now being monOMUred"

To start the heartbeat polling of managed node
opchbp -start <managed node>

To List Certificates:

To grant a certificate
ovcm -grant <certificate_id>

To List and check status of certificates
ovcert -list
ovcert -status

To remove certificated
ovcert -remove <certificate_id>

To create a new certificate request
ovcert -certreq

To list the templates/policies
opctemplate -l or ovpolicy -l

To enable/disable a template
opctemplate -e <template_name>
opctemplate -d <template_name>

To download histroy messages
opchistdwn -older 0s -file <file_location>

To acknowledge messaged
opcackmsg -u <username> <message ID>
opcackmsgs -g <group_name> -n <node_name>

Manual Certificate Deployment From management server a) opccsacm -issue -name <Node Name> -file /tmp/a -pass <password>
From agent
b) ovcert -importcert -file /tmp/a -pass <password>

To get the remote coreid of the agent:
bbcutil -ping http://<nodename>

To change the coreid of a node in the management server
opcnode -chg_id node_name=<node_name> id=<core_id_from_bbcutil>

To list the core id set in the node bank
opcnode -list_id node_list=<node_bank>

To map the node in the node bank to the certificate request
opccsa –map_node <managed_node name>=<nodebank_managed_node_name>

To create a certificate request from the managed node
ovcert -certreq

To create a new core id from the managed node ovcoreid -create -force

To List the set of configurations from agent ovconfget

To change the agent configuration ovconfchg -ns <nodename> -set <param> <value>

To list the groups in node group bank
opcnode -list_groups|grep Name|awk '{print $3}'

To change the communication type
opcnode -chg_commtype node_list=<nodename> net_type=NETWORK_IP comm_type=COMM_BBC

To change the node type
opcnode -chg_nodetype node_list=<nodename> node_type=<node_type> [eg.. MESSAGE_ALLOWED]

To List nodes enrolled in HPOM
opcnode -list_nodes|grep Name|awk '{print $3}'

To view coda collections
codautil -dumpds value

To check DB SPI connection
/var/opt/OV/bin/OpC/monOMUr/dbspicao -p -v -d or /var/opt/OV/bin/OpC/cmds/dbspiadm conncheck -nw

To switch off monOMUring for DB instance
dbspicol OFF <instance_name>

Integrating DBSPI with OVPA [unix] : /var/opt/OV/bin/OpC/cmds/dbspi_mw_int ( For enabling Graphing )
/var/opt/OV/bin/OpC/cmds/dbspi_mw_int -osm .. -udm ( For reporter )

To list open sessions of JAVA and Motif GUIs
checkuiwww

To check OM management server queue files
/opt/OV/contrib/OpC/opcqschk
/opt/OV/contrib/OpC/opcqchk

To create trap template from trapd.conf
ovtrap2opc /etc/opt/OV/share/conf/C/trapd.conf <Template_name> <Service_name>

To check the syntax of flexible management templates
opcmomchk

To list the services opcservice -list

To assign a service to opc user opcservcie -assign <user_name> <service_name>


Oracle start up scripts
/sbin/init.d/OMUracle start/stop
############################################

UNIX Agent recycle :
1. Kill the agent process using : ovc -kill 2. Remove all the files under "/var/opt/OV/log/OpC/"
3. Start the agent process using : ovc -start

############################################

opcdeploy/ovdeploy:
opcdeploy -cmd "<cmd_to_run_at_agent_end>" -node <node_name>
opcdeploy -deploy -file <file_location> -node <node_name> -targetdir <Target_dir> -trd absolute

############################################
SQL Tweaks

To get unassigned nodes to NG in HPOM
select nn.node_name from opc_nodes n, opc_node_names nn
where nn.node_id = n.node_id
and not exists (select 1 from opc_nodes_in_group nig where nig.node_id = nn.node_id);

Show Assignments on Node SELECT OPC_NODE_NAMES.NODE_NAME, OPC_SOURCE_TEMPL.TEMPLATE_NAME FROM OPC_NODE_CONFIG, OPC_NODE_NAMES, OPC_SOURCE_TEMPL WHERE OPC_NODE_CONFIG.NODE_ID = OPC_NODE_NAMES.NODE_ID AND OPC_NODE_CONFIG.TEMPLATE_ID = OPC_SOURCE_TEMPL.TEMPLATE_ID AND OPC_NODE_NAMES.NODE_NAME LIKE 'ENTER NODE NAME HERE';

Show Template Assignment SELECT OPC_NODE_NAMES.NODE_NAME, OPC_SOURCE_TEMPL.TEMPLATE_NAME FROM OPC_NODE_CONFIG, OPC_NODE_NAMES, OPC_SOURCE_TEMPL WHERE OPC_NODE_CONFIG.NODE_ID = OPC_NODE_NAMES.NODE_ID AND OPC_NODE_CONFIG.TEMPLATE_ID = OPC_SOURCE_TEMPL.TEMPLATE_ID AND OPC_SOURCE_TEMPL.TEMPLATE_NAME LIKE 'ENTER TEMPLATENAME HERE';

############################################
Set environment variables in .profile

. /opt/OV/bin/ov.envvars.sh
PATH=$PATH:/opt/OV/bin export PATH

############################################

/opt/OV/contrib/OpC/opcsystst
-a Do everything below
-h Display the hostname
-u Display the uname info
-i Display all configured network interfaces
-l Display the local IP address
-o Display the OpC mgmt server
-n Resolve and display the IP addresses for all displayed node
names and resolve and display the node names for all
displayed IP addresses
-r Display all registered RPC servers

############################################

/opt/OV/bin/OpC/install/opctranm -jobfile <file>

whereas <file> can have for example the following entries:

nodename.domain.com
/tmp/file1 /tmp/file2

=> this will transfer file1 from the management server /tmp directory to /tmp/file2 on the agent nodename.domain.com

nodename.domain.com
!ls

=> this will execute an ls on the unix agent node coco and return the result

nodename.domain.com
!<path>ifconfig /all

############################################

You can use the SQL scripts in the below dir to get reports.

/etc/opt/OV/share/conf/OpC/mgmt_sv/reports/C/


For ex: call_sqlplus.sh sel_nodes <Fully_qualified_domain_name> --> will give the node details

############################################
OVPA
perfstat -p , -e , -v

/opt/perf/bin/utility -xc /var/opt/perf/alarmdef --> to chk syntax of alarmdef file
/opt/perf/bin/utility -xc /var/opt/perf/parm --> chk parm file

############################################

Directories

/var/opt/OV/share/tmp/OpC/distrib template Distribution directory
/etc/opt/OV/share/conf/OpC/mgmt_sv Flexible management templates
/var/opt/OV/share/conf/SPISvcDisc/ Service Discovery xml
/var/opt/OV/log/SPISvcDisc/discovery_error.log Discovery Error Log

Agent Policies
/var/opt/OV/datafiles/policies/configsettings/ --> nodeinfo
/var/opt/OV/datafiles/policies/le/ --> logfile templates
/var/opt/OV/datafiles/policies/mgrconf/ --> MoM templates
/var/opt/OV/datafiles/policies/monOMUr/ --> monOMUr templates
/var/opt/OV/datafiles/policies/msgi/ --> opcmsg templates
/var/opt/OV/datafiles/policies/trapi/ --> SNMP trap templs

############################################
Unix utils

Tar and Untar:
tar -cvf <dir.tar> dir
tar -xvf a.tar

Mounting iso image to HPUX 11.31

mkdir /isoimg lvcreate -n ISOLV -L 3096 /dev/vg00 dd if=isoimage of=/dev/vg00/rISOLV bs=8192 mount /dev/vg00/ISOLV /isoimg


using pfs mount

/usr/sbin/pfs_mountd &
/usr/sbin/pfsd &
pfs_mount -o xlat=unix /iso_image.iso /ISO_CDROM/

To change kernel parameters with command line
kctune -K -h <parameter>=<value> [Ex : kctune -K -h maxuprc=3687 ]

To Check the quality pack installed on HPUX
/usr/sbin/swlist | grep -e QPK -e GOLD -e BUNDLE11i

swinstall -s <Source_depot_file> -x autoreboot=false \
-x patch_match_target=true

Recommended Links

Google matched content

Softpanorama Recommended

Top articles

Sites

See also HPOM Documentation



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019