solaris.pro / Field manuals / Software

Boot Environments and rollback

Stage updates with bootable ZFS environments

Scope: Oracle Solaris 11.4 and, for LDoms, compatible SPARC hardware with Oracle VM Server for SPARC. Examples are educational: verify release, privileges, target names and backups before running changes.

How it works

What a BE is

A boot environment is a bootable OS instance; it supports safer update/rollback workflows.

Activation

Creating a BE does not mean it will be selected at the next boot.

Recovery

Test alternate BE boot paths and keep capacity for snapshots and clones.

Worked examples

Each example explains the question it answers, a reproducible starting point, what to look for, and operational precautions.

1. List environments

Use this as a starting point for list environments.

beadm list

Interpretation: Check command output against the expected host configuration; record the before/after state.

Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.

2. Create safety BE

Use this as a starting point for create safety be.

beadm create pre-maintenance

Interpretation: Check command output against the expected host configuration; record the before/after state.

Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.

3. Inspect active BE

Use this as a starting point for inspect active be.

beadm list -a

Interpretation: Check command output against the expected host configuration; record the before/after state.

Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.

4. Activate alternate BE

Use this as a starting point for activate alternate be.

beadm activate pre-maintenance

Interpretation: Check command output against the expected host configuration; record the before/after state.

Operational note: Run commands in a test environment first; confirm device names, privileges and release-specific options.

Primary documentation

Read the relevant Oracle documentation for exact version-specific flags, supported platforms and limitations: Oracle primary reference ↗.

This field manual is independent, not affiliated with or endorsed by Oracle. Command examples should be adapted to your environment.