Madhu K R's WeblogFrom the view finder |
Tuesday Dec 12, 2006
Simple steps to Upgrade Solaris using Live upgrade
I always wanted to have the latest OS bits running on my system. So when I got my new machine, First thing I did is to partition the Solaris partition in such a way that I can do Live upgrade. Live upgrade is a cool technology to upgrade OS on a different slice while the machine is still up and running. When I partitioned my disk, I created 2 slices s0 and s3 of exact size. I wanted to use both of these for live upgrade. 1) First I installed build 45 on s0 slice using DVD. After installation my df -k looked like this bash-3.00# df -kh -F ufs Now if I have to install latest solaris build on the slice s3 using Live Upgrade (lu) then first I need to have a base OS. So I copied the s0 to s3 using lucreate 2) #lucreate -c nv_45 -m/:/dev/dsk/c2d0s3:ufs -n nv_50 (This will take atleast 30 minutes. The above command will also create nv_45 Build environment too. This is required only first time. Make sure that you have unmounted the /lu partition and removed the /lu entry from /etc/vfstab before this step.)
Now run 'lustatus' to make sure that everything is fine. #lustatus 3) Now put the new build media in cdrom. Or if you have an iso image, then mount it as a filesystem. In my case I download the iso image and use it. #lofiadm -a /space/sol-nv-b50-x86-dvd.iso 4) remove the following packages from your existing OS
5) Now upgrade the slice 3 to new build. #luupgrade -u -n nv_50 -s /mnt/test (this will take approximately 30 minutes. It will also update the grub entries so that you can boot in both builds) Check again the status using command 'lustatus'. 6) Activate to your new build. # luactivate nv_50 7) Sometimes I have seen that in the new boot environment, bootarchive is not updated. So mount the new boot environment and update the boot archive.. #lumount nv_50 #/.alt.nv_50/sbin/bootadm update-archive -R /alt.nv_50 (this will update the bootarchive in the new build environment ) Shutdown the system and reboot to choose build 50 From the grub menu. Now I am happily running build 50 and planning to upgrade my nv_45 (on slice s0 ) environment to build 54. TO upgrade the build 45 to 54 I have to start from Step 3. My colleague Arindam helped me a lot in understanding LU. For more details on LU check this document http://docs.sun.com/app/docs/doc/819-6396/6n8dosoos?q=Live+upgrade&a=view
Posted at 12:19PM Dec 12, 2006 by madhu in Tech | Comments[0]
Saturday Dec 02, 2006
Photos from FOSS.in 2006
I finally got the time to upload the photos. Posted at 09:00AM Dec 02, 2006 by madhu in Tech | Comments[0]
Friday Sep 29, 2006
Sun University Days in BMS College of Engineering
AST team had conducted a 2 day event in BMS college. It was attended by
more than 150 students and lecturers of BMS college. Posted at 10:19AM Sep 29, 2006 by madhu in Tech | Comments[0]
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/ Posted at 10:20PM Sep 23, 2006 by madhu in Tech | Comments[2]
Thursday Aug 17, 2006
A course on Opensolaris and Java to PESIT college
After succesfully conducting opensolaris course for VTU edusat program
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. Posted at 09:56AM Aug 17, 2006 by madhu in Tech | Comments[1]
Monday Dec 12, 2005
Burning CD/DVD in solaris
It is little painful to burn a CD/DVD in Solaris. Posted at 06:24PM Dec 12, 2005 by madhu in Tech | Comments[2] |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||