<?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-16587565</id><updated>2024-10-10T06:24:33.650-04:00</updated><category term="oracle"/><category term="solaris"/><category term="sun"/><category term="admin"/><category term="life"/><category term="oracle rac"/><category term="performance"/><category term="solaris 10"/><category term="solaris 11"/><category term="spring"/><category term="cloud control"/><category term="coradiant"/><category term="em12c"/><category term="loadrunner"/><category term="politics"/><category term="testing"/><category term="weblogic"/><category term="11g"/><category term="PCRE"/><category term="Windows"/><category term="Windows 7"/><category term="acegi"/><category term="airlines"/><category term="annoying"/><category term="apache"/><category term="apache 64 bit"/><category term="apache 64-bit"/><category term="applications"/><category term="backups"/><category term="bad loans"/><category term="banks"/><category term="blasts"/><category term="books"/><category term="browser"/><category term="certificate"/><category term="chef"/><category term="chrome"/><category term="chromecast"/><category term="cluster"/><category term="compression"/><category term="crystal"/><category term="crystal reports"/><category term="css"/><category term="db"/><category term="delta"/><category term="emagents"/><category term="enterprise manager"/><category term="enterprise manger"/><category term="entrepreneur"/><category term="extensions"/><category term="firefox"/><category term="frequent flyer"/><category term="google"/><category term="grid control"/><category term="grub"/><category term="gzip"/><category term="ha nfs"/><category term="ha-nfs"/><category term="hardware"/><category term="ideas"/><category term="ie"/><category term="iis"/><category term="india"/><category term="install"/><category term="java"/><category term="javascript"/><category term="ldoms"/><category term="mumbai"/><category term="mysql"/><category term="network"/><category term="obama"/><category term="oda"/><category term="oem12c"/><category term="openssl"/><category term="oracle database appliance"/><category term="oracle world"/><category term="performance engineering"/><category term="perl"/><category term="projects"/><category term="solaris containers"/><category term="spe"/><category term="ssl"/><category term="stimulus"/><category term="sun cluster"/><category term="unix"/><category term="usair"/><category term="vlan"/><category term="x86"/><category term="zfs"/><title type='text'>Stuff...</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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>90</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-16587565.post-1656819630725828301</id><published>2014-08-17T20:41:00.001-04:00</published><updated>2014-08-17T20:41:03.109-04:00</updated><title type='text'>Oracle EBS 12.2 Installer </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
I have just been trying to install EBS Suite 12.2 with 11.2.0.3/11.2.0.4 Grid. &amp;nbsp;It is the worst ever, most painful install ever.&lt;br /&gt;
&lt;br /&gt;
The number of files to be downloaded, the config changes for the servers and just the complexity makes me wonder how many people who&#39;ve posted that they&#39;ve done this install to be true!&lt;br /&gt;
&lt;br /&gt;Here is what I&#39;m trying to do.&lt;br /&gt;
&lt;br /&gt;
2 Node RAC&lt;br /&gt;
1 Node Application Tier (I want 2, but starting with 1).&lt;br /&gt;
&lt;br /&gt;
This post will be updated to something sane, once I get through it...though - I&#39;m posting just incase, someone can be saved some of the pain.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;System Config&lt;/b&gt;&lt;br /&gt;
Oracle Linux x86_64&lt;br /&gt;
&lt;b&gt;Yum Repo:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Oracle Public and Oracle Addons&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[public_ol6_latest]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
name=Oracle Linux $releasever Latest ($basearch)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
gpgcheck=1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
enabled=1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
[public_ol6_addons]&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
name=Oracle Linux $releasever Addons ($basearch)&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
gpgcheck=1&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
enabled=1&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;b&gt;RPMs Used:&lt;/b&gt;&lt;br /&gt;
yum install oracle-rdbms-server-11gR2-preinstall&lt;br /&gt;
yum install oracle-ebs-server-R12-preinstall&lt;br /&gt;
.&amp;gt;&lt;br /&gt;
Other config:&lt;br /&gt;
Fix the hosts file to have only the following&lt;br /&gt;
127.0.0.1 &amp;nbsp;localhost&lt;br /&gt;
&lt;ip&gt; &amp;nbsp; FQDN &amp;nbsp;DN&lt;/ip&gt;&lt;br /&gt;
&lt;br /&gt;
For the oracle hosts, when trying to install the Database with the EBS installer, cluvfy will most likely fail because of the network check, dns check or something else (11.2.0.4 cluvfy will successfully complete, the issue is only with 11.2.0.3)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;NSLookup Fix&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
To temporarily fix the nslookup error:&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;# mv /usr/bin/nslookup /usr/bin/nslookup.orig&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;# echo &#39;#!/bin/bash&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;/usr/bin/nslookup.orig $*&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;exit 0&#39; &amp;gt; /usr/bin/nslookup&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #3d3d3d; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, &#39;Lucida Grande&#39;, sans-serif; font-size: 13px; line-height: 19.5px;&quot;&gt;# chmod a+x nslookup&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Network Check&lt;/b&gt;&lt;br /&gt;
Once I confirmed that everything was fine with the 11.2.0.4 cluvfy, modify the runcluvfy in the &lt;stage122&gt;/TechInstallMedia/database/grid directory&lt;/stage122&gt;&lt;br /&gt;
The last line, change it as below&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
# Return the status of executed cluster verification command&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
exit 0 # new add&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;#exit $EXEC_STATUS&lt;/i&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/1656819630725828301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/1656819630725828301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/1656819630725828301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/1656819630725828301'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2014/08/oracle-ebs-122-installer.html' title='Oracle EBS 12.2 Installer '/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-2665411124416091229</id><published>2014-07-10T14:46:00.001-04:00</published><updated>2014-07-10T14:50:09.947-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oda"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle database appliance"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle rac"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris 10"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris 11"/><title type='text'>Oracle Database Appliance - My case for Solaris</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
I just got to try out the Oracle database appliance (ODA). &amp;nbsp;It&#39;s supposed to be quick and easy to setup and get it running. &amp;nbsp;We&#39;ve run into some intial hiccups, but this is a POC box and I&#39;m not going to give Oracle grief here.&lt;br /&gt;
&lt;br /&gt;
Here are my quick thoughts&lt;br /&gt;
&lt;br /&gt;
Pros:&lt;br /&gt;
1. &amp;nbsp;Extremely easy to setup (hardware perspective)&lt;br /&gt;
2. &amp;nbsp;Very cost effective.&lt;br /&gt;
3. &amp;nbsp;Comes with lots of Storage and now allows expansion into another Storage Shelf.&lt;br /&gt;
&lt;br /&gt;
Cons:&lt;br /&gt;
&lt;br /&gt;
1. &amp;nbsp;Only Oracle Linux. &amp;nbsp;No Solaris.&lt;br /&gt;
2. &amp;nbsp;Only one ASM across all the databases.&lt;br /&gt;
3. &amp;nbsp;Patching has to be done in a particular order. &amp;nbsp;You can&#39;t simply patch Db, you need to patch hardware, OS and such, before you get to the Db patching (There is a hierarchy)&lt;br /&gt;
4. &amp;nbsp;When you start patching, depending upon what you&#39;re patching, ALL Databases need to be shutdown. &amp;nbsp;This is very hard to do, especially when you have multiple applications using Dbs hosted on the ODA.&lt;br /&gt;
&lt;br /&gt;
So - where is Solaris and why you ask.&lt;br /&gt;
&lt;br /&gt;
1. &amp;nbsp;Solaris 10 / 11 allows you to run Oracle RAC clusters in Zones.&lt;br /&gt;
2. &amp;nbsp;With Solaris, you can have Zones running your Oracle RAC, and multiple Oracle RAC instances can be spun up, especially with MULTIPLE ASMs running. &amp;nbsp;This will immediately allow you to patch your infrastructure one node at a time. &lt;br /&gt;
3. &amp;nbsp;The bonded connections with Solaris 11 makes it incredibly simple to work with. &amp;nbsp;This link specifically:&amp;nbsp;&lt;a href=&quot;https://blogs.oracle.com/vreality/entry/network_virtualization_high_availability&quot;&gt;Network Virtualization High Availability&lt;/a&gt;&amp;nbsp;made me think of ODA on Solaris a lot more.&lt;br /&gt;
4. &amp;nbsp;Solaris 11 allows you to add disks to zones without a reboot (a big Solaris 10 limitation).&lt;br /&gt;
5. &amp;nbsp;Zones allow you to CPU cage. &lt;br /&gt;
6. &amp;nbsp;The Hardware is all based off the Sun systems.&lt;br /&gt;
7. &amp;nbsp;You can use ZFS for all OS disks.&lt;br /&gt;
8. &amp;nbsp;You can get away from the clunky OVM DOM0 world that the ODA appliance uses now.&lt;br /&gt;
9. &amp;nbsp;You can effortlessly do virtualization and use the VM Templates.&lt;br /&gt;
10. &amp;nbsp;CloudFS partition would be effortless too - just make a new ZPOOL and you&#39;re done!&lt;br /&gt;
11. &amp;nbsp;All this can be tied into Oracle Enterprise Manager &amp;amp; Oracle Ops Center for the hardware.&lt;br /&gt;
12. &amp;nbsp;All the patching can be made so much more effortless.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/2665411124416091229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/2665411124416091229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2665411124416091229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2665411124416091229'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2014/07/oracle-database-appliance-my-case-for.html' title='Oracle Database Appliance - My case for Solaris'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-1915797910482164351</id><published>2014-04-08T15:03:00.000-04:00</published><updated>2014-04-08T15:03:10.487-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chef"/><title type='text'>Chef - my journey with the Infrastructure tool - Part 1 of hopefully many more...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
Chef is a Infrastructure in Code service, which allows you to define your infrastructure in different files (recipes, Cookbooks, resources etc) and by using Chef - you can build all your servers the exact same way. &amp;nbsp;The advantage I see with Chef is - it has inbuilt knowledge on how to work with a number of different OS&#39;s - so Solaris could have pkgadd, RHEL yum or CentOS apt-get and these would automatically be determined by Chef.&lt;br /&gt;
&lt;br /&gt;
Chef is written in Ruby, and you need to know just some basics of Ruby to get started with Chef. &amp;nbsp;However, even if you dont know it - you can keep following along - or you can learn what you need for Chef&amp;nbsp;&lt;a href=&quot;http://docs.opscode.com/just_enough_ruby_for_chef.html&quot;&gt;here.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I highly recommend going through the screencasts available at OpsCode -&amp;nbsp;&lt;a href=&quot;https://learnchef.opscode.com/screencasts/&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
So - here&#39;s where I am - I got my workstation (a Mac) setup for Chef. I decided if I was going to learn it, the best spot to try things out is the Amazon cloud - it&#39;ll cost me some money, but considering a lot of organizations are moving there, might as well get experience with that as well :)&lt;br /&gt;
&lt;br /&gt;
Amazon does offer a Micro instance for free for 750 hrs - and yes thats what I&#39;m trying to use.&lt;br /&gt;
&lt;br /&gt;
So to get Started, I picked an UBUNTU image which is available on the Amazon Market place.&lt;br /&gt;
&lt;br /&gt;
I played around with Chef - and got Chef talking between Amazon and my desktop + &amp;nbsp;Enterprise Hosted Chef (free for less than 5 nodes).&lt;br /&gt;
&lt;br /&gt;
Yes - I am getting to the meat now :).&lt;br /&gt;
&lt;br /&gt;
My next target is to be able to Deploy an OS on the Amazon cloud using just Chef.&lt;br /&gt;
&lt;br /&gt;
There&#39;s probably a ton of blogs out there with this - so I am adding to it. I&#39;m hoping to detail any issues that I&#39;ve run into as well as use this blog as my own documentation :)&lt;br /&gt;
&lt;br /&gt;
One of the things to note is that : chef always installs in &quot;/opt/chef&quot; on *nix flavors. &amp;nbsp;There are too many dependencies, and its not supported if its not there.&lt;br /&gt;
&lt;br /&gt;
First : Install knife-ec2 plugin for Chef. &amp;nbsp;This is assuming that has already been installed.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ebecf1; border: 0px solid rgb(216, 221, 227); color: #212c35; font-family: Consolas, &#39;Deja Vu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace; font-size: 0.95em; letter-spacing: 0.015em; line-height: 15px; overflow-x: auto; overflow-y: hidden; padding: 0.5em;&quot;&gt;&lt;pre style=&quot;border: 0px solid rgb(216, 221, 227); font-family: Consolas, &#39;Deja Vu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace; font-size: 0.95em; letter-spacing: 0.015em; overflow-x: auto; overflow-y: hidden; padding: 0.5em;&quot;&gt;&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: 0.95em; letter-spacing: 0.015em;&quot;&gt;/opt/chef/embedded/bin/gem install knife-ec2&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/pre&gt;
&lt;br /&gt;
Next, get the Amazon EC2 key and access code - its available under your Amazon Account, &quot;Security Credentials&quot; &amp;amp; Access Keys.&lt;br /&gt;
&lt;br /&gt;
You&#39;ll also need your Amazon key pair - you can create a new one, or use the existing one you have already. &amp;nbsp;Its under &quot;Network Security&quot;&amp;amp; &amp;nbsp;Key Pairs&lt;br /&gt;
&lt;br /&gt;
this is what you&#39;ll need to put in the knife.rb file.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: #ebecf1; border: 0px solid rgb(216, 221, 227); color: #212c35; font-family: Consolas, &#39;Deja Vu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace; font-size: 0.95em; letter-spacing: 0.015em; line-height: 15px; overflow-x: auto; overflow-y: hidden; padding: 0.5em;&quot;&gt;&lt;pre style=&quot;border: 0px solid rgb(216, 221, 227); font-family: Consolas, &#39;Deja Vu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace; font-size: 0.95em; letter-spacing: 0.015em; overflow-x: auto; overflow-y: hidden; padding: 0.5em;&quot;&gt;&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;span style=&quot;font-size: 0.95em; letter-spacing: 0.015em;&quot;&gt;### The Key pair with .pem file name. (without the .pem)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 0.95em; letter-spacing: 0.015em;&quot;&gt;knife[:aws_ssh_key_id] = &#39;KEY_ID&#39;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 0.95em; letter-spacing: 0.015em;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;font-size: 0.95em; letter-spacing: 0.015em;&quot;&gt;#### The Access key id and access key from Amazon account.
knife[:aws_access_key_id] = &#39;ACCESS_KEY_ID&#39;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 0.95em; letter-spacing: 0.015em;&quot;&gt;knife[:aws_secret_access_key] = &#39;SECRET_ACCESS_KEY&#39;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: 0.95em; letter-spacing: 0.015em;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;p1&quot;&gt;
&lt;/div&gt;
&lt;/pre&gt;
&lt;/pre&gt;
&lt;br /&gt;
Make sure the .pem file has permissions of 400. &amp;nbsp;Otherwise, the ssh-user wont allow the use of the .pem file.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/1915797910482164351/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/1915797910482164351' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/1915797910482164351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/1915797910482164351'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2014/04/chef-my-journey-with-infrastructure.html' title='Chef - my journey with the Infrastructure tool - Part 1 of hopefully many more...'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-3374289538982642726</id><published>2014-04-07T17:55:00.002-04:00</published><updated>2014-04-07T17:55:33.840-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="grub"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris 10"/><category scheme="http://www.blogger.com/atom/ns#" term="x86"/><title type='text'>Solaris 10 x86 - Grub not loading</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
I have a Solaris 10x86 install which failed all attempts after a reboot with ZFS&lt;br /&gt;
&lt;br /&gt;
After a lot of trial and error, I finally did the below from the Grub menu and it worked.&lt;br /&gt;
&lt;br /&gt;
grub&amp;gt; find /sbin/init&lt;br /&gt;
grub&amp;gt; root (hd1,0,a) &amp;nbsp;&amp;lt;&lt;---this a=&quot;&quot; command.=&quot;&quot; find=&quot;&quot; hd1=&quot;&quot; is=&quot;&quot; of=&quot;&quot; output=&quot;&quot; p=&quot;&quot; the=&quot;&quot;&gt;grub&amp;gt; kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS&lt;br /&gt;
grub&amp;gt;module /platform/i86pc/boot_archive&lt;br /&gt;
grub&amp;gt; boot&lt;br /&gt;
&lt;br /&gt;
An example of the menu.lst at /rpool/boot/grub/menu.lst&lt;br /&gt;
&lt;br /&gt;
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------&lt;br /&gt;
title Solaris 10 10/09 s10x_u8wos_08a X86&lt;br /&gt;
findroot (pool_rpool,0,a)&lt;br /&gt;
kernel$ /platform/i86pc/multiboot -B $ZFS-BOOTFS&lt;br /&gt;
module /platform/i86pc/boot_archive&lt;br /&gt;
#---------------------END BOOTADM--------------------&lt;br /&gt;
#---------- ADDED BY BOOTADM - DO NOT EDIT ----------&lt;br /&gt;
title Solaris failsafe&lt;br /&gt;
findroot (pool_rpool,0,a)&lt;br /&gt;
kernel /boot/multiboot -s&lt;br /&gt;
module /boot/amd64/x86.miniroot-safe&lt;br /&gt;
#---------------------END BOOTADM--------------------&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/---this&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/3374289538982642726/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/3374289538982642726' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/3374289538982642726'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/3374289538982642726'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2014/04/solaris-10-x86-grub-not-loading.html' title='Solaris 10 x86 - Grub not loading'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-8884075539144276327</id><published>2013-07-31T23:02:00.000-04:00</published><updated>2013-07-31T23:02:32.293-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="chromecast"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><title type='text'>Chromecast</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This small device is just awesome! &amp;nbsp;I got it, connected it to my AV Receiver, and setup took about 5 mins after that. &lt;br /&gt;
&lt;br /&gt;
For $35 -&lt;br /&gt;
I got it before the Neflix subscription offer expired - so 3 months of Netflix&lt;br /&gt;
the Chromecast device&lt;br /&gt;
A HDMI extender&lt;br /&gt;
A charger for the Chrome cast with the USB cable.&lt;br /&gt;
&lt;br /&gt;
This is a awesome device and I highly recommend it!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/8884075539144276327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/8884075539144276327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/8884075539144276327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/8884075539144276327'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2013/07/chromecast.html' title='Chromecast'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-4317351486095422217</id><published>2013-07-28T17:27:00.002-04:00</published><updated>2013-07-28T22:05:26.681-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="certificate"/><category scheme="http://www.blogger.com/atom/ns#" term="openssl"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris"/><title type='text'>Downloading a sites certificate with openssl</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;I keep running into an issue where I need to get a server certificate sometimes, and its not always accessible via the browser.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;When I need it from the server &amp;nbsp;- this handy comment on this site worked like a charm &lt;/span&gt;&lt;a href=&quot;http://serverfault.com/questions/139728/how-to-download-ssl-certificate-from-a-website&quot;&gt;http://serverfault.com/questions/139728/how-to-download-ssl-certificate-from-a-website&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;echo -n | openssl s_client -connect HOST:PORTNUMBER | sed -ne &#39;/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p&#39; &amp;gt; /tmp/$SERVERNAME.cert&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;That will save the certificate to&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;/tmp/$SERVERNAME.cert&lt;/code&gt;.&lt;br /&gt;
You can use&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;-showcerts&lt;/code&gt;&amp;nbsp;if you want to download all the certificates in the chain. But if you just want to download the server certificate, there is no need to specify&amp;nbsp;&lt;code style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;-showcerts&lt;/code&gt;&lt;code style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;echo -n&lt;/code&gt;&amp;nbsp;gives a response to the server, so that the connection is released&lt;br /&gt;
&lt;code style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;sed -ne &#39;/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p&#39;&lt;/code&gt;&amp;nbsp;removes information about the certificate chain. This is the preferred format to import the certificate into other keystores.&lt;/blockquote&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; clear: both; font-family: Arial, &#39;Liberation Sans&#39;, &#39;DejaVu Sans&#39;, sans-serif; font-size: 14px; line-height: 18px; margin-bottom: 1em; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
Thanks to the person who gave that comment, it has helped me immensley.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/4317351486095422217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/4317351486095422217' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4317351486095422217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4317351486095422217'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2013/07/downloading-sites-certificate-with.html' title='Downloading a sites certificate with openssl'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-8743879910164155132</id><published>2013-07-28T16:40:00.003-04:00</published><updated>2013-07-28T22:05:43.349-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="ssl"/><category scheme="http://www.blogger.com/atom/ns#" term="weblogic"/><title type='text'>Weblogic - App having javax.net.ssl.SSLHandshakeException</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you use Weblogic and have an application that connects to the outside world via HTTPS, you could be in for a treat.&lt;br /&gt;
&lt;br /&gt;
If you have the DemoIdentityTrustStore configured or any keystore configured and the JDK keystore configured, it looks like Weblogic randomly decides which keystore for Trust to use.&lt;br /&gt;
&lt;br /&gt;
We ran into an issue, where the application would randomly complain of invalid cert chain similar to this:&lt;br /&gt;
&lt;br /&gt;
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
After many many days of troubleshooting, wondering why even thoguh the java CACERTS had the correct certs, I decided to try accessing the site with the DemoTrust keystore instead. &amp;nbsp;Whola...the error manifested itself again.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
What is insanely annoying is that this is not repeatable in WLS. &amp;nbsp;Every restart seems to have a different behavior.&lt;br /&gt;
&lt;br /&gt;
To import a certificate you already have into the keystore - use the &quot;keytool&quot; utility.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cd $JAVA_HOME/jre/lib/security&lt;br /&gt;
&amp;nbsp;keytool -import -alias VerisignC3PPCA &amp;nbsp; -keystore cacerts -trustcacerts -file /root/getrootcert.cer&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I found this great piece of code online (InstallCert.java) &amp;nbsp;(below) which helped me troubleshoot.&lt;br /&gt;
&lt;br /&gt;
If you want to use the Weblogic Identity store - below is some useful data. &amp;nbsp;You will need to modify the below code to point to this JKS if you want to (change the &quot;File file = new ... &quot; block) . &amp;nbsp;To add the certificate, you can do it using &quot;keytool&quot; as well if you have the certificates you care about.&lt;br /&gt;
&lt;br /&gt;
This table was very neatly done at :&amp;nbsp;&lt;a href=&quot;http://itguykelly.wordpress.com/2010/05/20/default-weblogic-keystore-passwordpassphrase/&quot;&gt;http://itguykelly.wordpress.com/2010/05/20/default-weblogic-keystore-passwordpassphrase/&lt;/a&gt;&amp;nbsp;which I&#39;ve borrowed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background-color: white; border-collapse: collapse; border: 2px solid rgb(204, 204, 204); color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin: 5px 0px 10px; padding: 0px;&quot;&gt;&lt;tbody style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Property&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Value&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Trust store location&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;%ORACLE_HOME%/weblogic/wlserver_10.3/ server/lib/DemoTrust.jks&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Trust store password&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;DemoTrustKeyStorePassPhrase&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Key store location&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;%ORACLE_HOME%/weblogic/wlserver_10.3/ server/lib/DemoIdentity.jks&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Key store password&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;DemoIdentityKeyStorePassPhrase&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Private key password&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;DemoIdentityPassPhrase&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div id=&quot;_mcePaste&quot; style=&quot;background-color: white; color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif; font-size: 12px; height: 1px; left: -10000px; line-height: 17px; margin: 0px; overflow: hidden; padding: 0px; position: absolute; top: 0px; width: 1px;&quot;&gt;
&lt;div style=&quot;margin-bottom: 10px; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: 2px solid rgb(204, 204, 204); margin: 5px 0px 10px; padding: 0px;&quot;&gt;&lt;tbody style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Property&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Value&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Trust store location&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;%ORACLE_HOME%/weblogic/wlserver_10.3/ server/lib/DemoTrust.jks&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Trust store password&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;DemoTrustKeyStorePassPhrase&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Key store location&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;%ORACLE_HOME%/weblogic/wlserver_10.3/ server/lib/DemoIdentity.jks&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Key store password&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;DemoIdentityKeyStorePassPhrase&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;Private key password&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border: 1px solid rgb(204, 204, 204); margin: 0px; padding: 0.75pt; vertical-align: top;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 10px; padding: 0px; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: 12pt; margin: 0px; padding: 0px;&quot;&gt;DemoIdentityPassPhrase&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class=&quot;wpa&quot; style=&quot;background-color: white; clear: both; color: #555555; font-family: Verdana, &#39;BitStream vera Sans&#39;, Helvetica, sans-serif; font-size: 12px; line-height: 17px; margin: 10px auto; overflow: hidden; padding: 0px; position: relative; text-align: center; width: 400px;&quot;&gt;
&lt;a href=&quot;http://en.wordpress.com/about-these-ads/&quot; rel=&quot;nofollow&quot; style=&quot;color: #2970a6; display: block; font-family: sans-serif; font-size: 9px; line-height: 1; margin: 0px; padding: 0px; position: absolute; text-align: left;&quot;&gt;About these ads&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Copy and paste the below code into a file called &quot;InstallCert.java&quot;&lt;br /&gt;
javac InstallCert.java&lt;br /&gt;
java InstallCert.java &lt;website&gt;&lt;/website&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&amp;nbsp;* Copyright 2006 Sun Microsystems, Inc. &amp;nbsp;All Rights Reserved.&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* Redistribution and use in source and binary forms, with or without&lt;br /&gt;
&amp;nbsp;* modification, are permitted provided that the following conditions&lt;br /&gt;
&amp;nbsp;* are met:&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* &amp;nbsp; - Redistributions of source code must retain the above copyright&lt;br /&gt;
&amp;nbsp;* &amp;nbsp; &amp;nbsp; notice, this list of conditions and the following disclaimer.&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* &amp;nbsp; - Redistributions in binary form must reproduce the above copyright&lt;br /&gt;
&amp;nbsp;* &amp;nbsp; &amp;nbsp; notice, this list of conditions and the following disclaimer in the&lt;br /&gt;
&amp;nbsp;* &amp;nbsp; &amp;nbsp; documentation and/or other materials provided with the distribution.&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* &amp;nbsp; - Neither the name of Sun Microsystems nor the names of its&lt;br /&gt;
&amp;nbsp;* &amp;nbsp; &amp;nbsp; contributors may be used to endorse or promote products derived&lt;br /&gt;
&amp;nbsp;* &amp;nbsp; &amp;nbsp; from this software without specific prior written permission.&lt;br /&gt;
&amp;nbsp;*&lt;br /&gt;
&amp;nbsp;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS&lt;br /&gt;
&amp;nbsp;* IS&quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,&lt;br /&gt;
&amp;nbsp;* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR&lt;br /&gt;
&amp;nbsp;* PURPOSE ARE DISCLAIMED. &amp;nbsp;IN NO EVENT SHALL THE COPYRIGHT OWNER OR&lt;br /&gt;
&amp;nbsp;* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,&lt;br /&gt;
&amp;nbsp;* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,&lt;br /&gt;
&amp;nbsp;* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR&lt;br /&gt;
&amp;nbsp;* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF&lt;br /&gt;
&amp;nbsp;* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING&lt;br /&gt;
&amp;nbsp;* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS&lt;br /&gt;
&amp;nbsp;* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
/**&lt;br /&gt;
&amp;nbsp;* Originally from:&lt;br /&gt;
&amp;nbsp;* http://blogs.sun.com/andreas/resource/InstallCert.java&lt;br /&gt;
&amp;nbsp;* Use:&lt;br /&gt;
&amp;nbsp;* java InstallCert hostname&lt;br /&gt;
&amp;nbsp;* Example:&lt;br /&gt;
&amp;nbsp;*% java InstallCert ecc.fedora.redhat.com&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
&lt;br /&gt;
import javax.net.ssl.*;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
import java.security.KeyStore;&lt;br /&gt;
import java.security.MessageDigest;&lt;br /&gt;
import java.security.cert.CertificateException;&lt;br /&gt;
import java.security.cert.X509Certificate;&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
&amp;nbsp;* Class used to add the server&#39;s certificate to the KeyStore&lt;br /&gt;
&amp;nbsp;* with your trusted certificates.&lt;br /&gt;
&amp;nbsp;*/&lt;br /&gt;
public class InstallCert {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; public static void main(String[] args) throws Exception {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String host;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int port;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char[] passphrase;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((args.length == 1) || (args.length == 2)) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String[] c = args[0].split(&quot;:&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; host = c[0];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; port = (c.length == 1) ? 443 : Integer.parseInt(c[1]);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String p = (args.length == 1) ? &quot;changeit&quot; : args[1];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; passphrase = p.toCharArray();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;Usage: java InstallCert [:port] [passphrase]&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; File file = new File(&quot;jssecacerts&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (file.isFile() == false) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; char SEP = File.separatorChar;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; File dir = new File(System.getProperty(&quot;java.home&quot;) + SEP&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + &quot;lib&quot; + SEP + &quot;security&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file = new File(dir, &quot;jssecacerts&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (file.isFile() == false) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file = new File(dir, &quot;cacerts&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;Loading KeyStore &quot; + file + &quot;...&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; InputStream in = new FileInputStream(file);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ks.load(in, passphrase);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; in.close();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SSLContext context = SSLContext.getInstance(&quot;TLS&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TrustManagerFactory tmf =&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tmf.init(ks);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X509TrustManager defaultTrustManager = (X509TrustManager) tmf.getTrustManagers()[0];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SavingTrustManager tm = new SavingTrustManager(defaultTrustManager);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; context.init(null, new TrustManager[]{tm}, null);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SSLSocketFactory factory = context.getSocketFactory();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;Opening connection to &quot; + host + &quot;:&quot; + port + &quot;...&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SSLSocket socket = (SSLSocket) factory.createSocket(host, port);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socket.setSoTimeout(10000);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;Starting SSL handshake...&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socket.startHandshake();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; socket.close();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;No errors, certificate is already trusted&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (SSLException e) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; e.printStackTrace(System.out);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X509Certificate[] chain = tm.chain;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (chain == null) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;Could not obtain server certificate chain&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; BufferedReader reader =&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new BufferedReader(new InputStreamReader(System.in));&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;Server sent &quot; + chain.length + &quot; certificate(s):&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageDigest sha1 = MessageDigest.getInstance(&quot;SHA1&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MessageDigest md5 = MessageDigest.getInstance(&quot;MD5&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int i = 0; i &amp;lt; chain.length; i++) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X509Certificate cert = chain[i];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&quot; &quot; + (i + 1) + &quot; Subject &quot; + cert.getSubjectDN());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot; &amp;nbsp; Issuer &amp;nbsp;&quot; + cert.getIssuerDN());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sha1.update(cert.getEncoded());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot; &amp;nbsp; sha1 &amp;nbsp; &amp;nbsp;&quot; + toHexString(sha1.digest()));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; md5.update(cert.getEncoded());&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot; &amp;nbsp; md5 &amp;nbsp; &amp;nbsp; &quot; + toHexString(md5.digest()));&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;Enter certificate to add to trusted keystore or &#39;q&#39; to quit: [1]&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String line = reader.readLine().trim();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int k;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; k = (line.length() == 0) ? 0 : Integer.parseInt(line) - 1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } catch (NumberFormatException e) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;KeyStore not changed&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; X509Certificate cert = chain[k];&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String alias = host + &quot;-&quot; + (k + 1);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ks.setCertificateEntry(alias, cert);&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OutputStream out = new FileOutputStream(&quot;jssecacerts&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ks.store(out, passphrase);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; out.close();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(cert);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (&quot;Added certificate to keystore &#39;jssecacerts&#39; using alias &#39;&quot;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; + alias + &quot;&#39;&quot;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; private static final char[] HEXDIGITS = &quot;0123456789abcdef&quot;.toCharArray();&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; private static String toHexString(byte[] bytes) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; StringBuilder sb = new StringBuilder(bytes.length * 3);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; for (int b : bytes) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; b &amp;amp;= 0xff;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sb.append(HEXDIGITS[b &amp;gt;&amp;gt; 4]);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sb.append(HEXDIGITS[b &amp;amp; 15]);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sb.append(&#39; &#39;);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return sb.toString();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; private static class SavingTrustManager implements X509TrustManager {&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private final X509TrustManager tm;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; private X509Certificate[] chain;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SavingTrustManager(X509TrustManager tm) {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.tm = tm;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public X509Certificate[] getAcceptedIssuers() {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new UnsupportedOperationException();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void checkClientTrusted(X509Certificate[] chain, String authType)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throws CertificateException {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throw new UnsupportedOperationException();&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; public void checkServerTrusted(X509Certificate[] chain, String authType)&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; throws CertificateException {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this.chain = chain;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; tm.checkServerTrusted(chain, authType);&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/8743879910164155132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/8743879910164155132' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/8743879910164155132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/8743879910164155132'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2013/07/weblogic-certficate-nightmare.html' title='Weblogic - App having javax.net.ssl.SSLHandshakeException'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-2701572144305002421</id><published>2013-07-08T12:03:00.001-04:00</published><updated>2013-07-08T12:03:34.633-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="apache 64 bit"/><category scheme="http://www.blogger.com/atom/ns#" term="apache 64-bit"/><category scheme="http://www.blogger.com/atom/ns#" term="PCRE"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris 10"/><category scheme="http://www.blogger.com/atom/ns#" term="weblogic"/><title type='text'>Apache 64-bit on Solaris 10 &amp; Weblogic</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Solaris 10 comes with Apache 32- bit by default. &amp;nbsp;This was a surprise.&lt;br /&gt;
&lt;br /&gt;
My task here is to get Apache 64-bit and then hook it up to Weblogic on the SSL channel. &amp;nbsp;I will detail the Apache + Weblogic SSL communication. &amp;nbsp;Setting up Weblogic to listen on SSL is a different post, that I may or may not write up :)&lt;br /&gt;
&lt;br /&gt;
I will be installing apache at /usr/local/apache (Many folks like to install it at /usr/local/apache2 etc, but I&#39;m keeping it simple here)&lt;br /&gt;
&lt;br /&gt;
I have a staging directory to compile / install the required packages. &amp;nbsp;This is a Whole Root zone, with Solaris 10 fully installed with all the packages on the Global Zone.&lt;br /&gt;
&lt;br /&gt;
I need&lt;br /&gt;
0. Apache 2.2.4 -- I tried Apache 2.4 and as of this writing is not supported with the mod_wl.so library.&lt;br /&gt;
1. &amp;nbsp;PCRE (&lt;span style=&quot;background-color: white; color: #003366; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; line-height: 18.1875px;&quot;&gt;Perl-Compatible Regular Expressions Library)&lt;/span&gt;&lt;br /&gt;
2. Apr&lt;br /&gt;
3. Apr-utils&lt;br /&gt;
&lt;br /&gt;
A gist of what is required is available on Apache&#39;s documentation site (&amp;nbsp;&lt;a href=&quot;http://httpd.apache.org/docs/2.4/install.html&quot;&gt;Apache Documentation for Installation&lt;/a&gt;&amp;nbsp;)&lt;br /&gt;
&lt;br /&gt;
For PCRE, I downloaded it from:&amp;nbsp;&lt;a href=&quot;http://downloads.sourceforge.net/project/pcre/pcre/8.33/pcre-8.33.tar.gz&quot;&gt;PCRE&lt;/a&gt;&lt;br /&gt;
Download APR &amp;amp; APR-UTIL from&amp;nbsp;&lt;a href=&quot;http://apr.apache.org/download.cgi&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Initial settings on the terminal&lt;/b&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
export CFLAGS=&quot;-m64&quot;&lt;br /&gt;
export LDFLAGS=&quot;-L/usr/sfw/lib/sparcv9&quot;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px;&quot;&gt;export LD_LIBRARY_PATH=/usr/sfw/lib/sparcv9:/usr/local/lib/sparcv9&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;
&lt;div&gt;
the CFLAGS setting is &amp;nbsp;really important, otherwise, you wont get it compiled in 64 bit. &amp;nbsp;Make sure your LD_LIBRARY_PATH and LDFLAGS point to the accurate directories.&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Compiling PCRE&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This installs PCRE in /usr/local/pcre&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
/root/apache-compilation/pcre-8.33&lt;br /&gt;
./configure --disable-cpp CFLAGS=&quot;-m64 -g&quot;&lt;br /&gt;
make&lt;br /&gt;
make install&lt;/blockquote&gt;
&lt;b&gt;Compiling APR&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
/root/apache-compilation/apr-1.4.8&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
APR gets installed in /usr/local/apr. &amp;nbsp;The CFLAGS setting set in the environment should carry on.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;Compiling APR-UTIL&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
/root/apache-compilation/apr-util-1.5.2&lt;br /&gt;
./configure --with-apr=/usr/local/apr&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Compiling Apache&lt;/b&gt;&lt;br /&gt;
I use the prefix /usr/local/apache &amp;nbsp;- but some people prefer to use &quot;apache2&quot;. &amp;nbsp;Make it your own. &amp;nbsp;The prefix designates where apache gets installed.&lt;br /&gt;
&lt;br /&gt;
/root/apache-compilation/httpd-2.2.24&lt;br /&gt;
./configure --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --prefix=/usr/local/apache --enable-mods-shared=most --enable-ssl --with-ssl=/usr/sfw&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
&lt;br /&gt;
After the installation, I like to test to make sure its 64 bit (as I&#39;ve gotten bitten a number of times).&lt;br /&gt;
&lt;br /&gt;
# cd /usr/local/apache/modules&lt;br /&gt;
# file&amp;nbsp;mod_vhost_alias.so&lt;br /&gt;
mod_vhost_alias.so: &amp;nbsp; &amp;nbsp; ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped, no debugging information available&lt;br /&gt;
&lt;br /&gt;
That tells you its a 64 Bit file. &lt;br /&gt;
&lt;br /&gt;
To get Weblogic working, I copied the wls 1.1 plugins *.so files (which are only 64 bit) to the /usr/local/apache/modules directory. &amp;nbsp;Then followed the instructions from Oracle&amp;nbsp;&lt;a href=&quot;http://docs.oracle.com/cd/E21764_01/web.1111/e16435/apache.htm&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Good luck. &amp;nbsp;Comments are welcome.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/2701572144305002421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/2701572144305002421' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2701572144305002421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2701572144305002421'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2013/07/apache-64-bit-on-solaris-10-weblogic.html' title='Apache 64-bit on Solaris 10 &amp; Weblogic'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-6165546049562490624</id><published>2013-02-03T13:49:00.001-05:00</published><updated>2013-02-03T13:49:29.518-05:00</updated><title type='text'>Solaris 11....network interfaces..ugh!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Ok - I&#39;m not sure who was responsible for the Solaris 11 redesign - but someone should take him out and beat him with a stick.&lt;br /&gt;
&lt;br /&gt;
Why on earth would you actually change how to configure the network interfaces and such and make it more complicated? &amp;nbsp;Unix is a text based system for administrative activities. &amp;nbsp;One would expect you make it EASIER not more complex.&lt;br /&gt;
&lt;br /&gt;
For Eg:&lt;br /&gt;
To create a new tagged VLAN interface in Solaris 10&lt;br /&gt;
&lt;br /&gt;
ifconfig &lt;vlantag-id&gt;*1000+networkid plumb - gives you the network interface&lt;/vlantag-id&gt;&lt;br /&gt;
&lt;br /&gt;
Solaris 11&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;root@solaris:~# &amp;nbsp;dladm create-vlan -l net2 -v 11&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;root@solaris: ifconfig net11002 plumb&amp;nbsp;&lt;/span&gt;&lt;ip style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;netmask 255.255.255.0 broadcast + up&lt;/ip&gt;&lt;br /&gt;
&lt;ip style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/ip&gt;
&lt;ip style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;So basically you&#39;ve doubled the commands to achieve the same damn thing.&lt;/ip&gt;&lt;br /&gt;
&lt;ip style=&quot;background-color: white; color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/ip&gt;
&lt;span style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;A lot of things have gone this way. &amp;nbsp;Apparently now, you cant have an already plumbed interface and can&#39;t add it to an ipmp group either (IP Multipathing). &amp;nbsp;So if I had 2 interfaces and needed to add it to an ipmp group, with one of them having the IP which I&#39;m working from - its a lot more convoluted.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #222222; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;I&#39;m thinking may be I should just stick with Solaris 10 for eternity. &amp;nbsp;Who the hell does such stuff (Linux is no better - but come on!)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/6165546049562490624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/6165546049562490624' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/6165546049562490624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/6165546049562490624'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2013/02/solaris-11network-interfacesugh.html' title='Solaris 11....network interfaces..ugh!'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-8652099652474289346</id><published>2012-12-31T19:08:00.000-05:00</published><updated>2012-12-31T19:09:59.816-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>2011 -- a (delayed) recap...</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I just realized, I didnt write up my recap for 2011. &amp;nbsp;Tells you how busy my year has been and how fast time has flown that it&#39;s April 30th, 2012.&lt;br /&gt;
&lt;br /&gt;
The year was so busy, I dont remember much.&lt;br /&gt;
&lt;br /&gt;
January 2011 rolled around -- we had our little one in Sept 2010, so time was really flying. &amp;nbsp;I barely noticed it as I was working constantly, and even from the delivery room I should mention. &amp;nbsp;Our project at work, finally went live in January, delayed, but went live. &lt;br /&gt;
&lt;br /&gt;
Roll forward to March where we did a stability release for the product, which made my life so much saner. &amp;nbsp;I wasn&#39;t being called in the middle of the night to troubleshoot the product anymore!&lt;br /&gt;
&lt;br /&gt;
We went to July / Aug India in 2011, so it was really great to meet all my family and celebrate. &amp;nbsp;I worked out of the Mumbai office for a week which was interesting to the least. &amp;nbsp;Definitely a change in culture, and tone compared to working in the US. &amp;nbsp;Especially true, since I was working UK hours, so that I could talk to my colleagues back home, and still go back to the hotel at a decent hour! &amp;nbsp;Mumbai has changed significantly, yet &amp;nbsp;landing in Mumbai, the view from the air gave me a shock of my life. &amp;nbsp;Not to mention just walking down the road from my hotel, I found a bicycle repair guy living in literally a treehouse, and he had a ladder going up to his &quot;house&quot;. &amp;nbsp;What was unbelievable was, he had 2 kids who were running around!!! &amp;nbsp;Really -- gives you a pause to think - when we the educated and probably middle class think many times about the future of our children - he doesnt - &amp;nbsp;he just has his kids as a matter of fact!&lt;br /&gt;
&lt;br /&gt;
August was great, as we celebrated Aarathi&#39;s birthday (my niece). &amp;nbsp;I haven&#39;t been around for one her birthdays since 1999 - so this was excellent. &amp;nbsp;Lots of fun! &amp;nbsp;She&#39;ll probably get married soon, so this was one of the last birthdays we were all able to play pranks on and have a &quot;kiddish&quot; time :)&lt;br /&gt;
&lt;br /&gt;
We also had a couple of ceremonies for Vaibhav ( the new one :) ). &amp;nbsp;Those occasions brought together all our friends and relatives at one place, and was great to meet all of them. &lt;br /&gt;
&lt;br /&gt;
We came back to the US, and then it&#39;s back to the grind. &amp;nbsp;Pranav started First Grade, Vaibhav turned one in September, and we did his birthday party at our friend Suresh&#39;s community hall. &amp;nbsp;That was fun too. &amp;nbsp;My Brother-in-law, sister-in-law and my in-laws were all here. &amp;nbsp;So it was enjoyable and fun. &amp;nbsp;One of the most memorable moments was when Vaibhav barely a year old was being carried by our friends and he pointed to a photograph of his mom on the camera and pointed his finger out back to the hall -- his intention &quot; take my to my mom!&quot;. &amp;nbsp;That was unbelievable. &amp;nbsp;The power of kids without even saying a word :)&lt;br /&gt;
&lt;br /&gt;
Ofcourse, we also celebrated my wife&#39;s birthday in September.&lt;br /&gt;
&lt;br /&gt;
My birthday was low key again in November. &amp;nbsp;December rolled around and we&#39;re off into 2012. &amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/8652099652474289346/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/8652099652474289346' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/8652099652474289346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/8652099652474289346'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2012/12/2011-delayed-recap.html' title='2011 -- a (delayed) recap...'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-4888790818618500124</id><published>2012-12-31T19:07:00.002-05:00</published><updated>2012-12-31T19:09:19.040-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>2012 is almost over...and boy am I glad....</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
I try to do this every year...where I think about the year...so here goes this one!&lt;br /&gt;
&lt;br /&gt;
Started out with my wife having surgery for a relatively minor nail issue, turned out into a 3 week saga. &amp;nbsp;The year then dragged on with work - where Travelex Global Business Payments separated from Travelex, and we were busy integrating with Western Union.&lt;br /&gt;
&lt;br /&gt;
Ofcourse, I can&#39;t forget our 8 years anniversary we hit on Jan 24th. &amp;nbsp;Thats always the pleasant beginning for me, where I think about the wonderful time of the last 8 years with my wife.&lt;br /&gt;
&lt;br /&gt;
This March - unbelievably - we got our green card!&lt;br /&gt;
&lt;br /&gt;
The next memorable event was in April when Pranav turned 7. &amp;nbsp;A small party at home with his friends - which we all enjoyed. &lt;br /&gt;
&lt;br /&gt;
My parents came to the US in June - since my dad retired in 2011 December, he&#39;s been getting used to not having to get up and get to work everyday! &amp;nbsp;He moved back to India, to set up our house in Chennai. Then in the US on June 8th. &amp;nbsp;Mom &amp;amp; Dad stayed till 15th October - so thats always fun! &amp;nbsp;Vaibhav got used to his grandparents, and Pranav had a blast. &amp;nbsp;Finally Lavanya &amp;amp; I were able to take a weekend and go off to by ourselves. &amp;nbsp;That was a short and fun weekend we had the weekend of the 15th Sept, 2012! &amp;nbsp;This was also our way of specially celebrating Lavanya&#39;s birthday :). &amp;nbsp;We had a family Birthday for her after!&lt;br /&gt;
&lt;br /&gt;
We celebrated Vaibhav turning 2 in a small fashion as well - we expect we&#39;ll be celebrating his 3rd birthday in a much bigger fashion.&lt;br /&gt;
&lt;br /&gt;
We went to Diya on Oct 12th to celebrate Dad&#39;s birthday and then they started getting ready to head back to Chennai!&lt;br /&gt;
&lt;br /&gt;
Ofcourse, right after they came, I had to have surgery for a pinched nerve on the right hand - bummer - and then right after they left Nov 7th - the same thing on the left hand - big bummer.&lt;br /&gt;
&lt;br /&gt;
Then came by Birthday - Lavanya gave me a Mac Book Pro for my birthday - that I enjoy very much!&lt;br /&gt;
&lt;br /&gt;
There is also something that happened in December, that I can write about, but it definitely changed my perspective about how much my work is appreciated! &amp;nbsp;It was a good feeling!&lt;br /&gt;
&lt;br /&gt;
This year has been one of the most roller coaster years I&#39;ve ever had!!! &amp;nbsp;Ever! &amp;nbsp;Most of it has to do with family health issues....started with my wife, then me twice!!! &amp;nbsp;Three surgeries this year is enough! &amp;nbsp;I&#39;m hoping to have a much more pleasant 2013. &lt;br /&gt;
&lt;br /&gt;
If you&#39;re reading this - Happy New Year to you too! &lt;br /&gt;
&lt;br /&gt;
PS: Photos hopefully to follow soon....&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/4888790818618500124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/4888790818618500124' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4888790818618500124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4888790818618500124'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2012/12/2012-is-almost-overand-boy-am-i-glad.html' title='2012 is almost over...and boy am I glad....'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-2036005795235407986</id><published>2012-11-06T16:22:00.002-05:00</published><updated>2012-11-06T16:23:23.177-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="network"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris 11"/><category scheme="http://www.blogger.com/atom/ns#" term="vlan"/><title type='text'>Network Interfaces with Vlan Tags in Solaris 11</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
If you&#39;re trying to plumb a NIC with a VLAN tag in Solaris 11, its not straight forward anymore!&lt;br /&gt;
&lt;br /&gt;
First, Look for the interfaces that you have.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
root@solaris:~# dladm show-phys&lt;br /&gt;
LINK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MEDIA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;STATE &amp;nbsp; &amp;nbsp; &amp;nbsp;SPEED &amp;nbsp;DUPLEX &amp;nbsp; &amp;nbsp;DEVICE&lt;br /&gt;
net1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ethernet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unknown &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;unknown &amp;nbsp; igb1&lt;br /&gt;
net3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ethernet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unknown &amp;nbsp; &amp;nbsp;10000 &amp;nbsp;half &amp;nbsp; &amp;nbsp; &amp;nbsp;qlge3&lt;br /&gt;
net5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ethernet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unknown &amp;nbsp; &amp;nbsp;10000 &amp;nbsp;half &amp;nbsp; &amp;nbsp; &amp;nbsp;qlge2&lt;br /&gt;
net0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ethernet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unknown &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp;unknown &amp;nbsp; igb0&lt;br /&gt;
net2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ethernet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unknown &amp;nbsp; &amp;nbsp;10000 &amp;nbsp;full &amp;nbsp; &amp;nbsp; &amp;nbsp;qlge0&lt;br /&gt;
net9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ethernet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unknown &amp;nbsp; &amp;nbsp;10000 &amp;nbsp;half &amp;nbsp; &amp;nbsp; &amp;nbsp;qlge1&lt;/blockquote&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
This is a brand new install and T4 blade with the QLogic 10Gb CNA cards. &amp;nbsp;I had to figure out manually which one of these were connected to what. &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
However, first things first. &amp;nbsp;To use a Tagged VLAN for the network interface, first use dladm create-vlan to create a new network interface.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
root@solaris:~# &amp;nbsp;dladm create-vlan -l net2 -v 11&lt;br /&gt;
root@solaris:~# dladm show-link&lt;br /&gt;
LINK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CLASS &amp;nbsp; &amp;nbsp; MTU &amp;nbsp; &amp;nbsp;STATE &amp;nbsp; &amp;nbsp;OVER&lt;br /&gt;
net1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phys &amp;nbsp; &amp;nbsp; &amp;nbsp;1500 &amp;nbsp; unknown &amp;nbsp;--&lt;br /&gt;
net3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phys &amp;nbsp; &amp;nbsp; &amp;nbsp;1500 &amp;nbsp; unknown &amp;nbsp;--&lt;br /&gt;
net5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phys &amp;nbsp; &amp;nbsp; &amp;nbsp;1500 &amp;nbsp; unknown &amp;nbsp;--&lt;br /&gt;
net0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phys &amp;nbsp; &amp;nbsp; &amp;nbsp;1500 &amp;nbsp; up &amp;nbsp; &amp;nbsp; &amp;nbsp; --&lt;br /&gt;
net2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phys &amp;nbsp; &amp;nbsp; &amp;nbsp;1500 &amp;nbsp; up &amp;nbsp; &amp;nbsp; &amp;nbsp; --&lt;br /&gt;
net9 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;phys &amp;nbsp; &amp;nbsp; &amp;nbsp;1500 &amp;nbsp; up &amp;nbsp; &amp;nbsp; &amp;nbsp; --&lt;br /&gt;
net11002 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vlan &amp;nbsp; &amp;nbsp; &amp;nbsp;1500 &amp;nbsp; up &amp;nbsp; &amp;nbsp; &amp;nbsp; net2&lt;/blockquote&gt;
&lt;br /&gt;
&amp;nbsp;Next plumb the interface&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
root@solaris:~#&amp;nbsp;&amp;nbsp;ifconfig net11002 plumb &lt;ip&gt; &amp;nbsp;netmask 255.255.255.0 broadcast + up&lt;/ip&gt;&lt;/blockquote&gt;
&lt;br /&gt;
You should now be able to SSH to the IP (if the default gateway is set right). &amp;nbsp;Run netstat -rn to see the default gateway. &amp;nbsp;If it&#39;s not set - &lt;i&gt;&quot;route add default &lt;gateway ip=&quot;ip&quot;&gt;&quot; &lt;/gateway&gt;&lt;/i&gt;will do the trick.&lt;br /&gt;
&lt;br /&gt;
If it is the wrong port, then you can just as easily run&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
root@solaris:~# dladm delete-vlan net11002&lt;/blockquote&gt;
&lt;br /&gt;
This will remove the new interface.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/2036005795235407986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/2036005795235407986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2036005795235407986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2036005795235407986'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2012/11/network-interfaces-with-vlan-tags-in.html' title='Network Interfaces with Vlan Tags in Solaris 11'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-4773989407162042563</id><published>2012-01-30T09:24:00.000-05:00</published><updated>2014-04-30T11:08:16.528-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cloud control"/><category scheme="http://www.blogger.com/atom/ns#" term="em12c"/><category scheme="http://www.blogger.com/atom/ns#" term="enterprise manger"/><category scheme="http://www.blogger.com/atom/ns#" term="oem12c"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris 11"/><title type='text'>Solaris 11, Oracle 11g &amp; EM12C</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I&#39;ve just started using Solaris 11, this is my first ever install of it.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solaris 11&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Downloaded the text installer, mounted it as lofi, and then created an LDOM by booting off the ISO.  I&#39;ve not tried the Automated Installer (AI) yet.&lt;br /&gt;
&lt;br /&gt;
I realize that there isn&#39;t much information here, but really, there wasn&#39;t much to do.&lt;br /&gt;
&lt;br /&gt;
Add ISO to LDOM:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
ldm add-vdsdev /sol11/sol-11-1111-text-sparc.iso sol11iso@primary-vds0&lt;br /&gt;
ldm add-vdisk id=1 sol11iso sol11iso@primary-vds0 orcem12c&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
Show Disks on LDOM Ok prompt:&lt;br /&gt;
&lt;blockquote&gt;
{0} ok  show-disks&lt;br /&gt;
a) /virtual-devices@100/channel-devices@200/disk@1&lt;br /&gt;
b) /virtual-devices@100/channel-devices@200/disk@0&lt;br /&gt;
c) /iscsi-hba/disk&lt;br /&gt;
q) NO SELECTION&lt;br /&gt;
Enter Selection, q to quit: a&lt;br /&gt;
/virtual-devices@100/channel-devices@200/disk@1 has been selected.&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
Boot from Disk 1 (as thats what the ID is for the ISO).  Also choose slice &quot;f&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
{0} ok boot /virtual-devices@100/channel-devices@200/disk@1:f&lt;/blockquote&gt;
&lt;br /&gt;
Follow the installer along and give appropriate credentials.  A user will need to be created, as root login is disabled by default.&lt;br /&gt;
&lt;br /&gt;
To allow root login:&lt;br /&gt;
&lt;br /&gt;
1.  Change &quot;PermitRootLogin&quot; to &quot;yes&quot; in the /etc/ssh/sshd_config file.&lt;br /&gt;
2.  Comment out &quot;#CONSOLE=/dev/console&quot; in the /etc/default/login file to allow non-console root login.&lt;br /&gt;
3. Switch the role of the root user &quot;rolemod -K type=normal root&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Oracle 11g (11.2.0.3 Install)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Prerequisite&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Before you start the install of EM 12c, update the Solaris 11 packages, or the OEM 12c installer will probably throw an error.&lt;br /&gt;
&lt;br /&gt;
If this is a fresh install of Solaris 11, make sure to update the Publisher. &amp;nbsp;The directions are at the&amp;nbsp;&lt;a href=&quot;https://pkg-register.oracle.com/register/cert_info/21586/&quot;&gt;Oracle Solaris 11 Certificate Site.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Once you download the certificates then do the following (from Oracle&#39;s site)&lt;br /&gt;
&lt;ol style=&quot;background-color: white; font-family: arial, helvetica, sans-serif;&quot;&gt;
&lt;li style=&quot;font-size: 12px;&quot;&gt;Download the provided key and certificate files, called&amp;nbsp;&lt;tt&gt;Oracle_Solaris_11_Support.key.pem&lt;/tt&gt;&amp;nbsp;and&lt;tt&gt;Oracle_Solaris_11_Support.certificate.pem&lt;/tt&gt;&amp;nbsp;using the buttons above. Don&#39;t worry if you get logged out, or lose the files. You can come back to this site later and re-download them. We&#39;ll assume that you downloaded these files into your Desktop folder,&lt;tt&gt;~/Desktop/&lt;/tt&gt;.&lt;/li&gt;
&lt;li style=&quot;font-size: 12px;&quot;&gt;Use the following comands to make a directory inside of&amp;nbsp;&lt;tt&gt;/var/pkg&lt;/tt&gt;&amp;nbsp;to store the key and certificate, and copy the key and certificate into this directory. The key files are kept&amp;nbsp;&lt;i&gt;by reference&lt;/i&gt;, so if the files become inaccessible to the packaging system, you will encounter errors. Here is how to do it:&lt;pre&gt; $ &lt;strong&gt;sudo mkdir -m 0755 -p /var/pkg/ssl&lt;/strong&gt;
 $ &lt;strong&gt;sudo cp -i ~/Desktop/Oracle_Solaris_11_Support.key.pem /var/pkg/ssl&lt;/strong&gt;

