Madhu K R's Weblog

From the view finder
Monday Sep 25, 2006

An interesting problem in solaris to troubleshoot

One of my colleague installed Solaris 10 U3 on a Metropolis machine. The machine was working fine for sometime.
Then it got powered off and didn't come up next time due to boot archive problem.
So she booted in failsafe session and updated the boot-archive.
Now when tried to boot in normal solaris, it boots up properly and hangs the system within a minute. Nothing works.

Myself and Shesha were trying to troubleshoot this.
Initially we thought it has something to do with Xorg. So we booted in commandline.
Even then it hunged. What frustating is everytime it hangs, reboot was the only option.
And the window where we could operate was very small. The problem was not see when we booted in single user mode.

Now we thought it has something to do with some of the services. So next time when we booted in milestone all,
the first command we executed was 'svcs -xv'. Everything looked OK.

By this time, we had already wasted almost 1 hour debugging this problem.
Even telnet, ssh was not working.
The last options at this time was to reinstall OS.
We decided to give one last try by running it under kmdb and debug the problem.

So in the grub, we gave -k option and booted the OS. When the problem was hit, we went to kmdb mode and tried to see the threadlist.
We found that there was some activity on 'acpi' module. That was the culprit. so when we disabled it while booting by specifying option
acpi-users-option=0x2.
Now that machine is working fine and my colleague is happy.



Saturday Sep 23, 2006

Another customer sharing his experience on Sun Cluster 3.2 beta.

Another good feedback on Sun Cluster 3.2 beta. Robert Milkowski, System Group Manager has blogged about Sun Cluster 3.2 beta. Check it at http://milek.blogspot.com/

Whats good is that he has also blogged about how to create HA-NFS service on top of a ZFS.

Wednesday Sep 20, 2006

Some good words about Sun Cluster from a customer

Sun Cluster 3.2 is now in beta stage. More than 30 customer have registered to try this product.
Lot of engineers, both in Sustaining and engineering team are working with these customer to make sure
they don't have  issues when installing Sun Cluster and deploying their application on Sun Cluster.

One such customer is CuddleTech.

It is always good to hear some good words about your product from customer mouth.
Specially when customer reiterates that they got 100% uptime because of Sun Cluster, there is no better encouraging words.
Believe me it is more satisfactory than all those motivational words used by Managers. :-)

Recently Ben Rockwood blogged about his experience with Sun Cluster. The main point from his blog is

<snip>
To toss in an extra customer success story...
I deployeed my companies primary Oracle 9i database server on a pair of Sun V1280's with 2 Sun StorEdge 3510 arrays with Solaris 9 and Sun Cluster 3.0.
We deployeed the system 889 days ago. In that 2.5 years we have had 100% uptime!
 No crappy 5 9's, I'm talking 100 frickin' percent. The cluster has never even failed over.
On a handful of occasions when Oracle shutdown mistakenly Sun Cluster had the database back online before the clients even realized it.

<end>

Check the below link for the original blog
http://www.cuddletech.com/blog/pivot/entry.php?id=457

Thanks Ben for making our day. :-)

Opensolaris is in our Head :-)

A new way evangelizing opensolaris.

 

Thursday Aug 17, 2006

A course on Opensolaris and Java to PESIT college

After succesfully conducting opensolaris course for VTU edusat program
http://forum.vtu.ac.in/viewforum.php?f=66&sid=c32263832a2670fc43de488afc19cd88

SunMicrosystems India has made an tie up PESIT college (one of the premiere institute in Bangalore) to conduct a similar course for their students.
As part of this we are conducting a 40 hrs course comprising of
1> opensolaris - Introduction and some details
2> Java .

The students for this course will comprise of top students from various IT related branches of PESIT
who were selected after going through various selection process with in the college.
Courses will be held on every saturday from 9 am - 1 pm starting from August 19th 2006.

The tentetive  timetable for this is below...


*Date* *Topics*

19 Aug 2006 Solaris Introduction- Look and feel of Solaris- Shell Programming - Packaging

26 Aug 2006 Introduction to <nop>NetBeans and Sun Studio IDEs

02 Sep 2006 Overview of Java Technologies

09 Sep 2006 Java Programming Fundamentals

23 Sep 2006 Object Oriented Concepts

30 Sep 2006 Java Exception Model

14 Oct 2006 Introduction to Java Threads

28 Oct 2006 Graphical User Interface<br>- AWT and 2D

04 Nov 2006 Graphical User Interface<br>- SWING

11 Nov 2006 Extended Topics

18 Nov 2006 Evolving Core Java Technologies

