You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Shut down and detach any _ipkg_ branded zones (NB: linked zones such as
68
-
the _lipkg_ and _sparse_ brands do **not** need to be detached):
69
-
```terminal
70
-
# zoneadm -z <zonename> shutdown
71
-
... use the following command to check when the zone has shut down ...
72
-
# zoneadm -z <zonename> list -v
73
-
# zoneadm -z <zonename> detach
74
-
```
75
-
It is also a good idea to take a ZFS snapshot of the zone root in
76
-
case it's needed for rollback (such as if there are issues with the zone
77
-
upgrade.)
78
-
```terminal
79
-
# zfs snapshot -r /path/to/zone@<old-release>
80
-
```
67
+
* If you have any _ipkg_ branded zones,
68
+
[detach them following the instructions below](#detach).
81
69
82
70
* Perform the update, optionally specifying the new boot-environment name:
83
71
```terminal
@@ -92,22 +80,40 @@ the _lipkg_ and _sparse_ brands do **not** need to be detached):
92
80
# init 6
93
81
```
94
82
95
-
*Re-attach any _ipkg_ zones:
83
+
*If applicable, re-attach any _ipkg_ zones:
96
84
```terminal
97
85
# zoneadm -z <zonename> attach -u
98
86
```
99
87
88
+
<aname="detach"></a>
89
+
### _ipkg_-branded zones **only** - detach procedure
90
+
91
+
For _ipkg_ branded zones only, it is necessary to shut down and detach prior
92
+
to upgrading:
93
+
```terminal
94
+
# zoneadm -z <zonename> shutdown
95
+
... use the following command to check when the zone has shut down ...
96
+
# zoneadm -z <zonename> list -v
97
+
# zoneadm -z <zonename> detach
98
+
```
99
+
It is also a good idea to take a ZFS snapshot of the zone root in
100
+
case it's needed for rollback (such as if there are issues with the zone
101
+
upgrade.)
102
+
```terminal
103
+
# zfs snapshot -r /path/to/zone@<old-release>
104
+
```
105
+
100
106
### Troubleshooting
101
107
102
-
In case a boot environment (BE) is not updating to the latest release, try to enable an older BE (in the example below `omnios-r151044`) and reboot. Then, update the BE.
103
-
Make sure to use a new BE for the update.
108
+
In case a boot environment (BE) is not updating to the latest release, try to enable an older BE (in the example below `omnios-r151044`) and reboot. Then, update the BE.
0 commit comments