Archiv für die Kategorie: “Virtualisierung”

Virtualisierung

Vorlesen mit webReader

Viele kennen zwischenzeitlich den sog. XP Modus, der unter Windows zur Verfügung steht. Damit kann man eine Windows XP Installation virtualisiert unter Windows 7 betreiben. Sowohl die Lizenz für das virtuelle Windows  XP als auch für die Virtualisierungssoftware “Windows Virtual PC” ist bei Windows 7 inklusive.

Warum also VMware Server oder Virtualbox als kostenlose Virtualisierungssoftware benutzen wenn für Windows 7 ebenfalls eine Gratisvariante bereitsteht?

Nun, zunächst einmal ist festzuhalten, daß die Testinstallation von SLES 10 SP3 zwar grundsätzlich lief, die Eingabe per Tastatur aber sonderbare Effekte hervorrief. Ein normales Benutzen der VM war so nicht möglich. Eine kurze Suche auf Google klärte die Problemursache – Probleme bei der Zeitsynchronisierung in Virtual PC seit Linux-Kernel 2.6.x. Das Problem läßt sich einfach lösen in dem in der Konfiguration des Bootloaders grub /boot/grub/menu.lst die Einstellung clock=pit mitgegeben wird (siehe Screenshot).

Die Desktopintegration, Komfort-Features werden nur für Windows als Gast-VM angeboten. Mit “STRG + ALT + Pfeil links” kann man die Maus aus der VM befreien.

Nach dem kurzen Test kann ich für mich festhalten, daß unter Virtual PC die gelegentliche Nutzung von Linux-VMs möglich ist. Vor allem wenn bereits der XP-Modus installiert wurde kann ggf. auf weitere Dienste im Hintergrund verzichtet werden und so etwas an Resourcen gespart werden.

Bei intensiver Nutzung von VMs bietet die Konkurrenz deutlich mehr Komfort.

Comments Kommentare deaktiviert

Vorlesen mit webReader

Hurra, fröhliche Bug-Suche bei IBM…

Tatverdächtiger: NPIV-Nutzung im VIO in Kombination mit Cisco SAN

Vorwurf: bei Änderung im SAN, also z.B. Kabel (ab-) stecken oder Zoning hinzufügen, reagiert LPAR mit virtuellem FC-HBA (NPIV) “überrascht”

Lösung: IBM Lab ist dran, stay tuned…

Comments Kommentare deaktiviert

Vorlesen mit webReader

Angelockt durch einen Artikel der Heise News wollte ich den “XP Modus”, kurz XPM, bei mir am PC im Windows 7 Release candidate testen. Die Voraussetzungen passten (CPU mit Virtualisierungsfunktion), auch das BIOS war korrekt eingestellt.

Somit folgte ich der Microsoft-Anleitung, zunächst Virtual PC Beta und dann die Beta des XP Mode für Windows 7 herunterzuladen. Der XP Mode Download scheint ein Windows XP SP3 Image bzw. Installer für Virtual PC zu beinhalten.

Nach quälend langer Installation wird man von einem XP im Virtual PC-Fenster begrüsst. Es folgt die bekannte XP Update Orgie. Ein Virenscanner soll auch noch installiert werden, dann ist der Virtual PC mit Windows XP als Gast betriebsbereit. Installiert man dann Software in der VM werden die Startmenüeinträge in das Windows 7 Startmenü im Virtual PC Ordner repliziert. Nach der Installation soll man das Virtual PC-Fenster schliessen, was die VM in den Ruhezustand versetzt. Anschließend kann der Eintrag im Windows 7 Startmenü aufgerufen werden, was die VM im Hintergrund reaktiviert. Die Anwendung wird aber wie eine Windows 7 Applikation im Fenster verwaltet. Im Windows Explorer der VM stehen alle Laufwerke des Windows 7 Systems zur Verfügung.

Mein erster Eindruck:

Eine Anpassung der technischen Einstellungen der VM ist dringend notwendig. 256MB für eine VM sind wohl i.d.R. etwas spartanisch. Die Integration in Windows 7 ist gut gelungen. Die Anwendungsperformance fand ich im Vergleich zu VMware stark verbesserungsfähig. Deswegen werde ich wohl bei VMware bleiben, trotz guter Desktopintegration des XP Modus…

Für Interessierte hier noch ein passender Technet Blog-Artikel zum Thema.

Comments Kommentare deaktiviert

Vorlesen mit webReader

Wie im letzten Artikel berichtet bin ich beim Liveupgrade über ein Problem gestolpert. Ausgangssituation war eine Solaris10u6-Installation mit ZFS-root-filesystem und eine zone, die sich in einem seperaten ZFS-Pool auf shared disks befand. Das sollte die Möglichkeit der Zonenmigration auf einen anderen phys. Rechner bieten.

Das lucreate-Kommando des Solaris Liveupgrade verschluckte sich aber am seperaten ZFS-Pool. Deshalb führte ich das Patchen zunächst ohne Zone durch (detached) und machte dann einen upgrade-on-attach.

Trotzdem wollte ich nun wissen, warum das nicht komplett mit Liveupgrade klappte. Nach etwas Experimentieren stellte sich heraus, dass lucreate nicht mit dem Zonen-Root direkt im ZFS-Pool umgehen kann. Das Zonen-Root muss in einem untergeordneten Filesystem des Pools liegen.

Hier der Beweis (die Zone wurde bereits von /zone1 nach /zone1/zoneroot umgezogen):

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      no     no        yes    -
s10u6_recpatches           yes      yes    yes       no     -

bash-3.00# lucreate -n zone_lu_test
Checking GRUB menu…
System has findroot enabled GRUB
Analyzing system configuration.
Comparing source boot environment <s10u6_recpatches> file systems with the
file system(s) you specified for the new boot environment. Determining
which file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Updating system configuration files.
Creating configuration for boot environment <zone_lu_test>.
Source boot environment is <s10u6_recpatches>.
Creating boot environment <zone_lu_test>.
Cloning file systems from boot environment <s10u6_recpatches> to create boot environment <zone_lu_test>.
Creating snapshot for <rpool/ROOT/s10u6_recpatches> on <rpool/ROOT/s10u6_recpatches@zone_lu_test>.
Creating clone for <rpool/ROOT/s10u6_recpatches@zone_lu_test> on <rpool/ROOT/zone_lu_test>.
Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/zone_lu_test>.
Creating snapshot for <zone1/zoneroot> on <zone1/zoneroot@zone_lu_test>.
Creating clone for <zone1/zoneroot@zone_lu_test> on <zone1/zoneroot-zone_lu_test>.