25 Nov 2006 Tools on Solaris<br>- <nop>DTrace, truss, proc tools, mdb<br>- *stat<br>- modinfo<br>Solaris Internals<br>- Process and process data structures, LWPs

02 Dec 2006 Solaris Internals - Part 2

09 Dec 2006 Solaris Filesystems<br>- SPARC Architerture, Niagara<br>- Lab Tour


Each course will have 2 hours of theory and 2 hours of hands-on immediately after the theory.
So we needed to setup a solaris lab in the college before the start of this program.
Myself and Sheshadri vasudevan from my team went to the college on 16th Aug to help lab administrators of PESIT to setup a solaris lab.

The idea was to install 1st machine with DVD and show them how DVD installation works.
Then configure newly installed machine as jumpstart server and install another machine using jumpstart configuration.
Allow them to install few machines using jumpstart mechanism and make them fell comfortable with whole installation process.
Give some basic tips on adminstrering solaris using SMF framework.

We had got the details of the hardware from their lab incharge Sri Hari before we went to PESIT.
But we forgot to ask was the partition details of the harddisk.
Solaris can be installed only on a primary partition.

In their setup, they had exactly one primary partition (10 gb) on which they had Windows XP.
In remaining 70 GB, they had created extended partition and created lot of logical drives to install Linux.
So first thing we did was to delete all logical partitions and delete extended partition.
Create one more primary partition for solaris (18 gb) and left 50 gb on extended partition.

Now we installed solaris using DVD and then configured the same machine as jumpstart server and installed 6 machines using this jumpstart server.
Sheshadri setup pxeboot environment on that machine and also gave them a quick TOI on pxeboot.
I gave a demo of SMF.

I will soon blog about setting up a jumpstart server to install x86 clients and what I do in my SMF demo.





Thursday Aug 10, 2006
Sunday Aug 06, 2006

Photos from Valley of Flowers Trek (round 1)

Finally got some time to resize some of the photos and upload them to flickr.com Here is a first preview of some of my pics[Read More]

Thursday Aug 03, 2006

First day experience in Ireland

Very Bad first day experience in Ireland where we ran into all sorts of problems.[Read More]

Sunday Jul 16, 2006

Planning for my Next Trek in Himalayas.

Its been long time since I blogged. Was busy with work. So No time for blogging and also didn't get any topic to blog about.
But now I am excited as I am going back to my favourite place in India. Himalayas ;-)

Yes. I am going to Valley of Flowers, Hemkund Sahib and Badrinath.
After  2 months of planning, Finally the countdown has started. I am leaving this Friday (July 21st).

Tentative schedule is

21st July :

Assemble in Delhi. (Preferably at Kashmiri Gate bus-stand )
Take a bus to Rishikesh (around 9.30 pm)
Take an early morning bus to Joshimutt (around 3 am)

22nd July:
   Reach Joshimutt at 6 pm and relax.
   Relax.

23rd July:
   Take bus to Govind ghat.
   Rent a lodge and relax in the evning.

24th July:
   Trek to Ghangriya  (about 13 kms or 6 hours )
   Halt at Ghangriya. (Ghangriya is a small town. It has few lodges. So accomadation is not an issue  )


25th July:
   Trek to Valley of Flowers and back to Ghangriya.

26th July:
   Trek to Hemkund Sahib and back to Ghangriya.

27th July:
   Leave early morning and reach Govindghat before afternoon.Take a Bus to Badrinath and halt in Badrinath.

28th July:
   Back to Joshimutt. If possible we will start the return journey and reach Dehradun.

29th July:
   Relax in Dehradun and Take a night bus or train to Delhi.

30th July:
   Fly back to Bangalore.

Tuesday Apr 25, 2006

Day 2 in UK

Today in the morning we met Achim in the restaurant. He has come from Germany to attend SVM training.
We decided to go together to Office. It is about 12 minutes drive to office from our hotel. But we took almost 45 minutes.
We lost our way and then went all together in a different direction. Somehow we managed to come.

The training was scheduled from 9.30 to 5.30 pm. By the time I reached office it was 9.15.
I didn't have anytime to catch up with my emails. I got sometime during lunch time to check my emails.
I made a call to my home to inform them I have reached safely and sent few email to the team.
I also came to know that there are few more visitors from US and Prague to attend SGR training.
Kim was here from US to teach the course.

I called up Sruthi and Ghanashree today. It is always a nice feeling to talk to your old friends.

The weather is so bad that I am not feeling to take out my camera and shoot some pictures.
I haven't seen sunlight so far this time in UK.

In the evening, I took the directions copy from Christian Rasmussen to drive back to hotel.
We fairly made it. We missed one exit and quickly realised it. So we took a U turn and came back to the right track.
It took hardly 10 minutes to reach hotel.

