How to use live-upgrade with single disk, pre-patching steps?


Trivia Category: Science: Computers
Difficulty: Hard
DHCP stands for Dynamic Host Configuration Port.
True or False?
Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
# 1  
How to use live-upgrade with single disk, pre-patching steps?

Hi,

I have Solaris-10 x86 (running on HP hardware), with 12 non-global zones running on this. I have to install latest patch cluster/set on this server. This server is not under backup schedule, so before installing patch cluster, I want to keep a backup. In case of any issue (bad patch or application break), I should be able to revert back to pre-patching status.
Now challenge is, due to hardware RAID, I can see only one disk and one zpool. There is sufficient space.
I am get examples of create image on alternate disk or alternate pool. But how will I do it when I have single disk and single zpool ?
Suggest please.

Code:
# zpool list
NAME    SIZE  ALLOC   FREE    CAP  HEALTH  ALTROOT
rpool  1.81T  84.1G  1.73T     4%  ONLINE  -
# echo|format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <DEFAULT cyl 60794 alt 2 hd 255 sec 252>
          /pci@0,0/pci8086,3408@1/pci103c,3245@0/sd@0,0
Specify disk (enter its number): Specify disk (enter its number):
#

Thanks
# 2  
On Solaris 10 you would use
Code:
lucreate

This allows the system to create an alternative boot environment; BE.

This new BE created on the disk but, the new BE can be patched. Once patched you
are able to active with new BE with cluster patch, then when you bounce the system
you'll be booted into the patched BE.

From here you'll be able to test applications and zones to see if the patch had
any negative affects. If so, simply revert back to the original BE and bounce system
to pre-patch state. Open a SR with Oracle if you have a contract.

There's tons of documentation on
Code:
lucreate

# 3  
After re-reading your post I realized that my original response was, incorrect for what you needed.

I'm not sure about the possibility of creating another
zpool from a standalone rpool. I doubt it's even possible.

To create a zpool, you need a separate disk, you are
able to create a zfs dataset from the rpool but not recommended.

As for the alternative BE to apply patches to, I believe lucreate
makes/has a pre-defined directory which it places the alternative
BEs'.

Let me know if you where able to get this resolved as this
will help solaris admins alike.
# 4  
I was reading few posts and I think this could work
Code:
lucreate -c oldBE -n new-zfsBE

And then I can run patch set on new-zfsBE
All my zones are residing on rpool, as there is only one pool, so I will have option to revert to old environment, including all zones.
I am yet to test this.
# 5  
Quote:
Originally Posted by solaris_1977
I was reading few posts and I think this could work
Code:
lucreate -c oldBE -n new-zfsBE

And then I can run patch set on new-zfsBE
All my zones are residing on rpool, as there is only one pool, so I will have option to revert to old environment, including all zones.
I am yet to test this.
*****UPDATE*****
I was able to create new-zfsBE on same disk and install patchset on that BE. After completion, I activated that and rebooted (with init 6) and all was good.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

7 More Discussions You Might Find Interesting

1. Solaris

Patching using live upgrade - with non-globalzone

Hi all, I would like to ask what will be the best practice for the following setup / - c0t0d0s0 - current BE (named First) / - c0t0d1s0 - alternate BE (name Second) i have a non-global zone with zonepath in /zones/myzone /mnt/opt - c0t0d2s6 (shared between the 2 BE)... (3 Replies)
Discussion started by: javanoob
3 Replies

2. Solaris

Solaris 10 patching using live upgrade with VxVM

Hello, I was assigned some Solaris machines and need to patch them to N-1, where N is the latest OS realease, which means, upgrade till one version before the latest one. I do not now a lot about Solaris. What I only know is that need to make use of live upgrade and be careful with VxVM... (4 Replies)
Discussion started by: feroccimx
4 Replies

3. Solaris

Live upgrade first steps

Hello Guys, I am a little confused about the first step in the live upgrade process. I will be glad if someone can clarify this for me. The pre-live upgrade patch, when do you add this patch to the OS you want to upgrade? 1. before creating the new boot environment? or 2. after creating... (1 Reply)
Discussion started by: cjashu
1 Replies

4. Solaris

Solaris patching issue with Live Upgrade

I have Solaris-10 sparc box with ZFS file-system, which is running two non global zones. I am in process of applying Solaris Recommended patch cluster via Live Upgrade. Though I have enough space in root file-system of both zones, everytime I run installcluster, it fails with complaining less... (7 Replies)
Discussion started by: solaris_1977
7 Replies

5. Solaris

Help me with Pre Installation Steps for Patching on Solaris Servers

What are the Pre-installation steps for patching on Solaris servers in real time ? :confused: (6 Replies)
Discussion started by: vijaykrishna
6 Replies

6. Solaris

Live Upgrade Patching Error: Unable to write vtoc

Attempting to patch several servers using live upgrade Release: Oracle Solaris 10 8/11 s10x_u10wos_17b X86 Error I'm receiving is in the message in the log below tail -15 /var/svc/log/rc6.log Legacy init script "/etc/rc0.d/K50pppd" exited with return code 0. Executing legacy init... (5 Replies)
Discussion started by: Siralos
5 Replies

7. UNIX for Dummies Questions & Answers

Typical steps to be followed while applying an application patch upgrade on linux

what are the typical steps used by system adminstrators while applying an application patch upgrade (1 Reply)
Discussion started by: ramky79
1 Replies

Featured Tech Videos