Saving existing file </boot/grub/menu.lst> in top level dataset for BE <s10x_u6wos_07b> as <mount-point>//boot/grub/menu.lst.prev.
Saving existing file </boot/grub/menu.lst> in top level dataset for BE <zone_lu_test> as <mount-point>//boot/grub/menu.lst.prev.
File </boot/grub/menu.lst> propagation successful
Copied GRUB menu from PBE to ABE
No entry for BE <zone_lu_test> in GRUB menu
Population of boot environment <zone_lu_test> successful.
Creation of boot environment <zone_lu_test> successful.

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      no     no        yes    -
s10u6_recpatches           yes      yes    yes       no     -
zone_lu_test               yes      no     no        yes    -

bash-3.00# zfs list
NAME                                         USED  AVAIL  REFER  MOUNTPOINT
patches                                     2.69G  5.12G  2.69G  /patches
rpool                                       6.63G  1.19G    40K  /rpool
rpool/ROOT                                  5.24G  1.19G    18K  legacy
rpool/ROOT/s10u6_recpatches                 1.39G  1.19G  4.48G  /
rpool/ROOT/s10u6_recpatches@zone_lu_test    82.5K      -  4.48G  -
rpool/ROOT/s10x_u6wos_07b                   3.86G  1.19G  3.81G  /
rpool/ROOT/s10x_u6wos_07b@s10u6_recpatches  50.5M      -  3.81G  -
rpool/ROOT/zone_lu_test                      163K  1.19G  4.48G  /
rpool/dump                                   900M  1.19G   900M  -
rpool/export                                  37K  1.19G    19K  /export
rpool/export/home                             18K  1.19G    18K  /export/home
rpool/swap                                   512M  1.45G   244M  -
testpool                                     155M   202K   154M  /testpool
zone1                                        871M  1.10G   871M  /zone1
zone1/zoneroot                                18K  1.10G    18K  /zone1/zoneroot
zone1/zoneroot@zone_lu_test                     0      -    18K  -
zone1/zoneroot-zone_lu_test                     0  1.10G    18K  /zone1/zoneroot-zone_lu_test

Nachtrag

Heute habe ich den Liveupgradetest weitergeführt und eine gehörige Überraschung erlebt.

bash-3.00#  cd /patches/java_es_required_os_patches_solaris10-x86

bash-3.00# luupgrade -n zone_lu_test -s /patches/java_es_required_os_patches_solaris10-x86 -t `cat  patch_order`
System has findroot enabled GRUB
No entry for BE <zone_lu_test> in GRUB menu
Validating the contents of the media </patches/java_es_required_os_patches_solaris10-x86>.
The media contains 19 software patches that can be added.
Mounting the BE <zone_lu_test>.
ERROR: mount point </a/zone1> is already in use, mounted on </zone1>
ERROR: failed to create mount point </a/zone1> for file system </zone1>
ERROR: unmounting partially mounted boot environment file systems
ERROR: cannot mount boot environment by icf file </tmp/.luupgrade.beicf.12595>
cat: cannot open /tmp/.luupgrade.tmp.12595
ERROR: Unable to mount ABE disk slices: < >.
ERROR: Unable to mount the BE <zone_lu_test>.

bash-3.00# zfs list
NAME                                         USED  AVAIL  REFER  MOUNTPOINT
patches                                     2.88G  4.93G  2.88G  /patches
rpool                                       6.63G  1.18G    40K  /rpool
rpool/ROOT                                  5.25G  1.18G    18K  legacy
rpool/ROOT/s10u6_recpatches                 1.40G  1.18G  4.49G  /
rpool/ROOT/s10u6_recpatches@zone_lu_test     103K      -  4.49G  -
rpool/ROOT/s10x_u6wos_07b                   3.86G  1.18G  3.81G  /
rpool/ROOT/s10x_u6wos_07b@s10u6_recpatches  50.5M      -  3.81G  -
rpool/ROOT/zone_lu_test                      172K  1.18G  4.49G  /a/
rpool/dump                                   900M  1.18G   900M  -
rpool/export                                  37K  1.18G    19K  /export
rpool/export/home                             18K  1.18G    18K  /export/home
rpool/swap                                   512M  1.44G   244M  -
testpool                                     155M   202K   154M  /testpool
zone1                                        871M  1.10G   871M  /zone1
zone1/zoneroot                                18K  1.10G    18K  /zone1/zoneroot
zone1/zoneroot@zone_lu_test                     0      -    18K  -
zone1/zoneroot-zone_lu_test                     0  1.10G    18K  /zone1/zoneroot-zone_lu_test

So, so… Das klappt wohl nicht wie geplant.

bash-3.00# lumount zone_lu_test /b
ERROR: unable to mount zones:
cannot mount ‘/zone1/zoneroot’: directory is not empty
zoneadm: zone ‘zone1′: zone root /zone1/zoneroot/root already in use by zone zone1
zoneadm: zone ‘zone1′: call to zoneadmd failed
ERROR: unable to mount zone <zone1> in </b>
ERROR: unmounting partially mounted boot environment file systems
ERROR: No such file or directory: error unmounting <rpool/ROOT/zone_lu_test>
ERROR: umount: warning: rpool/ROOT/zone_lu_test not in mnttab
umount: rpool/ROOT/zone_lu_test no such file or directory
ERROR: cannot unmount <rpool/ROOT/zone_lu_test>
ERROR: cannot mount boot environment by name <zone_lu_test>


bash-3.00# zfs list
NAME                                         USED  AVAIL  REFER  MOUNTPOINT
patches                                     2.88G  4.93G  2.88G  /patches
rpool                                       6.63G  1.18G    40K  /rpool
rpool/ROOT                                  5.25G  1.18G    18K  legacy
rpool/ROOT/s10u6_recpatches                 1.40G  1.18G  4.49G  /
rpool/ROOT/s10u6_recpatches@zone_lu_test     116K      -  4.49G  -
rpool/ROOT/s10x_u6wos_07b                   3.86G  1.18G  3.81G  /
rpool/ROOT/s10x_u6wos_07b@s10u6_recpatches  50.5M      -  3.81G  -
rpool/ROOT/zone_lu_test                      172K  1.18G  4.49G  /b
rpool/dump                                   900M  1.18G   900M  -
rpool/export                                  37K  1.18G    19K  /export
rpool/export/home                             18K  1.18G    18K  /export/home
rpool/swap                                   512M  1.44G   244M  -
testpool                                     155M   202K   154M  /testpool
zone1                                        871M  1.10G   871M  /zone1
zone1/zoneroot                                18K  1.10G    18K  /zone1/zoneroot
zone1/zoneroot@zone_lu_test                     0      -    18K  -
zone1/zoneroot-zone_lu_test                     0  1.10G    18K  /zone1/zoneroot

