|
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 |
|
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.
for unencrypted access use HTTP:// HPOM-Server:9662
for encrypted access use HTTPS:// HPOM-Server:9663
In your browser you should see the login screen. Enter your login name and password
The initial user name is admin (on Linux) and opc_admin (on HP-UX)
The default initial password after the installation is secret
Checking health of the server
List running processes: ovc
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.
call_sqlplus.sh— Run an SQL*Plus report using the HPOM database
install— Install commands
HPOM_op— HPOM Operations Java UI
opc— graphical user interface for HPOM Operations
opc_audit_secure— Lock the audit level in the HPOM database
opc_backup— Back up the HPOM Operations configuration
opc_recover— Recover the HPOM Operations configuration
opcack— Externally acknowledge active messages of selected operator
opcackmsg— Externally acknowledge active message
opcackmsgs— Externally acknowledge active messages with specific message attributes
opcadddbf— Add a new datafile to an Oracle tablespace
opcagt — Administer agent services for HPOM Operations
opcagtdbcfg— Parse AgentPlatform and perform DB updates
opcagtreg— Register subagent
opcannoadd— Add an annotation to a message
opcauddwn— Download Operations audit entries to a file
opcaudupl— Upload audit information into HPOM Operations
opccfgdwn— Download configuration data from the HPOM database to flat files
opccfgout— Configure variables for scheduled outage; update the HPOM outage
opccfgupld— Upload configuration from flat files into the HPOM
opcdbidx— HPOM Operations database troubleshooting tool
opcdbinit— Fill HPOM Operations database with default configuration
opcdbinst— Create or destroy HPOM Operations database
opcdbpwd— HPOM Operations database password tool
opcdbreorg— Re-organize HPOM Operations database
opcdbsetup— Create the HPOM DB tables and load the initial configuration
opcdbupgr— Upgrade the HPOM Operations database
opcdcode— View HPOM Operations encrypted template files
opcgetcorrevts— Print correlated child events
opcgetmsgdet— Obtain some message details
opcgetmsgids— Get current message IDs to an original message ID
opchbp— Switch HPOM Operations heartbeat polling
opchistdwn— Download Operations history messages to a file
opchistupl— Upload history messages into HPOM Operations
opclaygrp -- Maintain layout groups and node hierarchies
opcmack— Acknowledge a message of HPOM Operations
opcmapnode— Find NNM server for a specified node
opcmgrdist— Distribute HPOM Operations configuration
opcmomchk— Check “Flexible Management” configuration files
opcmon — Forward monOMUred object value to HPOM Operations
opcmsg — Submit a message for HPOM Operations
opcnode — Maintain nodes, node groups and template assignments in HPOM
opcpat— Test program for HPOM Operations pattern matching
opcragt— Remotely administer agent processes on HPOM Operations
opcseapplmerge— Merge applications and application groups
opcsebinarymerge— Merge executables
opcsecfgcheck— Test consistency of data references for HPOM
opcseldist— Check the syntax of configuration files for selective distribution
opcsekey— Set login information for HPOM Operations
opcservice— Configure services in HPOM Operations
opcsesubproductadd— Adding all the HPOM-SE config data
opcsesubproductdel— Delete a whole subproduct from HPOM
opcsetempladd— Add template(s) or template group(s) to HPOM
opcsetempldel — Delete a template(s) or template
opcsetemplmerge— Merge, add, or delete a template
opcskm— Secret Key Management Tool
opcsqlnetconf— HPOM Operations SQL*Net configuration tool
opcsv— Administer manager services of HPOM Operations
opcsvcconv— Convert service files for HPOM Operations
opcsvcdwn— Download Operations service status logs to a file
opcsvcterm— Terminal access to the HPOM Navigator
opcsvcupl— Upload service status logs into HPOM Operations
opcsvskm— Secret Key Management Tool
opcsw - — Set software status in HPOM Operations database
opctempl— Maintain templates in files in HPOM Operations
opctemplate — Enable or disable HPOM templates
opctmpldwn— HPOM template download and encryption tool
opcwall— Inform HPOM Operations users
ovdeploy -- transfere, remove or execute files on remote hosts
|
Switchboard | ||||
Latest | |||||
Past week | |||||
Past month |
- To Start the HPOM management server process
- To Stop the HPOM management server process
- To check the HPOM server status
Installation
- To install agent on Unix opc_inst -s <management_server_name>
- To install agent on Windows
cscript opc_inst.vbs -s <management_server_name>- To Unistall agent
opc_inst -r- To check the agent status
opcagt status [local agent status]
opcragt <nodename> [ remote agent status from management server ]- To Distribute MonOMUr, Action, Commands & Templates
opcragt -distrib -monOMUr -action -commands -templates -force <node_name>Adding/deleting nodes
- To add a node to node bank
opcnode -add_node node_name="<node_name>" node_label="<label>" net_type="NETWORK_IP" mach_type="<Machine_type" group_name="<primary_group_name"- To delete a node from node bank
opcnode -del_node node_name="<node_name>" net_type="NETWORK_IP"- To change the host name or ip address
/opt/OV/contrib/OpC/opcchgaddr -force -sync IP <OLD_IP> <OLD_HOST_NAME> IP <NEW_IP> <NEW_HOST_NAME>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:
- ovcm -listpending -l
opccsa -list_pending_crTo grant a certificate
ovcm -grant <certificate_id>To List and check status of certificates
ovcert -list
ovcert -statusTo remove certificated
ovcert -remove <certificate_id>To create a new certificate request
ovcert -certreqTo list the templates/policies
opctemplate -l or ovpolicy -lTo 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 -certreqTo 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_BBCTo 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 valueTo check DB SPI connection
/var/opt/OV/bin/OpC/monOMUr/dbspicao -p -v -d or /var/opt/OV/bin/OpC/cmds/dbspiadm conncheck -nwTo 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
checkuiwwwTo check OM management server queue files
/opt/OV/contrib/OpC/opcqschk
/opt/OV/contrib/OpC/opcqchkTo 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
opcmomchkTo 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 TweaksTo 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 LogAgent 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 utilsTar and Untar:
tar -cvf <dir.tar> dir
tar -xvf a.tarMounting 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 BUNDLE11iswinstall -s <Source_depot_file> -x autoreboot=false \
-x patch_match_target=true
Google matched content |
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 quotes : Somerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose Bierce : Bernard 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 DOS : Programming Languages History : PL/1 : Simula 67 : C : History of GCC development : Scripting 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-Month : How 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