This post is for the system admins who still wants to use the traditional method of patching for whatever reason they want to. The task for using the commandline to mirror root on an x86 system is different from the task used for a sparc system when mirroring root, it is essential that you record the secondary root slice name to reboot the system if the primary submirror fails. But the recommendation is always to use the latest solaris 10 recommended patchset. This is a good spot to mention the metastat command. Oraclesolaris patching using live upgrade unix my first love. Please avoid the steps for zones, if you dont have zone in your server. These patches are preapplied into the solaris update image. Using this solution, the downtime can go between 10 to 30 minutes of service. For you information,from solaris 11 onward,zfs will be the default root filesystem. Below are the steps for lucreate and luupgrade in mirrored svm environment in solaris here i am patching the solaris 10 server with svm mirror setuup envirinment. I would like to patch the server by installing the recommended patch cluster from oracle solaris 10.
Very often, under solaris 9, i have seen svm suddenly flag some or half of our disks as bad specially often after something disruptive has happened to the system like a disk got replaced, power outage, or a new disk array attached. Maintaining a copy of the solaris distribution is a good way to ensure all your systems have access to updates and software packages that are not yet installed. We are getting multiple requests for solaris kernel patching procedure from many of your gurkul followers. Hi all, is it possible to resize partitions in solaris 10. I highly recommend upgrading to a current release, either solaris 10 update 9 or solaris 11 express. For example, if you were to patch a solaris 10 305 system with the latest recommended patch cluster, many of the patches relate to functionality introduced after solaris 10 305, and therefore, patches with the new functionality would fail to install. How to replace failed root disk under oracle solaris svm at this post, you will find some of the examples of replacing failed disk under solaris volume manager. The output of metastat p might show hot spares being used. You can use patch check advanced to make the search for patches.
From the enhanced storage tool within the solaris management console, open the volumes node, choose the mirror, then choose actionproperties. We can use the summary flag to metastat sorry, solaris 10 only to show us the summary of what weve just configured. Check if a file system is readonly by attempting to create a file. When solaris 9 gets released, the solstice disksuite name will change to solaris volume manager svm and it will be bundled in with solaris 9. Solaris volume manager soft partitioning explained. I was excited at first to see the update manager in solaris 10, but became quckly discouraged after several lockups. Example, you need to upgrade from oracle solaris 10 update 4 to. Following boyds presentation on liveupgrade at msosug, i used liveupgrade to upgrade a scratch machine to solaris 10, update 4. After i apply a label on the powerpath devices, i create a new solaris volume manager metadevice with metainit.
Chapter 24 troubleshooting solaris volume manager solaris. Live upgrade sun solaris 10 u3 to oracle solaris 10 u10. Let us grab the output of metastat to understand metadevice placement. Patching best practices for the solaris 10 os docdeveloppement. I am trying to present the simple patching procedure when our disks are under solaris volume manager control, svm. Find answers to how to remove the solaris 10 sparc patch. How to find the oracle solaris critical patch update cpu patchsets, recommended os patchsets for oracle solaris and oracle solaris update patch bundles. We no need to bring down the server to single user mode if you are using live upgrade method during pathing and b efore choosing live upgrade,make sure you are using zfs as a root filesystem. If you dont have a solaris setup to work,just install solaris as guest operating system on vmware workstations and get a hands on experience. Nagios plugin to check solaris 10 patch status with pca. Solaris is a nonfree unix operating system originally developed by sun microsystems. From the enhanced storage tool within the solaris management console, open the volumes, state database replicas, or hot spare pools node.
Run the metastat command on a mirror to see the state of each submirror. In 2010, after the sun acquisition by oracle, it was renamed oracle solaris solaris is known for its scalability, especially on sparc systems, and for originating many innovative features such as dtrace, zfs and time slider. However, the soft partitioning functionality was released in patch 10869306 for sds 4. Live upgrade solaris with mirrored disks general it. In this example, two disks, c1t0d0 and c1t1d0, are mirrored to each other using solaris volume manager. Oraclesolaris patching using live upgrade unix my first. Perl script for checking the output of metastat in solaris. Solaris os patching has been moved far away from the traditional methods from solaris 10 onwards. Hi, i have solaris 10 sparc server with two nonglobal zoneone is whole zone and the other is sparse zone. This document provides stepbystep instructions to install the solaris patch set 4. To create volumes or other solaris volume manager devices within a disk set, use one of the following methods. Then set up the current booted environment so that it can use solaris volume manager.
Run an explorer and generate a cluster patch, based on tools. There were a total of 24 solaris 10 patches, including kernel updates, and 4 patchsets released on mos. Create nf file under etc patch dir, if it is not available on system. Below are the df and metastat p output before lucreate and patching. Then you need to break the svm and edit the vfstab.
A manual hba reset or link reset using luxadm or fcadm is required by emerson. Solaris 10 1 patchset released and latest solaris 10. This information should be written down, not recorded on the system, which may not be available in the event of a disk failure. How to check the status of mirrors and submirrors solaris. This command will show you the current status of all of your meta devices, like the mirror itself, and all of the disks in the mirror. Solaris 10 root fs almost full but cant find out why. When doing the patch cluster on solaris 10, add the t switch to show older patch codes. This may have originally been an acceptable limitation, but as disk sizes increased, the restriction became unmanageable.
Here is the correct way to split a solaris volume manager mirror prior to. How to patch a live system mirrored with svm blogo thnet. If your disk indeed has failed, this article will show you how to replace a failed svm disk. How to replace a failing svm disk solaris commands. First you need to do is, cek what the configuration of the filesystem. Im not that familiar with it, but metastat output gives needs maintenance message on 2 of the mirrors. How to remove a solaris patch while booted from a network or cdrom. Soft partitioning allows a disk to be subdivided into many partitions which are controlled and maintained by. A limitation existed in that a disk can only have 8 partitions, thus limiting the number of metadevices to 8 per disk. This task is performed the server which is having two zones in it. How to kill user session through database and unix. It is unwise to use the output of the metastat p command to create a md. Our machine, salsa, is running solaris 10u2 on an x86 host with root disks. Its a good idea to run this once in awhile to make sure that.
How to replace failed root disk under oracle solaris svm. How to upgrade solaris 10 update 11 by using live upgrade kamis, juli 28, 2016 0 komentar this is the step how to upgrade os solaris 10 update 11. Ordinarily you will be able to just bring your current copy of solaris up to speed or create an alternate boot environment and bring that up to speed with the opttsbinpca command see live upgrade quickstart for more info on this. This helps make each solaris update successively better quality. You can now use the metastat command to verify that the striped metadevice was removed. Choose action create, then follow the instructions in the wizard. So if one of these contains 15040015, use can use that. Like many others, i am a big fan of live upgrade when it comes to upgrading patching solaris. How to upgrade solaris 10 update 11 by using live upgrade. Creating a svm metadevice and an ufs filesystem setaoffice. Not that failed disk is under a mirrored configuration. The solaris 10 cpus critical patch updates on mos are archived copies of the solaris 10 recommended patchsets taken on the cpu date.
Solaris kernel patching procedure we need to prepare patch document procedure with backout plan, and needs to get the approval b. Any time you update your solaris volume manager configuration, or make other. Our machine, salsa, is running solaris 10u2 on an x86 host with root disks mirrored with svm. In older versions of solaris 10, the etchosts file was the definitive data store for.
The solaris image packaging system enables you to keep the solaris software and your own packages onpremise, and share it to the other systems. In the beginning, id run format analyze on all those disks and then use. How to remove a solaris patch while booted from a network. Solaris 10 extended support will run thru january 2021. Hello friends, i need to test some of the solaris 10 concepts and veritas volume manager. One path comes from c3 and the other one comes from c4. The below steps shows ho to create new boot eenvironment,upgrade the solaris to new release, patch the solaris kernel and update the netbackup client. Solaris 10 mirror repartition solaris specialists blog. I want to shrink my logs partition so that i can increase the size of my exporthome partition. Solaris 10 interview questions may 10, 20 by lingeswaran r 8 comments here is the basic solaris interview questions which are commonly asked in solaris l1 or l2 level 1 or l2 interviews.
Solaris 10 mirror repartition posted on january 27, 2015 by sandeep shenoy i ran into a problem may times, where in customer wants to resize the root partition due to not enough free space to allow os cluster patch installation. Install the bootblock in the root mirror disk c1t1d0, to make sure it is bootable. As far as i know patches were never made available for that. Home solaris 10 11 volume manager how to solaris svm metaset. Then yes, youre running an old solaris express development release. Live upgrade has buildin feature for splitting the mirrors of an svm mirrored root.