bash-3.00# lumount
s10u6_recpatches on /

Also irgendwie scheint der lumount mit der Zone azf seperaten ZFS-Pool nicht zurecht zu kommen.

Fazit

Gibt es also tatsächlich nur upgrade-on-attach als funktionierende Variante für Zonen auf seperaten ZFS-Pools? Hat hier jemand Anregungen oder Erfahrungen? Bitte die Kommentarfunktion nutzen…

Comments 1 Kommentar »

Vorlesen mit webReader

Zuletzt habe ich darüber geschrieben wie man mit Vmware Server 2.01 und Solaris10 ein sog. “flying zones”-Szenario aufbauen kann. D.h. man installiert eine Solaris-Zone auf einer shared disk und kann dann  eine sog. Zonenmigration durchführen. D.h. die Zone und die Filesysteme der Zone werden am ersten Rechner exportiert und am zweiten Rechner wird das Ganze dann wieder importiert.

serielles Patching und Zonen

Ein leidiges Thema, insbesondere bei Solaris Zonen, ist das Installieren von Patches. In regelmäßigen Abständen wird man z.B. dazu angehalten das “recommended patch cluster” zu installieren. In der Regel befinden sich Kernelpatches in den Patch-Sammlungen, so dass eine Installation im Single-User-Modus erforderlich ist. Zudem müssen auch alle Zonen beim Patchen verfügbar sein (nicht detached!). Das Standard-Patchinstallationstool von Sun arbeitet dann die Patchinstallation sequentiell ab. Bei einer größeren Anzahl Zonen kann das u.U. zeitkrisch werden.

Parallel Patching, Solaris Liveupgrade, Neuerungen in Solaris10u6 10/08

Gute Neuigkeiten gibt es bei Jeff Victor. Demnächst soll also eine neue Version des patchadd-Kommandos das parallele Patchen von Zonen beherrschen. Aber auch das ist u.U. noch zu zeitinsiv. Seit längerem gibt es bereits die Software Solaris Liveupgrade, die zum Patchen oder Upgraden auf ein neues Release benutzt werden kann. Dabei wird zunächst vom laufenden Solaris eine Kopie erzeugt, ein sog. boot environment (BE), auf der dann die Patches bzw. das Upgrade angewendet werden. Das ganze passiert im normalen Onlinebetrieb. Ist die Aktionen abgeschlossen, wird vom alternativen BE gebootet. Gibt es Ärger hat man ein Fallback auf das verherige BE.

Zunächst wurde Liveupgrade “zone aware” gemacht. D.h. auch Zonen können seit einiger Zeit damit aktualisiert werden. Im Solaris10u6 kam dann die Unterstützung für ZFS-root (ZFS-Pool als Bootumgebung für das Rootfilesystem) und “upgrade-on-attach”. War eine Zone beim Upgrade detached und hat somit einen älteren Stand kann nun beim Attach die Aktualisierung nachgeholt werden.

Infos zum Thema gibt es hier:

Solaris 10 10/08 Installation Guide: Solaris Live Upgrade and Upgrade Planning

Solution  206844: Solaris[TM] Live Upgrade Software: Minimum Patch Requirements

Solaris Liveupgrade bei S10u6 im Praxiseinsatz

Ich möchte also nun die Umgebung aus dem letzten Artikel auf Basis Solaris10u6 mit Hilfe von Liveupgrade auf das aktuelle recommended patch cluster patchen.

bash-3.00# cat /etc/release
Solaris 10 10/08 s10x_u6wos_07b X86
Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
Use is subject to license terms.
Assembled 27 October 2008

# zoneadm list -cv
ID NAME             STATUS     PATH                           BRAND    IP
0 global           running    /                              native   shared
1 zone1            running    /zone1                         native   shared

# lustatus
ERROR: No boot environments are configured on this system
ERROR: cannot determine list of all boot environment names

# lucreate -n s10u6_recpatches
Checking GRUB menu…
Analyzing system configuration.
No name for current boot environment.
INFORMATION: The current boot environment is not named – assigning name <s10x_u6wos_07b>.
Current boot environment is named <s10x_u6wos_07b>.
Creating initial configuration for primary boot environment <s10x_u6wos_07b>.
The device </dev/dsk/c1t0d0s0> is not a root device for any boot environment; cannot get BE ID.
PBE configuration successful: PBE name <s10x_u6wos_07b> PBE Boot Device </dev/dsk/c1t0d0s0>.
Comparing source boot environment <s10x_u6wos_07b> file systems with the
file system(s) you specified for the new boot environment. Determining
which file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Updating system configuration files.
Creating configuration for boot environment <s10u6_recpatches>.
Source boot environment is <s10x_u6wos_07b>.
Creating boot environment <s10u6_recpatches>.
Cloning file systems from boot environment <s10x_u6wos_07b> to create boot environment <s10u6_recpatches>.
Creating snapshot for <rpool/ROOT/s10x_u6wos_07b> on <rpool/ROOT/s10x_u6wos_07b@s10u6_recpatches>.
Creating clone for <rpool/ROOT/s10x_u6wos_07b@s10u6_recpatches> on <rpool/ROOT/s10u6_recpatches>.
Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/s10u6_recpatches>.
Creating snapshot for <zone1> on <zone1@s10u6_recpatches>.
cannot create ‘.’: missing dataset name
Creating clone for <zone1@s10u6_recpatches> on <zone1-s10u6_recpatches>.
ERROR: cannot create ‘zone1-s10u6_recpatches’: missing dataset name
ERROR: Unable to clone <> on <>.
/usr/lib/lu/luclonefs: zone1@s10u6_recpatches: not found
cannot open ‘zone1-s10u6_recpatches’: dataset does not exist
cannot open ‘zone1-s10u6_recpatches’: dataset does not exist
cannot open ‘zone1-s10u6_recpatches’: dataset does not exist

Saving existing file </boot/grub/menu.lst> in top level dataset for BE <s10u6_recpatches> as <mount-point>//boot/grub/menu.lst.prev.
File </boot/grub/menu.lst> propagation successful
Copied GRUB menu from PBE to ABE
No entry for BE <s10u6_recpatches> in GRUB menu
Population of boot environment <s10u6_recpatches> successful.
Creation of boot environment <s10u6_recpatches> successful.

# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      yes    yes       no     -
s10u6_recpatches           yes      no     no        yes    -

bash-3.00# zpool list
NAME    SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
rpool  7.94G  6.78G  1.15G    85%  ONLINE  -
zone1  1.98G   546M  1.45G    26%  ONLINE  -

