<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>acloudtree</title>
	
	<link>http://www.acloudtree.com</link>
	<description>Programming, Computers, Writing, Economics, and Life</description>
	<lastBuildDate>Thu, 16 Feb 2012 22:44:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/acloudtree" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="acloudtree" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>How To: Install Netcool Omnibus Using The Multitiered Architecture On Redhat 6.2 (Part 1)</title>
		<link>http://www.acloudtree.com/how-to-install-netcool-omnibus-using-the-multitiered-architecture-on-redhat-6-2-part-1/</link>
		<comments>http://www.acloudtree.com/how-to-install-netcool-omnibus-using-the-multitiered-architecture-on-redhat-6-2-part-1/#comments</comments>
		<pubDate>Thu, 16 Feb 2012 03:54:27 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[Netcool]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=1196</guid>
		<description><![CDATA[*** JARED&#8217;S NETCOOL README **** NOTES &#8211; ldd and strace are your friends when tracking down libs, conf files, and mother trucking logs - NETCOOL only runs on i686/i386 libs, you were warned (UPDATE: Jacob Steinberger on the netcoolusers.org list serv wanted me to point out that netcool runs on SunOs) *** NETCOOL *** [1] [...]]]></description>
			<content:encoded><![CDATA[<p>*** JARED&#8217;S NETCOOL README ****</p>
<p>NOTES</p>
<p> &#8211; ldd and strace are your friends when tracking down libs, conf files, and mother trucking logs</p>
<p>- NETCOOL only runs on i686/i386 libs, you were warned (UPDATE: Jacob Steinberger on the netcoolusers.org list serv wanted me to point out that netcool runs on SunOs)</p>
<p>*** NETCOOL *** </p>
<p>[1] create netcool user as root</p>
<p>[2] login as netcool (do not su -, don&#8217;t ask me why, ibm&#8217;s docs say so)</p>
<p>[3] create dir `~/core`,  transfer renamed tar to `core` and unpack (from ibm&#8217;s site CI3JDML, i renamed it for context)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xvf ~<span style="color: #000000; font-weight: bold;">/</span>core<span style="color: #000000; font-weight: bold;">/</span>CI3JDML_tivoli_netcool_omnibus_v731_core.tar</pre></div></div>

<p>[4] vi /etc/hosts (*hack for now)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">192.168.1.101 nchost01
192.168.1.102 nchost02</pre></div></div>

<p>[5] uncompress java from the .tar file, it is found in the</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">unzip</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>core<span style="color: #000000; font-weight: bold;">/</span>COI<span style="color: #000000; font-weight: bold;">/</span>PackageSteps<span style="color: #000000; font-weight: bold;">/</span>jre160IBMr7<span style="color: #000000; font-weight: bold;">/</span>FILES<span style="color: #000000; font-weight: bold;">/</span>jre160IBMr7-Linux32-1.6.700.0.zip</pre></div></div>

<p>[6] move jre to ~ and cleanup</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span>  <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>core<span style="color: #000000; font-weight: bold;">/</span>COI<span style="color: #000000; font-weight: bold;">/</span>PackageSteps<span style="color: #000000; font-weight: bold;">/</span>jre160IBMr7<span style="color: #000000; font-weight: bold;">/</span>FILES<span style="color: #000000; font-weight: bold;">/</span>platform<span style="color: #000000; font-weight: bold;">/</span>linux2x86<span style="color: #000000; font-weight: bold;">/</span>jre_1.6.7 ~<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #660033;">-Rf</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>core<span style="color: #000000; font-weight: bold;">/</span>COI<span style="color: #000000; font-weight: bold;">/</span>PackageSteps<span style="color: #000000; font-weight: bold;">/</span>jre160IBMr7<span style="color: #000000; font-weight: bold;">/</span>FILES<span style="color: #000000; font-weight: bold;">/</span>platform</pre></div></div>

<p>[7] environment variables (add to .bashrc)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">NCHOME</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>IBM<span style="color: #000000; font-weight: bold;">/</span>tivoli<span style="color: #000000; font-weight: bold;">/</span>netcool
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">OMNIHOME</span>=<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PATH</span>=<span style="color: #007800;">$PATH</span>:<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin:<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>probes:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>jre_1.6.7<span style="color: #000000; font-weight: bold;">/</span>jre<span style="color: #000000; font-weight: bold;">/</span>bin
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">LD_LIBRARY_PATH</span>=<span style="color: #007800;">$LD_LIBRARY_PATH</span>:<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>IBM<span style="color: #000000; font-weight: bold;">/</span>tivoli<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>platform<span style="color: #000000; font-weight: bold;">/</span>linux2x86<span style="color: #000000; font-weight: bold;">/</span>lib
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">JAVADIR</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>jre_1.6.7<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>[8] install the needed packages</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> libXp-1.0.0-<span style="color: #000000;">8</span> openmotif22-2.2.3-<span style="color: #000000;">18</span> pam-1.1.1-<span style="color: #000000;">4</span> pam.i686 libstdc++-4.4.4-<span style="color: #000000;">13</span> libXft libXtst libgcc-4.4.4-<span style="color: #000000;">13</span> libstdc++-4.4.6-<span style="color: #000000;">3</span>.el6.i686 libXpm-3.5.8 compat-libstdc++-<span style="color: #000000;">296</span>-<span style="color: #000000;">2.96</span>-<span style="color: #000000;">144</span> compat-libstdc++-<span style="color: #000000;">33</span>-3.2.3-<span style="color: #000000;">69</span> compat-libstdc++-<span style="color: #000000;">33</span>-3.2.3-<span style="color: #000000;">47.3</span> compat-libstdc++-<span style="color: #000000;">33</span>.i686 libXmu.i686 openmotif.i686 openmotif22.i686</pre></div></div>

<p>[9] potentially remove libXm 64bit</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>netcool<span style="color: #000000; font-weight: bold;">@</span>nchost01 ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ yum remove libXmu.x86_64</pre></div></div>

<p>*BEGIN PROTIP</p>
<p>If your install goes wrong remove these four hidden files (file / sym link) and run install.bin -i console again<br />
OR<br />
If you want to blow away the ~/IBM/tivoli/netcool dir and start over from step 10, delete these files</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
drwxrwxr-x. <span style="color: #000000;">20</span> netcool netcool 4.0K Feb <span style="color: #000000;">15</span> <span style="color: #000000;">10</span>:<span style="color: #000000;">21</span> .acsi_nchost01
lrwxrwxrwx.  <span style="color: #000000;">1</span> netcool netcool   <span style="color: #000000;">28</span> Feb <span style="color: #000000;">13</span> 06:<span style="color: #000000;">33</span> .acsi_netcool -<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>.acsi_nchost01
drwxrwxr-x. <span style="color: #000000;">3</span> netcool netcool  20K Feb <span style="color: #000000;">13</span> 06:<span style="color: #000000;">37</span> .coi
-rwxrwxrwx. <span style="color: #000000;">1</span> netcool netcool 2.5K Feb <span style="color: #000000;">13</span> 06:<span style="color: #000000;">37</span> .com.zerog.registry.xml</pre></div></div>

<p>*END PROTIP</p>
<p>[10] install core, use standard options, BUT install to custom dir /home/netcool/IBM/tivoli/netcool</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>core<span style="color: #000000; font-weight: bold;">/</span>install.bin <span style="color: #660033;">-i</span> console
&nbsp;
===============================================================================
Select Installation Directory
<span style="color: #660033;">-----------------------------</span>
&nbsp;
Create an installation directory :
  <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>IBM<span style="color: #000000; font-weight: bold;">/</span>tivoli<span style="color: #000000; font-weight: bold;">/</span>netcool
&nbsp;
ENTER AN ABSOLUTE PATH, OR PRESS <span style="color: #000000; font-weight: bold;">&lt;</span>ENTER<span style="color: #000000; font-weight: bold;">&gt;</span> TO ACCEPT THE DEFAULT DIRECTORY
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#40;</span>DEFAULT: <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>IBM<span style="color: #000000; font-weight: bold;">/</span>tivoli<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #7a0874; font-weight: bold;">&#41;</span>: <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>IBM<span style="color: #000000; font-weight: bold;">/</span>tivoli<span style="color: #000000; font-weight: bold;">/</span>netcool</pre></div></div>

<p>[11] test to see if core and db installed/created succesfully</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>netcool<span style="color: #000000; font-weight: bold;">@</span>nchost01 ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$  <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>IBM<span style="color: #000000; font-weight: bold;">/</span>tivoli<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_objserv <span style="color: #660033;">-version</span>
&nbsp;
Netcool<span style="color: #000000; font-weight: bold;">/</span>OMNIbus Object Server - Version 7.3.1
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#40;</span>C<span style="color: #7a0874; font-weight: bold;">&#41;</span> Copyright IBM Corp. <span style="color: #000000;">1994</span>, <span style="color: #000000;">2007</span>
&nbsp;
Code Revision: 5.21.27
&nbsp;
Library Revisions:
	libnetcool: 5.21.27
	libnoam: 5.21.27
	libnsecurity: 5.21.27
	libnipc: 5.21.27
	libnstk: 5.21.27
	libniduc_server: 5.21.27
	libnregion: 5.21.27
	libnmemstore: 5.21.27
	libncmd: 5.21.27
	libnstore: 5.21.27
	libnproc: 5.21.27
	libnauto: 5.21.27
	libnobjserv: 5.21.27
	network::ipv6: 5.21.27
&nbsp;
Compilation Date:	Wed Jan <span style="color: #000000;">12</span> <span style="color: #000000;">19</span>:<span style="color: #000000;">13</span>:<span style="color: #000000;">14</span> GMT <span style="color: #000000;">2011</span>
Compilation Machine:	Linux 2.4.21-47.0.1.ELsmp i686
Compilation System:	rhat3es-build1
&nbsp;
Code Generation: PRODUCTION
&nbsp;
Registered debug facilities:
	nco_objserv_profiler_timings<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, signal<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, thread<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, cmd<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, 
	region<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, objserv<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, nco_objserv_profiler<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, ipc_s_rpc<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, 
	memstore<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, nco_objserv<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, clock<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, timer<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, sec_author<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, 
	prop_mgr<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, cb_mgr<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, arg_mgr<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, ipc_s_res<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, noam<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, 
	nco_objserv_vvtr<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, ipc_s_not<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, store<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, auto<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, proc<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, 
	region_mutation<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, sec_audit<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, module<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, ipc_s_ini<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, 
	ipc_s_mut<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>, ipc_s_evt<span style="color: #7a0874; font-weight: bold;">&#91;</span>ON<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span>netcool<span style="color: #000000; font-weight: bold;">@</span>nchost01 ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$</pre></div></div>

<p>[12] copy/paste following into</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>IBM<span style="color: #000000; font-weight: bold;">/</span>tivoli<span style="color: #000000; font-weight: bold;">/</span>netcool<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>omni.dat
&nbsp;
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># omni.dat file as prototype for interfaces file</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Ident: $Id: omni.dat 1.5 1999/07/13 09:34:20 chris Development $</span>
<span style="color: #666666; font-style: italic;">#</span>
<span style="color: #666666; font-style: italic;"># Ibm in their wisdom thought it prudent to make</span>
<span style="color: #666666; font-style: italic;"># P = Primary</span>
<span style="color: #666666; font-style: italic;"># B = Backup</span>
<span style="color: #666666; font-style: italic;"># (From their documents) Important: Ensure that you use these naming conventions for your ObjectServers and ObjectServer Gateways. </span>
<span style="color: #666666; font-style: italic;"># The SQL import files and gateway configuration files, which are supplied for setting up the architecture,</span>
<span style="color: #666666; font-style: italic;"># rely on compliance with these naming conventions. In particular, ensure that the primary ObjectServer names </span>
<span style="color: #666666; font-style: italic;"># end in _P* and the backup ObjectServer names end in _B*.</span>
&nbsp;
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>AGG_P<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost01 <span style="color: #000000;">4100</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>AGG_B<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost02 <span style="color: #000000;">4150</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>AGG_GATE<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost02 <span style="color: #000000;">4105</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>AGG_V<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost01 <span style="color: #000000;">4100</span>
        Backup: nchost02 <span style="color: #000000;">4150</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>COL_P_1<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost01 <span style="color: #000000;">4101</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>COL_B_1<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost02 <span style="color: #000000;">4151</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>DIS_1<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost01 <span style="color: #000000;">4102</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>DIS_2<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost02 <span style="color: #000000;">4152</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>C_TO_A_GATE_P_1<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost01 <span style="color: #000000;">4103</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>C_TO_A_GATE_B_1<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost02 <span style="color: #000000;">4153</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>A_TO_D_GATE_1<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost01 <span style="color: #000000;">4104</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#91;</span>A_TO_D_GATE_2<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span>
        Primary: nchost02 <span style="color: #000000;">4154</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>[14] Generate the interfaces file for Tivoli Netcool/OMNIbus communications by running the following command: // The interfaces file $NCHOME/etc/interfaces.arch is created, where arch represents the operating system name.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_igen</pre></div></div>

<p>[15] we need to enable load balancing so copy default aggregation file and chmod to write perms</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>aggregation.sql <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>aggregation_load_balancing.sql
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">755</span>  <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>aggregation_load_balancing.sql</pre></div></div>

<p>[16] uncomment these lines in the aggregation file and write/quit</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>aggregation_load_balancing.sql</pre></div></div>

<p>FROM:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #660033;">------------------------------------------------------------------------------</span>
<span style="color: #660033;">--</span> INITIALISE LOAD-BALANCING FOR THE DISPLAY OBJECTSERVERS
<span style="color: #660033;">--</span> NOT ENABLED BY DEFAULT
DELETE FROM master.servergroups;
go
<span style="color: #660033;">--</span> INSERT INTO master.servergroups VALUES<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'DIS_1'</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
<span style="color: #660033;">--</span> INSERT INTO master.servergroups VALUES<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'DIS_2'</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
<span style="color: #660033;">--</span> go</pre></div></div>

<p>TO:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #660033;">------------------------------------------------------------------------------</span>
<span style="color: #660033;">--</span> INITIALISE LOAD-BALANCING FOR THE DISPLAY OBJECTSERVERS
<span style="color: #660033;">--</span> NOT ENABLED BY DEFAULT
DELETE FROM master.servergroups;
go
INSERT INTO master.servergroups VALUES<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'DIS_1'</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
INSERT INTO master.servergroups VALUES<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'DIS_2'</span>,<span style="color: #000000;">1</span>,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
go</pre></div></div>

<p>* * * NCHOST1 * * *</p>
<p>[1] setup the different servers</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>C_TO_A_GATE.map <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>C_TO_A_GATE_P_1.<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>A_TO_D_GATE.map <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>A_TO_D_GATE.tblrep.def <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>A_TO_D_GATE_1.props <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_dbinit <span style="color: #660033;">-server</span> AGG_P <span style="color: #660033;">-customconfigfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>aggregation_load_balancing.sql
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_dbinit <span style="color: #660033;">-server</span> COL_P_1 <span style="color: #660033;">-customconfigfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>collection.sql
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_dbinit <span style="color: #660033;">-server</span> DIS_1 <span style="color: #660033;">-desktopserver</span> <span style="color: #660033;">-dsddualwrite</span> <span style="color: #660033;">-dsdprimary</span> AGG_V <span style="color: #660033;">-customconfigfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>display.sql</pre></div></div>

<p>[2] start the recently setup servers</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_objserv <span style="color: #660033;">-name</span> AGG_P <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_objserv <span style="color: #660033;">-name</span> COL_P_1 <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_objserv <span style="color: #660033;">-name</span> DIS_1 <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_g_objserv_uni <span style="color: #660033;">-propsfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>C_TO_A_GATE_P_1.props <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_g_objserv_uni <span style="color: #660033;">-propsfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>A_TO_D_GATE_1.props <span style="color: #000000; font-weight: bold;">&amp;</span></pre></div></div>

<p>* * * NCHOST2 * * *</p>
<p>[1] setup the different servers</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>AGG_GATE.<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>C_TO_A_GATE.map <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>C_TO_A_GATE_B_1.<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>A_TO_D_GATE.map <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>A_TO_D_GATE.tblrep.def <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>gateway<span style="color: #000000; font-weight: bold;">/</span>A_TO_D_GATE_2.props <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>.
&nbsp;
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_dbinit <span style="color: #660033;">-server</span> AGG_B <span style="color: #660033;">-customconfigfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>aggregation_load_balancing.sql
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_dbinit <span style="color: #660033;">-server</span> COL_B_1 <span style="color: #660033;">-customconfigfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>collection.sql
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_dbinit <span style="color: #660033;">-server</span> DIS_2 <span style="color: #660033;">-desktopserver</span> <span style="color: #660033;">-dsddualwrite</span> <span style="color: #660033;">-dsdprimary</span> AGG_V <span style="color: #660033;">-customconfigfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>extensions<span style="color: #000000; font-weight: bold;">/</span>multitier<span style="color: #000000; font-weight: bold;">/</span>objectserver<span style="color: #000000; font-weight: bold;">/</span>display.sql</pre></div></div>

<p>[2] start the recently setup servers</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_objserv <span style="color: #660033;">-name</span> AGG_B <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_objserv <span style="color: #660033;">-name</span> COL_B_1 <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_objserv <span style="color: #660033;">-name</span> DIS_2 <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_g_objserv_bi <span style="color: #660033;">-propsfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>AGG_GATE.props <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_g_objserv_uni <span style="color: #660033;">-propsfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>C_TO_A_GATE_B_1.props <span style="color: #000000; font-weight: bold;">&amp;</span>
<span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nco_g_objserv_uni <span style="color: #660033;">-propsfile</span> <span style="color: #007800;">$NCHOME</span><span style="color: #000000; font-weight: bold;">/</span>omnibus<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>A_TO_D_GATE_2.props <span style="color: #000000; font-weight: bold;">&amp;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/how-to-install-netcool-omnibus-using-the-multitiered-architecture-on-redhat-6-2-part-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>You’re smart, you’re special, and you’re beautiful</title>
		<link>http://www.acloudtree.com/youre-smart-youre-special-and-youre-beautiful/</link>
		<comments>http://www.acloudtree.com/youre-smart-youre-special-and-youre-beautiful/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 23:37:32 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[love]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=1188</guid>
		<description><![CDATA[About six months ago we moved my daughter into a &#8220;big girl&#8221; bed. And about then, when it would get late and time for &#8220;nigh nigh&#8221;, I started a ritual with her. She would lay down in her bed, we would say some prayers, and then I would say. &#8220;Just remember, you&#8217;re smart, you&#8217;re special, [...]]]></description>
			<content:encoded><![CDATA[<p>About six months ago we moved my daughter into a &#8220;big girl&#8221; bed. And about then, when it would get late and time for &#8220;nigh nigh&#8221;, I started a ritual with her.</p>
<p>She would lay down in her bed, we would say some prayers, and then I would say.</p>
<p>&#8220;Just remember, you&#8217;re smart, you&#8217;re special, and you&#8217;re beautiful.&#8221;</p>
<p>And then I would list everyone in her close family that loves her.</p>
<p>&#8220;Your Daddy loves you<br />
Your Mommy loves you<br />
Your Jude brother loves you<br />
Papa and Grandma Folkins love you<br />
Papa and Grandma Bogen love you<br />
Uncle Sean loves you<br />
Auntie Anna loves you<br />
And cousin Elena loves you&#8221;</p>
<p>I never really had a plan, I just remember thinking that my daughter needs to know that she is amazing. And she needs to remember all the people who will come running if she calls.</p>
<p>So today I went home for lunch. And it was right around her nap time. Without thinking, I volunteered to put her to bed.</p>
<p>She laid down, and then I said</p>
<p>&#8220;Now just remember, you&#8217;re-&#8221;</p>
<p>But before I could finish, and still with a binky partially in her mouth, she said</p>
<p>&#8220;-yur smarr, yur spesh-al, and yur beu-i-ful&#8221;</p>
<p>Then she gave me a big hug and smiled.</p>
<p>I melted.</p>
<p>You could wreck my car, steal my laptop, or even lay me off, but you would not be able to ruin my day today. My daughter knows she is valuable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/youre-smart-youre-special-and-youre-beautiful/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Developing a Chrome Extension and the “Origin is not allowed by Access-Control-Allow-Origin Error”</title>
		<link>http://www.acloudtree.com/developing-a-chrome-extension-and-the-origin-is-not-allowed-by-access-control-allow-origin-error/</link>
		<comments>http://www.acloudtree.com/developing-a-chrome-extension-and-the-origin-is-not-allowed-by-access-control-allow-origin-error/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 15:30:38 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=1180</guid>
		<description><![CDATA[I have been messing around building a Chrome extension and am fetching some resources using good ol&#8217; XMLHttpRequest(). At least I was trying to do so and instead was getting an epic fail. I am using the google developer debugger to test (tutorial) and saw the following error in the console. Example: Origin &#91;YOUR_RESOURCE_NAME&#93; is [...]]]></description>
			<content:encoded><![CDATA[<p>I have been messing around building a Chrome extension and am fetching some resources using good ol&#8217; XMLHttpRequest(). At least I was trying to do so and instead was getting an epic fail.</p>
<p>I am using the google developer debugger to test (<a title="google tutorial for developers tools" href="http://code.google.com/chrome/extensions/tut_debugging.html" target="_blank">tutorial</a>) and saw the following error in the console.</p>
<p>Example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Origin <span style="color: #7a0874; font-weight: bold;">&#91;</span>YOUR_RESOURCE_NAME<span style="color: #7a0874; font-weight: bold;">&#93;</span> is not allowed by Access-Control-Allow-Origin Error.</pre></div></div>

<p>I thought I had configured my manifest.json file with the correct permissions.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">...<span style="color: #660066;">snip</span>...
  <span style="color: #3366CC;">&quot;permissions&quot;</span> <span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span>
    <span style="color: #3366CC;">&quot;https://*.domain.com&quot;</span>
  <span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
...<span style="color: #660066;">snip</span>...</pre></div></div>

<p>Turns out I was simply missing the trailing slash /.</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">...<span style="color: #660066;">snip</span>...
  <span style="color: #3366CC;">&quot;permissions&quot;</span> <span style="color: #339933;">:</span> <span style="color: #009900;">&#91;</span>
    <span style="color: #3366CC;">&quot;https://*.domain.com/&quot;</span>
  <span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span>
...<span style="color: #660066;">snip</span>...</pre></div></div>

<p>Hope that helps someone.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/developing-a-chrome-extension-and-the-origin-is-not-allowed-by-access-control-allow-origin-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Install FreeTDS and UnixODBC On OSX Using Homebrew For Use With Ruby, Php, And Perl</title>
		<link>http://www.acloudtree.com/how-to-install-freetds-and-unixodbc-on-osx-using-homebrew-for-use-with-ruby-php-and-perl/</link>
		<comments>http://www.acloudtree.com/how-to-install-freetds-and-unixodbc-on-osx-using-homebrew-for-use-with-ruby-php-and-perl/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 17:44:52 +0000</pubDate>
		<dc:creator>jared.folkins</dc:creator>
				<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://www.acloudtree.com/?p=1149</guid>
		<description><![CDATA[This little project started out as a basic script to connect to a Microsoft SqlServer and get data. It was a nightmare as I probably spent 15 hours learning about and troubleshooting both FreeTDS and UnixODBC. My pain is now your gain. NOTICE: I have homebrew configured to install all packages into my local directory [...]]]></description>
			<content:encoded><![CDATA[<p>This little project started out as a basic script to connect to a Microsoft SqlServer and get data. It was a nightmare as I probably spent 15 hours learning about and troubleshooting both FreeTDS and UnixODBC. My pain is now your gain.</p>
<p>NOTICE: I have homebrew configured to install all packages into my local directory /Users/jared/.homebrew/</p>
<p><strong>1) Install UnixODBC</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ brew <span style="color: #c20cb9; font-weight: bold;">install</span> unixodbc
==<span style="color: #000000; font-weight: bold;">&gt;</span> Downloading http:<span style="color: #000000; font-weight: bold;">//</span>www.unixodbc.org<span style="color: #000000; font-weight: bold;">/</span>unixODBC-2.3.0.tar.gz
File already downloaded <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Caches<span style="color: #000000; font-weight: bold;">/</span>Homebrew
==<span style="color: #000000; font-weight: bold;">&gt;</span> .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--disable-debug</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>unixodbc<span style="color: #000000; font-weight: bold;">/</span>2.3.0 <span style="color: #660033;">--enable-gui</span>=no
==<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>unixodbc<span style="color: #000000; font-weight: bold;">/</span>2.3.0: <span style="color: #000000;">24</span> files, 932K, built <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000;">22</span> seconds
<span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$</pre></div></div>

<p><strong>2) Edit the FreeTDS formula And install</strong></p>
<p>What we are doing is changing the default tds version, enabling the msdblib, and pointing out where unixodbc installed.</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'formula'</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">class</span> Freetds <span style="color:#006600; font-weight:bold;">&gt;</span> Formula
url <span style="color:#996600;">'http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.91.tar.gz'</span>
homepage <span style="color:#996600;">'http://www.freetds.org/'</span>
md5 <span style="color:#996600;">'b14db5823980a32f0643d1a84d3ec3ad'</span>
&nbsp;
<span style="color:#9966CC; font-weight:bold;">def</span> install
<span style="color:#CC0066; font-weight:bold;">system</span> <span style="color:#996600;">&quot;./configure&quot;</span>,·
<span style="color:#996600;">&quot;--prefix=#{prefix}&quot;</span>,·
<span style="color:#996600;">&quot;--with-tdsver=7.0&quot;</span>,·
<span style="color:#996600;">&quot;--enable-msdblib&quot;</span>,
<span style="color:#996600;">&quot;--with-unixodbc=/Users/USERNAME/.homebrew/Cellar/unixodbc/2.3.0&quot;</span>,
<span style="color:#996600;">&quot;--mandir=#{man}&quot;</span>
<span style="color:#CC0066; font-weight:bold;">system</span> <span style="color:#996600;">'make'</span>
ENV.<span style="color:#9900CC;">j1</span> <span style="color:#008000; font-style:italic;"># Or fails to install on multi-core machines</span>
<span style="color:#CC0066; font-weight:bold;">system</span> <span style="color:#996600;">'make install'</span>
<span style="color:#9966CC; font-weight:bold;">end</span>
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ brew <span style="color: #c20cb9; font-weight: bold;">install</span> freetds</pre></div></div>

<p><strong>3) Start a new terminal session to make sure all your paths update</strong></p>
<p><strong>4) Confirm that you can connect to the server</strong></p>
<p>We need to make sure that you can connect to the sqlserver and that the port is open and available to you.</p>
<p>To do this we use telnet. If you see the following, success! The port is open on the 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>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ telnet server.example.com <span style="color: #000000;">1433</span>
Trying 192.168.1.101...
Connected to server.example.com.
Escape character is <span style="color: #ff0000;">'^]'</span>.</pre></div></div>

<p>If you see the following. You failed. Check the Sqlserver configuration, firewalls, or network configuration.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ telnet server.example.com <span style="color: #000000;">1433</span>
Trying 192.168.1.101...
telnet: connect to address 192.168.1.101: Connection refused
telnet: Unable to connect to remote host</pre></div></div>

<p>Note: Press the ctrl + ] keys to break to a prompt and then type exit.</p>
<p><strong>5) Tsql</strong></p>
<p>FreeTDS comes with a couple cli applications. One of them is tsql. It isn&#8217;t great, but I use it test and see if at least FreeTDS is working correctly. After you install FreeTDS using homebrew try and connect to the host using the following command.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ tsql <span style="color: #660033;">-H</span> server.example.com <span style="color: #660033;">-U</span> USERNAME <span style="color: #660033;">-P</span> PASSWORD <span style="color: #660033;">-v</span>
&nbsp;
locale is <span style="color: #ff0000;">&quot;en_US.UTF-8&quot;</span>
locale charset is <span style="color: #ff0000;">&quot;UTF-8&quot;</span>
using default charset <span style="color: #ff0000;">&quot;UTF-8&quot;</span>
<span style="color: #000000;">1</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #7a0874; font-weight: bold;">exit</span></pre></div></div>

<p>If you see a prompt, you haz awesome!</p>
<p><strong>6) Sym link the FreeTDS and UnixODBC conf files</strong></p>
<p>I create 3 sym links to the following files just for simplicity.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>freetds<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0.91</span><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>freetds.conf ~<span style="color: #000000; font-weight: bold;">/</span>.freetds.conf
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>unixodbc<span style="color: #000000; font-weight: bold;">/</span>2.3.0<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>odbc.ini ~<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>unixodbc<span style="color: #000000; font-weight: bold;">/</span>2.3.0<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>odbcinst.ini ~<span style="color: #000000; font-weight: bold;">/</span>.odbcinst.ini</pre></div></div>

<p><strong>7) edit the .freetds.conf and add the following</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>example<span style="color: #7a0874; font-weight: bold;">&#93;</span>
host = server.example.com
port = <span style="color: #000000;">1433</span>
tds version = <span style="color: #000000;">7.0</span></pre></div></div>

<p><strong>8 ) edit the odbcinst.ini and add the following</strong></p>
<p>You are telling unixodbc where your FreeTDS drivers are located using this configuration file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>FreeTDS<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Description = FreeTDS
Driver = <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libtdsodbc.so
Setup = <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libtdsodbc.so
UsageCount = <span style="color: #000000;">1</span></pre></div></div>

<p><strong>9) edit the .odbc.ini and add the following</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Driver = FreeTDS <span style="color: #000000; font-weight: bold;">//</span> we just <span style="color: #000000; font-weight: bold;">set</span> this up a second ago
Description = MyExample
ServerName = example <span style="color: #000000; font-weight: bold;">//</span> this is the name of the configuration we used <span style="color: #000000; font-weight: bold;">in</span> the .freetds.conf <span style="color: #c20cb9; font-weight: bold;">file</span>
UID = USERNAME
PWD = PASSWORD</pre></div></div>

<p><strong>10) isql should work</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ isql sqlinternal USERNAME PASSWORD
+---------------------------------------+
<span style="color: #000000; font-weight: bold;">|</span> Connected<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #000000; font-weight: bold;">|</span> sql-statement
<span style="color: #000000; font-weight: bold;">|</span> <span style="color: #7a0874; font-weight: bold;">help</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>tablename<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">|</span> quit
+---------------------------------------+
SQL<span style="color: #000000; font-weight: bold;">&gt;</span>quit</pre></div></div>

<p><strong>11) Osql Error</strong></p>
<p>If you try osql, it throws an error.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ osql <span style="color: #660033;">-S</span> myexample <span style="color: #660033;">-U</span> USERNAME <span style="color: #660033;">-P</span> PASSWORD
checking shared odbc libraries linked to isql <span style="color: #000000; font-weight: bold;">for</span> default directories...
<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>osql: line <span style="color: #000000;">53</span>: <span style="color: #c20cb9; font-weight: bold;">ldd</span>: <span style="color: #7a0874; font-weight: bold;">command</span> not found
<span style="color: #c20cb9; font-weight: bold;">strings</span>: can<span style="color: #ff0000;">'t open file: (No such file or directory)
osql: problem: no potential directory strings in &quot;/Users/jared/.homebrew/bin/isql&quot;
osql: advice: use &quot;osql -I DIR&quot; where DIR unixODBC\'</span>s <span style="color: #c20cb9; font-weight: bold;">install</span> prefix e.g. <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
isql <span style="color: #c20cb9; font-weight: bold;">strings</span> are:
checking odbc.ini files
reading <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini
<span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span> found <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini
found this section:
<span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Driver = FreeTDS
Description = MyExample
Servername = example
UID = USERNAME
PWD = PASSWORD
&nbsp;
looking <span style="color: #000000; font-weight: bold;">for</span> driver <span style="color: #000000; font-weight: bold;">for</span> DSN <span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini
found driver line: <span style="color: #ff0000;">&quot; Driver = FreeTDS&quot;</span>
driver <span style="color: #ff0000;">&quot;FreeTDS&quot;</span> found <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> .odbc.ini
found driver named <span style="color: #ff0000;">&quot;FreeTDS&quot;</span>
<span style="color: #ff0000;">&quot;FreeTDS&quot;</span> is not an executable <span style="color: #c20cb9; font-weight: bold;">file</span>
looking <span style="color: #000000; font-weight: bold;">for</span> entry named <span style="color: #7a0874; font-weight: bold;">&#91;</span>FreeTDS<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>odbcinst.ini
found driver line: <span style="color: #ff0000;">&quot; Driver = /Users/jared/.homebrew/lib/libtdsodbc.so&quot;</span>
found driver <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libtdsodbc.so <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>FreeTDS<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> odbcinst.ini
<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libtdsodbc.so is not an executable <span style="color: #c20cb9; font-weight: bold;">file</span>
osql: error: no driver found <span style="color: #000000; font-weight: bold;">for</span> sqlinternal
<span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$</pre></div></div>

<p>If you go through the error you will find that a certain driver is not executable. You just need to chmod the file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">554</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>Cellar<span style="color: #000000; font-weight: bold;">/</span>freetds<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">0.91</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libtdsodbc.0.so</pre></div></div>

<p>Now run it again.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>jared<span style="color: #000000; font-weight: bold;">@</span>localhost<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ osql <span style="color: #660033;">-S</span> myexample <span style="color: #660033;">-U</span> USERNAME <span style="color: #660033;">-P</span> PASSWORD
checking shared odbc libraries linked to isql <span style="color: #000000; font-weight: bold;">for</span> default directories...
<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>osql: line <span style="color: #000000;">53</span>: <span style="color: #c20cb9; font-weight: bold;">ldd</span>: <span style="color: #7a0874; font-weight: bold;">command</span> not found
<span style="color: #c20cb9; font-weight: bold;">strings</span>: can<span style="color: #ff0000;">'t open file: (No such file or directory)
osql: problem: no potential directory strings in &quot;/Users/jared/.homebrew/bin/isql&quot;
osql: advice: use &quot;osql -I DIR&quot; where DIR unixODBC\'</span>s <span style="color: #c20cb9; font-weight: bold;">install</span> prefix e.g. <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span>
isql <span style="color: #c20cb9; font-weight: bold;">strings</span> are:
checking odbc.ini files
reading <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini
<span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span> found <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini
found this section:
<span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Driver = FreeTDS
Description = myexamples
Servername = myexample
UID = USERNAME
PWD = PASSWORD
&nbsp;
looking <span style="color: #000000; font-weight: bold;">for</span> driver <span style="color: #000000; font-weight: bold;">for</span> DSN <span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini
found driver line: <span style="color: #ff0000;">&quot; Driver = FreeTDS&quot;</span>
driver <span style="color: #ff0000;">&quot;FreeTDS&quot;</span> found <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> .odbc.ini
found driver named <span style="color: #ff0000;">&quot;FreeTDS&quot;</span>
<span style="color: #ff0000;">&quot;FreeTDS&quot;</span> is not an executable <span style="color: #c20cb9; font-weight: bold;">file</span>
looking <span style="color: #000000; font-weight: bold;">for</span> entry named <span style="color: #7a0874; font-weight: bold;">&#91;</span>FreeTDS<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>odbcinst.ini
found driver line: <span style="color: #ff0000;">&quot; Driver = /Users/jared/.homebrew/lib/libtdsodbc.so&quot;</span>
found driver <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libtdsodbc.so <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>FreeTDS<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> odbcinst.ini
<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libtdsodbc.so is an executable <span style="color: #c20cb9; font-weight: bold;">file</span>
Using ODBC-Combined strategy
DSN <span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span> has servername <span style="color: #ff0000;">&quot;myexample&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>from <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.freetds.conf is a readable <span style="color: #c20cb9; font-weight: bold;">file</span>
looking <span style="color: #000000; font-weight: bold;">for</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.freetds.conf
found this section:
<span style="color: #7a0874; font-weight: bold;">&#91;</span>myexample<span style="color: #7a0874; font-weight: bold;">&#93;</span>
host = myexample.bendcable.net
port = <span style="color: #000000;">1433</span>
tds version = <span style="color: #000000;">7.0</span>
&nbsp;
Configuration looks OK. Connection details:
&nbsp;
DSN: myexample
odbc.ini: <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.odbc.ini
Driver: <span style="color: #000000; font-weight: bold;">/</span>Users<span style="color: #000000; font-weight: bold;">/</span>jared<span style="color: #000000; font-weight: bold;">/</span>.homebrew<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>libtdsodbc.so
Server <span style="color: #c20cb9; font-weight: bold;">hostname</span>: myexample.bendcable.net
Address: 192.168.12.103
&nbsp;
Attempting connection <span style="color: #c20cb9; font-weight: bold;">as</span> username ...
+ isql myexample USERNAME PASSWORD <span style="color: #660033;">-v</span>
+---------------------------------------+
<span style="color: #000000; font-weight: bold;">|</span> Connected<span style="color: #000000; font-weight: bold;">!</span>
<span style="color: #000000; font-weight: bold;">|</span> sql-statement
<span style="color: #000000; font-weight: bold;">|</span> <span style="color: #7a0874; font-weight: bold;">help</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>tablename<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">|</span> quit
+---------------------------------------+
SQL<span style="color: #000000; font-weight: bold;">&gt;</span> quit</pre></div></div>

<p>SUCCESS!!!</p>
<p>Some other useful commands.</p>
<p>Useful commands</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">odbcinst <span style="color: #660033;">-j</span>
&nbsp;
odbcinst <span style="color: #660033;">-q</span> <span style="color: #660033;">-d</span>
&nbsp;
odbcinst <span style="color: #660033;">-q</span> <span style="color: #660033;">-s</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.acloudtree.com/how-to-install-freetds-and-unixodbc-on-osx-using-homebrew-for-use-with-ruby-php-and-perl/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
	</channel>
</rss>

