<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>logIt &#187; OpenView</title>
	<atom:link href="https://lakm.us/logit/category/openview/feed/" rel="self" type="application/rss+xml" />
	<link>https://lakm.us/logit</link>
	<description>Log Around The Clock</description>
	<lastBuildDate>Sat, 06 Jun 2015 14:17:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Template Dumping Scripts</title>
		<link>https://lakm.us/logit/2010/01/template-dumping-scripts/</link>
		<comments>https://lakm.us/logit/2010/01/template-dumping-scripts/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 06:49:29 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[managed node]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=181</guid>
		<description><![CDATA[To manage multiple templates in HP OMU, we need to dump them first. Dumping to file using opctempl will ease up the process of narrowing variation to gain uniformity. In the end converging to standard will help us tackle problems when faced with hundreds of templates being assigned to hundreds nodes. I tried to make [...]]]></description>
				<content:encoded><![CDATA[<p>To manage multiple templates in HP OMU, we need to dump them first. Dumping to file using <code>opctempl</code> will ease up the process of narrowing variation to gain uniformity. In the end converging to standard will help us tackle problems when faced with hundreds of templates being assigned to hundreds nodes.</p>
<p>I tried to make several scripts. Some were in conjunction used with another, some could be used individually. The problem is, they were made long ago without proper documentation, so I try to relate them first before building new ones to see if they&#8217;re still usable (at least in their conceptual work flow).</p>
<p></p>
<p><span style="background-color: #ffffff;"><span id="more-181"></span>Script is temporary placed <a title="../script/" href="../../../../script/" target="_blank">here</a>. They are in bash. For HP-UX usage you&#8217;ll most likely change the first line from <code>#!/bin/bash</code> into <code>#!/usr/local/bin/bash</code>.</span></p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2010/01/template-dumping-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manual Ceritificate Modification</title>
		<link>https://lakm.us/logit/2009/09/manual-ceritificate-modification/</link>
		<comments>https://lakm.us/logit/2009/09/manual-ceritificate-modification/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 03:53:41 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[certificate]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=75</guid>
		<description><![CDATA[Issue certificate file from management server: &#91;mgmtsrv&#93;$ ovcm -issue -file /tmp/node.cert -name &#60;nodename&#62; -pass &#60;password&#62; -coreid &#60;coreid from node&#62; Copy the /tmp/node.cert file to the node and import it. &#91;node&#93;$ ovcert -importcert -file /tmp/node.cert -pass &#60;password&#62; It will then appear in the ovcert -list. Communication using HTTPS will also work, test this with bbcutil -ping [...]]]></description>
				<content:encoded><![CDATA[<p>Issue certificate file from management server:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>mgmtsrv<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ ovcm <span style="color: #660033;">-issue</span> <span style="color: #660033;">-file</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>node.cert <span style="color: #660033;">-name</span> <span style="color: #000000; font-weight: bold;">&lt;</span>nodename<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #660033;">-pass</span> <span style="color: #000000; font-weight: bold;">&lt;</span>password<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #660033;">-coreid</span> <span style="color: #000000; font-weight: bold;">&lt;</span>coreid from node<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Copy the <code>/tmp/node.cert</code> file to the node and import it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>node<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ ovcert <span style="color: #660033;">-importcert</span> <span style="color: #660033;">-file</span> <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>node.cert <span style="color: #660033;">-pass</span> <span style="color: #000000; font-weight: bold;">&lt;</span>password<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>It will then appear in the <code>ovcert -list</code>. Communication using HTTPS will also work, test this with <code>bbcutil -ping</code> on either sides.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/09/manual-ceritificate-modification/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working With Templates</title>
		<link>https://lakm.us/logit/2009/04/working-with-templates/</link>
		<comments>https://lakm.us/logit/2009/04/working-with-templates/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 08:38:02 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=65</guid>
		<description><![CDATA[Most template editing is done through Motif-GUI. A &#8220;template engineer&#8221; privilege capable of doing many things there. However, to run other steps outside his/her privilege, he/she needs to invoke some command line. Check installed templates and their status (enabled/disabled) in a node: $ ovpolicy -list -host Export a template to a flat file $ opctempl [...]]]></description>
				<content:encoded><![CDATA[<p>Most template editing is done through Motif-GUI. A &#8220;template engineer&#8221; privilege capable of doing many things there. However, to run other steps outside his/her privilege, he/she needs to invoke some command line.</p>
<p>Check installed templates and their status (enabled/disabled) in a node:</p>
<p><code>$ ovpolicy -list -host <hostname></code></p>
<p>Export a template to a flat file</p>
<p><code>$ opctempl -get <templ_name> <templ_type> <file><br />
</code></p>
<p>Template types for <code>templ_type</code> can be one of the following:</p>
<p><code>CONSOLE_TEMPLATE<br />
OPCMSG_TEMPLATE<br />
LOGFILE_TEMPLATE<br />
MONITOR_TEMPLATE<br />
SNMP_TEMPLATE<br />
EC_TEMPLATE<br />
SCHEDULE_TEMPLATE</code></p>
<p>Then, previous exporting can be done as e.g.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opctempl SOMECOMPANY-BC-VAS-MTR-OS-FS MONITOR_TEMPL some_output_file</pre></div></div>

<p>How do we get which template type for a template? Visually in Motif-GUI (there is a <strong>Type</strong> column there) or by listing available templates in management server e.g. (it will appear inside <code>|TYPE|</code> ):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ opcnode -list_templs <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> VAS
<span style="color: #000000; font-weight: bold;">|</span>GRP<span style="color: #000000; font-weight: bold;">|</span> VAS
<span style="color: #000000; font-weight: bold;">|</span>MON<span style="color: #000000; font-weight: bold;">|</span> SOMECOMPANY-BC-VAS-MTR-OS-FS
<span style="color: #000000; font-weight: bold;">|</span>MON<span style="color: #000000; font-weight: bold;">|</span> SOMECOMPANY-BC-VAS-MTR-APPS-PORT_10001</pre></div></div>

<p>Assign one of the above templates by e.g.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ opcnode -assign_templs <span style="color: #007800;">templ_name</span>=<span style="color: #ff0000;">&quot;SOMECOMPANY-BC-VAS-MTR-OS-FS&quot;</span> <span style="color: #007800;">templ_type</span>=MONITOR_TEMPLATE <span style="color: #007800;">node_name</span>=vasprdpdb3.somecompany.lan <span style="color: #007800;">net_type</span>=NETWORK_IP</pre></div></div>

<p>to remove replace with <code>-deassign_templ</code>.<br />
Check assigned templates using</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ opcnode -list_ass_templs <span style="color: #007800;">node_name</span>=vasprdpdb3.somecompany.lan <span style="color: #007800;">net_type</span>=NETWORK_IP</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/04/working-with-templates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Replace Existing OVCoreID Entries</title>
		<link>https://lakm.us/logit/2009/03/replace-existing-ovcoreid-entries/</link>
		<comments>https://lakm.us/logit/2009/03/replace-existing-ovcoreid-entries/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 08:00:50 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[managed node]]></category>
		<category><![CDATA[OVCoreID]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=47</guid>
		<description><![CDATA[In a de-installed node, OVCoreID can then be manually added to the management server. After installing the node copy the new $ ovcoreid from the managed node to the management server: opcnode -chg_id cocpeca1.somecompany.lan id=xxx &#60;ovcoreid&#62; The node label cocpeca1 must already exist, check first by using: opcnode -list_nodes node_list=cocpeca1.somecompany.lan It is also better to [...]]]></description>
				<content:encoded><![CDATA[<p>In a de-installed node, OVCoreID can then be manually added to the management server. After installing the node copy the <strong>new</strong> <code>$ ovcoreid</code> from the managed node to the management server:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opcnode -chg_id cocpeca1.somecompany.lan <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">id</span></span>=xxx <span style="color: #000000; font-weight: bold;">&lt;</span>ovcoreid<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>The node label cocpeca1 must already exist, check first by using:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opcnode -list_nodes <span style="color: #007800;">node_list</span>=cocpeca1.somecompany.lan</pre></div></div>

<p>It is also better to disable the node first by using:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opcnode -chg_nodetype <span style="color: #007800;">node_list</span>=cocpeca1.somecompany.lan <span style="color: #007800;">node_type</span>=DISABLED</pre></div></div>

<p>After granting (<code>opccsa</code>), it can be re-enabled by:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opcnode -chg_nodetype <span style="color: #007800;">node_list</span>=cocpeca1.somecompany.lan <span style="color: #007800;">node_type</span>=CONTROLLED</pre></div></div>

<p>(<a href="http://localhost/it/?p=19">Here</a> is related post on forcing OVCoreID)</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/03/replace-existing-ovcoreid-entries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switch OV Process Ownerships</title>
		<link>https://lakm.us/logit/2009/03/switch-ov-process-ownerships/</link>
		<comments>https://lakm.us/logit/2009/03/switch-ov-process-ownerships/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 06:38:26 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[managed node]]></category>
		<category><![CDATA[process owner]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=40</guid>
		<description><![CDATA[In my-client implementation there is standard owner for OV processes, that is opc_op. We can check this on running agents/OV daemons via ps -ef &#124; grep OV. A non-standard my-client will return e.g. (which are owned by root): root 2555 1 0 Mar10 ? 00:00:08 /opt/OV/bin/ovcd root 2569 2555 0 Mar10 ? 00:00:08 /opt/OV/bin/ovbbccb -nodaemon [...]]]></description>
				<content:encoded><![CDATA[<p>In my-client implementation there is standard owner for OV processes, that is <code>opc_op</code>. We can check this on running agents/OV daemons via <code>ps -ef | grep OV</code>.</p>
<p>A <strong>non-standard</strong> my-client will return e.g. (which are owned by <strong><code>root</code></strong>):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">root      <span style="color: #000000;">2555</span>     <span style="color: #000000;">1</span>  <span style="color: #000000;">0</span> Mar10 ?        00:00:08 <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovcd
root      <span style="color: #000000;">2569</span>  <span style="color: #000000;">2555</span>  <span style="color: #000000;">0</span> Mar10 ?        00:00:08 <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovbbccb <span style="color: #660033;">-nodaemon</span>
root      <span style="color: #000000;">2597</span>  <span style="color: #000000;">2555</span>  <span style="color: #000000;">0</span> Mar10 ?        00:00:07 <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>lbin<span style="color: #000000; font-weight: bold;">/</span>perf<span style="color: #000000; font-weight: bold;">/</span>coda
root      <span style="color: #000000;">2660</span>  <span style="color: #000000;">2555</span>  <span style="color: #000000;">0</span> Mar10 ?        00:00:00 <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>lbin<span style="color: #000000; font-weight: bold;">/</span>conf<span style="color: #000000; font-weight: bold;">/</span>ovconfd
root      <span style="color: #000000;">2823</span>  <span style="color: #000000;">2555</span>  <span style="color: #000000;">0</span> Mar10 ?        00:00:<span style="color: #000000;">16</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>lbin<span style="color: #000000; font-weight: bold;">/</span>eaagt<span style="color: #000000; font-weight: bold;">/</span>opcmsga
root      <span style="color: #000000;">2826</span>  <span style="color: #000000;">2555</span>  <span style="color: #000000;">0</span> Mar10 ?        00:00:00 <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>lbin<span style="color: #000000; font-weight: bold;">/</span>eaagt<span style="color: #000000; font-weight: bold;">/</span>opcacta
root      <span style="color: #000000;">2840</span>  <span style="color: #000000;">2555</span>  <span style="color: #000000;">0</span> Mar10 ?        00:00:00 <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>lbin<span style="color: #000000; font-weight: bold;">/</span>eaagt<span style="color: #000000; font-weight: bold;">/</span>opcmsgi
root      <span style="color: #000000;">8083</span>  <span style="color: #000000;">2660</span>  <span style="color: #000000;">0</span> <span style="color: #000000;">18</span>:<span style="color: #000000;">17</span> ?        00:00:00 <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #660033;">-c</span> <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> OV
root      <span style="color: #000000;">8085</span>  <span style="color: #000000;">8083</span>  <span style="color: #000000;">0</span> <span style="color: #000000;">18</span>:<span style="color: #000000;">17</span> ?        00:00:00 <span style="color: #c20cb9; font-weight: bold;">grep</span> OV</pre></div></div>

<p>Hence, we&#8217;ll have to alter the processes ownership as follows:</p>
<blockquote><p>[@node as <strong>root</strong>]</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovdeploy <span style="color: #660033;">-inv</span>  <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-ef</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> OV  <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovc <span style="color: #660033;">-kill</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-ef</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> OV <span style="color: #7a0874; font-weight: bold;">umask</span> 02 <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovswitchuser.sh <span style="color: #660033;">-existinguser</span> opc_op <span style="color: #660033;">-existinggroup</span> opcgrp \ <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">4550</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovbbccb <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovconfchg <span style="color: #660033;">-ns</span> bbc.cb <span style="color: #660033;">-set</span> CHROOT_PATH <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">su</span> - opc_op</pre></div></div>

</blockquote>
<p>The last line (<code>$ su - opc_op</code>) switch user to <code>opc_op</code>, so it&#8217;ll continue in this user:</p>
<blockquote><p>[@node as <strong>opc_op</strong>]</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovc <span style="color: #660033;">-start</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ovc <span style="color: #660033;">-status</span></pre></div></div>

</blockquote>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/03/switch-ov-process-ownerships/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Launcher for Java GUI</title>
		<link>https://lakm.us/logit/2009/02/launcher-for-java-gui/</link>
		<comments>https://lakm.us/logit/2009/02/launcher-for-java-gui/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 07:05:41 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[java GUI]]></category>
		<category><![CDATA[local bin]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=35</guid>
		<description><![CDATA[Launcher for java GUI in local bin (named ovo-java-gui). #! /bin/bash &#160; export JAVA_DIR=/usr/ /opt/OV/www/htdocs/ito_op/ito_op exit 0]]></description>
				<content:encoded><![CDATA[<p>Launcher for java GUI in local bin (named <code>ovo-java-gui</code>).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#! /bin/bash</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">JAVA_DIR</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>OV<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span>htdocs<span style="color: #000000; font-weight: bold;">/</span>ito_op<span style="color: #000000; font-weight: bold;">/</span>ito_op
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/02/launcher-for-java-gui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java GUI First Look</title>
		<link>https://lakm.us/logit/2009/02/java-gui-first-look/</link>
		<comments>https://lakm.us/logit/2009/02/java-gui-first-look/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 04:20:47 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java GUI]]></category>
		<category><![CDATA[motif GUI]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=28</guid>
		<description><![CDATA[Unlike motif GUI session, Java GUI user session can be used in multiple logins. However, administration tools are in limited set compared to motif GUI. Get this GUI from the management server through browser port 3443 (i.e http://192.168.80.3:3443/). For Linux, Java Runtime Environment must be set. I use Sun Java 6, so: JAVA_DIR=/usr/ for the [...]]]></description>
				<content:encoded><![CDATA[<p>Unlike motif GUI session, Java GUI user session can be used in multiple logins. However, administration tools are in limited set compared to motif GUI.</p>
<p>Get this GUI from the management server through browser port 3443 (i.e <code>http://192.168.80.3:3443/</code>). For Linux, Java Runtime Environment must be set.</p>
<p>I use Sun Java 6, so: <code>JAVA_DIR=/usr/</code> for the GUI to run it as <code>$JAVA_DIR/bin/java</code>. I use <code>export JAVA_DIR=/usr/</code>  as <code>set</code> didn&#8217;t work. Fire ./ito_op and it will load (take long). I keep these .jar files &#038; everything under /opt/OV/www/htdocs/ito_op/.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/02/java-gui-first-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dependecies in Manual Agent Deinstallation</title>
		<link>https://lakm.us/logit/2009/02/dependecies-in-manual-agent-deinstallation/</link>
		<comments>https://lakm.us/logit/2009/02/dependecies-in-manual-agent-deinstallation/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 03:18:18 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[managed node]]></category>
		<category><![CDATA[OVPA]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=23</guid>
		<description><![CDATA[If you wish to clean all OVO installation in managed node, start deinstallation from other OpenView application i.e. OV Performance Agent (OVPA). This will resolve dependency issues.]]></description>
				<content:encoded><![CDATA[<p>If you wish to clean all OVO installation in managed node, start deinstallation from other OpenView application i.e. OV Performance Agent (OVPA). This will resolve dependency issues.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/02/dependecies-in-manual-agent-deinstallation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manual HTTPS Agent Installation-Deinstallation (2)</title>
		<link>https://lakm.us/logit/2009/02/manual-https-agent-installation-deinstallation-2/</link>
		<comments>https://lakm.us/logit/2009/02/manual-https-agent-installation-deinstallation-2/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 12:16:16 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[managed node]]></category>
		<category><![CDATA[OVCoreID]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=19</guid>
		<description><![CDATA[&#8230;cont&#8217;d&#8230; More Messy situation usually occur if agent was previously installed (along with activation in management server, node addition, etc.). If an HTTPS agent is deinstalled manually in the managed node, its data stays exist in certificate server &#38; management server. We need to clean this mess. Under complete deinstallation, the following directories are removed [...]]]></description>
				<content:encoded><![CDATA[<p>&#8230;cont&#8217;d&#8230;<br />
<strong>More Messy</strong> situation usually occur if agent was previously installed (along with activation in management server, node addition, etc.). If an HTTPS agent is deinstalled manually in the managed node, its data stays exist in certificate server &amp; management server. We need to clean this mess.</p>
<p>Under complete deinstallation, the following directories are removed by</p>
<ul>
<li><code>rm -Rf /etc/OV/</code></li>
<li><code>rm -Rf /var/opt/OV/</code></li>
</ul>
<p>Hence, installing again in that managed node will give new OVCoreID. After activation, certificate request (<code>ovcert -certreq</code>) will appear in management server. A mismatch then occurs (due to similar host name [?]) from previous registration.</p>
<p>In management server we must delete previous information. At least the previously added node:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opcnode -del_node <span style="color: #007800;">node_name</span>=tikanga3.internal.mycompany.lan <span style="color: #007800;">net_type</span>=NETWORK_IP</pre></div></div>

<p>There is a way to force previously-registered OVCoreID from the management server:</p>
<ol>
<li> Copy the core ID from the managed node (check <code>ovcoreid</code>)</li>
<li> On management server: <code>opccsacm -issue -file [some file to save to] -pass [password] -name [fqdn hostname] -coreid [coreid of node]</code></li>
<li> FTP above file to managed node</li>
<li> On managed node:</li>
</ol>
<ul>
<li><code>ovconfchg -ns sec.cm.client -set CERTIFICATE_DEPLOYMENT_TYPE MANUAL</code></li>
<li><code>ovc -stop</code></li>
<li><code> ovcert -importcert -file [FTP'd file]</code></li>
<li><code> ovc -start</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/02/manual-https-agent-installation-deinstallation-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manual HTTPS Agent Installation-Deinstallation (1)</title>
		<link>https://lakm.us/logit/2009/02/manual-https-agent-installation-deinstallation/</link>
		<comments>https://lakm.us/logit/2009/02/manual-https-agent-installation-deinstallation/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 09:30:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[managed node]]></category>
		<category><![CDATA[OVCoreID]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=3</guid>
		<description><![CDATA[Having pre-installed machine to be used for agent installation experiment is somehow tedious. But, I benefit from the troubleshooting effort. Actually the pointers is written in Arsena &#8211; OVO Admin Guide v1.0a, but it wasn&#8217;t emphasized visually as being significant (so I missed it). There are three common install situation: Clean. OVCoreID and node mapping [...]]]></description>
				<content:encoded><![CDATA[<p>Having pre-installed machine to be used for agent installation experiment is somehow tedious. But, I benefit from the troubleshooting effort.</p>
<p>Actually the pointers is written in <em>Arsena &#8211; OVO Admin Guide v1.0a</em>, but it wasn&#8217;t emphasized visually as being significant (so I missed it). There are three common install situation:</p>
<ul>
<li><strong>Clean</strong>. OVCoreID and node mapping is triggered by agent (usually fresh install)</li>
<li><strong>Messy</strong>. Node mapping is not exist</li>
<li><strong>More Messy</strong>. OVCoreID mismatch (usually there was previous ID from previous deinstallation)</li>
</ul>
<p>How to find which trouble I&#8217;m into?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opccsa -list_pending_cr</pre></div></div>

<p>The problem is: it&#8217;d take some time for the pending-list to appear in the management server. I did restart (<code>ovc -restart</code>) the server, but it only helped a little (inconsistent). The server may have too much load at that time as the pending-list is appearing completely in the following day:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> Hostname  <span style="color: #000000; font-weight: bold;">|</span>                         Request ID  <span style="color: #000000; font-weight: bold;">|</span>                  Mapped Host  <span style="color: #000000; font-weight: bold;">|</span>
<span style="color: #660033;">-------------------------------------------------------------------------------------------------------</span>
localhost.localdomain  d936333e-f6a4-<span style="color: #000000;">7537</span>-0376-8e055989b35e
localhost.localdomain  e8087476-f686-<span style="color: #000000;">7537</span>-16ba-c77d2fc599e3
rhel-arif.internal.mycompany.lan  6e73e0a6-f57c-<span style="color: #000000;">7537</span>-<span style="color: #000000;">1622</span>-b0d28f73264c
tikanga3.internal.mycompany.lan  <span style="color: #000000; font-weight: bold;">&lt;</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>bc0a2506-f8d2-<span style="color: #000000;">7537</span>-<span style="color: #000000;">1416</span>-e692e27b7af0<span style="color: #000000; font-weight: bold;">&lt;/</span>strong<span style="color: #000000; font-weight: bold;">&gt;</span>  tikanga3.internal.mycompany.lan
tikanga3.internal.mycompany.lan  d1f8b5b2-d14a-<span style="color: #000000;">7537</span>-0325-c7ed4464fe55</pre></div></div>

<p>In <strong>Messy</strong> situation. We need to map the node through command line or Motif GUI.</p>
<p>Once, I do it through GUI:.</p>
<p>In the 2nd attempt I mix: adding node in GUI: <code>Actions > Add Node</code> and then map using command line:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opccsa -map_node bc0a2506-f8d2-<span style="color: #000000;">7537</span>-<span style="color: #000000;">1416</span>-e692<span style="color: #007800;">e27b7af0</span>=tikanga3</pre></div></div>

<p>Those numbers are request ID listed in <code>list_pending_cr</code>. <code>tikanga3</code> is the name of the node that we&#8217;ve added.</p>
<p>To add node through command line (instead of GUI) do:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">opcnode -add_node <span style="color: #007800;">node_name</span>=tikanga3.internal.mycompany.lan <span style="color: #007800;">node_label</span>=tikanga3 <span style="color: #007800;">net_type</span>=NETWORK_IP <span style="color: #007800;">mach_type</span>=MACH_BBC_LX26RPM_X86 <span style="color: #007800;">comm_type</span>=COMM_BBC <span style="color: #007800;">group_name</span>=Linux <span style="color: #007800;">layout_group</span>=MenaraDuta</pre></div></div>

<p>If  <code>layout_group</code> isn&#8217;t included by default the added node will be in layout group <code>HoldingArea</code>.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/02/manual-https-agent-installation-deinstallation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