bash-3.00# zfs list
NAME                                         USED  AVAIL  REFER  MOUNTPOINT
rpool                                       7.07G   766M  38.5K  /rpool
rpool/ROOT                                  5.68G   766M    18K  legacy
rpool/ROOT/s10u6_recpatches                  156K   766M  3.77G  /a/
rpool/ROOT/s10x_u6wos_07b                   5.68G   766M  5.67G  /
rpool/ROOT/s10x_u6wos_07b@s10u6_recpatches  12.0M      -  3.77G  -
rpool/dump                                   900M   766M   900M  -
rpool/export                                  37K   766M    19K  /export
rpool/export/home                             18K   766M    18K  /export/home
rpool/swap                                   512M  1.03G   222M  -
zone1                                        546M  1.42G   545M  /zone1
zone1@s10u6_recpatches                       619K      -   545M  -

bash-3.00# cd /patches/10_x86_Recommended

bash-3.00# luupgrade -n s10u6_recpatches -s /patches/10_x86_Recommended -t `cat  patch_order`
System has findroot enabled GRUB
No entry for BE <s10u6_recpatches> in GRUB menu
Validating the contents of the media </patches/10_x86_Recommended>.
The media contains 152 software patches that can be added.
Mounting the BE <s10u6_recpatches>.
ERROR: unable to mount zones:
/a/zone1 must not be group readable.
/a/zone1 must not be group executable.
/a/zone1 must not be world readable.
/a/zone1 must not be world executable.

could not verify zonepath /a/zone1 because of the above errors.
zoneadm: zone zone1 failed to verify
ERROR: unable to mount zone <zone1> in </a>
ERROR: unmounting partially mounted boot environment file systems
ERROR: cannot mount boot environment by icf file </tmp/.luupgrade.beicf.4645>
cat: cannot open /tmp/.luupgrade.tmp.4645
ERROR: Unable to mount ABE disk slices: < >.
ERROR: Unable to mount the BE <s10u6_recpatches>.

bash-3.00# lumount s10u6_recpatches /a
ERROR: unable to mount zones:
/a/zone1 must not be group readable.
/a/zone1 must not be group executable.
/a/zone1 must not be world readable.
/a/zone1 must not be world executable.
could not verify zonepath /a/zone1 because of the above errors.
zoneadm: zone zone1 failed to verify
ERROR: unable to mount zone <zone1> in </a>
ERROR: unmounting partially mounted boot environment file systems
ERROR: No such file or directory: error unmounting <rpool/ROOT/s10u6_recpatches>
ERROR: umount: warning: rpool/ROOT/s10u6_recpatches not in mnttab
umount: rpool/ROOT/s10u6_recpatches no such file or directory
ERROR: cannot unmount <rpool/ROOT/s10u6_recpatches>
ERROR: cannot mount boot environment by name <s10u6_recpatches>

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      yes    yes       no     -
s10u6_recpatches           yes      no     no        yes    -

bash-3.00# ludelete s10u6_recpatches
System has findroot enabled GRUB
Checking if last BE on any disk…
ERROR: unable to mount zones:
/.alt.s10u6_recpatches/zone1 must not be group readable.
/.alt.s10u6_recpatches/zone1 must not be group executable.
/.alt.s10u6_recpatches/zone1 must not be world readable.
/.alt.s10u6_recpatches/zone1 must not be world executable.
could not verify zonepath /.alt.s10u6_recpatches/zone1 because of the above errors.
zoneadm: zone zone1 failed to verify
ERROR: unable to mount zone <zone1> in </.alt.s10u6_recpatches>
ERROR: unmounting partially mounted boot environment file systems
ERROR: No such file or directory: error unmounting <rpool/ROOT/s10u6_recpatches>
ERROR: umount: warning: rpool/ROOT/s10u6_recpatches not in mnttab
umount: rpool/ROOT/s10u6_recpatches no such file or directory
ERROR: cannot unmount <rpool/ROOT/s10u6_recpatches>
ERROR: cannot mount boot environment by name <s10u6_recpatches>
ERROR: Failed to mount BE <s10u6_recpatches>.
ERROR: Failed to mount BE <s10u6_recpatches>.
cat: cannot open /tmp/.lulib.luclb.dsk.5254.s10u6_recpatches
ERROR: This boot environment <s10u6_recpatches> is the last BE on the above disk.
ERROR: Deleting this BE may make it impossible to boot from this disk.
ERROR: However you may still boot solaris if you have BE(s) on other disks.
ERROR: You *may* have to change boot-device order in the BIOS to accomplish this.
ERROR: If you still want to delete this BE <s10u6_recpatches>, please use the force option (-f).
Unable to delete boot environment.

bash-3.00# ludelete -f s10u6_recpatches
System has findroot enabled GRUB
No entry for BE <s10u6_recpatches> in GRUB menu
Determining the devices to be marked free.
Updating boot environment configuration database.
Updating boot environment description database on all BEs.
Updating all boot environment configuration databases.
Boot environment <s10u6_recpatches> deleted.

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      yes    yes       no     -

bash-3.00# zfs list
NAME                        USED  AVAIL  REFER  MOUNTPOINT
rpool                      7.11G   715M  38.5K  /rpool
rpool/ROOT                 5.73G   715M    18K  legacy
rpool/ROOT/s10x_u6wos_07b  5.73G   715M  5.73G  /
rpool/dump                  900M   715M   900M  -
rpool/export                 37K   715M    19K  /export
rpool/export/home            18K   715M    18K  /export/home
rpool/swap                  512M   984M   243M  -
zone1                       546M  1.42G   545M  /zone1
zone1@s10u6_recpatches      619K      -   545M  -

bash-3.00# zfs destroy zone1@s10u6_recpatches

bash-3.00# zfs list
NAME                        USED  AVAIL  REFER  MOUNTPOINT
rpool                      7.11G   715M  38.5K  /rpool
rpool/ROOT                 5.73G   715M    18K  legacy
rpool/ROOT/s10x_u6wos_07b  5.73G   715M  5.73G  /
rpool/dump                  900M   715M   900M  -
rpool/export                 37K   715M    19K  /export
rpool/export/home            18K   715M    18K  /export/home
rpool/swap                  512M   984M   243M  -
zone1                       545M  1.42G   545M  /zone1

Na bravo! Das war ja der totale Reinfall…

Scheinbar kommt Liveupgrade nicht damit klar, dass die Zone in einem seperaten ZFS-Pool liegt. Das ist aber für die Zonenmigration unabdingbar.

neuer Versuch – Liveupgrade ohne Zonen, nur für ZFS-root

Dazu also erst einmal die Zone1 verschwinden lassen…

bash-3.00# zoneadm -z zone1 detach

bash-3.00# metaset -s zone1data -r

