<?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; install-deinstall</title>
	<atom:link href="https://lakm.us/logit/tag/install-deinstall/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>Running Raddle in RHEL</title>
		<link>https://lakm.us/logit/2011/08/running-raddle-in-rhel/</link>
		<comments>https://lakm.us/logit/2011/08/running-raddle-in-rhel/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 07:43:05 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[General Linux]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[emulator]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[OSS]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[snmp]]></category>

		<guid isPermaLink="false">http://lakm.us/logit/?p=215</guid>
		<description><![CDATA[Raddle is a great SNMP player written in Perl. I say player to this emulator application, meaning that I can append or dump snmpwalk output from a device and then replay that from Raddle. Installing it can be both simple and tedious tasks. I used Red Hat Enterprise Linux 5.2 inside a virtual machine (VirtualBox) [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://raddle.sourceforge.net/" target="_blank">Raddle</a> is a great SNMP player written in Perl. I say player to this emulator application, meaning that I can append or dump <code>snmpwalk</code> output from a device and then replay that from Raddle. Installing it can be both simple and tedious tasks. I used Red Hat Enterprise Linux 5.2 inside  a virtual machine (VirtualBox) to make it compact without interfering my own host <code>snmpd</code> setting.</p>
<p>net-SNMP packages are required for Raddle to work on top of primarily <code>snmpd</code>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> net-snmp net-snmp-utils</pre></div></div>

<p>Prior to installation some rpm packages must be downloaded separately as my local repo (created from original RHEL CD images) may not contain them. They are installed as follow:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rpm <span style="color: #660033;">-i</span> perl-Carp-Clan-<span style="color: #000000;">6.00</span>-1.el4.rf.noarch.rpm
rpm <span style="color: #660033;">-i</span> perl-Bit-Vector-<span style="color: #000000;">6.4</span>-2.el5.rf.i386.rpm
rpm <span style="color: #660033;">-i</span> perl-Crypt-DES-<span style="color: #000000;">2.05</span>-3.2.el5.rf.i386.rpm
rpm <span style="color: #660033;">-i</span> perl-Digest-SHA1-<span style="color: #000000;">2.11</span>-1.el5.rf.i386.rpm
rpm <span style="color: #660033;">-i</span> perl-Digest-HMAC-<span style="color: #000000;">1.01</span>-2.2.el5.rf.noarch.rpm
rpm <span style="color: #660033;">-i</span> perl-Socket6-<span style="color: #000000;">0.20</span>-1.el5.rf.i386.rpm
rpm <span style="color: #660033;">-i</span> perl-Net-SNMP-5.2.0-1.2.el5.rf.noarch.rpm
rpm <span style="color: #660033;">-i</span> perl-Date-Pcalc-<span style="color: #000000;">1.2</span>-1.2.el5.rf.noarch.rpm
rpm <span style="color: #660033;">-i</span> perl-Date-Calc-<span style="color: #000000;">5.4</span>-1.el5.rf.i386.rpm</pre></div></div>

<p>continued by installing <code>net-snmp-perl</code> from original repo</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yum <span style="color: #c20cb9; font-weight: bold;">install</span> net-snmp-perl</pre></div></div>

<p>Uncompressing Raddle and successful <code>make test</code> will mean installation is good and can be finished by <code>make install</code></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> Net-Raddle-<span style="color: #000000;">0.08</span>
<span style="color: #c20cb9; font-weight: bold;">perl</span> Makefile.PL
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #7a0874; font-weight: bold;">test</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<h1>Replaying SNMP Packets</h1>
<p>The idea is to run <code>snmpd</code> which replays a specific prepared-SNMP-packets instead of our own real time system SNMP data (in this case the condition of RHEL 5.2 host). There are three files to do that, let&#8217;s name them <code>r1.*</code>:</p>
<ol>
<li><code>r1.snmp</code><br />
A capture from i.e.<br />
<code>snmpwalk -v 1 -c &lt;community string&gt; -OneU &lt;device&gt; &gt; r1.snmp</code></li>
<li><code>r1.conf</code><br />
<code>snmpd</code> will run this instead of the original OS default:<br />
<code>snmpd -C -I vacm_vars -c /usr/local/etc/snmp-emulator/r1.conf</code></li>
<li><code>r1.pl</code><br />
the perl script where the most basic is to just replay the above <code>r1.snmp</code></li>
</ol>
<p>An official documentation to replay SNMP can be found <a href="http://raddle.sourceforge.net/docs/SNMPAgent.html" target="_blank">here</a>. I got hold back when trying to listen from other host, it turns out that I must remove the localhost section in <code>r1.conf</code> which will make it to use standard port 161 as well</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Listen on port 9501</span>
<span style="color: #666666; font-style: italic;">#agentaddress    udp:localhost:9501,tcp:localhost:9501</span></pre></div></div>

<p>It is also wise to always cut the <code>r1.snmp</code> first to see if the perl works (test with <code>perl -w /usr/local/etc/snmp-emulator/r1.pl</code>) either with warning or clean, meaning no problem with just some of the OIDs found inside the file.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2011/08/running-raddle-in-rhel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hijri Calendar</title>
		<link>https://lakm.us/logit/2009/09/hijri-calendar/</link>
		<comments>https://lakm.us/logit/2009/09/hijri-calendar/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 07:29:53 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=86</guid>
		<description><![CDATA[Not succeding to find Hijri Calendar in Synaptic, I go for http://www.ojuba.org/wiki/hijra/. First, let Google translate does the job. Secondly, install this python applet. Inside hijra-0.1.18 run $ sudo python setup.py install It&#8217;d fail as it couldn&#8217;t find HijriApplet. Rename HijriApplet.py to HijriApplet to make it work. Now, it is in path (/usr/bin/) and can [...]]]></description>
				<content:encoded><![CDATA[<p>Not succeding to find Hijri Calendar in Synaptic, I go for <a title="http://www.ojuba.org/wiki/hijra" href="http://www.ojuba.org/wiki/hijra" target="_blank">http://www.ojuba.org/wiki/hijra/</a>. First, let Google translate does the job. Secondly, install this python applet.</p>
<p>Inside hijra-0.1.18 run <code>$ sudo python setup.py install</code></p>
<p>It&#8217;d fail as it couldn&#8217;t find <code>HijriApplet</code>. Rename <code>HijriApplet.py</code> to <code>HijriApplet</code> to make it work. Now, it is in path (<code>/usr/bin/</code>) and can be called by <code>HijriApplet</code> command. We can copy <code>hijra-autostart.desktop</code> description to i.e. <code>~/.gnome2/panel2.d/default/launchers</code> for shortcut launcher.</p>
<p><code>python-gnome2-extras</code> must be installed or else it&#8217;d fail to launch saying can&#8217;t find <code>egg.trayicon</code></p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/09/hijri-calendar/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tagsistant (1)</title>
		<link>https://lakm.us/logit/2009/09/tagsistant-1/</link>
		<comments>https://lakm.us/logit/2009/09/tagsistant-1/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 06:09:59 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[daemon]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[make-install]]></category>
		<category><![CDATA[tagging]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=82</guid>
		<description><![CDATA[Installation of tagsistant requires SQLite and FUSE, in Ubuntu they are satisfied as libsqlite3-dev and libfuse-dev (which will also requires libselinux1-dev and libsepol1-dev). A series of configure, make, and make-install will fail during the make-install. /usr/local/share/pixmaps must be created first before running $ sudo make install After that I test tagsistant to organize /data/tags/ $ [...]]]></description>
				<content:encoded><![CDATA[<p>Installation of <strong>tagsistant</strong> requires SQLite and FUSE, in Ubuntu they are satisfied as libsqlite3-dev and libfuse-dev (which will also requires libselinux1-dev and libsepol1-dev). A series of configure, make, and make-install will fail during the make-install. <code>/usr/local/share/pixmaps</code> must be created first before running</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>After that I test tagsistant to organize <code>/data/tags/</code></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ tagsistant <span style="color: #000000; font-weight: bold;">/</span>data<span style="color: #000000; font-weight: bold;">/</span>tags</pre></div></div>

<p>The tagging works as expected but not too handy since no browser GUI is embedded. It is just like browsing through multiple OR and AND folders.</p>
<p>The installation process will also install <strong>tagman</strong> (a tag manager GUI) if <code>libgtk2.0-dev</code> and <code>libglib2.0-dev</code> are installed.</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/09/tagsistant-1/feed/</wfw:commentRss>
		<slash:comments>0</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>Install HP P1006 Laser Jet</title>
		<link>https://lakm.us/logit/2009/02/install-hp-p1006-laser-jet/</link>
		<comments>https://lakm.us/logit/2009/02/install-hp-p1006-laser-jet/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 09:36:28 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[device driver]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[make-install]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=37</guid>
		<description><![CDATA[Basically installation is described here, but I download directly: wget http://foo2zjs.rkkda.com/foo2zjs.tar.gz wget http://foo2zjs.rkkda.com/firmware/sihpP1006.tar.gz First, I remove foo2zjs that was installed by default. After (1) make and (2) copy the unpacked HP driver to foo2zjs directory. Do the (3) make install and make install-hotplug. Run cups and the printer will be listed in the usual list [...]]]></description>
				<content:encoded><![CDATA[<p>Basically installation is described <a href="http://musirlor-raya.co.cc/?p=9">here</a>, but I download directly:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>foo2zjs.rkkda.com<span style="color: #000000; font-weight: bold;">/</span>foo2zjs.tar.gz
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>foo2zjs.rkkda.com<span style="color: #000000; font-weight: bold;">/</span>firmware<span style="color: #000000; font-weight: bold;">/</span>sihpP1006.tar.gz</pre></div></div>

<p>First, I remove <code>foo2zjs</code> that was installed by default. After (1) <code>make</code> and (2) copy the unpacked HP driver to <code>foo2zjs</code> directory. Do the (3) <code>make install</code> and <code>make install-hotplug</code>.</p>
<p>Run <code>cups</code> and the printer will be listed in the usual list (after a series of regular add new printer).</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/02/install-hp-p1006-laser-jet/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>
		<item>
		<title>Troubleshoot Installation</title>
		<link>https://lakm.us/logit/2009/02/troubleshoot-installation/</link>
		<comments>https://lakm.us/logit/2009/02/troubleshoot-installation/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 09:59:12 +0000</pubDate>
		<dc:creator>Arif</dc:creator>
				<category><![CDATA[OpenView]]></category>
		<category><![CDATA[install-deinstall]]></category>
		<category><![CDATA[managed node]]></category>

		<guid isPermaLink="false">http://localhost/it/?p=6</guid>
		<description><![CDATA[managed node]]></description>
				<content:encoded><![CDATA[<p>managed node</p>
]]></content:encoded>
			<wfw:commentRss>https://lakm.us/logit/2009/02/troubleshoot-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