I went out with Achim, Kim, Christian for dinner in Frimley High street to an Italian restaurant. The food was good.
Vallish decided to enjoy his evening in Fitness centre.

Monday Apr 24, 2006

1st Day in UK.

I am here in UK to attend a SVM training for a week.
I was accompanied with Vallish (my colleague) for this training.

We took United emirates flight and flew via, chennai, Dubai to London Gatwick airport.


Weather is as usual in UK. It is lazy and cloudy.
Vallish has lost his baggage. He might get it today.
We went out for shoping for him. But absolutely no crowd on street.
All the shops were closed.
We were so used to so many people. Suddenly I started missing India.

We are driving a car here. We drove from Airport to Hotel. It was Fun.
We missed a road. We came from Airport till Surrey without any problem.
Once we came out of M3, we missed a turn from A331 to A325. We went somewhere.
We saw a board saying Frimley. we just went in that direction.
Luckily we didn't go too  far. We somehow reached Frimley Green.
We had direction till Frimley Green. We wanted to go to Wharf Road.
The whole place was deserted. Absolutely no one on the streets.
We stopped at a Shell Gas station near a round about and asked for direction.
It was just 100 yards from that round about but it was on the left.

We checked into our Hotel Continental. Hotel seems to be good.
Room is spacious and neat. It also has Gym and swimming pool.
Looks to be better that Lysmoyne Hotel in which I stayed last time.
But this hotel doesn't have any newspaper.
So far I haven't figured out how to connect to net.
Lady in reception doesn't seem to have knowledge about it.

We roamed around hotel in the evening. There is a bowling alley
and a night club in the same campus. We went to night club to see how it is.
They said that it is open only on saturday from 9 pm to 2 am.

In the evening myself and Vallish went out shopping. He wanted to buy a pair of
clothes. But there was no stores near our hotel. We asked a departmental store for direction
.
He said we might get in Frimley TOwn center. SO we drove till there.
Even that place was closed. No people on the streets. Place looked deserted
Very unlikely of India, where Sunday evening all the people are on the streets shopping

We went to a Indian Restaurant Cinnomon for dinner. The food was OK. Not bad.
Tomorrow we need to reach office. God knows how we will make it.


Saturday Apr 08, 2006

Talking to Video camera

After solaris became opensolaris, Our team in IEC has got a lot of chance to evangelise solaris
Being the only solaris group in IEC, We have got a lot of chance/opportunities to go to colleges, customers and ISV to brief them about solaris technologies and encourage them to work on Solaris.
I myself has gone to few colleges and given demo, tech talks on solaris

But my experience on last wednesday was quite different. I spoke to camera for the first time.
Vishweshwara Technical University conducts a video educational program for all the associated 120 engineering colleges. It invites companies to give Tech talks through this program
The aim is to get students aware of whats happening in Industries. It is another step to bring the gap between Industries and Institute.

Sun Microsystems India took this opportunity to introduce solaris to students. Though Computer science students have Operating Systems subject in 6th semister, they don't learn Solaris as case study. This course is a step to push VTU to include solaris as a case study in OS course.

It was a 15 hours course. Our talk was scheduled 2 pm - 3 pm every wednesday. Since this was the introduction course, we aimed for all semister/branch students. So the talk was more intended to introduce the technology without going into the internals.

I spoke about Process model in Solaris and Proc tools. My presentation is at
http://vtu.ac.in/~edusat/Prog4/sunmicro/process-model.pdf
I am used to give talk in a open forum and interactive session. So it took a while to get the feel of talking to camera. It was like talking in a auditorium without audience.
If it was interactive session, then speaker can look at audience face and sense if they are following what ever talk is being delivered. But hear there is no such instant feedback. One will not know how many are attending this talk. So even at the end of my talk I was not sure what the feedback was.
The audience were supposed to ask question through forum
http://forum.vtu.ac.in/viewforum.php?f=59&sid=b1f0f5a32dfd20f925923680727da1d2
I got one feedback saying that talk was good. I was happy that atleast one person was there at the other end

Thursday Mar 30, 2006

Kororaa xgl

I got a Live CD of Kororaa from Moinak. I must say that I am impressed by the 3d desktop.
I read somewhere that there is another 3D desktop model being worked on top of Xorg. But yesterday got a chance to play with it.
What amazed me is that the whole CD is compressed in just 441 MB. It has Firefox and Evolution. It recognized my home network without any issue. It was quite fast on my ferrari laptop.

The first thing I told Moinak after playing with it is "When will get this in Belenix?"
He cooly said quite soon. Now I am waiting for it to be ported in my favorite Belenix.