bash-3.00# metaset
Set name = zone1data, Set number = 1
Host                Owner
horst1
horst2
Drive    Dbase
c2t1d0   Yes
c3t1d0   Yes

bash-3.00# zpool export zone1

bash-3.00# zpool list
NAME      SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
patches  7.94G  2.69G  5.25G    33%  ONLINE  -
rpool    7.94G  4.93G  3.01G    62%  ONLINE  -

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      yes    yes       no     -

bash-3.00# lucreate -n s10u6_recpatches
Checking GRUB menu…
System has findroot enabled GRUB
Analyzing system configuration.
Comparing source boot environment <s10x_u6wos_07b> file systems with the
file system(s) you specified for the new boot environment. Determining
which file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Updating system configuration files.
Creating configuration for boot environment <s10u6_recpatches>.
Source boot environment is <s10x_u6wos_07b>.
Creating boot environment <s10u6_recpatches>.
Cloning file systems from boot environment <s10x_u6wos_07b> to create boot environment <s10u6_recpatches>.
Creating snapshot for <rpool/ROOT/s10x_u6wos_07b> on <rpool/ROOT/s10x_u6wos_07b@s10u6_recpatches>.
Creating clone for <rpool/ROOT/s10x_u6wos_07b@s10u6_recpatches> on <rpool/ROOT/s10u6_recpatches>.
Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/s10u6_recpatches>.
Saving existing file </boot/grub/menu.lst> in top level dataset for BE <s10u6_recpatches> as <mount-point>//boot/grub/menu.lst.prev.
File </boot/grub/menu.lst> propagation successful
Copied GRUB menu from PBE to ABE
No entry for BE <s10u6_recpatches> in GRUB menu
Population of boot environment <s10u6_recpatches> successful.
Creation of boot environment <s10u6_recpatches> successful.

Na gut, das Erstellen des alternate BE hat also soweit geklappt. Nun zum Patchen..

bash-3.00# cd /patches/10_x86_Recommended/

