Sbadmin solaris zones guide, Full system backup of non-global zones, Solaris 10 global zone – Storix Software SBAdmin Solaris Zones Guide User Manual

Page 2: Solaris 11 global zone

Advertising
background image

Storix System Backup Administrator

2

Solaris Zones User Guide

Copyright © 2014 Storix, Inc.

Storix is a registered trademark of Storix, Inc in the USA. SBAdmin is a trademark of Storix, Inc in the USA and other countries

SBAdmin Solaris Zones Guide

The purpose of this guide is to describe the use of SBAdmin in a Solaris environment where non-global zones are
present, and to define what aspects of system recovery are and are not supported when using SBAdmin with non-
global zones. This guide does not include all the features and options available with SBAdmin, but is intended to be
used as an addendum to the

SBAdmin User Guide

and

SBAdmin Solaris System Recovery Guide

.

Full System Backup of Non-Global Zones

Non-global zones may only be backed up as part of the global zone backup. It is not possible to install SBAdmin
directly into a non-global zone. When performing a full system type backup of the global zone, all non-global
zones will be backed up unless otherwise excluded. The non-global zones included in the backup may be
running or shutdown.

Performing a system backup and recovery of the global zone is done in the same manner as other Solaris
system backups. Refer to the

SBAdmin Solaris System Recovery Guide

for additional details.

Excluding Non-global Zones in the Global Zone Backup

To exclude non-global zone data from a full-system backup of the global zone, it is necessary to determine
all mount points and/or ZFS datasets that are used by the non-global zone. These mount points can then
be added to an exclude list and applied to a backup job. Refer to the

SBAdmin Solaris System Recovery

Guide

for additional information on creating exclude lists. To determine which mount points are used by

non-global zones, use the “df –Z” command on the global zone.

System Recovery of Global Zone with Non-global Zones

Solaris 10 Global Zone

After performing system recovery of a Solaris 10 global zone, all non-global zones will start with no
additional steps. If the non-global zone is set to auto-boot, it will boot automatically after the global zone is
restored. If the non-global zone is not set to auto-boot it may be started with the zoneadm command.

Solaris 11 Global Zone

After restoring a Solaris 11 global zone, it is necessary to detach and reattach non-global zones before
they will boot. The non-global zones configured to auto-boot may require updating the /var ZFS dataset
mountpoint property
. Using the zfs command, check the mountpoint property of all zoned filesystems.
The following is example output for a non-global zone named “z1”.

root@solaris:~# zfs get –r mountpoint rpool/zones/z1

NAME

VALUE

rpool/zones/z1

/zones/z1

rpool/zones/z1/rpool

/zones/z1/root/rpool

rpool/zones/z1/rpool/ROOT

legacy

rpool/zones/z1/rpool/ROOT/solaris

/zones/z1/root

rpool/zones/z1/rpool/ROOT/solaris/var

Advertising