Upgrade zone attach/detach

Since the Solaris 10 5/08 Operating System (Solaris 10 5/08 s10s_u5wos_10 SPARC ==> 10_u5), system administrators have had the ability to detach and attach zones, that is, detach a zone from one system and attach it to another. Some restrictions applied with the initial functionality, in that the source and destination system where the non-global zone was being attached had to have the same software level in terms of package versions, patch levels, and architecture. In other words you couldn't move a zone from a sun4v system to a sun4u system or from a prior Solaris release to the current Solaris update release but later updates this is possible now.

In the Solaris 10 10/08 release (Solaris 10 10/08 s10s_u6wos_07b SPARC ==> 10_u6), new functionality was provided by way of the "update on attach" command, the -u argument to zoneadm attach.

Upgrade zones -

Shutdown the zones -

root:XXXXXX:/ # zlogin XXXXXX-z1 shutdown -y -g0 -i 0
root:XXXXXX:/ # zlogin XXXXXX-z2 shutdown -y -g0 -i 0

root:XXXXXX:/ # zoneadm list -icv
  ID NAME             STATUS     PATH                           BRAND    IP
   0 global           running    /                              native   shared
   - XXXXXX-z1      installed  /zones/XXXXXX-z1             native   shared
   - XXXXXX-z2      installed  /zones/XXXXXX-z2             native   shared


Detach the zones -

root:XXXXXX:/ # zoneadm -z XXXXXX-z1 detach
root:XXXXXX:/ # zoneadm -z XXXXXX-z2 detach

Attach the zones -

root:XXXXXX:/ # zoneadm -z XXXXXX-z1 attach -U
root:XXXXXX:/ # zoneadm -z XXXXXX-z2 attach -U


BEFORE:

root:XXXXXX-z1:$PWD # head -1 /etc/release
                   Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC

AFTER:

root:XXXXXX-z1:$PWD # head -1 /etc/release
                   Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC

Comments

Popular posts from this blog

Understanding How ZFS Calculates Used Space

Restart autosys agent

How To Verify Remote System Controller (RSC) is Configured and Current on Sun Fire[TM] 280R/V480/V490/V880/V890 servers