bash-3.00# luupgrade -n s10u6_recpatches -s /patches/10_x86_Recommended -t `cat  patch_order`
System has findroot enabled GRUB
No entry for BE <s10u6_recpatches> in GRUB menu
Validating the contents of the media </patches/10_x86_Recommended>.
The media contains 152 software patches that can be added.
Mounting the BE <s10u6_recpatches>.
Adding patches to the BE <s10u6_recpatches>.
Validating patches…
Loading patches installed on the system…
Done!
Loading patches requested to install.
Version of package SUNWmctag from directory SUNWmctag in patch 121212-02 differs from the package installed on the system.
Version of package SUNWmcosx from directory SUNWmcosx in patch 121212-02 differs from the package installed on the system.
Version of package SUNWmcon from directory SUNWmcon in patch 121212-02 differs from the package installed on the system.
Version of package SUNWmcos from directory SUNWmcos in patch 121212-02 differs from the package installed on the system.
Done!
The following requested patches have packages not installed on the system
Package SUNWgzipS from directory SUNWgzipS in patch 120720-02 is not installed on the system. Changes for package SUNWgzipS will not be applied to the system.
Package SUNWbzipS from directory SUNWbzipS in patch 126869-03 is not installed on the system. Changes for package SUNWbzipS will not be applied to the system.
Package SUNWbreg from directory SUNWbreg in patch 121454-02 is not installed on the system. Changes for package SUNWbreg will not be applied to the system.
Package SUNWdc from directory SUNWdc in patch 121454-02 is not installed on the system. Changes for package SUNWdc will not be applied to the system.
Package SUNWbreg from directory SUNWbreg in patch 121454-02 is not installed on the system. Changes for package SUNWbreg will not be applied to the system.
Package SUNWdc from directory SUNWdc in patch 121454-02 is not installed on the system. Changes for package SUNWdc will not be applied to the system.
Package SUNWsmaS from directory SUNWsmaS in patch 120273-25 is not installed on the system. Changes for package SUNWsmaS will not be applied to the system.
Package SUNWsmbaS from directory SUNWsmbaS in patch 119758-14 is not installed on the system. Changes for package SUNWsmbaS will not be applied to the system.
Package SUNWpostgr-jdbcS from directory SUNWpostgr-jdbcS in patch 123591-09 is not installed on the system. Changes for package SUNWpostgr-jdbcS will not be applied to the system.
Package SUNWpostgrS from directory SUNWpostgrS in patch 123591-09 is not installed on the system. Changes for package SUNWpostgrS will not be applied to the system.
Package SUNWpostgr-tclS from directory SUNWpostgr-tclS in patch 123591-09 is not installed on the system. Changes for package SUNWpostgr-tclS will not be applied to the system.
Package SUNWkxplt from directory SUNWkxplt in patch 120415-23 is not installed on the system. Changes for package SUNWkxplt will not be applied to the system.
Package SUNWinleu from directory SUNWinleu in patch 120415-23 is not installed on the system. Changes for package SUNWinleu will not be applied to the system.
Package SUNWhkleu from directory SUNWhkleu in patch 120415-23 is not installed on the system. Changes for package SUNWhkleu will not be applied to the system.
Package SUNWcxplt from directory SUNWcxplt in patch 120415-23 is not installed on the system. Changes for package SUNWcxplt will not be applied to the system.
Package SUNWhleu from directory SUNWhleu in patch 120415-23 is not installed on the system. Changes for package SUNWhleu will not be applied to the system.
Package SUNWhleu2 from directory SUNWhleu2 in patch 120415-23 is not installed on the system. Changes for package SUNWhleu2 will not be applied to the system.
Package SUNWkleu from directory SUNWkleu in patch 120415-23 is not installed on the system. Changes for package SUNWkleu will not be applied to the system.
Package SUNWtleu from directory SUNWtleu in patch 120415-23 is not installed on the system. Changes for package SUNWtleu will not be applied to the system.
Package SUNWhkplt from directory SUNWhkplt in patch 120415-23 is not installed on the system. Changes for package SUNWhkplt will not be applied to the system.
Package SUNWinplt from directory SUNWinplt in patch 120415-23 is not installed on the system. Changes for package SUNWinplt will not be applied to the system.
Package SUNWtxplt from directory SUNWtxplt in patch 120415-23 is not installed on the system. Changes for package SUNWtxplt will not be applied to the system.
Package SUNWhxplt from directory SUNWhxplt in patch 120415-23 is not installed on the system. Changes for package SUNWhxplt will not be applied to the system.
Package SUNWsunpinyin from directory SUNWsunpinyin in patch 120415-23 is not installed on the system. Changes for package SUNWsunpinyin will not be applied to the system.
Package SUNWsibi from directory SUNWsibi in patch 119082-25 is not installed on the system. Changes for package SUNWsibi will not be applied to the system.
Package SUNWapchS from directory SUNWapchS in patch 122912-15 is not installed on the system. Changes for package SUNWapchS will not be applied to the system.
Package SUNWgrubS from directory SUNWgrubS in patch 138884-01 is not installed on the system. Changes for package SUNWgrubS will not be applied to the system.
Package SUNWsibi from directory SUNWsibi in patch 124629-10 is not installed on the system. Changes for package SUNWsibi will not be applied to the system.
Package SUNWsibi from directory SUNWsibi in patch 119253-31 is not installed on the system. Changes for package SUNWsibi will not be applied to the system.
Package SUNWTkS from directory SUNWTkS in patch 137872-02 is not installed on the system. Changes for package SUNWTkS will not be applied to the system.
Package SUNWipmiS from directory SUNWipmiS in patch 119765-06 is not installed on the system. Changes for package SUNWipmiS will not be applied to the system.
Package SUNWj5jmp from directory SUNWj5jmp in patch 118668-19 is not installed on the system. Changes for package SUNWj5jmp will not be applied to the system.
Package SUNWpngS from directory SUNWpngS in patch 137081-01 is not installed on the system. Changes for package SUNWpngS will not be applied to the system.
Package SUNWsibi from directory SUNWsibi in patch 124631-24 is not installed on the system. Changes for package SUNWsibi will not be applied to the system.
Package SUNWgtarS from directory SUNWgtarS in patch 139100-01 is not installed on the system. Changes for package SUNWgtarS will not be applied to the system.
Package SUNWbindS from directory SUNWbindS in patch 119784-10 is not installed on the system. Changes for package SUNWbindS will not be applied to the system.
Package SUNWzebraS from directory SUNWzebraS in patch 126207-04 is not installed on the system. Changes for package SUNWzebraS will not be applied to the system.
Package SUNWcleu2 from directory SUNWcleu2 in patch 120413-09 is not installed on the system. Changes for package SUNWcleu2 will not be applied to the system.
Package SUNWmysqlS from directory SUNWmysqlS in patch 120293-02 is not installed on the system. Changes for package SUNWmysqlS will not be applied to the system.
Package SUNWimagickS from directory SUNWimagickS in patch 136883-02 is not installed on the system. Changes for package SUNWimagickS will not be applied to the system.
Package SUNWapch2S from directory SUNWapch2S in patch 120544-14 is not installed on the system. Changes for package SUNWapch2S will not be applied to the system.
Package SUNWlxmlS from directory SUNWlxmlS in patch 125732-04 is not installed on the system. Changes for package SUNWlxmlS will not be applied to the system.
The following requested patches are already installed on the system
Requested patch 120720-02 is already installed on the system.
Requested patch 121297-01 is already installed on the system.
Requested patch 122035-05 is already installed on the system.
Requested patch 118344-14 is already installed on the system.
Requested patch 118919-21 is already installed on the system.
Requested patch 120901-03 is already installed on the system.
Requested patch 121334-04 is already installed on the system.
Requested patch 123840-04 is already installed on the system.
Requested patch 127756-01 is already installed on the system.
Requested patch 117435-02 is already installed on the system.
Requested patch 121264-01 is already installed on the system.
Requested patch 119575-02 is already installed on the system.
Requested patch 113000-07 is already installed on the system.
Requested patch 138218-01 is already installed on the system.
Requested patch 121454-02 is already installed on the system.
Requested patch 121454-02 is already installed on the system.
Requested patch 118855-36 is already installed on the system.
Requested patch 126424-03 is already installed on the system.
Requested patch 122641-06 is already installed on the system.
Requested patch 125548-02 is already installed on the system.
Requested patch 125504-02 is already installed on the system.
Requested patch 120012-14 is already installed on the system.
Requested patch 127128-11 is already installed on the system.
Requested patch 119318-01 is already installed on the system.
Requested patch 123612-05 is already installed on the system.
Requested patch 123591-09 is already installed on the system.
Requested patch 128412-01 is already installed on the system.
Requested patch 125542-03 is already installed on the system.
Requested patch 121976-01 is already installed on the system.
Requested patch 138182-01 is already installed on the system.
Requested patch 120202-06 is already installed on the system.
Requested patch 119082-25 is already installed on the system.
Requested patch 138884-01 is already installed on the system.
Requested patch 137138-09 is already installed on the system.
Requested patch 124445-01 is already installed on the system.
Requested patch 126541-02 is already installed on the system.
Requested patch 136999-05 is already installed on the system.
Requested patch 137872-02 is already installed on the system.
Requested patch 138276-01 is already installed on the system.
Requested patch 119765-06 is already installed on the system.
Requested patch 138362-01 is already installed on the system.
Requested patch 119811-05 is already installed on the system.
Requested patch 120330-02 is already installed on the system.
Requested patch 138323-02 is already installed on the system.
Requested patch 128001-01 is already installed on the system.
Requested patch 124189-02 is already installed on the system.
Requested patch 138270-02 is already installed on the system.
Requested patch 119131-33 is already installed on the system.
Requested patch 119901-06 is already installed on the system.
Requested patch 137081-01 is already installed on the system.
Requested patch 123614-01 is already installed on the system.
Requested patch 138624-02 is already installed on the system.
Requested patch 118960-03 is already installed on the system.
Requested patch 128329-01 is already installed on the system.
Requested patch 136840-01 is already installed on the system.
Requested patch 121013-02 is already installed on the system.
Requested patch 119116-34 is already installed on the system.
Requested patch 124458-01 is already installed on the system.
Requested patch 124998-01 is already installed on the system.
Requested patch 138877-01 is already installed on the system.
Requested patch 126207-04 is already installed on the system.
Requested patch 120236-01 is already installed on the system.
Requested patch 138266-01 is already installed on the system.
Requested patch 138105-01 is already installed on the system.
Requested patch 127854-02 is already installed on the system.
Requested patch 138374-02 is already installed on the system.
Requested patch 137033-01 is already installed on the system.
Requested patch 119813-08 is already installed on the system.
Requested patch 120293-02 is already installed on the system.
Requested patch 123939-01 is already installed on the system.
Requested patch 137094-01 is already installed on the system.
Requested patch 121096-02 is already installed on the system.
Requested patch 124939-03 is already installed on the system.
Requested patch 119987-03 is already installed on the system.
Requested patch 137322-01 is already installed on the system.
Requested patch 119904-02 is already installed on the system.
Requested patch 120831-06 is already installed on the system.
Requested patch 126441-01 is already installed on the system.
Requested patch 125280-05 is already installed on the system.
The following requested patches do not update any packages installed on the system
No Packages from patch 121212-02 are installed on the system.
Checking patches that you specified for installation.
Done!
The following requested patches will not be installed because
they have been made obsolete by other patches already
installed on the system or by patches you have specified for installation.
0 All packages from patch 118844-20 are patched by higher revision patches.
1 All packages from patch 122661-08 are patched by higher revision patches.
2 All packages from patch 124205-05 are patched by higher revision patches.
The following requested patches will not be installed because
the packages they patch are not installed on this system.
0 No Packages from patch 120415-23 are installed on the system.
1 No Packages from patch 120413-09 are installed on the system.
Approved patches will be installed in this order:
126869-03 126420-02 119255-65 126539-02 121119-15 120273-25 119758-14 126366-14
120740-05 119060-45 120411-30 122912-15 141009-01 125556-02 137122-06 138628-07
124629-10 119253-31 138372-06 125540-06 137128-05 119214-18 140775-03 123896-10
118668-19 139499-04 121309-16 119314-26 122213-32 139463-02 125185-11 121395-03
138857-02 118669-19 140384-01 120200-15 124631-24 138264-03 139100-01 138286-02
119784-10 119091-32 138224-03 138882-02 139482-01 138242-05 140145-01 119247-35
120223-31 139580-02 125165-13 125953-18 139501-02 139561-02 125333-05 139484-05
141015-01 124394-09 140456-01 136883-02 120095-22 125720-28 120544-14 125732-04
126364-07 138254-02 138867-02 138889-08
Checking installed patches…
Verifying sufficient filesystem capacity (dry run method)…
Installing patch packages…
Patch 126869-03 has been successfully installed.
See /a/var/sadm/patch/126869-03/log for details
Patch packages installed:
SUNWbzip
SUNWsfman
Checking installed patches…
Verifying sufficient filesystem capacity (dry run method)…
Installing patch packages…
Patch 126420-02 has been successfully installed.
See /a/var/sadm/patch/126420-02/log for details
Patch packages installed:
SUNWcsr
SUNWcsu