 $ &lt;strong&gt;sudo cp -i ~/Desktop/Oracle_Solaris_11_Support.certificate.pem /var/pkg/ssl&lt;/strong&gt;
 &lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;font-size: 12px;&quot;&gt;Add the publisher:&lt;pre&gt; $ &lt;strong&gt;sudo pkg set-publisher \
            -k /var/pkg/ssl/Oracle_Solaris_11_Support.key.pem \
            -c /var/pkg/ssl/Oracle_Solaris_11_Support.certificate.pem \
            -G &#39;*&#39; -g https://pkg.oracle.com/solaris/support/ solaris&lt;/strong&gt;
 &lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;font-size: 12px;&quot;&gt;Check your publisher settings, there should be no unrelated mirrors set up. To check for any set up mirrors invoke the following command:&lt;pre&gt; $ &lt;strong&gt;pkg publisher solaris | grep Mirror
 &lt;/strong&gt;
 &lt;/pre&gt;
If the output is empty you are all set. If not remove unrelated mirrors by running:&lt;pre&gt; $ &lt;strong&gt;sudo pkg set-publisher -M http://mirror1.x.com -M http://mirror2.y.com ... solaris
 &lt;/strong&gt;
 &lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;font-size: 12px;&quot;&gt;To see the packages supplied by this publisher, try:&lt;pre&gt; $ &lt;strong&gt;pkg list -a &#39;pkg://solaris/*&#39;&lt;/strong&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Next update packages. Oracle site lists the directions :&amp;nbsp;&lt;a href=&quot;http://www.oracle.com/technetwork/articles/servers-storage-admin/howto-update-11dot1-ips-1866781.html&quot;&gt;here.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Steps are as follows:&lt;br /&gt;
&lt;ol style=&quot;-webkit-font-smoothing: antialiased; background-color: white; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1px; padding: 0px 0px 0px 20px;&quot;&gt;
&lt;li style=&quot;-webkit-font-smoothing: antialiased; list-style: decimal; margin: 0px 0px 15px; padding: 0px;&quot;&gt;First, we use&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; color: #666666; font-family: courier, &#39;courier new&#39;, monaco; list-style: none; margin: 0px; padding: 0px;&quot;&gt;pkg update&lt;/code&gt;&amp;nbsp;with the&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; color: #666666; font-family: courier, &#39;courier new&#39;, monaco; list-style: none; margin: 0px; padding: 0px;&quot;&gt;--accept&lt;/code&gt;&amp;nbsp;option to update a small set of system packages and then we reboot:&lt;br style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;pre style=&quot;-webkit-font-smoothing: antialiased; list-style: none; padding: 0px;&quot;&gt;# &lt;strong style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot;&gt;pkg update --accept&lt;/strong&gt;
# &lt;strong style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot;&gt;reboot&lt;/strong&gt;
&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;-webkit-font-smoothing: antialiased; list-style: decimal; margin: 0px 0px 15px; padding: 0px;&quot;&gt;(SPARC only) If you are running on a SPARC system and have any Oracle Solaris Zones installed, you will need to perform an additional step at this stage. For each zone installed on the system, you will need to remove the&lt;code style=&quot;-webkit-font-smoothing: antialiased; color: #666666; font-family: courier, &#39;courier new&#39;, monaco; list-style: none; margin: 0px; padding: 0px;&quot;&gt;pkg:/system/ldoms/ldomsmanager&lt;/code&gt;&amp;nbsp;package as follows:&lt;br style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;pre style=&quot;-webkit-font-smoothing: antialiased; list-style: none; padding: 0px;&quot;&gt;# &lt;strong style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot;&gt;for z in `zoneadm list`; do zlogin $z pkg uninstall ldomsmanager; done&lt;/strong&gt;
&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;-webkit-font-smoothing: antialiased; list-style: decimal; margin: 0px 0px 15px; padding: 0px;&quot;&gt;Next, update the IPS package itself:&lt;br style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;pre style=&quot;-webkit-font-smoothing: antialiased; list-style: none; padding: 0px;&quot;&gt;# &lt;strong style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot;&gt;pkg update pkg:/package/pkg&lt;/strong&gt;
&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;-webkit-font-smoothing: antialiased; list-style: decimal; margin: 0px 0px 15px; padding: 0px;&quot;&gt;Last, update the rest of the system packages and reboot the system.&lt;br style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;br style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot; /&gt;&lt;div style=&quot;-webkit-font-smoothing: antialiased; line-height: 16px; list-style: none; margin-bottom: 17px; padding: 0px;&quot;&gt;
To update, we use the&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; color: #666666; font-family: courier, &#39;courier new&#39;, monaco; list-style: none; margin: 0px; padding: 0px;&quot;&gt;--accept&lt;/code&gt;&amp;nbsp;flag to&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; color: #666666; font-family: courier, &#39;courier new&#39;, monaco; list-style: none; margin: 0px; padding: 0px;&quot;&gt;pkg update&lt;/code&gt;&amp;nbsp;to agree to and accept the terms of the licenses that are being updated. We also use the&amp;nbsp;&lt;code style=&quot;-webkit-font-smoothing: antialiased; color: #666666; font-family: courier, &#39;courier new&#39;, monaco; list-style: none; margin: 0px; padding: 0px;&quot;&gt;--be-name&lt;/code&gt;&amp;nbsp;flag to provide a new name to the boot environment that will be created.&lt;/div&gt;
&lt;pre style=&quot;-webkit-font-smoothing: antialiased; list-style: none; padding: 0px;&quot;&gt;# &lt;strong style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot;&gt;pkg update --be-name s11.1ga --accept&lt;/strong&gt;
# &lt;strong style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot;&gt;reboot&lt;/strong&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;li style=&quot;-webkit-font-smoothing: antialiased; list-style: decimal; margin: 0px 0px 15px; padding: 0px;&quot;&gt;&lt;div&gt;
&lt;strong style=&quot;-webkit-font-smoothing: antialiased; list-style: none; margin: 0px; padding: 0px;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
First things first, rebuild the Package index and then get the X packages installed:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
pkg rebuild-index&lt;/blockquote&gt;
&lt;br /&gt;
Test to make sure you have all the required packages&lt;br /&gt;
&lt;blockquote&gt;
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWpool SUNWpoolr SUNWsprot SUNWtoo SUNWuiu8 SUNWfont-xorg-core SUNWfont-xorg-iso8859-1 SUNWmfrun SUNWxorg-client-programs SUNWxorg-clientlibs SUNWxwfsw SUNWxwplt&lt;/blockquote&gt;
&lt;br /&gt;
Install packages that are needed.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
pkg install compatibility/packages/SUNWxwplt SUNWmfrun SUNWarc SUNWhea SUNWlibm&lt;br /&gt;
&lt;br /&gt;
pkg install x11/xclock&lt;/blockquote&gt;
&lt;br /&gt;
Add Swap if you dont have enough (You&#39;ll need about 16Gb depending upon the RAM you&#39;ve allocated to the LDOM).&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
zfs create -V 14G swpool/swap14G&lt;br /&gt;
swap -a /dev/zvol/dsk/swpool/swap14G&lt;/blockquote&gt;
&lt;br /&gt;
Edit the /etc/vfstab to add the new swapfile.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
/dev/zvol/dsk/swpool/swap14G    -               -               swap    -       no      -&lt;/blockquote&gt;
&lt;br /&gt;
I found that Timezone wasn&#39;t set.  In Solaris 11, all the properties have moved to SMF.  &lt;br /&gt;
&lt;blockquote&gt;
root@orcem12c:~# svcs -a | grep environ&lt;br /&gt;
online         17:45:30 svc:/system/environment:init&lt;br /&gt;
root@orcem12c:~# svccfg -s system/environment:init&lt;br /&gt;
svc:/system/environment:init&amp;gt; listprop environment/TZ astring&lt;br /&gt;
svc:/system/environment:init&amp;gt; setprop environment/TZ=US/Eastern&lt;br /&gt;
svc:/system/environment:init&amp;gt; validate&lt;br /&gt;
svc:/system/environment:init&amp;gt; end&lt;/blockquote&gt;
&lt;br /&gt;
Install Oracle 11g.  I choose to use the file storage instead of ASM for the Db disks.&lt;br /&gt;
&lt;br /&gt;
Create new Pool for /opt/app/Oracle &amp;amp; /opt/app/oradata (to hold all the Software &amp;amp; Db files respectively)&lt;br /&gt;
&lt;blockquote&gt;
zpool create -f -m /opt/app/Oracle swpool c2d1s0&lt;br /&gt;
zpool create -f -m /opt/app/oradata dbpool c2d2s0&lt;/blockquote&gt;
&lt;br /&gt;
Requirements for the Db:&lt;br /&gt;
&lt;br /&gt;
1.  2G SGA.&lt;br /&gt;
2.  Redo log files must atleast be 300Mb with 3 Redo logs.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
SQL&amp;gt; alter database&lt;br /&gt;
2  add logfile (&#39;/opt/app/oradata/dbfiles/EM12C/em12redo01.log&#39;) Size 300M;&lt;br /&gt;
&lt;br /&gt;
Database altered.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter database&lt;br /&gt;
2  add logfile (&#39;/opt/app/oradata/dbfiles/EM12C/em12redo02.log&#39;) Size 300M;&lt;br /&gt;
&lt;br /&gt;
Database altered.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter database&lt;br /&gt;
2  add logfile (&#39;/opt/app/oradata/dbfiles/EM12C/em12redo03.log&#39;) Size 300M;&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter system switch logfile;&lt;/blockquote&gt;
&lt;br /&gt;
If adding logfiles, you can drop the old ones.  If the Db complains that it cant drop a logfile (if you need to), run &quot;alter system checkpoint&quot;.  You cannot drop a logfile in &quot;Current&quot; status.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
SQL&amp;gt;  select * from v$log;&lt;br /&gt;
&lt;br /&gt;
GROUP#    THREAD#  SEQUENCE#      BYTES  BLOCKSIZE    MEMBERS ARC&lt;br /&gt;
---------- ---------- ---------- ---------- ---------- ---------- ---&lt;br /&gt;
STATUS           FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# NEXT_TIME&lt;br /&gt;
---------------- ------------- --------- ------------ ---------&lt;br /&gt;
4          1         13  314572800        512          1 NO&lt;br /&gt;
INACTIVE               1089635 29-JAN-12      1089642 29-JAN-12&lt;br /&gt;
&lt;br /&gt;
5          1         14  314572800        512          1 NO&lt;br /&gt;
CURRENT                1089642 29-JAN-12   2.8147E+14&lt;br /&gt;
&lt;br /&gt;
6          1          0  314572800        512          1 YES&lt;br /&gt;
UNUSED                       0                      0&lt;br /&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;br /&gt;
I had to make the following changes:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
SQL&amp;gt; alter system set session_cached_cursors=300 scope=spfile;&lt;br /&gt;
&lt;br /&gt;
System altered.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter system set job_queue_processes=20;&lt;br /&gt;
&lt;br /&gt;
System altered.&lt;br /&gt;
&lt;br /&gt;
SQL&amp;gt; alter system set shared_pool_size=600M scope=spfile;&lt;br /&gt;
&lt;br /&gt;
System altered.&lt;br /&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;EM12C (Cloud control) Install &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Once I made all the above Db changes, I was able to get through the installer using the &quot;Simple&quot; option.&lt;br /&gt;
&lt;br /&gt;
The only error message after all this, was that there wasn&#39;t an EM tablespace with an autoextend datafile.  Since I didnt create a tablespace, so I proceeded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the install finishes, I logged in with https://&lt;hostname&gt;:port/em.  Login with the user sysman.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/hostname&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/4773989407162042563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/4773989407162042563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4773989407162042563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4773989407162042563'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2012/01/solaris-11-oracle-11g-em12c.html' title='Solaris 11, Oracle 11g &amp; EM12C'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-4964541477963366438</id><published>2011-10-18T17:57:00.000-04:00</published><updated>2011-10-18T17:57:24.781-04:00</updated><title type='text'>Ops Center DHCP Hell....</title><content type='html'>If you&#39;ve set up Ops Center and  are wondering why the machines wont jump with DHCP, make sure you choose &quot;ISC&quot; instead of Solaris as your DHCP server.&lt;br /&gt;
&lt;br /&gt;
Also a good link to follow is this note &lt;a href=&quot;http://blogs.warwick.ac.uk/peggleton/entry/opscenter_and_isc/&quot;&gt;OpsCenter and ISC DHCP server&lt;/a&gt; blog!&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/4964541477963366438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/4964541477963366438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4964541477963366438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4964541477963366438'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/10/ops-center-dhcp-hell.html' title='Ops Center DHCP Hell....'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-6792374825279293707</id><published>2011-10-05T10:28:00.002-04:00</published><updated>2011-10-05T10:30:11.640-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="oracle world"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris"/><title type='text'>At Oracle World...Past 2 days...</title><content type='html'>There were quite a few announcements at Oracle world!  None of them interesting!&lt;br /&gt;
&lt;br /&gt;
Enterprise Manager 12c has been released.&lt;br /&gt;
&lt;br /&gt;
Ops Center is free&lt;br /&gt;
&lt;br /&gt;
Solaris 11 is almost there, we can download an early release and install it. The big shocker - there is no way to go from 10 to 11 without a backup, reinstall and restore!\&lt;br /&gt;
&lt;br /&gt;
More to come as I have time to write up.</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/6792374825279293707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/6792374825279293707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/6792374825279293707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/6792374825279293707'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/10/at-oracle-worldpast-2-days.html' title='At Oracle World...Past 2 days...'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-5489925620563517473</id><published>2011-09-30T11:12:00.000-04:00</published><updated>2011-09-30T11:12:50.021-04:00</updated><title type='text'>Release of Solaris (Sparc or x86?)</title><content type='html'>I got a handy tip from an Oracle person the other day....to make sure what solaris release and version the solaris cd is or jumpstart location is, check the SUNWsolnm/reloc/etc/release file.  &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
[root@host1]# cat SUNWsolnm/reloc/etc/release&lt;br /&gt;
                   Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC&lt;br /&gt;
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.&lt;br /&gt;
                            Assembled 11 August 2010&lt;br /&gt;
[root@host1]#&lt;br /&gt;
&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/5489925620563517473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/5489925620563517473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/5489925620563517473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/5489925620563517473'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/09/release-of-solaris-sparc-or-x86.html' title='Release of Solaris (Sparc or x86?)'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-2027820249320390463</id><published>2011-09-30T10:10:00.001-04:00</published><updated>2011-09-30T10:10:01.381-04:00</updated><title type='text'>TFTP Boot error Access Violation</title><content type='html'>When accessing a tftp server clients receive &quot;Error code 2: Access violation&quot;&lt;br /&gt;
due to ownership &amp; permission of the /tftpboot directory.&lt;br /&gt;
&lt;br /&gt;
Steps to Follow&lt;br /&gt;
in.tftpd runs as user nobody. nobody needs rwx permissions to the /tftpboot&lt;br /&gt;
directory &lt;br /&gt;
chmod 766 /tftpboot&lt;br /&gt;
chown nobody:other /tftpboot&lt;br /&gt;
&lt;br /&gt;
Product&lt;br /&gt;
Network Management/Conn</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/2027820249320390463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/2027820249320390463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2027820249320390463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2027820249320390463'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/09/tftp-boot-error-access-violation.html' title='TFTP Boot error Access Violation'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-4167039691021579252</id><published>2011-09-16T17:21:00.000-04:00</published><updated>2011-10-11T12:39:12.405-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="admin"/><category scheme="http://www.blogger.com/atom/ns#" term="ldoms"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle rac"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris"/><title type='text'>Oracle 11g RAC in LDOMs (Oracle VM for Sparc)</title><content type='html'>&lt;br /&gt;
&lt;b&gt; Setup &lt;/b&gt;&lt;br /&gt;
1.  2 T3-1B blades on different chassis.  Patch the firmware.  Install LDOM 2.1 software.&lt;br /&gt;
2.  SAN Connected storage via MPXIO (EMC SAN)&lt;br /&gt;
3.  Solaris 10/9 installed with End User Option.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Create install User&lt;/b&gt;&lt;br /&gt;
&lt;blockquote&gt;useradd -u 0 -o -g 1 -c &quot;Install user&quot; -d / -s /bin/true install&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;b&gt;Patch LDOM.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Download the following Patches from oracle&lt;br /&gt;
•	117837-05: C++ compiler optimizer patch&lt;br /&gt;
•	117846-08: C++ compiler Optimization patch&lt;br /&gt;
•	118682-01&lt;br /&gt;
•	127111-02 SunOS 5.10: libc patch (this should already exist if LDOM is patched)&lt;br /&gt;
•	137111-04 SunOS 5.10: kernel patch (this should already exist if LDOM is patched)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; Profile Settings &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
•  On a new system, set the following in /etc/profile&lt;br /&gt;
a.	MANPATH=/usr/man:/usr/local/man:/usr/sfw/man:$MANPATH &lt;br /&gt;
&lt;br /&gt;
•	Create the oracle required users &amp; groups&lt;br /&gt;
&lt;blockquote&gt;	groupadd -g 102 dba&lt;br /&gt;
groupadd -g 103 oinstall&lt;br /&gt;
projadd -p 102 -c &quot;Oracle Project&quot; group.dba&lt;br /&gt;
useradd -u 101 -g  dba -G oinstall -s /usr/bin/bash -c &quot;Oracle User&quot; -m –p 102 oracle&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
•  Set the Oracle password&lt;br /&gt;
&lt;br /&gt;
passwd -r files oracle&lt;br /&gt;
&lt;br /&gt;
•	Add the following entries to /etc/system for a 4G SGA or less. Shmmax should always be greater than SGA size.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;set noexec_user_stack=1&lt;br /&gt;
set semsys:seminfo_semmni=100&lt;br /&gt;
set semsys:seminfo_semmns=1024&lt;br /&gt;
set semsys:seminfo_semmsl=256&lt;br /&gt;
set semsys:seminfo_semvmx=32767&lt;br /&gt;
set shmsys:shminfo_shmmax=4294967296&lt;br /&gt;
set shmsys:shminfo_shmmni=100&lt;br /&gt;
set rlim_fd_max=65636&lt;br /&gt;
set rlim_fd_cur=4096&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Reboot the system after the above /etc/system have been made.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Alternate way&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Run prctl to make changes to the existing install so that a reboot is not required.  These should be run as root.  These changes don’t persist after a reboot.&lt;br /&gt;
prctl -n project.max-shm-memory -v 4gb -r -i project user.root&lt;br /&gt;
prctl -n project.max-sem-ids -v 256 -r -i project user.root&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; Project  Settings &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Make changes to the project so that changes persist for shm memory &amp; sem ids (4G or less SGA).  These should be run as root.&lt;br /&gt;
&lt;br /&gt;
projmod -sK &quot;project.max-shm-memory=(privileged,4G,deny)&quot; group.dba&lt;br /&gt;
projmod -sK &quot;project.max-sem-ids=(privileged,256,deny)&quot; group.dba&lt;br /&gt;
&lt;br /&gt;
/etc/project looks like this after changes:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;[root@orc11gtest]# cat /etc/project&lt;br /&gt;
system:0::::&lt;br /&gt;
user.root:1::::&lt;br /&gt;
noproject:2::::&lt;br /&gt;
default:3::::&lt;br /&gt;
group.staff:10::::&lt;br /&gt;
group.dba:102:Oracle Project:oracle::project.max-sem-ids=(privileged,256,deny);project.max-shm-memory=(privileged,4294967296,deny)&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Verify the changes applied to the oracle user as below.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;[oracle@orc11gtest]$ prctl -n project.max-shm-memory -i process $$&lt;br /&gt;
process: 2834: -bash&lt;br /&gt;
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT&lt;br /&gt;
project.max-shm-memory&lt;br /&gt;
privileged      4.00GB      -   deny                                 -&lt;br /&gt;
[oracle@orc11gtest]$ prctl -n project.max-sem-ids -i process $$&lt;br /&gt;
process: 2834: -bash&lt;br /&gt;
NAME    PRIVILEGE       VALUE    FLAG   ACTION                       RECIPIENT&lt;br /&gt;
project.max-sem-ids&lt;br /&gt;
privileged        256       -   deny           &lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;b&gt; Patch Check:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;patchadd -p | grep 125555-03   &lt;br /&gt;
patchadd -p | grep 140796-01&lt;br /&gt;
patchadd -p | grep 140899-01&lt;br /&gt;
patchadd -p | grep 141016-01&lt;br /&gt;
patchadd -p | grep 139555-08&lt;br /&gt;
patchadd -p | grep 141414-02 (Replaced by 141444-09)&lt;br /&gt;
patchadd -p | grep 141736-05&lt;br /&gt;
patchadd -p | grep 120753-06&lt;br /&gt;
patchadd -p | grep 139574-03&lt;br /&gt;
patchadd -p | grep 141414-10&lt;br /&gt;
patchadd -p | grep 141736-05&lt;br /&gt;
&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
I&#39;m using Ops center to create LDOMs to make my life a little easier.  If you&#39;re doing this, the Vnets sometimes will be different between the 2 blades.  Go into the &quot;/guests/&lt;guestguid&gt;/servercfg.xml&quot; and fix the &lt;blockquote&gt;&lt; idx &gt;3&lt; /idx &gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;/blockquote&gt;number to match on both nodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; NTP Configuration &lt;/b&gt;&lt;br /&gt;
Make sure to set the /etc/inet/ntp.conf with slewalways and disable p11.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;server &lt; serverip &gt;&lt;br /&gt;
driftfile /etc/ntp.drift&lt;br /&gt;
slewalways yes&lt;br /&gt;
disable pll&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Grid Software Install &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ON each Control Domain -- add the disks for OVD, OCR &amp; Data to the LDOMs.  Make sure to add them in the same order, and set the same ID.  A good way to make sure everything is the same on both nodes, is to also volume label the disks on the control / IO domain  before assigning it to the LDOM.&lt;br /&gt;
&lt;br /&gt;
Have xwin running and kick off the installer.  Before you kick off the installer, its a good idea to run cluster verify tool.&lt;br /&gt;
&lt;blockquote&gt;./runcluvfy.sh stage -pre crsinst -n orczone1,orczone2 -verbose&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Install any packages that are missing, fix the swap or any such thing, the MTUs etc, and you&#39;re ready to roll.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To add Swap Space when using ZFS&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To create swap space on a ZFS volume (created 2 2g volumes):&lt;br /&gt;
&lt;blockquote&gt;zfs create -V 2gb rpool/swap2g&lt;br /&gt;
zfs create -V 2gb orcinstall/swap2g&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Add it to swap&lt;br /&gt;
&lt;blockquote&gt;swap -a /dev/zvol/dsk/rpool/swap2g&lt;br /&gt;
swap -a /dev/zvol/dsk/orcinstall/swap2g&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Add it to /etc/vfstab&lt;br /&gt;
&lt;blockquote&gt;/dev/zvol/dsk/rpool/swap2g      -       -       swap    -       no      -&lt;br /&gt;
/dev/zvol/dsk/orcinstall/swap2g      -       -       swap    -       no      -&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; Install / Troubleshooting Notes &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1.  A group called &quot;DATA&quot; was created by a previous install, and even though I zapped the disks, the group didnt go away.  To drop the diskgroup (which wouldn&#39;t mount or come online) I had to do this:&lt;br /&gt;
drop diskgroup data force including contents;&lt;br /&gt;
2.  If you&#39;re having trouble with ulimits and such, this link: &lt;a href=&quot;http://technopark02.blogspot.com/2008/07/solaris-increasing-maximum-processes.html&quot;&gt;Max user processes&lt;/a&gt; is pretty helpful.&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/4167039691021579252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/4167039691021579252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4167039691021579252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4167039691021579252'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/09/oracle-11g-rac-in-ldoms-oracle-vm-for.html' title='Oracle 11g RAC in LDOMs (Oracle VM for Sparc)'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-5158037913731073021</id><published>2011-09-14T09:10:00.001-04:00</published><updated>2011-09-24T12:23:26.975-04:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11g"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle rac"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris containers"/><title type='text'>Oracle 11g RAC in a zone - Partial instructions.</title><content type='html'>This is a post thats a WIP.  I will be adding to this as I keep finding new things, and hopefully a full step by step doc by the end of this.&lt;br /&gt;
&lt;br /&gt;
I had to stop this because of the requirement of EXCLUSIVE IPs for the non-global zone.  You can only have one Exclusive interface per vlan tag per server.&lt;br /&gt;
&lt;br /&gt;
That is, if you have VLAN tag 3 for your public interface, and you want to create another RAC cluster on the same blade, you&#39;ll have to get another vlan from your network team.  This seems unworkable, as all our Dbs are in the same VLAN.&lt;br /&gt;
&lt;br /&gt;
I&#39;ve just begun setting up 2 T3-Blades to use zones for Oracle RAC cluster.&lt;br /&gt;
&lt;br /&gt;
Setup:&lt;br /&gt;
2 T3-1B Sparc blades with 64Gb of RAM.&lt;br /&gt;
Oracle 11gR2 downloaded&lt;br /&gt;
Oracle 11gR2 Grid Download&lt;br /&gt;
OS installed with &quot;Full Install with OEM&quot;&lt;br /&gt;
OS patched with the latest patch cluster.&lt;br /&gt;
Use EMC SAN for disk&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;MPXIO&lt;/b&gt;&lt;br /&gt;
Enable MPXIO if you&#39;re not using any vendor provided software to connect to the SAN&lt;br /&gt;
Using MPXIO to connect to the EMC CX-500&lt;br /&gt;
change &quot;mpxio-disable&quot; to &quot;no&quot; in ./kernel/drv/fp.conf&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Disks&lt;/b&gt;&lt;br /&gt;
Using ZFS for the global zone with internal disks.&lt;br /&gt;
&lt;br /&gt;
All Oracle zones will be created using mirrored disks from the SAN.&lt;br /&gt;
&lt;br /&gt;
I intend on creating a zone, configuring the basic setup (DNS, oracle user, oracle download copied over) and take&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;[root@ch0bl7qadb1w]# zpool list&lt;br /&gt;
NAME      SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT&lt;br /&gt;
orcpool   248G  11.0G   237G     4%  ONLINE  -&lt;br /&gt;
rpool     278G  7.99G   270G     2%  ONLINE  -&lt;br /&gt;
[root@ch0bl7qadb1w]# zpool status -v orcpool&lt;br /&gt;
pool: orcpool&lt;br /&gt;
state: ONLINE&lt;br /&gt;
scrub: none requested&lt;br /&gt;
config:&lt;br /&gt;
&lt;br /&gt;
NAME                                       STATE     READ WRITE CKSUM&lt;br /&gt;
orcpool                                    ONLINE       0     0     0&lt;br /&gt;
mirror-0                                 ONLINE       0     0     0&lt;br /&gt;
c0t60060160733014002C5FAEED7BD9E011d0  ONLINE       0     0     0&lt;br /&gt;
c0t60060160733014002D5FAEED7BD9E011d0  ONLINE       0     0     0&lt;br /&gt;
&lt;br /&gt;
errors: No known data errors&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;b&gt;Creating Zones&lt;/b&gt;&lt;br /&gt;
Create the zone (orczone1), boot it and configure the DNS and such.&lt;br /&gt;
&lt;br /&gt;
Zones have an annoying habit of setting auto-home. I normally run a script to disable auto-home. To allow the creation of the /home/oracle directory below, it&#39;s required to disable autohome.&lt;br /&gt;
&lt;br /&gt;
Create the oracle project with group membership of dba.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;projadd -p 102 -c &quot;Oracle Project&quot; group.dba&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Create the dba (id: 102) oinstall (id: 103) groups&lt;br /&gt;
&lt;br /&gt;
Create the Oracle, Oragrid users, the assign the oracle user belong to the oracle project.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;useradd -u 101 -G dba -g oinstall -s /usr/bin/bash -m -p 102 oracle&lt;br /&gt;
useradd -u 103 -G dba -g oinstall -s /usr/bin/bash -m oragrid&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Verify that the users are created appropriately&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;[root@orczone1]# id -a oracle&lt;br /&gt;
uid=101(oracle) gid=103(oinstall) groups=102(dba)&lt;br /&gt;
[root@orczone1]# id -a oragrid&lt;br /&gt;
uid=103(oragrid) gid=103(oinstall) groups=102(dba)&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
According to OFA guidelines, Oracle going to be installed in &lt;br /&gt;
/opt/app/oracle&lt;br /&gt;
&lt;br /&gt;
Oracle install also recommends that only ORACLE_BASE is set. I&#39;m also going to be installing Grid software and Db software as the same user.&lt;br /&gt;
&lt;br /&gt;
Bash Profile for the oracle User&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
PS1=&quot;[\u@\h]$ &quot;&lt;br /&gt;
ORACLE_BASE=/opt/app/oracle&lt;br /&gt;
LD_LIBRARY_PATH=/usr/lib:/lib:$LD_LIBRARY_PATH&lt;br /&gt;
export SQLPATH=/home/oracle&lt;br /&gt;
&lt;br /&gt;
export ORACLE_BASE ORACLE_SID LD_LIBRARY_PATH&lt;br /&gt;
&lt;br /&gt;
export PATH=$CRS_HOME/bin:$ORACLE_HOME/bin:/usr/sbin:/usr/bin:/usr/ucb:/usr/local/bin:/bin/sbin:$PATH&lt;br /&gt;
&lt;br /&gt;
umask 022&lt;br /&gt;
ulimit -n 65536&lt;br /&gt;
&lt;br /&gt;
export EDITOR=vi&lt;br /&gt;
export editor=vi&lt;br /&gt;
export PS1&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; NTP &lt;/b&gt;&lt;br /&gt;
My /etc/inet/ntp.conf file is this (in the Global Zone):&lt;br /&gt;
&lt;blockquote&gt;server 10.27.1.254&lt;br /&gt;
driftfile /etc/ntp.drift&lt;br /&gt;
slewalways yes&lt;br /&gt;
disable p11&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;b&gt; Grid Software install &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1.  Create /opt/app/11.2.0/grid on both nodes (orczone1 &amp; orczone2).&lt;br /&gt;
2.  Create /opt/app/oracle on both nodes&lt;br /&gt;
3.  I created the &quot;app&quot; directory and let oracle have rwx permissions on it.&lt;br /&gt;
4.  Add the SCAN Ips as well as the virtual IPs to DNS&lt;br /&gt;
&lt;blockquote&gt;Orczone1.cctdev.com&lt;br /&gt;
Orczone1-vip.cctdev.com&lt;br /&gt;
&lt;br /&gt;
Orczone2.cctdev.com&lt;br /&gt;
Orczone2-vip.cctdev.com&lt;br /&gt;
&lt;br /&gt;
Orczone-cluster.cctdev.com -- this was the SCAN IP.&lt;br /&gt;
&lt;/blockquote&gt;5.  Set the following in /etc/system for the global zone, to avoid annoyances in the non-global zone.  I use these blades only for Oracle, so it works for me!&lt;br /&gt;
&lt;blockquote&gt;set rlim_fd_max=65636&lt;br /&gt;
set rlim_fd_cur=4096&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
5.  During install of GRID software, oracle will try to plumb IPs and if you&#39;re not using Exclusive IPs in the non-global zone, it will fail.  This is where I stopped and switched to LDOMs.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Issue Log:&lt;br /&gt;
&lt;br /&gt;
One of the things that are needed are a Public &amp; Private Interface.&lt;br /&gt;
&lt;br /&gt;
When plumbing them, make sure that the private interface stays private and does not get added to your &quot;default gateway&quot;.  If that happens, traffic has a tendency to get &quot;lost&quot; and when you try to reboot zones or even the server, you may lose connectivity with other nodes.  The way I did this, was to not add a defrouter in the zonecfg for the private interface.&lt;br /&gt;
&lt;br /&gt;
When creating a Zone for the Private interface, do not set the default router for that NIC unless you&#39;re using VLAN tagging and such.&lt;br /&gt;
&lt;br /&gt;
The netstat -rn should look something similar to this&lt;br /&gt;
&lt;blockquote&gt;Routing Table: IPv4&lt;br /&gt;
Destination           Gateway           Flags  Ref     Use     Interface&lt;br /&gt;
-------------------- -------------------- ----- ----- ---------- ---------&lt;br /&gt;
default              10.25.20.5           UG        1         27&lt;br /&gt;
default              10.25.20.5           UG        1          4 e1000g2&lt;br /&gt;
10.0.0.0             10.26.6.202          U         1         16 igb0&lt;br /&gt;
10.25.20.0           10.25.23.137         U         1          3 e1000g2&lt;br /&gt;
192.168.204.0        192.168.204.7        U         1          0 e1000g0&lt;br /&gt;
224.0.0.0            10.25.23.137         U         1          0 e1000g2&lt;br /&gt;
127.0.0.1            127.0.0.1            UH        5         92 lo0&lt;br /&gt;
&lt;/blockquote&gt;</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/5158037913731073021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/5158037913731073021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/5158037913731073021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/5158037913731073021'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/09/oracle-11g-rac-in-zone-partial.html' title='Oracle 11g RAC in a zone - Partial instructions.'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-9009115742735156106</id><published>2011-08-24T16:01:00.002-04:00</published><updated>2011-08-24T16:04:00.230-04:00</updated><title type='text'>cacaoadm not working</title><content type='html'>I was trying to install Oracle Enterprise Ops Center and I kept getting a weird error which I couldn&#39;t find any information online about.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;[root@host1:/]# /usr/sbin/cacaoadm&lt;br /&gt;Cannot perform firstime initialisation and configuration.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Even reinstalling cacao didnt help (the packages were SUNWcacaodtrace &amp; SUNWcacaort ).&lt;br /&gt;&lt;br /&gt;Turns out the cacao.properties file was completely hosed.  Here&#39;s where the file is located /etc/cacao/instances/default/private/cacao.properties&lt;br /&gt;&lt;br /&gt;I ended up copying it from a different install, and it&#39;s working!!&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/9009115742735156106/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/9009115742735156106' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/9009115742735156106'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/9009115742735156106'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/08/cacaoadm-not-working.html' title='cacaoadm not working'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-387559081958633312</id><published>2011-07-02T13:07:00.003-04:00</published><updated>2011-07-02T13:19:15.701-04:00</updated><title type='text'>OEM 10g not starting ...Fix!</title><content type='html'>If you have Oracle Enterprise Manager that very annoyingly wont restart, though it&#39;s been perfectly working before you shut it down, and opmnctl complains that it cant start the HTTP server, you&#39;re probably running into the file size limit of the Apache logs.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;[oragrid@admin30w]$ tail -20 /opt/oragrid/oms10g/Apache/Apache/logs/error_log&lt;br /&gt;[Sat Jul 2 01:43:20 2011] [error] (79)Value too large for defined data type: could not open transfer log file /opt/oragrid/oms10g/Apache/Apache/logs/access_log.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;If you see that message, it implies that the access log file is too large, typically over 2Gb.  OEM by default doesn&#39;t rotate logs, so you need to either set it up, or rotate the logs manually.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;oragrid@admin30w]$ ls -l /opt/oragrid/oms10g/Apache/Apache/logs/access_log&lt;br /&gt;-rw-r---- 1 oragrid oinstall 2147483881 Apr 30 21:58 /opt/oragrid/oms10g/Apache/Apache/logs/access_log&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;To fix it, I just did a &lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;cat /dev/null &gt; /opt/oragrid/oms10g/Apache/Apache/logs/access_log&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;You can also set up log rotation this way.&lt;br /&gt;Note 339819.1 from Metalink will give you detailed steps on the multiple ways to setup log rotation.  However, this is supposed to be fixed in 11g.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Stop the OMS:&lt;br /&gt;&lt;br /&gt;cd &lt;OMS_HOME&gt;/opmn/bin&lt;br /&gt;opmnctl stopall&lt;br /&gt;2. Take a backup of the files :&lt;br /&gt;&lt;OMS_HOME&gt;/sysman/config/httpd_em.conf&lt;br /&gt;&lt;OMS_HOME&gt;/sysman/config/httpd_em.conf.template&lt;br /&gt;&lt;br /&gt;NOTE: You must make the changes to both httpd_em.conf AND httpd_em.conf.template because any &#39;emctl secure&#39; operation results in the http_em.conf file being regenerated using http_em.conf.template and any changes that had been made to httpd_em.conf earlier will be lost.&lt;br /&gt;3. Edit the &lt;OMS_HOME&gt;/sysman/config/httpd_em.conf and modify:&lt;br /&gt;&lt;br /&gt;ErrorLog &lt;OMS_HOME&gt;/Apache/Apache/logs/error_log &lt;br /&gt;TransferLog &lt;OMS_HOME&gt;/Apache/Apache/logs/access_log &lt;br /&gt;&lt;br /&gt;TO&lt;br /&gt;&lt;br /&gt;ErrorLog &quot;|/&lt;ORACLE_HOME&gt;/Apache/Apache/bin/rotatelogs &lt;OMS_HOME&gt;/Apache/Apache/logs/error_log 43200&quot; &lt;br /&gt;TransferLog &quot;|/&lt;ORACLE_HOME&gt;/Apache/Apache/bin/rotatelogs &lt;OMS_HOME&gt;/Apache/Apache/logs/access_log 43200&quot;&lt;br /&gt;&lt;br /&gt;where &lt;OMS_HOME&gt; is the full path to your OMS install directory. &lt;br /&gt;4. Edit the &lt;OMS_HOME&gt;/sysman/config/httpd_em.conf.template and modify:&lt;br /&gt;&lt;br /&gt;ErrorLog &amp;ORACLE_HOME&amp;/Apache/Apache/logs/error_log&lt;br /&gt;TransferLog &quot;&amp;ORACLE_HOME&amp;/Apache/Apache/logs/access_log&quot;&lt;br /&gt;&lt;br /&gt;To&lt;br /&gt;&lt;br /&gt;ErrorLog &quot;|&amp;ORACLE_HOME&amp;/Apache/Apache/bin/rotatelogs &amp;ORACLE_HOME&amp;/Apache/Apache/logs/error_log 43200&quot;&lt;br /&gt;TransferLog &quot;|&amp;ORACLE_HOME&amp;/Apache/Apache/bin/rotatelogs &amp;ORACLE_HOME&amp;/Apache/Apache/logs/access_log 43200&quot;&lt;br /&gt;5. Delete the existing access_log and error_log files in the &lt;OMS_HOME&gt;/Apache/Apache/log directory.&lt;br /&gt;&lt;br /&gt;6. Re-start the OMS&lt;br /&gt;cd &lt;OMS_HOME&gt;/opmn/bin&lt;br /&gt;opmnctl startall</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/387559081958633312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/387559081958633312' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/387559081958633312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/387559081958633312'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/07/oem-10g-not-starting-fix.html' title='OEM 10g not starting ...Fix!'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-4502501569148268392</id><published>2011-06-02T15:55:00.002-04:00</published><updated>2011-06-02T15:58:00.161-04:00</updated><title type='text'>Registering a Sunone 7 node to the admin server</title><content type='html'>We have a number of SunONE 7 (now renamed to iPlanet) servers and the documentation online is fast fading, thanks to Oracle.&lt;br /&gt;&lt;br /&gt;To register a node after install:&lt;br /&gt;&lt;br /&gt;webserver7/bin&lt;br /&gt;&lt;br /&gt;/wadm --host=&lt;adminhost&gt; --port=&lt;admin port number&gt; --user=admin&lt;br /&gt;&lt;br /&gt;It will prompt for a password.&lt;br /&gt;wadm&gt; register-node&lt;br /&gt;&lt;br /&gt;That should register the host successfully.&lt;br /&gt;&lt;br /&gt;If you have renamed your server, navigate to the admin-server/config directory and fix the server.xml with the new hostname.</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/4502501569148268392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/4502501569148268392' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4502501569148268392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4502501569148268392'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/06/registering-sunone-7-node-to-admin.html' title='Registering a Sunone 7 node to the admin server'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-2136185039853342567</id><published>2011-02-24T17:14:00.003-05:00</published><updated>2011-02-24T17:15:28.758-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="db"/><category scheme="http://www.blogger.com/atom/ns#" term="oracle"/><title type='text'>Tablespace Utilization in Oracle</title><content type='html'>Taken from: http://vsbabu.org/oracle/sect03.html&lt;br /&gt;Usage&lt;br /&gt;&lt;br /&gt;TABLESPACE USAGE NOTES:&lt;br /&gt;Tablespace Name - Name of the tablespace&lt;br /&gt;Bytes Used - Size of the file in bytes&lt;br /&gt;Bytes Free - Size of free space in bytes&lt;br /&gt;Largest - Largest free space in bytes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;select a.TABLESPACE_NAME,&lt;br /&gt; a.BYTES bytes_used,&lt;br /&gt; b.BYTES bytes_free,&lt;br /&gt; b.largest,&lt;br /&gt; round(((a.BYTES-b.BYTES)/a.BYTES)*100,2) percent_used&lt;br /&gt;from  &lt;br /&gt; (&lt;br /&gt;  select  TABLESPACE_NAME,&lt;br /&gt;   sum(BYTES) BYTES &lt;br /&gt;  from  dba_data_files &lt;br /&gt;  group  by TABLESPACE_NAME&lt;br /&gt; )&lt;br /&gt; a,&lt;br /&gt; (&lt;br /&gt;  select  TABLESPACE_NAME,&lt;br /&gt;   sum(BYTES) BYTES ,&lt;br /&gt;   max(BYTES) largest &lt;br /&gt;  from  dba_free_space &lt;br /&gt;  group  by TABLESPACE_NAME&lt;br /&gt; )&lt;br /&gt; b&lt;br /&gt;where  a.TABLESPACE_NAME=b.TABLESPACE_NAME&lt;br /&gt;order  by ((a.BYTES-b.BYTES)/a.BYTES) desc</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/2136185039853342567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/2136185039853342567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2136185039853342567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/2136185039853342567'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/02/tablespace-utilization-in-oracle.html' title='Tablespace Utilization in Oracle'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-4398240081494509503</id><published>2011-02-24T16:53:00.002-05:00</published><updated>2011-02-24T16:55:26.697-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="solaris"/><category scheme="http://www.blogger.com/atom/ns#" term="unix"/><title type='text'>Files modified between times</title><content type='html'>Sometimes, I get this task to find out files that changed between 2 dates.  I never seem to remember it, so I figured it out (googling) and here it is.  Hopefully someone else also can use it!&lt;br /&gt;&lt;br /&gt;olddate=&quot;201001010001&quot;&lt;br /&gt;newdate=&quot;201012312359&quot;&lt;br /&gt;touch -t $olddate ./tmp/oldfile&lt;br /&gt;touch -t $newdate ./tmp/newfile&lt;br /&gt;find /path/to/directory -type f  -newer ./tmp/oldfile ! -newer  ./tmp/newfile</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/4398240081494509503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/4398240081494509503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4398240081494509503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/4398240081494509503'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/02/files-modified-between-times.html' title='Files modified between times'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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-16587565.post-3752338771379870757</id><published>2011-01-17T00:06:00.007-05:00</published><updated>2012-12-31T19:08:35.185-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>Good Bye 2010, Hello 2011</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Where did 2010 go?  Everything almost seems to be a blur...I spent almost 350 days working last year I think (yes, that includes, nights, weekends etc).  &lt;br /&gt;
&lt;br /&gt;
I&#39;m going to try to recount some happy times ...&lt;br /&gt;
&lt;br /&gt;
January as always is a happy time, as I celebrate my anniversary with my lovely wife.  This time, we decided to go to Las Vegas as our friends were staying there and celebrate.  A couple of nights at their house, and one night at MGM Grand.  It was a good trip! Here is a picture I could find, of giving my wife a surprise gift.  I had my Brother In Law bring a pair of ear rings from India, and then send it to my friends place in Las Vegas without telling Lavanya :)  (Yes, thats her acting surprised :D)&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt9Q06vCLfS2C5W6c9vQt_qEbBJmydFkv_gXRq0oJ6hWfU1-R92b7j4YIMWuTJ77O0CKJc3UN4TLuLGoTODjAvfNta8bSvPwDWiGJWPf3ynOU8h18jthstfFQjtxl4s7Fku6xK/s1600/DSCF7540.JPG&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5563018189432221266&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt9Q06vCLfS2C5W6c9vQt_qEbBJmydFkv_gXRq0oJ6hWfU1-R92b7j4YIMWuTJ77O0CKJc3UN4TLuLGoTODjAvfNta8bSvPwDWiGJWPf3ynOU8h18jthstfFQjtxl4s7Fku6xK/s320/DSCF7540.JPG&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 241px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The rest of the year moved quickly, as we announced that we were going to have our second child!&lt;br /&gt;
&lt;br /&gt;
Ofcourse, who can forget the monstrous winter of 2009 / 2010!&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfj7itRt-h8rNJOx2JpzAZwRNg-pAAlaSUWIi1oybv0fNVSbm4y77C0veEvUnSgdFXCkYQlG3l3XeeKnX8p-MEi51U0W_aqmMeXi-TWNz7GaPIdqS8fco35-y5x3szlSqUcMHc/s1600/2010-02-03+07.34.18.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5563020071110129714&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfj7itRt-h8rNJOx2JpzAZwRNg-pAAlaSUWIi1oybv0fNVSbm4y77C0veEvUnSgdFXCkYQlG3l3XeeKnX8p-MEi51U0W_aqmMeXi-TWNz7GaPIdqS8fco35-y5x3szlSqUcMHc/s320/2010-02-03+07.34.18.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 239px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Time quickly flew by after that.  We had my uncle, aunt &amp;amp; mom come from India in May / June (I think).  They went on an US Tour and Alaska cruise and returned.  &lt;br /&gt;
We went to a great airshow in May.  This was our first time ever, and unfortunately we were a little late, but got to see some awesome acrobatics.  Next time, I think we&#39;re going to go there for the whole day. Pranav had a blast!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPzCvj433FI2pOnCFWDYGTRrdqMjtQGB89SAaeS1jqrC6ZabGS5_fJ0lhJkxk2klGzB-zCwyF43Khzuyx-M0fnR_PO4d8KihDy23T1ux2LEQDGoGJVuFELPtIi_1XlwR0ACUBS/s1600/2010-05-15+16.31.50+--+rotated.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5563020811214503666&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPzCvj433FI2pOnCFWDYGTRrdqMjtQGB89SAaeS1jqrC6ZabGS5_fJ0lhJkxk2klGzB-zCwyF43Khzuyx-M0fnR_PO4d8KihDy23T1ux2LEQDGoGJVuFELPtIi_1XlwR0ACUBS/s320/2010-05-15+16.31.50+--+rotated.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 239px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In June, Lavanya had her surprise &quot;Seemantham&quot; or Baby shower at our neighbours house.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2vovoOF7RYGdOdNRN4wMCdWPqi-MJfmLdN24w2opkJt27fB6hInY4R5gYl7gZsJJ-r1i3BqoIdcyJ8v8qP3PQEjKwTovzq3pkR78gQwF4_t_i0Hjf6qYC6__DaLIUGDCKWYGn/s1600/2010-06-26+19.41.33.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5563021196406681586&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2vovoOF7RYGdOdNRN4wMCdWPqi-MJfmLdN24w2opkJt27fB6hInY4R5gYl7gZsJJ-r1i3BqoIdcyJ8v8qP3PQEjKwTovzq3pkR78gQwF4_t_i0Hjf6qYC6__DaLIUGDCKWYGn/s320/2010-06-26+19.41.33.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 239px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then my In-laws arrived in August to help with our upcoming kid.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
September rolled around, and my second son -- Vaibhav Chandra decided he wanted to  be born before his due date, and he was born on Sept 3rd.&lt;br /&gt;
&lt;br /&gt;
My parents flew down on the 10th, and so our house was full with family and joy!&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSRCoVWs0GjfRGP6p9L8w0CY3yz2Gxo5xRrB5kPTMqHRXSlKk1y2nIaYmk1e5LCsvuwuvqBbEuA3axtf0D_2uWbT4IvXLYNOLhmNvUJMhebffBnf7YFuFcfpgNL_5rbHj_wJja/s1600/img_20100903_144757.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5563021721453861666&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSRCoVWs0GjfRGP6p9L8w0CY3yz2Gxo5xRrB5kPTMqHRXSlKk1y2nIaYmk1e5LCsvuwuvqBbEuA3axtf0D_2uWbT4IvXLYNOLhmNvUJMhebffBnf7YFuFcfpgNL_5rbHj_wJja/s320/img_20100903_144757.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 239px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
On a side note, I flew so often to Toronto this year, it was crazy.  I think I made 6 trips in about a span of 3 months, often staying there a week at a time.&lt;br /&gt;
&lt;br /&gt;
After all the excitement was over, we all went to Minneapolis for  a week to visit my brother in law (I flew in from Toronto and returned to Toronto !)&lt;br /&gt;
&lt;br /&gt;
November came around, and my birthday passed silently this year, without a party or much fan fare!  I think its owed to my little one :)&lt;br /&gt;
&lt;br /&gt;
December came around, and time just flew.  I was super busy with work, going to Toronto once that month as well I think.&lt;br /&gt;
&lt;br /&gt;
2010 was definitely a year to remember because of the birth of Vaibhav, but not many things else, as it was a year of constant work and no play!  I look forward to a great 2011!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://nvmktechblog.blogspot.com/feeds/3752338771379870757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/16587565/3752338771379870757' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/3752338771379870757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/16587565/posts/default/3752338771379870757'/><link rel='alternate' type='text/html' href='http://nvmktechblog.blogspot.com/2011/01/good-bye-2010-hello-2011.html' title='Good Bye 2010, Hello 2011'/><author><name>Murali</name><uri>http://www.blogger.com/profile/11740621266071961163</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/AVvXsEgt9Q06vCLfS2C5W6c9vQt_qEbBJmydFkv_gXRq0oJ6hWfU1-R92b7j4YIMWuTJ77O0CKJc3UN4TLuLGoTODjAvfNta8bSvPwDWiGJWPf3ynOU8h18jthstfFQjtxl4s7Fku6xK/s72-c/DSCF7540.JPG" height="72" width="72"/><thr:total>0</thr:total></entry></feed>