<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4670130104643603288</id><updated>2024-09-21T05:35:56.808-05:00</updated><title type='text'>Tummy Pain</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-4844109553143276715</id><published>2015-04-18T14:22:00.000-05:00</published><updated>2015-04-18T14:22:09.755-05:00</updated><title type='text'>BizTalk Server 2010 Developer Training Kit on VMWARE</title><content type='html'>my system is ASUS &lt;cite class=&quot;_Rm&quot;&gt;X550LA&amp;nbsp; &lt;/cite&gt;with win8.1 on core i5 with VT and 4GB of RAM. I upgraded to the PRO version for hyper-v but it did not work. the .vhd Microsoft gave only works on hyper-v for Windows 2008.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;- download BizTalk developer training kit&lt;br /&gt;http://www.microsoft.com/en-us/download/details.aspx?id=14865&lt;br /&gt;
&lt;br /&gt;- move all of them to C:\Microsoft BizTalk Server 2010 Training\&lt;br /&gt;
&lt;br /&gt;- run BizTalkDevCourseVM.part01.exe to create the C:\Microsoft BizTalk Server 2010 Training\VM\common\BizTalk2010Demo.vhd&lt;br /&gt;
&lt;br /&gt;- download the winimage. I downloaded the 64bit version for my windows 8.1&lt;br /&gt;http://www.winimage.com/download.htm&lt;br /&gt;
&lt;br /&gt;- use winimage to convert BizTalk2010Demo.vhd to BizTalk2010Demo.vmdk. This conversion take a while. Once complete, you can uninstall winimage.&lt;br /&gt;
&lt;br /&gt;- download and install vmware workstation&lt;br /&gt;
&lt;br /&gt;- create a new VM with BizTalk2010Demo.vmdk as the harddisk. &lt;br /&gt;
&lt;br /&gt;- make sure you select IDE instead of default scsi. scsi will give the BSOD (bluescreen of death)&lt;br /&gt;
&lt;br /&gt;- activate the windows 2008R2 because the trial version expired a long time ago. You need a valid Win2008r2 Key for this.</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/4844109553143276715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2015/04/biztalk-server-2010-developer-training.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/4844109553143276715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/4844109553143276715'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2015/04/biztalk-server-2010-developer-training.html' title='BizTalk Server 2010 Developer Training Kit on VMWARE'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-5899622512025182418</id><published>2014-06-26T12:41:00.001-05:00</published><updated>2014-06-26T12:41:47.055-05:00</updated><title type='text'>create a Separate keystore - 12.51</title><content type='html'>while performing the parallel migration from r6sp5 to r12.51 I gave the steps to separate a key-store in the r6sp5 environment. once that step is complete and migration of all app servers to the new environment are done - it is best to create a separate key-store for the r12.51 environment (reason being clients are already asking for another upgrade to .52).&lt;br /&gt;
&lt;br /&gt;
with this in mind, below are the steps to create a separate key-store for r12.51. CA documentation is pretty straight forward in this case which is an exception.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;create a directory server (I used DSEE11g) on available port (30389/30636)&lt;/li&gt;
&lt;li&gt;create new suffix under it &#39;DC=Netegrity,DC=DOMAIN,DC=net&#39; - in step 5 make sure to initialize top entry for the suffix while creating it. this is an important step.&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;command to register the new key-store in the policy server : smldapsetup reg -hostX.X.X.X -p30389 -d&quot;cn=directory manager&quot; -wPASSWORD -r&quot;DC=Netegrity&quot; -k1&lt;/li&gt;
&lt;li&gt;verify in the console and correct if any mistakes&lt;/li&gt;
&lt;li&gt;command to generate the schema for keystore &amp;nbsp;: smldapsetup ldgen -fJune2014_newkeystoreschema.txt -k1&lt;/li&gt;
&lt;li&gt;command to update the schema into keystore &amp;nbsp;: smldapsetup ldmod -fJune2014_newkeystoreschema.txt -k1&lt;/li&gt;
&lt;li&gt;in policy server management console - keys tab - enable agent key generation&lt;/li&gt;
&lt;li&gt;start policy server and watch the logs.&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/5899622512025182418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2014/06/create-separate-keystore-1251.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/5899622512025182418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/5899622512025182418'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2014/06/create-separate-keystore-1251.html' title='create a Separate keystore - 12.51'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-6026949683274847743</id><published>2013-09-27T09:53:00.003-05:00</published><updated>2013-09-27T09:53:43.194-05:00</updated><title type='text'>IBM Heap Analyser - Java.lang.OutofMemoryError: Java heap space</title><content type='html'>IBM Heap Analyser -&lt;br /&gt;
&lt;br /&gt;
I started getting &quot;Java.lang.OutofMemoryError: Java heap space&quot; when trying to read a heapdump file using the heap analyser. used the below on a windows 2008r2 server where I had 64bit java &amp;nbsp;installed. specified the initial and max heapsize and it started working.&lt;br /&gt;
&lt;br /&gt;
D:\Program Files\Java\jdk1.7.0_25\bin&amp;gt;java -Xms2g -Xmx6g -jar d:\temp\ha450.jar</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/6026949683274847743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2013/09/ibm-heap-analyser-javalangoutofmemoryer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/6026949683274847743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/6026949683274847743'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2013/09/ibm-heap-analyser-javalangoutofmemoryer.html' title='IBM Heap Analyser - Java.lang.OutofMemoryError: Java heap space'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-8427834623474717615</id><published>2013-02-12T10:20:00.000-06:00</published><updated>2013-02-12T10:20:10.259-06:00</updated><title type='text'>Siteminder r6 - separate keystore from policy store</title><content type='html'>We have r6sp5 siteminder environment which we are looking to parallel upgrade to r12sp3 soon. below are some detailed steps how to separate the KeyStore from the policy store in a r6sp5 environment. The siteminder documentation is very vague in its description of how to do this.&lt;br /&gt;
&lt;br /&gt;
***************&lt;br /&gt;
&lt;br /&gt;
1.Take the backup of existing keys for the policy server:&lt;br /&gt;
smobjexport.exe -dsiteminder -wP@55word -okey.smdif -x -v&lt;br /&gt;
&lt;br /&gt;
2. Create a new LDAP Key Store instance in your directory server.&lt;br /&gt;
3. Now open the Siteminder smconsole and go to the data tab-&amp;gt; Select Key Store, then uncheck the option-Use Policy Store Database. And fill the details for your newly created Keystore (like IP: Port, username, password and root DN) in this Keystore tab. After this click OK.&lt;br /&gt;
&lt;br /&gt;
4. Open Command Prompt, go to &lt;siteminder_home&gt;/bin and perform the following command :-&lt;/siteminder_home&gt;&lt;br /&gt;
smldapsetup ldgen -fnewkeystoreschema.txt -v -k1&lt;br /&gt;
This will create a schema file for your new keystore instance&lt;br /&gt;
&lt;br /&gt;
6. Also at the same location run the following command :-&lt;br /&gt;
smldapsetup ldmod -fnewkeystoreschema.txt -v -k1&lt;br /&gt;
This will create the Schema in your New LDAP keystore from this schema file&lt;br /&gt;
&lt;br /&gt;
7. run&lt;br /&gt;
smobjimport.exe -dsiteminder -wP@55word -ikey.smdif -k -v&lt;br /&gt;
&lt;br /&gt;
8. Now we are done with the creation of new keystore. Start the policy server and check the logs.&lt;br /&gt;
*****************&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/8427834623474717615/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2013/02/siteminder-r6-separate-keystore-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8427834623474717615'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8427834623474717615'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2013/02/siteminder-r6-separate-keystore-from.html' title='Siteminder r6 - separate keystore from policy store'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-7956939013951399361</id><published>2011-11-03T12:33:00.000-05:00</published><updated>2011-11-03T12:33:20.642-05:00</updated><title type='text'>Slow Performance on Windows 7 while browsing IIS Apps - AutoTuning</title><content type='html'>&lt;br /&gt;
We recently migrated all our IIS applications from old Windows 2000 Servers to Windows 2008. It was not a smooth ride but we did manage to get 99% of them into the new servers. There were ofcourse some apps with exe&#39;s that were not supported or cannot move to x64. Parallely most of our users were being upgraded from their Windows XP to Windows 7 PC/Laptops.&lt;br /&gt;
&lt;br /&gt;
We found that users connecting from Win7 to IIS face performance problems in the corporate network. The performance was so bad that it took 20+ seconds to display a single page. We also found that the sites worked perfectly when users connected to IIS via a reverse proxy or when they connected using a Windows XP machine.&lt;br /&gt;
&lt;br /&gt;
So the problem was with Windows 7 and by trial and error method we found that AutoTuning was the issue. I think Microsoft enabled AutoTuning by default in Windows 7 and somehow that setting is not compatible with our network gear.&lt;br /&gt;
&lt;br /&gt;
To disable AutoTuning on a Windows7 Machine.&lt;br /&gt;
1) open command prompt as Administrator&lt;br /&gt;
search for cmd in ‘Start’ and press CTRL+SHIFT+ENTER instead of just enter.&lt;br /&gt;
2) paste the below command to get Ok.&lt;br /&gt;
netsh interface tcp set global autotuning=disabled&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/7956939013951399361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/11/slow-performance-on-windows-7-while.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7956939013951399361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7956939013951399361'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/11/slow-performance-on-windows-7-while.html' title='Slow Performance on Windows 7 while browsing IIS Apps - AutoTuning'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-8950778789600615393</id><published>2011-11-03T09:22:00.000-05:00</published><updated>2011-11-03T09:22:27.859-05:00</updated><title type='text'>Restored Windows 2003 Server - IIS would not start</title><content type='html'>The IIS Admin Service service terminated with service-specific error 2148073483 (0x8009000B).&lt;br /&gt;
&lt;br /&gt;
During a DR Drill when we recovered a Windows 2003 server, IIS would not start. The IIS Admin Service and WWW Service stopped and were giving the above error. To correct this reinstall did not work and it further corrupted everything.&lt;br /&gt;
&lt;br /&gt;
Then we did a restore of SystemState and it resolved the issue.</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/8950778789600615393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/11/restored-windows-2003-server-iis-would.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8950778789600615393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8950778789600615393'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/11/restored-windows-2003-server-iis-would.html' title='Restored Windows 2003 Server - IIS would not start'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-7088867484500108049</id><published>2011-08-10T18:38:00.001-05:00</published><updated>2011-08-10T18:38:36.374-05:00</updated><title type='text'>Siteminder - Fatal Error: Unable to fetch object</title><content type='html'>&lt;br /&gt;
C:\&amp;gt;smobjimport -dsiteminder -wpa$$word -i&quot;C:\Program Files\netegrity\siteminder\db\smdif\smpolicy.smdif&quot; -v&lt;br /&gt;
&lt;br /&gt;
Fatal Error: Unable to fetch object.&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;&lt;br /&gt;
*****&lt;br /&gt;
Open the policy server management console, data tab, and in Database for keystore select LDAP instead of default ODBC and select &quot;use policy store database&quot; if you using the same DB for both.&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/7088867484500108049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/08/siteminder-fatal-error-unable-to-fetch.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7088867484500108049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7088867484500108049'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/08/siteminder-fatal-error-unable-to-fetch.html' title='Siteminder - Fatal Error: Unable to fetch object'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-4688171054401479295</id><published>2011-07-02T08:09:00.000-05:00</published><updated>2011-07-02T08:09:49.423-05:00</updated><title type='text'>New Directory Server in ODSEE</title><content type='html'>- Open ODSEE console&lt;br /&gt;
- Create new Directory Server&lt;br /&gt;
- Fill in the form as required. Below screen shot gives details of my directory server&lt;br /&gt;
- Click Next, Accept Certificate.&lt;br /&gt;
*- Here I had an issue that certificate was not accepted. We cannot move forward with out accepting certificate.&lt;br /&gt;
&quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, sans-serif; font-size: 11px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: tahoma, verdana, sans-serif; font-size: 11px;&quot;&gt;An error occurred trying to acept the certificate. The error is com.sun.directory.dcc.ads.ADSContextException.&lt;/span&gt;&quot;&lt;br /&gt;
To resolve this, I had to re-initialize&amp;nbsp;everything using the below commands. This effectively wiped everything, &amp;nbsp;but I did not have any other choise.&lt;br /&gt;
&lt;br /&gt;
C:\Sun\dsee7\bin&amp;gt;dsccsetup dismantle&lt;br /&gt;
C:\Sun\dsee7\bin&amp;gt;dsccsetup initialize&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqI-rbMLtuDxv9xGzJxwpm2ZADLaYU2GMEQZW1NpcAxrDcr_xHNiGB7TvyhPHptBqFMsTVMaif3BiWHtcoEo6yVByV9aHk4Vp6P6ca1DJDK_m_EXXTC0o-k5sUWzFXvtXANW9xV1B3tzo/s1600/registernewserver.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqI-rbMLtuDxv9xGzJxwpm2ZADLaYU2GMEQZW1NpcAxrDcr_xHNiGB7TvyhPHptBqFMsTVMaif3BiWHtcoEo6yVByV9aHk4Vp6P6ca1DJDK_m_EXXTC0o-k5sUWzFXvtXANW9xV1B3tzo/s320/registernewserver.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/4688171054401479295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/07/new-directory-server-in-odsee.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/4688171054401479295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/4688171054401479295'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/07/new-directory-server-in-odsee.html' title='New Directory Server in ODSEE'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqI-rbMLtuDxv9xGzJxwpm2ZADLaYU2GMEQZW1NpcAxrDcr_xHNiGB7TvyhPHptBqFMsTVMaif3BiWHtcoEo6yVByV9aHk4Vp6P6ca1DJDK_m_EXXTC0o-k5sUWzFXvtXANW9xV1B3tzo/s72-c/registernewserver.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-8129713442460648185</id><published>2011-07-01T15:31:00.001-05:00</published><updated>2011-07-01T15:31:19.146-05:00</updated><title type='text'>create a windows service for automatically starting glassfish 3.1 server</title><content type='html'>C:\glassfish3\glassfish\bin&amp;gt;&lt;br /&gt;
C:\glassfish3\glassfish\bin&amp;gt;asadmin create-service&lt;br /&gt;
The Windows Service was created successfully. &amp;nbsp;It is ready to be started. &amp;nbsp;Here are the details:&lt;br /&gt;
ID of the service: domain1&lt;br /&gt;
Display Name of the service:domain1 GlassFish Server&lt;br /&gt;
Server Directory: C:\glassfish3\glassfish\domains\domain1&lt;br /&gt;
Configuration file for Windows Services Wrapper: C:\glassfish3\glassfish\domains\domain1\bin\domain1Service.xml&lt;br /&gt;
The service can be controlled using the Windows Services Manager or you can use the&lt;br /&gt;
Windows Services Wrapper instead:&lt;br /&gt;
Start Command: &amp;nbsp;C:\glassfish3\glassfish\domains\domain1\bin\domain1Service.exe &amp;nbsp;start&lt;br /&gt;
Stop Command: &amp;nbsp; C:\glassfish3\glassfish\domains\domain1\bin\domain1Service.exe &amp;nbsp;stop&lt;br /&gt;
Restart Command: &amp;nbsp;C:\glassfish3\glassfish\domains\domain1\bin\domain1Service.exe &amp;nbsp;restart&lt;br /&gt;
Uninstall Command: &amp;nbsp;C:\glassfish3\glassfish\domains\domain1\bin\domain1Service.exe &amp;nbsp;uninstall&lt;br /&gt;
Install Command: &amp;nbsp;C:\glassfish3\glassfish\domains\domain1\bin\domain1Service.exe &amp;nbsp;install&lt;br /&gt;
Status Command: C:\glassfish3\glassfish\domains\domain1\bin\domain1Service.exe status&lt;br /&gt;
You can also verify that the service is installed (or not) with sc query state= all&lt;br /&gt;
windows.services.uninstall.good=Found the Windows Service and successfully uninstalled it.&lt;br /&gt;
For your convenience this message has also been saved to this file: C:\glassfish3\glassfish\domains\domain1\PlatformServices.log&lt;br /&gt;
Command create-service executed successfully.&lt;br /&gt;
&lt;br /&gt;
C:\glassfish3\glassfish\bin&amp;gt;</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/8129713442460648185/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/07/create-windows-service-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8129713442460648185'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8129713442460648185'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/07/create-windows-service-for.html' title='create a windows service for automatically starting glassfish 3.1 server'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-2305483379592376866</id><published>2011-06-30T14:35:00.000-05:00</published><updated>2011-06-30T15:03:56.825-05:00</updated><title type='text'>INSTALLATION OF Oracle Directory Server Enterprise Edition (11.1.1.5.0)</title><content type='html'>INSTALLATION OF Oracle Directory Server Enterprise Edition (11.1.1.5.0)&lt;br /&gt;
&lt;br /&gt;
Check prerequesites post below before this.&lt;br /&gt;
http://tummypain.blogspot.com/2011/06/pre-requesites-for-oracle-directory.html&lt;br /&gt;
&lt;br /&gt;
(1) Download Oracle Directory Server Enterprise Edition (11.1.1.5.0) from the below&lt;br /&gt;
this is also called DSEE 7 or 11g.&lt;br /&gt;
&lt;br /&gt;
http://www.oracle.com/technetwork/middleware/downloads/oid-11g-161194.html&lt;br /&gt;
&lt;br /&gt;
(2) I installed a W2k8 x86 Standard Server on a VM.&lt;br /&gt;
&lt;br /&gt;
(3) I installed GlassFish 3.1 and JDK6. Check Pre-requesites.&lt;br /&gt;
&lt;br /&gt;
(4) unzip ofm_odsee_win_11.1.1.5.0.zip&lt;br /&gt;
&lt;br /&gt;
(5) idsktune -&amp;gt; is a Server precheck/tuning application. It only checks and recomends. IT does not modify any thing. I had couple of errors about unsupported OS, but may be because I am using msdn build.&lt;br /&gt;
&lt;br /&gt;
(6) Install the VC++ redistributable that is included if not already installed on the server. Update with required windows patches and restart if necessary.&lt;br /&gt;
&lt;br /&gt;
(7) unzip dsee7 and move all the folders to c:\Sun\&lt;br /&gt;
&lt;br /&gt;
(8) Modify registry as below if you are not using a LocalAdmin user&lt;br /&gt;
HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableInstallerDetection&lt;br /&gt;
HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System\\EnableLUA&lt;br /&gt;
&lt;br /&gt;
(9) Follow the steps below in Command prompt with Admin privileges&lt;br /&gt;
**********************&lt;br /&gt;
C:\Windows\system32&amp;gt;cd C:\Sun\dsee7\bin&lt;br /&gt;
&lt;br /&gt;
C:\Sun\dsee7\bin&amp;gt;dsccsetup war-file-create&lt;br /&gt;
DSCC registry must be created first using the following command:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dsccsetup ads-create&lt;br /&gt;
(REMEMBER THE PASSWORD BELOW)&lt;br /&gt;
C:\Sun\dsee7\bin&amp;gt;dsccsetup ads-create&lt;br /&gt;
Choose password for Directory Service Manager: xxxxx&lt;br /&gt;
Confirm password for Directory Service Manager: xxxxx&lt;br /&gt;
Creating DSCC registry...&lt;br /&gt;
DSCC Registry has been created successfully&lt;br /&gt;
&lt;br /&gt;
C:\Sun\dsee7\bin&amp;gt;dsccsetup war-file-create&lt;br /&gt;
Created C:\Sun\dsee7\var\dscc7.war&lt;br /&gt;
&lt;br /&gt;
C:\Sun\dsee7\bin&amp;gt;dsccsetup cacao-reg&lt;br /&gt;
Configuring Cacao...&lt;br /&gt;
Cacao will listen on port 21162&lt;br /&gt;
Cacao has been successfully configured.&lt;br /&gt;
Registering DSCC Agent in Cacao...&lt;br /&gt;
Checking Cacao status...&lt;br /&gt;
Starting Cacao...&lt;br /&gt;
DSCC agent has been successfully registered in Cacao.&lt;br /&gt;
&lt;br /&gt;
C:\Sun\dsee7\bin&amp;gt;&lt;br /&gt;
&lt;br /&gt;
**********************&lt;br /&gt;
&lt;br /&gt;
(10) Append the below lines in glassfish server.policy file&lt;br /&gt;
&lt;br /&gt;
C:\glassfish3\glassfish\domains\domain1\config\server.policy&lt;br /&gt;
//**********************&lt;br /&gt;
// Permissions for Directory Service Control Center&lt;br /&gt;
grant codeBase &quot;file:${com.sun.aas.instanceRoot}/applications/j2ee-modules/dscc7/-&quot;&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; permission java.security.AllPermission;&lt;br /&gt;
};&lt;br /&gt;
//**********************&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(11) Browse to glassfish console&lt;br /&gt;
http://localhost:4848/common/index.jsf&lt;br /&gt;
&lt;br /&gt;
Go to Applications -&amp;gt; Deploy -&amp;gt; &quot;Local Packaged File or Directory That Is Accessible from GlassFish Server&quot; -&amp;gt; Browse -&amp;gt; C:\Sun\dsee7\var\dscc7.war -&amp;gt; click OK.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_9mAbJkPSIQlq0O6kpBxoR8VxbZzJpQnQG1c4LI9BBEfNgTAXHXZTAO8Uq4KhWXbXKdU_VjdVShHHkOqbmbbCQo5vEspdtOFosccs04InK8vMSbEuQWr8YcthW2j4wkNd9hagKZnj99I/s1600/glassfish-1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_9mAbJkPSIQlq0O6kpBxoR8VxbZzJpQnQG1c4LI9BBEfNgTAXHXZTAO8Uq4KhWXbXKdU_VjdVShHHkOqbmbbCQo5vEspdtOFosccs04InK8vMSbEuQWr8YcthW2j4wkNd9hagKZnj99I/s320/glassfish-1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
(12) Select dscc7 -&amp;gt; Enable -&amp;gt; Launch to start Directory Service Control Center&lt;br /&gt;
&lt;br /&gt;
http://localhost:8080/dscc7/dcc7Module/DCC&lt;br /&gt;
&lt;br /&gt;
(14) If you are unable to login then try the below&lt;br /&gt;
&lt;br /&gt;
**********************&lt;br /&gt;
C:\&amp;gt;&lt;br /&gt;
C:\&amp;gt;C:/Sun/dsee7/bin/dsccsetup.exe status&lt;br /&gt;
***&lt;br /&gt;
DSCC Agent is registered in Cacao&lt;br /&gt;
Cacao is down. Start it using:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; C:/Sun/dsee7/ext/cacao_2/bin/cacaoadm.bat start&lt;br /&gt;
Cacao uses a custom port number (21162)&lt;br /&gt;
***&lt;br /&gt;
DSCC Registry has been created&lt;br /&gt;
Path of DSCC registry is C:/Sun/dsee7/var/dcc/ads&lt;br /&gt;
Port of DSCC registry is 3998&lt;br /&gt;
DSCC registry is not running. You may start it using:&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C:/Sun/dsee7/bin/dsadm.exe start C:/Sun/dsee7/var/dcc/ads&lt;br /&gt;
***&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;C:/Sun/dsee7/bin/dsadm.exe start C:/Sun/dsee7/var/dcc/ads&lt;br /&gt;
Directory Server instance &#39;C:/Sun/dsee7/var/dcc/ads&#39; started: pid=3448&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;&lt;br /&gt;
&lt;br /&gt;
**********************</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/2305483379592376866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/06/installation-of-oracle-directory-server.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/2305483379592376866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/2305483379592376866'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/06/installation-of-oracle-directory-server.html' title='INSTALLATION OF Oracle Directory Server Enterprise Edition (11.1.1.5.0)'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_9mAbJkPSIQlq0O6kpBxoR8VxbZzJpQnQG1c4LI9BBEfNgTAXHXZTAO8Uq4KhWXbXKdU_VjdVShHHkOqbmbbCQo5vEspdtOFosccs04InK8vMSbEuQWr8YcthW2j4wkNd9hagKZnj99I/s72-c/glassfish-1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-8498347747292731078</id><published>2011-06-30T14:32:00.000-05:00</published><updated>2011-06-30T14:32:36.091-05:00</updated><title type='text'>Pre-requesites for Oracle Directory Server Enterprise Edition 11g (11.1.1.5.0) or DSEE version 7</title><content type='html'>Pre-requesites for ODSEE 11g&lt;br /&gt;
&lt;br /&gt;
I am trying to install Siteminder r12SP3 on a VM. Before that I need to get Oracle Directory Server Enterprise Edition 11g.&lt;br /&gt;
&lt;br /&gt;
Below are the pre-req for ODSEE&lt;br /&gt;
&lt;br /&gt;
a- A Windows 2008 Server x86 Standard Version. Production needs 4GB of RAM, but my for test I used 1.5GB. I am performing all installs using an ID with Local Admin permissions on the server. Make sure the server is fully updated with latest patches.&lt;br /&gt;
&lt;br /&gt;
b- JDK 6. install jdk6 from the below link&lt;br /&gt;
http://www.oracle.com/technetwork/java/javase/downloads/index.html&lt;br /&gt;
&lt;br /&gt;
c- Download and install an application server like glassfish, tomcat etc. I installed Glassfish. Pretty straight forward installation.&lt;br /&gt;
http://glassfish.java.net/downloads/3.1-final.html&lt;br /&gt;
&lt;br /&gt;
d- Once glassfish is installed, start the application Server if not automatically started. It should be present in the Start-&amp;gt; Programs-&amp;gt;Glassfish-&amp;gt; StartServer.&lt;br /&gt;
Or it can be started using the below in cmd prompt&lt;br /&gt;
&quot;C:\glassfish3\glassfish\bin\asadmin.bat start-domain domain1&quot;&lt;br /&gt;
&lt;br /&gt;
e- Access GlassFish Console using the below link, make sure everything is working.&lt;br /&gt;
http://localhost:4848/common/index.jsf&lt;br /&gt;
**********************</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/8498347747292731078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/06/pre-requesites-for-oracle-directory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8498347747292731078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8498347747292731078'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/06/pre-requesites-for-oracle-directory.html' title='Pre-requesites for Oracle Directory Server Enterprise Edition 11g (11.1.1.5.0) or DSEE version 7'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-6885292149738034205</id><published>2011-06-24T18:42:00.000-05:00</published><updated>2011-06-24T18:42:22.738-05:00</updated><title type='text'>Script to Search list of Servers with Local Administrator Privileges</title><content type='html'>I had a need for checking all servers in a list to which my AD Group has access. The list was around 3000 Windows servers and there is no way I could do it manually. So I did a&amp;nbsp;Google&amp;nbsp;search and found a nice script written by Brian Desmond at this link which shows all the users who are added as Local Administrators.&lt;br /&gt;
&lt;br /&gt;
_&lt;a href=&quot;http://briandesmond.com/blog/script-to-collect-local-administrators-membership-from-list-of-machines/&quot;&gt;briandesmond.com/blog/script-to-collect-local-administrators-membership-from-list-of-machines/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks Brian.&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
I did a small modification so that it just prints out the names of the servers to which my AD group has access and also print out server names which I am unable to ping. The script is pretty raw and takes lot of time to check each server, but this is the only one I have for now.&lt;br /&gt;
&lt;br /&gt;
-&amp;gt;Save the below script as localadminFile.vbs&lt;br /&gt;
-&amp;gt;create localadminfiles.bat with the below line&lt;br /&gt;
wscript localadminFile.vbs&lt;br /&gt;
-&amp;gt; place localadminfiles.bat in scheduler and let it run. Keep checking for the completed.&lt;br /&gt;
-&amp;gt; also you will find &#39;wscript&#39; in taskmanager if you want to kill of the running script.&lt;br /&gt;
&lt;br /&gt;
Modify it according to your need.&lt;br /&gt;
&lt;br /&gt;
**************************&lt;br /&gt;
Option Explicit&lt;br /&gt;
Const LogFile = &quot;G:\temp\LogFile.log&quot;&lt;br /&gt;
Const resultFile = &quot;G:\temp\LocalAdmin.csv&quot;&lt;br /&gt;
Const inputFile = &quot;G:\temp\serverList.txt&quot;&lt;br /&gt;
Dim fso&lt;br /&gt;
Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;)&lt;br /&gt;
Dim shl&lt;br /&gt;
Set shl = WScript.CreateObject(&quot;WScript.Shell&quot;)&lt;br /&gt;
Dim fil&lt;br /&gt;
Set fil = fso.OpenTextFile(inputFile)&lt;br /&gt;
Dim results&lt;br /&gt;
Set results = fso.CreateTextFile(resultFile, True)&lt;br /&gt;
WriteToLog &quot;Beginning Pass of &quot; &amp;amp; inputFile &amp;amp; &quot; at &quot; &amp;amp; Now()&lt;br /&gt;
&#39;On Error Resume Next&lt;br /&gt;
Dim grp&lt;br /&gt;
Dim line&lt;br /&gt;
Dim exec&lt;br /&gt;
Dim pingResults&lt;br /&gt;
Dim member&lt;br /&gt;
While Not fil.AtEndOfStream&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;line = fil.ReadLine&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Set exec = shl.Exec(&quot;ping -n 2 -w 1000 &quot; &amp;amp; line)&lt;br /&gt;
&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;pingResults = LCase(exec.StdOut.ReadAll)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;If InStr(pingResults, &quot;reply from&quot;) Then&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;WriteToLog line &amp;amp; &quot; responded to ping&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;On Error Resume Next&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Set grp = GetObject(&quot;WinNT://&quot; &amp;amp; line &amp;amp; &quot;/Administrators&quot;)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&#39;results.WriteLine line &amp;amp; &quot;,Administrators,&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;For Each member In grp.Members&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;If member.name = &quot;AdminGroup AD&quot; Then&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;WriteToLog line &amp;amp; &quot;--&amp;gt; Server is supported by Team&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;results.WriteLine &quot;,,&quot; &amp;amp; member.Name&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;End If&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Next&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Else&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;WriteToLog line &amp;amp; &quot;did not respond to ping&quot;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;End If&lt;br /&gt;
Wend&lt;br /&gt;
WriteToLog line &amp;amp; &quot;--&amp;gt;Script END - COMPLETED..&quot;&lt;br /&gt;
results.Close&lt;br /&gt;
&lt;br /&gt;
Sub WriteToLog(LogData)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;On Error Resume Next&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim fil&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&#39;8 = ForAppending&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Set fil = fso.OpenTextFile(LogFile, 8, True)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;fil.WriteLine(LogData)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;fil.Close&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Set fil = Nothing&lt;br /&gt;
End Sub&lt;br /&gt;
**************************</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/6885292149738034205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/06/script-to-search-list-of-servers-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/6885292149738034205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/6885292149738034205'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/06/script-to-search-list-of-servers-with.html' title='Script to Search list of Servers with Local Administrator Privileges'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-7942384450235909183</id><published>2011-04-25T15:19:00.000-05:00</published><updated>2011-04-25T15:19:02.001-05:00</updated><title type='text'>Windows 2008 - IIS 7 Replication Loadbalancing &amp; Code Promote</title><content type='html'>We recently acquired a software that allows our&amp;nbsp;ApplicationSupport to move code to different environments (Dev-Stage-Prod) in IIS Servers. We used SiteServer3.0 earlier but since dear MSFT isnt supporting it any more, we had to buy this software outside. Its pretty neat software, I thought it was pricey but we did not have much of a choice. &lt;br /&gt;
&lt;br /&gt;
Oh well..what do I know about cost.&lt;br /&gt;
&lt;br /&gt;
The software can work as both SiteServer3.0 and ApplicationCenter2000 for Promoting and Loadbalancing. AppCenter2000 can be replaced by Microsoft WebDeply for the most part, but we still need code to be replicated between shared servers for loadbalancing. So we bought minimal license that allows SiteServer functionality (code Promote)&amp;nbsp;and scheduled code copy (scheduled a copy for every 15 minutes) for loadbalancing. This minimal license however did not allow replication of IIS settings. So I installed webdeploy and wrote scripts to pull IIS Settings per website on the target server. Webdeploy is easy and very good.&lt;br /&gt;
&lt;br /&gt;
This turned out extremely well and we havent had any issues till now. Fingers Crossed.&lt;br /&gt;
&lt;br /&gt;
This saved us approx USD 200+ per server in licensing costs.</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/7942384450235909183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/04/windows-2008-iis-7-replication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7942384450235909183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7942384450235909183'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/04/windows-2008-iis-7-replication.html' title='Windows 2008 - IIS 7 Replication Loadbalancing &amp; Code Promote'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-4450259105366644811</id><published>2011-04-25T14:57:00.000-05:00</published><updated>2011-04-25T14:58:25.161-05:00</updated><title type='text'>Siteminder NTLM on Windows 2008 add script map .ntc</title><content type='html'>Installation of Siteminder Webagent was pretty straight forward but I could not find any documentation in CA as to how to setup NTLM Authentication Scheme website on IIS 7. &lt;br /&gt;
&lt;br /&gt;
For example we use http://ntlmprod.testdomain.com/siteminderagent/ntlm/creds.ntc as the url in the ntlm authentication scheme.&lt;br /&gt;
&lt;br /&gt;
setting up /siteminderagent/ntlm/ virtual directory was straight forward but no where it is mentioned as how to add .ntc script maps. The documentation gives details for IIS 5 and IIS 6.&lt;br /&gt;
Here are the steps&lt;br /&gt;
- Create a website ntlmprod.testdomain.com with ntlmprod as ApplicationPool.&lt;br /&gt;
- make sure ntlmprod app pool is classic, (however I did not find any errors till now if we use integrated. But the docs say use classic for all Siteminder protected)&lt;br /&gt;
- we generally use just a single asp page called header.asp in the folders hosting the ntlm websites. so d:\inetpub\ntlmprod\header.asp.&lt;br /&gt;
- add virtual directory for siteminderagent&lt;br /&gt;
- add virtual directory for ntlm&lt;br /&gt;
finally it should look like http://ntlmprod.testdomain.com/siteminderagent/ntlm/&lt;br /&gt;
- For root website and siteminderagent - use just anonymous authentication&lt;br /&gt;
- For NTLM VD, use only Windows Authentication&lt;br /&gt;
&lt;br /&gt;
for ntlmprod.testdomain.com&lt;br /&gt;
&lt;br /&gt;
ISAPI Filters&lt;br /&gt;
- add SiteminderAgent with executable D:\Program Files (x86)\netegrity\webagent\bin\ISAPI6WebAgent.dll and make sure it is moved to the top of the list in &quot;View Ordered List&quot; view.&lt;br /&gt;
&lt;br /&gt;
Handler Mappings&lt;br /&gt;
&lt;br /&gt;
- add &quot;WildCard Script Map&quot; SiteminderAgent with executable D:\Program Files (x86)\netegrity\webagent\bin\ISAPI6WebAgent.dll and make sure it is moved to the top of the list in &quot;View Ordered List&quot; view.&lt;br /&gt;
- add &quot;Script Map&quot; NTC-Siteminder &lt;br /&gt;
Request Path = *.ntc&quot; &lt;br /&gt;
Executable = D:\Program Files (x86)\netegrity\webagent\bin\ISAPI6WebAgent.dll &lt;br /&gt;
- add &quot;Script Map&quot; FCC-Siteminder &lt;br /&gt;
Request Path = *.fcc&quot; &lt;br /&gt;
Executable = D:\Program Files (x86)\netegrity\webagent\bin\ISAPI6WebAgent.dll &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJxQp4pDNKWd6x0w_FwGMrIIWkbiOPieql7dSmFYo-Kzc50UnCHvpdTMXatX4eAJRpVvmJwcd2zEK6XqUHQtKuyeWdUUwH9QPTHdH8tJY9vCsPRK4Z8753naLZtbfJF3RRl7AOjAOAlNY/s1600/ntc.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;171&quot; i8=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJxQp4pDNKWd6x0w_FwGMrIIWkbiOPieql7dSmFYo-Kzc50UnCHvpdTMXatX4eAJRpVvmJwcd2zEK6XqUHQtKuyeWdUUwH9QPTHdH8tJY9vCsPRK4Z8753naLZtbfJF3RRl7AOjAOAlNY/s320/ntc.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;ISAPI and CGI restrictions&lt;/div&gt;- make sure the dll is set to allowed &quot;D:\Program Files (x86)\netegrity\webagent\bin\ISAPI6WebAgent.dll&quot;</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/4450259105366644811/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/04/siteminder-ntlm-on-windows-2008-add.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/4450259105366644811'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/4450259105366644811'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/04/siteminder-ntlm-on-windows-2008-add.html' title='Siteminder NTLM on Windows 2008 add script map .ntc'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJxQp4pDNKWd6x0w_FwGMrIIWkbiOPieql7dSmFYo-Kzc50UnCHvpdTMXatX4eAJRpVvmJwcd2zEK6XqUHQtKuyeWdUUwH9QPTHdH8tJY9vCsPRK4Z8753naLZtbfJF3RRl7AOjAOAlNY/s72-c/ntc.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-7468871936518306494</id><published>2011-04-12T12:42:00.000-05:00</published><updated>2011-04-12T12:42:52.158-05:00</updated><title type='text'>Updating ROOT Certificates in Websphere</title><content type='html'>&lt;b&gt;locations :&lt;br /&gt;
&lt;/b&gt;/opt/was51/AppServer/java/jre/bin&lt;br /&gt;
/opt/was51/AppServer/java/jre/lib/security/cacerts&lt;br /&gt;
just in case make a copy of the file cacerts&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;copy the new certs to this folder&lt;br /&gt;
&lt;/b&gt;/opt/was51/AppServer/java/newCerts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Command to view the current Root certificates&lt;br /&gt;
&lt;/b&gt;&lt;i&gt;/opt/was51/AppServer/java/jre/bin/keytool -list -v -keystore /opt/was51/AppServer/java/jre/lib/security/cacerts -storepass changeit&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Command to update cacerts with new certificate&lt;br /&gt;
&lt;/b&gt;&lt;i&gt;/opt/was51/AppServer/java/jre/bin/keytool -import -file /opt/was51/AppServer/java/newCerts/Domain-ROOT.cer -keystore /opt/was51/AppServer/java/jre/lib/security/cacerts  -alias DomainRoot -trustcacerts&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/7468871936518306494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/04/updating-root-certificates-in-websphere.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7468871936518306494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7468871936518306494'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/04/updating-root-certificates-in-websphere.html' title='Updating ROOT Certificates in Websphere'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-1079518853543688516</id><published>2011-04-11T18:25:00.000-05:00</published><updated>2011-04-13T15:30:58.307-05:00</updated><title type='text'>Unix scripting - basic notes</title><content type='html'>Conditional execution operators &lt;br /&gt;
&lt;br /&gt;
|| &lt;br /&gt;
You use the double pipe operator in the form &lt;br /&gt;
command1 || command2 &lt;br /&gt;
In the above syntax, the second command executes only if the first command fails. &lt;br /&gt;
&lt;br /&gt;
&amp;&amp; &lt;br /&gt;
You use the double ampersand operator in the form &lt;br /&gt;
command1 &amp;&amp; command2 &lt;br /&gt;
In the above syntax, the second command executes only if the first command executes successfully. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Command grouping operators &lt;br /&gt;
&lt;br /&gt;
{ } &lt;br /&gt;
You can enclose multiple statements in braces ({}) to create a code block. The shell returns one exit status value for the entire group, rather than for each command in the block. &lt;br /&gt;
&lt;br /&gt;
( ) &lt;br /&gt;
You can enclose multiple statements in round brackets to create a code block. This code block functions in the same way as a code block enclosed in braces, but runs in a subshell. &lt;br /&gt;
&lt;br /&gt;
I/O redirection operators &lt;br /&gt;
&gt; &lt;br /&gt;
You use this operator to redirect command output to a file. If the specified file doesn&#39;t exist, the shell creates the file. If the file does exist, the shell overwrites it with the command output unless the noclobber environment variable is set. &lt;br /&gt;
&lt;br /&gt;
&gt;| &lt;br /&gt;
You use this operator to redirect command output to a file. If the specified file doesn&#39;t exist, the shell creates the file. If the file does exist, the shell overwrites it with the command output even if the noclobber environment variable is set. &lt;br /&gt;
&lt;br /&gt;
&gt;&gt; &lt;br /&gt;
You use this operator to redirect command output to a file. If the file doesn&#39;t exist, the shell creates the file. If it does exist, the shell appends the new data to the end of it. &lt;br /&gt;
&lt;br /&gt;
&lt; 
You use this operator to redirect command input from a file. 
File descriptor redirection operators &lt;&amp;n 
You use this operator to redirect standard input from file descriptor n. 

&gt;&amp;n &lt;br /&gt;
You use this operator to redirect standard input to file descriptor n. &lt;br /&gt;
&lt;br /&gt;
n&lt; filename 
You use this operator with a filename to redirect descriptor n from the specified file. 

n&gt; filename &lt;br /&gt;
You use this operator with a filename to redirect descriptor n to the specified file. Unlike ordinary redirection, this will not overwrite an existing file. &lt;br /&gt;
&lt;br /&gt;
n&gt;| filename &lt;br /&gt;
You use this operator with a filename to redirect descriptor n to the specified file, overriding the noclobber environment variable if it is set. &lt;br /&gt;
&lt;br /&gt;
n&gt;&gt; filename &lt;br /&gt;
You use this operator with a filename to redirect a descriptor to the specified file. This will redirect to a file but, unlike ordinary redirection, this will append to an existing file. &lt;br /&gt;
&lt;br /&gt;
Filename substitution &lt;br /&gt;
&lt;br /&gt;
* &lt;br /&gt;
You use the * wildcard to match a string of any length. &lt;br /&gt;
&lt;br /&gt;
? &lt;br /&gt;
You use the ? wildcard to match a single character. &lt;br /&gt;
&lt;br /&gt;
[abc] , [a-c] , [a-c1-3] &lt;br /&gt;
You use square brackets to match only characters that appear inside the specified set. For increased convenience, you can specify multiple ranges. &lt;br /&gt;
&lt;br /&gt;
!pattern &lt;br /&gt;
You use the ! operator with a pattern to perform a reverse match. The shell returns only filenames that don&#39;t match the pattern. &lt;br /&gt;
&lt;br /&gt;
Command substitution &lt;br /&gt;
&lt;br /&gt;
$(command) &lt;br /&gt;
&lt;br /&gt;
You use this form of command substitution to resolve a command and pass its output to another command as an argument. &lt;br /&gt;
&lt;br /&gt;
$(&lt; filename) &lt;br /&gt;
You use this form of command substitution to pass the entire contents of a file to a command as an argument. &lt;br /&gt;
&lt;br /&gt;
Tilde substitution &lt;br /&gt;
~ &lt;br /&gt;
You use the ~ operator to instruct the shell to return the value of the $HOME variable. &lt;br /&gt;
&lt;br /&gt;
~username &lt;br /&gt;
You use the ~ operator with a username to instruct the shell to return the full path of a specific user&#39;s home directory. &lt;br /&gt;
&lt;br /&gt;
~+ &lt;br /&gt;
You use the ~+ operator to instruct the shell to return the full path of the current working directory. &lt;br /&gt;
&lt;br /&gt;
~- &lt;br /&gt;
You use the ~- operator to instruct the shell to return the full path of the previous working directory you used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Miscellaneous syntax ; &lt;br /&gt;
If you enter several commands on the same line, you need to separate the commands with semicolons. The shell will execute each command successively once you press Enter. &lt;br /&gt;
&lt;br /&gt;
\ &lt;br /&gt;
You use a backslash to allow you to press Enter and continue typing commands on a new line. The shell will only begin executing your commands when you press Enter on a line that doesn&#39;t end in a backslash. Using a backlash in this way is known as backslash escaping. &lt;br /&gt;
&lt;br /&gt;
&amp; &lt;br /&gt;
You add a single ampersand at the end of a command to run that command as a background process. This is useful for tasks that are likely to take a long time to complete.</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/1079518853543688516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/04/unix-scripting-notes.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/1079518853543688516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/1079518853543688516'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/04/unix-scripting-notes.html' title='Unix scripting - basic notes'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-2536600916452284392</id><published>2011-04-11T18:23:00.001-05:00</published><updated>2011-04-11T18:23:59.615-05:00</updated><title type='text'>linux - disable GUI</title><content type='html'>In Red Hat linux to disable GUI during startup&lt;br /&gt;
modify the file /etc/inittab to&lt;br /&gt;
&#39;id:3:initdefault:&#39;&lt;br /&gt;
&lt;br /&gt;
to start GUI from shell use the below command&lt;br /&gt;
init 5&lt;br /&gt;
&lt;br /&gt;
To shutdown use&lt;br /&gt;
init 0&lt;br /&gt;
or halt, poweroff, shutdown.</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/2536600916452284392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/04/linux-disable-gui.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/2536600916452284392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/2536600916452284392'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/04/linux-disable-gui.html' title='linux - disable GUI'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-6909500559212922230</id><published>2011-04-08T14:06:00.001-05:00</published><updated>2011-04-08T14:06:39.696-05:00</updated><title type='text'>Old Laptop virtualization to New with VMWare VCenter</title><content type='html'>Three weeks ago I got a new work laptop with Vista. I downgraded it to XP after struggling with it for 2 days. My office VPN software wouldnt install.&lt;br /&gt;
&lt;br /&gt;
However after xp install and setting up everything I still had 2 days to give my old laptop back. This is not enough time to configure all software and test it connects well. &lt;br /&gt;
&lt;br /&gt;
So I installed VMWare Player on my new system and copied the whole old system to a virtual machine using VMWare Vcenter Converter Standalone. So essentially I am running my old machine in my new laptop.&lt;br /&gt;
&lt;br /&gt;
I created a sharedfolder through which I am sharing files/folders between the two machines and setting up the software one by one as time permits.&lt;br /&gt;
&lt;br /&gt;
The conversion process took around 2 Hours for my old system that had around 35GB of data. and copy and setup on the new system took another 2 hours.&lt;br /&gt;
&lt;br /&gt;
I am running the VMWARE-old network as NAT so that it shares the host OS IP. This way I am not connecting again to VPN inside the guest system. If host is connected to VPN, guest inherits the same network.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VMWare Player is free, VMWare VCenter Converter is also free. We just need to register to vmware using our email address. Installation and the move were pretty straight forward and I did not face any issues.</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/6909500559212922230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/04/old-laptop-virtualization-to-new-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/6909500559212922230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/6909500559212922230'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/04/old-laptop-virtualization-to-new-with.html' title='Old Laptop virtualization to New with VMWare VCenter'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-8815659882992775146</id><published>2011-04-01T09:47:00.000-05:00</published><updated>2011-04-01T09:47:03.583-05:00</updated><title type='text'>open IKEYMAN - in X window from AIX Server using Cygwin</title><content type='html'>I was trying to start up ikeyman from our AIX - IBM-IHS to update SSL Certs I was getting the below errors&lt;br /&gt;
&lt;br /&gt;
$ ikeyman&lt;br /&gt;
Xlib: connection to &quot;&lt;local-ipaddress&gt;:0.0&quot; refused by server&lt;br /&gt;
Xlib: No protocol specified&lt;br /&gt;
&lt;br /&gt;
The java class could not be loaded. java.lang.InternalError: Can&#39;t connect to X11 window server using &#39;&lt;local-ipaddress&gt;:0.0&#39; as the value of the DISPLAY variable.&lt;br /&gt;
$ &lt;br /&gt;
&lt;br /&gt;
Turns out I need to disable security in X windows using command &quot;xhost +&quot; to allow connections from AIX Server. Also I had to add a rule in my laptop&#39;s McAfee Intrusion Detection System to allow connections &lt;br /&gt;
&lt;br /&gt;
Notes Below&lt;br /&gt;
- Install Cygwin with x window and ssh components on your laptop (takes a while to install this)&lt;br /&gt;
- start up cygwin&lt;br /&gt;
- From the Cygwin window start Xwindow using startxwin. This will open up another X window.&lt;br /&gt;
$ startxwin&lt;br /&gt;
&lt;br /&gt;
- Now every thing needs to be done in the X Window.&lt;br /&gt;
- First Step is to disable security &lt;br /&gt;
$ xhost +&lt;br /&gt;
access control disabled, clients can connect from any host&lt;br /&gt;
&lt;br /&gt;
- Once security on local system is disabled, SSH to the AIX Server using the below&lt;br /&gt;
$&lt;br /&gt;
localuser@localmachine ~&lt;br /&gt;
$ ssh &lt;AIX Server IP/Name&gt; -l &lt;username to connect as&gt;&lt;br /&gt;
$&lt;br /&gt;
$ su - httpadm&lt;br /&gt;
httpadm&#39;s Password:&lt;br /&gt;
$ export DISPLAY=&lt;local-ipaddress&gt;:0.0&lt;br /&gt;
$ export JAVA_HOME=/usr/java14&lt;br /&gt;
$ ikeyman&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Couple of internet links helped me, but the below helped me with the xhost command.&lt;br /&gt;
http://www.staff.uni-mainz.de/pommeren/DSVorlesung/Material/Xsecurity&lt;br /&gt;
********************************************************</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/8815659882992775146/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/04/open-ikeyman-in-x-window-from-aix.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8815659882992775146'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8815659882992775146'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/04/open-ikeyman-in-x-window-from-aix.html' title='open IKEYMAN - in X window from AIX Server using Cygwin'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-4002826273664388045</id><published>2011-04-01T07:41:00.001-05:00</published><updated>2011-04-01T07:41:54.859-05:00</updated><title type='text'>Entrust SSL Cert on Windows 2003 - IIS 6</title><content type='html'>Installing a Entrust CA SSL Cert on IIS-6 Server.&lt;br /&gt;
1- Download Root Certificate as root.cer to the server&lt;br /&gt;
 - double click it&lt;br /&gt;
 - Install Certificate&lt;br /&gt;
 - Next&lt;br /&gt;
 - Automatically select the certificate store based on the type of certificate&lt;br /&gt;
 - Next&lt;br /&gt;
 - Finish&lt;br /&gt;
2- Download Chain Root Certificate Chainroot.cer to the server&lt;br /&gt;
 - double click it&lt;br /&gt;
 - Install Certificate&lt;br /&gt;
 - Next&lt;br /&gt;
 - Place all certificates in the following store&lt;br /&gt;
 - Next&lt;br /&gt;
 - Click the Show physical stores box, and then expand the Intermediate Certification Authorities folder. Select Local Computer and click OK.&lt;br /&gt;
 - Next&lt;br /&gt;
 - Finish&lt;br /&gt;
&lt;br /&gt;
You will get the below error if you mess step 2&lt;br /&gt;
&quot;The security certificate presented by this website was not issued by a trusted certificate authority&quot;&lt;br /&gt;
&lt;br /&gt;
3- Download Server Cert as ServerCert.cer to the server&lt;br /&gt;
 - In IIS6 go to the website properties&lt;br /&gt;
 - Directory Security&lt;br /&gt;
 - Secure Communications - Server Certificate&lt;br /&gt;
 - Next&lt;br /&gt;
 - Process the pending request and install the certificate &lt;br /&gt;
 - Next.&lt;br /&gt;
 .....&lt;br /&gt;
 - SSL Port 443&lt;br /&gt;
 - review and finish</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/4002826273664388045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2011/04/entrust-ssl-cert-on-windows-2003-iis-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/4002826273664388045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/4002826273664388045'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2011/04/entrust-ssl-cert-on-windows-2003-iis-6.html' title='Entrust SSL Cert on Windows 2003 - IIS 6'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-998332338518806695</id><published>2010-10-25T14:00:00.000-05:00</published><updated>2010-10-25T14:03:43.100-05:00</updated><title type='text'>ASP 1.1 and ASP2.0</title><content type='html'>Incase you get one of the below errors on Windows 2000 IIS 5, check your ASP.NET Version of the IIS Application. It might have changed from 1.1 to 2.0. Switch it back to 1.1 and IISRESET to fix.&lt;br /&gt;
&lt;br /&gt;
*************&lt;br /&gt;
Event code: 3005 &lt;br /&gt;
Event message: An unhandled exception has occurred. &lt;br /&gt;
Exception information: &lt;br /&gt;
Exception type: ArgumentException &lt;br /&gt;
Exception message: &lt;b&gt;Invalid postback or callback argument.  Event validation is enabled using &lt;pages enableEventValidation=&quot;true&quot;/&gt; in configuration or &lt;%@ Page EnableEventValidation=&quot;true&quot; %&gt; in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. &lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
***********&lt;br /&gt;
&lt;br /&gt;
Event code: 3005 &lt;br /&gt;
Event message: An unhandled exception has occurred. &lt;br /&gt;
&lt;br /&gt;
Exception information: &lt;br /&gt;
Exception type: HttpException &lt;br /&gt;
Exception message: &lt;b&gt;Response is not available in this context.&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
Stack trace:    at System.Web.HttpApplication.get_Response()&lt;br /&gt;
at career_exp.Global.Session_End(Object sender, EventArgs e) in D:\inetpub\xxxxx\Global.asax.vb:line 56&lt;br /&gt;
&lt;br /&gt;
***********&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Event code: 3005 &lt;br /&gt;
Event message: An unhandled exception has occurred. &lt;br /&gt;
&lt;br /&gt;
Exception information: &lt;br /&gt;
Exception type: HttpException &lt;br /&gt;
Exception message: &lt;b&gt;The IListSource does not contain a data source named &#39;dataSetMain&#39;.  Check your DataMember value. &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Is authenticated: True &lt;br /&gt;
Authentication Type: NTLM &lt;br /&gt;
Is impersonating: False &lt;br /&gt;
Stack trace:    at System.Web.UI.DataSourceHelper.GetResolvedDataSource(Object dataSource, String dataMember)&lt;br /&gt;
at System.Web.UI.WebControls.ReadOnlyDataSource.System.Web.UI.IDataSource.GetView(String viewName)&lt;br /&gt;
at System.Web.UI.WebControls.BaseDataList.ConnectToDataSourceView()&lt;br /&gt;
at System.Web.UI.WebControls.BaseDataList.OnLoad(EventArgs e)&lt;br /&gt;
at System.Web.UI.Control.LoadRecursive()&lt;br /&gt;
at System.Web.UI.Control.LoadRecursive()&lt;br /&gt;
at System.Web.UI.Control.LoadRecursive()&lt;br /&gt;
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)&lt;br /&gt;
&lt;br /&gt;
***********</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/998332338518806695/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2010/10/asp-11-and-asp20.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/998332338518806695'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/998332338518806695'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2010/10/asp-11-and-asp20.html' title='ASP 1.1 and ASP2.0'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-1217003770626507152</id><published>2010-09-07T09:54:00.000-05:00</published><updated>2010-09-07T09:54:42.892-05:00</updated><title type='text'>Siteminder SSO - NTLM - multi domain</title><content type='html'>Correct/Simple Procedure for successful NTLM authentication using Siteminder in multi domain scenario is to use a custom NTLM Auth Scheme.&lt;br /&gt;
&lt;br /&gt;
Auth Scheme Type : Custom Template&lt;br /&gt;
Library : SmExtendedAuthNTLM&lt;br /&gt;
Parameter : a1|a2|a3;http://ntlm.a1.com/siteminderagent/ntlm/smntlm.ntc&lt;br /&gt;
&lt;br /&gt;
- Cookie Provider is not required.&lt;br /&gt;
- instead of simple NTLM scheme use the above Custom Template to authenticate into multiple domains.&lt;br /&gt;
&lt;br /&gt;
- my old post below also works but is not necessary for our scenario.</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/1217003770626507152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2010/09/siteminder-sso-ntlm-multi-domain.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/1217003770626507152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/1217003770626507152'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2010/09/siteminder-sso-ntlm-multi-domain.html' title='Siteminder SSO - NTLM - multi domain'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-2105147912992997474</id><published>2010-08-27T15:06:00.000-05:00</published><updated>2010-09-07T09:56:15.541-05:00</updated><title type='text'>Siteminder - SSO between different trusted domains</title><content type='html'>- updated post above....!&lt;br /&gt;
&lt;br /&gt;
a1.com &amp; a2.net are 2 different companies. a1.com and a2.net merged/takeover.&lt;br /&gt;
&lt;br /&gt;
- users in a2.net want to access application app.a1.com/main.html in a1.com using SSO.&lt;br /&gt;
- a1.com and a2.net have a trusted relation-ship.&lt;br /&gt;
&lt;br /&gt;
- app.a1.com is protected by Siteminder using NTLM authentication scheme which gives users in a1.com the ability to SSO into the application aa.a1.com&lt;br /&gt;
- a2.net users cannot use the same NTLM auth website ntlm.a1.com because it can serve only one domain.&lt;br /&gt;
&lt;br /&gt;
So we create a NTLM Website in ntlm.a2.net and protect it using the policy server in a1.com. Since both domains are trusted user can login into a2.net ntlm site and get a cookie for a2.net. but we require cookie for a1.com. CookieProvider comes to help here.&lt;br /&gt;
&lt;br /&gt;
- if using anon access in ntlm.a2.net, make sure that the user is from the AD in a1.com.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Sequence Below&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
- User in A2.net tries to access app.a1.com/redirect.html.&lt;br /&gt;
- CookieProvider site in a1.com is also involved.&lt;br /&gt;
- app.a1.com redirects to ntlm.a2.net/redirect.html&lt;br /&gt;
- ntlm.a2.net is protected by ntlm auth scheme on ntlm.a2.net/siteminderagent/ntlm/smntlm.ntc.&lt;br /&gt;
- Since ntlm.a2.net server is in a2.net domain, user gets a2.net cookie.&lt;br /&gt;
- because of CookieProvider in a1.com is involved, a1.com cookie is also created.&lt;br /&gt;
- now user has both a1.com and a2.net cookies.&lt;br /&gt;
- after authentication ntlm.a2.net/redirect.html redirects to app.a1.com/main.html with cookie.</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/2105147912992997474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2010/08/siteminder-sso-between-different.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/2105147912992997474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/2105147912992997474'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2010/08/siteminder-sso-between-different.html' title='Siteminder - SSO between different trusted domains'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-7928786204580772248</id><published>2010-08-09T16:43:00.000-05:00</published><updated>2010-08-09T16:43:55.872-05:00</updated><title type='text'>A very good speech by Hillary Clinton about  Internet Freedom.</title><content type='html'>http://www.state.gov/secretary/rm/2010/01/135519.html</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/7928786204580772248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2010/08/very-good-speech-by-hillary-clinton.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7928786204580772248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/7928786204580772248'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2010/08/very-good-speech-by-hillary-clinton.html' title='A very good speech by Hillary Clinton about  Internet Freedom.'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4670130104643603288.post-8699716477559944534</id><published>2010-06-23T16:03:00.001-05:00</published><updated>2010-06-23T16:03:44.097-05:00</updated><title type='text'>Good basic analysis of TCP/IP</title><content type='html'>Good analysis of TCP/IP Protocol&lt;br /&gt;
&lt;br /&gt;
&lt;embed src=&quot;http://blip.tv/play/g9wegeiwdgI&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;480&quot; height=&quot;270&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/embed&gt;</content><link rel='replies' type='application/atom+xml' href='http://tummypain.blogspot.com/feeds/8699716477559944534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tummypain.blogspot.com/2010/06/good-basic-analysis-of-tcpip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8699716477559944534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4670130104643603288/posts/default/8699716477559944534'/><link rel='alternate' type='text/html' href='http://tummypain.blogspot.com/2010/06/good-basic-analysis-of-tcpip.html' title='Good basic analysis of TCP/IP'/><author><name>Hul</name><uri>http://www.blogger.com/profile/08533537444219710843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>