Tuesday Feb 14, 2006

Auli skiing continued


Second day in Auli


I got up very early in the morning. One thing I do most of the times when I am out traveling (specially in mountains) is to get up very early ( before sunrise ). Some the views of sunrise are breath taking.
I am sure you agree with me since you have seen those sunrise photos.

It was very cold in the morning. I was out with Saurabh taking pictures. There was a layer of cloud on top of Nanda Devi peak. Sun was rising behind Nanda Devi. As soon as we saw some light, the color of the cloud started to change. It was initially red. Then slowly changed to orange. Then bright golden color. I have tried to capture those lights in my camera by spot metering my camera to those clouds. Some the results were really cool.

We had told our instructor that we will report at 9.30 in the morning. But we reached there by 10 am. Kailash had already got Ski for us. We started immediately. Another instructor Pavan was teaching Saurabh. Saurabh was way ahead of us in terms of learning. He was very good in control but his body balance was not that great. He was now learning to turn.

Rest 3 of us were almost in the same phase. But Pramod showed lot of improvements initially. He was able to go some distance without fall. Jalan fell few times initially. But once instructor asked him not to use the sticks and go without them, he got the body balance right. I was in the same state as previous day. Falling most of the time. I felt little bad that I was not able to do it right.
Then I told myself that I can do better. So everytime I start, I was constantly telling myself to keep my body weight front and concentrate on controlling. I did pretty well then onwards.

Now I started to get the feel on skiing. I started going little fast and then trying to control by spreading the heals. I was doing quite confidently now. I was feeling happy about this.
I didn't fall after this point. I was in control all the time.

My next assignment from my instructor is to go down the hill then stop at sometime.
The slope where he was asking me to stop was still tricky. I used to pick speed just before he asks me to stop. But I was doing a good job on slowing down and stopping. Now I was enjoying skiing.

By this time for some reason, Pramod lost the touch. He was going very fast. When ever I watch him, I am pretty much sure that he will fall anytime. He was doing great job to avoid falling sometimes, But his body was not at all in balance. But he was turning very well.

For me turning became little tricky. I was turning easily to my left. But Right was little touch for me. I was doing half turn and then going down the slope. For some reason I right leg was not turning as much as I wanted. But I was pretty much confident that I can do but it is just matter of time.

We came back to Hotel by 3.30 pm. We had asked resort folks to provide gas stove and microwave.
We cooked some MTR ready to eat curries and ordered rotis from Hotel.

In the evening we played TT in the hotel. Hotel manager had told us that they would have a camp fire in the night. So Jalan and myself went down in the night after dinner to see it. Camp fire was about to start. We saw that there was a forest fire in one of the peaks in front of us.

I immediately ran to my room to let Pramod and Saurabh know about it and also got our cameras. We did try to take pictures by exposing for longtime. But none of those photos came good.

This was our last nite in Clifftop resort. We had to vacate as we didn't have reservation from next day. So we were having a long chat on what to do next. There were lots of brainstorming on this.

Some of the places we discussed were
Mussiorie
kasauni
Corbett National park.

Finally after lots of discussion we decided to go to Corbett.

Next day morning we checked out of the hotel in the morning. Saurabh and Jalan went for a half day skiing. I wanted to go around auli and explore. So Pramod and myself took the chair car and went down to GMVN (Ghadawal Mandal Vikas Nigam ). We went to a Hanuman temple. This place was very peaceful. We spent about 30 minutes sitting there and gazing the mountains.

We left Auli in the afternoon to Joshimat. We stayed back in the same Hotel Komet. In the evening Pramod, Saurabh and myself went to Narasimha temple and Shankaracharya Mutt. I was told that Lord Badrinath's Idol (of Badrinath ) will be brought to Joshimat during winter and will be worshiped from
Narasimha Temple. The reason is that during winter it is difficult to reach Badrinath.

We inquired about Bus to Corbett National park (Ramnagar). There was a direct bus but it was in the morning 3.30
So prepared mentally to get up early in the morning and set the alarms.

Travel to Ramnagar  was very long and tiring. It took 15 hours by bus. But I must say that the route was very scenic and had some breath taking views on the way. We reached Ramnagar by 6.30 in the evening.

Ramnagar

Situated in the rich farm belt of Terai, on the southeastern fringes of the great forests, the busy market town of Ramnagar is the main administrative center for Corbett National Park.

We first went to forest department. It was closed. But Jeep drivers there gave all the information
required for us to stay inside National park.


I will talk about Corbett national park in my next and final blog about this trip and also post some photos from Corbett.




Archives
Links
Referrers