Version 3.1-en
Solaris 10 Container Guide - 3.1 5. Cookbooks
Next, the zone is to be transported to a sun4v system named bashful. To do so, the contents and
the configuration are saved:
root@tiger [23] # cd /zone
root@tiger [23] # tar cEvf u0.tar u0
root@tiger [24] # zonecfg -z u0 export >u0.export
The zone is created by means of the saved configuration:
root@bashful [40] # zonecfg -z u0v </net/tiger/zone/u0.export
u0v: No such zone configured
Use 'create' to begin configuring a new zone.
The root of the zone is installed from the tar-archive:
root@bashful [41] # cd /zone
root@bashful [42] # tar xEf /net/tiger/zone/u0.tar
And the last step is adapting the HW-architecture:
root@bashful [43] # zoneadm -z u0v attach -u /zone/u0
zoneadm: zone 'u0v': The zone was not properly detached.
Attempting to attach anyway.
WARNING: package operation in progress on the following packages:
SUNWcsr SUNWcslr SUNWmlibk SUNWmlibl TSBWvplr FJSVs8brandr FJSVhea
SUNWxwplt
SUNWxorg-cfg
SUNWxorg-client-docs
SUNWapchu SUNWapchd SUNWtcatu SUNWapch2u SUNWapch2d SUNWcsl SUNWcsu
SUNWdtrc
SUNWPython
SUNWupdatemgru
SUNWhea
SUNWcry
SUNWiiimu SUNWlxsl SUNWlxml SUNWprd SUNWj5rt SUNWj5rt:none SUNWj5rtx
SUNWj5dmo
SUNWj5dmx
SUNWfirefox
SUNWnfssu
SUNWkdcu SUNWnisu SUNWdpl SUNWpsu SUNWmdb SUNWpr SUNWpprou SUNWppro-
plugin-sunos-base
SUNWgnome-desktop-prefs
SUNWxim
SUNWxi18n
SUNWdclnt SUNWwbmc SUNWlvmg SUNWwbapi SUNWwbcou SUNWmgapp SUNWtlsu
SUNWsfwhea
SUNWopenssl-include
editor SUNWgcmn SUNWxwrtl SUNWPython-share SUNWsfman SUNWgnome-panel-
share
SUNWgnome-desktop-prefs-share
SUNWgnome-img-viewer-share SUNWgnome-display-mgr-share SUNWgnome-img-
editor-share
SUNWgnome-session-share SUNWxvnc SUNWmctag SUNWmcon SUNWucbt SUNWxcu6
Getting the list of files to remove
Removing 5 files
Remove 53 of 53 packages
Installing 12 files
Add 21 of 21 packages
Updating editable files
The file </var/sadm/system/logs/update_log> within the zone contains a
log of the zone update.
The last lines show the adaptation.
For this test, two additional packages had originally been installed on the computer "tiger" that had to
be removed first (command p k g r m ) for z o n e ad m at t ac h -u to work. Thus, it is important for
the package and the patch status to be identical if possible, or that the target system represents an
upgrade and not a downgrade in any package, because the update process is not able to handle that.
SUNWxwinc
SUNWxorg-doc
SUNWwbdev
SUNWdtdte
SUNWdttsu
SUNWfirefox-devel
SUNWj5dev
SUNWzfsu
SUNWpcu
SUNWsmcmd
SUNWxwice
FJSVxwpsr
SUNWgnome-libs-share
SUNWxorg-xkb
SUNWxorg-devel-docs
SUNWdtcor
SUNWodtts
SUNWfmd
SUNWj5man
SUNWbzip
SUNWkrbu
SUNWgnome-libs
SUNWlvma
SUNWxwfnt
SUNWplow
SUNWtltkm
SUNWimagick
SUNWsmbau
SUNWbind
SUNWjss
SUNWgnome-file-mgr-share
Effective: 30/11/2009
# zone sichern
# Konfiguration
SUNWxorg-server
SUNWxwpmn
SUNWdtbas
SUNWnamdt
SUNWdtdst
SUNWdtma
SUNWgnome-panel-devel
SUNWesu
SUNWmdu
SUNWipfu
SUNWsshcu
SUNWmcos
SUNWxwopt
SUNWxwacx
TSBWvplu
SUNWppm
SUNWgnome-img-
SUNWgnome-themes-share
103
Need help?
Do you have a question about the SOLARIS 10 and is the answer not in the manual?