Patch 138889-08 has been successfully installed.
See /a/var/sadm/patch/138889-08/log for details
Patch packages installed:
SUNWcakr
SUNWckr
SUNWcpcu
SUNWcsd
SUNWcsl
SUNWcslr
SUNWcsr
SUNWcsu
SUNWdtrc
SUNWesu
SUNWhea
SUNWib
SUNWibsdpib
SUNWipfh
SUNWipfu
SUNWmdb
SUNWmdbr
SUNWnxge
SUNWos86r
SUNWrds
SUNWroute
SUNWtavor
Unmounting the BE <s10u6_recpatches>.
The patch add to the BE <s10u6_recpatches> completed.

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      yes    yes       no     -
s10u6_recpatches           yes      no     no        yes    -

Nach dem erfolgreichen Patchen nun also vom neuen BE starten…

bash-3.00# luactivate s10u6_recpatches
System has findroot enabled GRUB
Generating boot-sign, partition and slice information for PBE <s10x_u6wos_07b>
Saving existing file </etc/bootsign> in top level dataset for BE <s10x_u6wos_07b> as <mount-point>//etc/bootsign.prev.
A Live Upgrade Sync operation will be performed on startup of boot environment <s10u6_recpatches>.

Generating boot-sign for ABE <s10u6_recpatches>
Saving existing file </etc/bootsign> in top level dataset for BE <s10u6_recpatches> as <mount-point>//etc/bootsign.prev.
Generating partition and slice information for ABE <s10u6_recpatches>
Copied boot menu from top level dataset.
Generating multiboot menu entries for PBE.
Generating multiboot menu entries for ABE.
Disabling splashimage
Re-enabling splashimage
No more bootadm entries. Deletion of bootadm entries is complete.
GRUB menu default setting is unaffected
Done eliding bootadm entries.

**********************************************************************

The target boot environment has been activated. It will be used when you
reboot. NOTE: You MUST NOT USE the reboot, halt, or uadmin commands. You
MUST USE either the init or the shutdown command when you reboot. If you
do not use either init or shutdown, the system will not boot using the
target BE.

**********************************************************************

In case of a failure while booting to the target BE, the following process
needs to be followed to fallback to the currently working boot environment:

1. Boot from Solaris failsafe or boot in single user mode from the Solaris
Install CD or Network.

2. Mount the Parent boot environment root slice to some directory (like
/mnt). You can use the following command to mount:

mount -Fzfs /dev/dsk/c1t0d0s0 /mnt

3. Run <luactivate> utility with out any arguments from the Parent boot
environment root slice, as shown below:

/mnt/sbin/luactivate

4. luactivate, activates the previous working boot environment and
indicates the result.

5. Exit Single User mode and reboot the machine.

**********************************************************************

Modifying boot archive service
Propagating findroot GRUB for menu conversion.
File </etc/lu/installgrub.findroot> propagation successful
File </etc/lu/stage1.findroot> propagation successful
File </etc/lu/stage2.findroot> propagation successful
File </etc/lu/GRUB_capability> propagation successful
Deleting stale GRUB loader from all BEs.
File </etc/lu/installgrub.latest> deletion successful
File </etc/lu/stage1.latest> deletion successful
File </etc/lu/stage2.latest> deletion successful
Activation of boot environment <s10u6_recpatches> successful.

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      yes    no        no     -
s10u6_recpatches           yes      no     yes       no     -

bash-3.00# init 6
updating /platform/i86pc/boot_archive

Achtung: Es muss zwingend mit init oder shutdown neu gestartet werden!

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      no     no        yes    -
s10u6_recpatches           yes      yes    yes       no     -

bash-3.00# zoneadm list -cv
ID NAME             STATUS     PATH                           BRAND    IP
0 global           running    /                              native   shared
- zone1            configured /zone1                         native   shared

bash-3.00# zpool import zone1

bash-3.00# zpool list
NAME      SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
patches  7.94G  2.69G  5.25G    33%  ONLINE  -
rpool    7.94G  6.36G  1.58G    80%  ONLINE  -
zone1    1.98G   547M  1.45G    26%  ONLINE  -

bash-3.00# metaset -s zone1data -t

bash-3.00# metaset
Set name = zone1data, Set number = 1
Host                Owner
horst1
horst2             Yes
Drive    Dbase
c2t1d0   Yes
c3t1d0   Yes

Patchen der Zone mit ugrade-on-attach

