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)
/mnt/opt/zones/myzone/opt  (mount -F lofs /mnt/opt/zones/myzone/opt /zones/myzone/root/mnt/opt)

My current practice is do
1) lumake -n Second
2) ./installpatchset --apply-prereq --passcode
3) ./installpatchset -B Second --passcode
4) luactivate Second
-- if booting to "Second" fail, then i will go back to "First"

The question is,
q1) when doing lumake to ABE, should we shutdown myzone ?
(tried without shutting down non-globalzone throughout the whole process, did not encounter any issue though)

Regards,
Noob

no. you don't have to shut down the zone.

But I would recommend that you do a luactivate -s if you patch and there is a significant delay between the lumake and the reboot. This will sync the file systems between the BE's.

1 Like

hi os2mac,

thanks for your advice. just wondering, what does "-s" actually compares and syncup - how long would it take? and i would believe the syncing limited to only 1 way (from the previous active BE to the alternate BE ) right ?

Regards,
Noob

syncs the current (booted) BE to the ABE. recording any changes made since the ABE was patched.