bash-3.00# zoneadm -z zone1 attach
These patches installed on the source system are inconsistent with this system:
118668: version mismatch
(17) (19)
118669: version mismatch
(17) (19)
119060: version mismatch
(44) (45)
119091: version mismatch
(31) (32)
119214: version mismatch
(17) (18)
119247: version mismatch
(34) (35)
119253: version mismatch
(29) (31)
119255: version mismatch
(59) (65)
119314: version mismatch
(24) (26)
119758: version mismatch
(12) (14)
119784: version mismatch
(07) (10)
120095: version mismatch
(21) (22)
120200: version mismatch
(14) (15)
120223: version mismatch
(29) (31)
120273: version mismatch
(23) (25)
120411: version mismatch
(29) (30)
120544: version mismatch
(11) (14)
120740: version mismatch
(04) (05)
121119: version mismatch
(13) (15)
121309: version mismatch
(14) (16)
121395: version mismatch
(01) (03)
122213: version mismatch
(28) (32)
122912: version mismatch
(13) (15)
123896: version mismatch
(05) (10)
124394: version mismatch
(08) (09)
124629: version mismatch
(09) (10)
124631: version mismatch
(19) (24)
125165: version mismatch
(12) (13)
125185: version mismatch
(08) (11)
125333: version mismatch
(03) (05)
125540: version mismatch
(04) (06)
125720: version mismatch
(24) (28)
125732: version mismatch
(02) (04)
125953: version mismatch
(17) (18)
126364: version mismatch
(06) (07)
126366: version mismatch
(12) (14)
126420: version mismatch
(01) (02)
126539: version mismatch
(01) (02)
126869: version mismatch
(02) (03)
136883: version mismatch
(01) (02)
137122: version mismatch
(03) (06)
137128: version mismatch
(02) (05)
138224: version mismatch
(02) (03)
138242: version mismatch
(01) (05)
138254: version mismatch
(01) (02)
138264: version mismatch
(02) (03)
138286: version mismatch
(01) (02)
138372: version mismatch
(02) (06)
138628: version mismatch
(02) (07)
138857: version mismatch
(01) (02)
138867: version mismatch
(01) (02)
138882: version mismatch
(01) (02)
These patches installed on this system were not installed on the source system:
125556-02
138889-08
139100-01
139463-02
139482-01
139484-05
139499-04
139501-02
139561-02
139580-02
140145-01
140384-01
140456-01
140775-03
141009-01
141015-01

bash-3.00# zoneadm -z zone1 attach -u
Getting the list of files to remove
Removing 1209 files
Remove 198 of 198 packages
Installing 1315 files
Add 198 of 198 packages
Updating editable files
The file </var/sadm/system/logs/update_log> within the zone contains a log of the zone update.

bash-3.00# zoneadm list -cv
ID NAME             STATUS     PATH                           BRAND    IP
0 global           running    /                              native   shared
- zone1            installed  /zone1                         native   shared

bash-3.00# zoneadm -z zone1 boot

bash-3.00# zlogin zone1
[Connected to zone 'zone1' pts/4]
Last login: Thu Apr  9 09:06:23 on pts/5
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
#
# exit
[Connection to zone 'zone1' pts/4 closed]

Upgrade-on-attach zum Patchen der Zone hat hier wunder geklappt.

weiterer Test nach Einspielen des recommended patch clusters

Nachdem nun Solaris10u6 mit neuestem recommended patch cluster installiert ist möchte ich das Liveupgrade inclusive Zone nochmals testen.

bash-3.00# lustatus
Boot Environment           Is       Active Active    Can    Copy
Name                       Complete Now    On Reboot Delete Status
————————– ——– —— ——— —— ———-
s10x_u6wos_07b             yes      no     no        yes    -
s10u6_recpatches           yes      yes    yes       no     -

bash-3.00# zoneadm list -cv
ID NAME             STATUS     PATH                           BRAND    IP
0 global           running    /                              native   shared
2 zone1            running    /zone1                         native   shared

bash-3.00# lucreate -n s10u6_zonetest
Checking GRUB menu…
System has findroot enabled GRUB
Analyzing system configuration.
Comparing source boot environment <s10u6_recpatches> file systems with the
file system(s) you specified for the new boot environment. Determining
which file systems should be in the new boot environment.
Updating boot environment description database on all BEs.
Updating system configuration files.
Creating configuration for boot environment <s10u6_zonetest>.
Source boot environment is <s10u6_recpatches>.
Creating boot environment <s10u6_zonetest>.
Cloning file systems from boot environment <s10u6_recpatches> to create boot environment <s10u6_zonetest>.
Creating snapshot for <rpool/ROOT/s10u6_recpatches> on <rpool/ROOT/s10u6_recpatches@s10u6_zonetest>.
Creating clone for <rpool/ROOT/s10u6_recpatches@s10u6_zonetest> on <rpool/ROOT/s10u6_zonetest>.
Setting canmount=noauto for </> in zone <global> on <rpool/ROOT/s10u6_zonetest>.
Creating snapshot for <zone1> on <zone1@s10u6_zonetest>.
cannot create ‘.’: missing dataset name
Creating clone for <zone1@s10u6_zonetest> on <zone1-s10u6_zonetest>.
ERROR: cannot create ‘zone1-s10u6_zonetest’: missing dataset name
ERROR: Unable to clone <> on <>.
/usr/lib/lu/luclonefs: zone1@s10u6_zonetest: not found
cannot open ‘zone1-s10u6_zonetest’: dataset does not exist
cannot open ‘zone1-s10u6_zonetest’: dataset does not exist
cannot open ‘zone1-s10u6_zonetest’: dataset does not exist

Saving existing file </boot/grub/menu.lst> in top level dataset for BE <s10x_u6wos_07b> as <mount-point>//boot/grub/menu.lst.prev.
Saving existing file </boot/grub/menu.lst> in top level dataset for BE <s10u6_zonetest> as <mount-point>//boot/grub/menu.lst.prev.
File </boot/grub/menu.lst> propagation successful
Copied GRUB menu from PBE to ABE
No entry for BE <s10u6_zonetest> in GRUB menu
Population of boot environment <s10u6_zonetest> successful.
Creation of boot environment <s10u6_zonetest> successful.
bash-3.00#

bash-3.00# ludelete -n s10u6_zonetest -f
System has findroot enabled GRUB
No entry for BE <s10u6_zonetest> in GRUB menu
Determining the devices to be marked free.
Updating boot environment configuration database.
Updating compare databases on boot environment <s10x_u6wos_07b>.
Updating boot environment description database on all BEs.
Updating all boot environment configuration databases.
Boot environment <s10u6_zonetest> deleted.

bash-3.00# zfs destroy zone1@s10u6_zonetest

Tja, auch nach Installieren der aktuell empfohlen Patches klappt das nicht wie gewünscht.

Hat jemand zu diesem Thema eigene Erfahrungen oder Workarounds? Auf Kommentare oder Tips würde ich mich freuen…

Comments Kommentare deaktiviert