Skip Navigation Links | |
Exit Print View | |
Transitioning From Oracle Solaris 10 to Oracle Solaris 11 Oracle Solaris 11 Information Library |
1. Transitioning From Oracle Solaris 10 to Oracle Solaris 11 (Overview)
2. Transitioning to an Oracle Solaris 11 Installation Method
Oracle Solaris 11 Package Changes
Oracle Solaris 10 SVR4 and IPS Package Comparison
IPS Installation Package Groups
Displaying Information About Software Packages
Updating the Software on Your Oracle Solaris 11 System
Installing Maintenance Updates on an Oracle Solaris 11 System
How to Configure the Oracle Solaris support Repository
7. Managing Network Configuration
8. Managing System Configuration
10. Managing Oracle Solaris Releases in a Virtual Environment
11. User Account Management and User Environment Changes
12. Using Oracle Solaris Desktop Features
A. Transitioning From Previous Oracle Solaris 11 Releases to Oracle Solaris 11
Previously, you could perform a live upgrade or use the patchadd command to update your BE. In Oracle Solaris 11, the pkg update command is used to update a BE, or you can use the beadm command set to create, display, and remove BEs.
In Oracle Solaris 11, the beadm utility replaces the lu set of commands for managing ZFS BEs. In addition, the pkg update command updates your existing BE and creates a clone BE, if necessary.
Table 6-2 Comparison of Boot Environment Command Syntax
|
See Creating and Administering Oracle Solaris 11 Boot Environments and beadm(1M).
The system performs the following actions:
Creates a clone of the current BE that is a bootable image.
Updates the packages in the clone BE, but does not update any packages in the current BE.
Sets the new BE as the default boot choice the next time the system is booted. The current BE remains as an alternate boot choice.
Use the beadm command to create, rename, mount, unmount, activate, or destroy BEs. You can use the Package Manager to activate, rename, and delete BEs.
After a system is installed, the following root pool file systems and components are available:
# zfs list -r rpool NAME USED AVAIL REFER MOUNTPOINT rpool 5.41G 67.4G 74.5K /rpool rpool/ROOT 3.37G 67.4G 31K legacy rpool/ROOT/solaris 3.37G 67.4G 3.07G / rpool/ROOT/solaris/var 302M 67.4G 214M /var rpool/dump 1.01G 67.5G 1000M - rpool/export 97.5K 67.4G 32K /rpool/export rpool/export/home 65.5K 67.4G 32K /rpool/export/home rpool/export/home/admin 33.5K 67.4G 33.5K /rpool/export/home/admin rpool/swap 1.03G 67.5G 1.00G -
rpool – Is a mount point containing boot-related components.
rpool/ROOT – Is a special component that is not accessible and requires no administration.
rpool/ROOT/solaris – Is the actual root ZFS BE, which is accessible from the / directory.
rpool/ROOT/solaris/var – Is the separate var file system.
rpool/dump – Is the dump volume.
rpool/swap – Is the swap volume.
rpool/export/home – Is a default mount point for home directories. In an enterprise environment with many users, you might consider moving export/home to another pool.
To update a ZFS boot environment, use the pkg update command. If you update a ZFS BE by using pkg update, a new BE is created and automatically activated. If the updates to the existing BE are minimal, a backup BE is created before the updates are applied. The pkg update command displays whether a backup BE or a new BE is created.
# beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- solaris NR / 12.24G static 2011-10-04 09:42
In the above output, NR means the BE is active now and will be the active BE on reboot.
# pkg update Packages to remove: 117 Packages to install: 186 Packages to update: 315 Create boot environment: Yes DOWNLOAD PKGS FILES XFER (MB) Completed 618/618 29855/29855 600.7/600.7 . . .
If your existing BE name is solaris, a new BE, solaris-1, is created and automatically activated after the pkg update operation is complete.
# init 6 . . . # beadm list BE Active Mountpoint Space Policy Created -- ------ ---------- ----- ------ ------- solaris NR / 12.24G static 2011-10-04 09:42 solaris-1 - - 6.08G static 2011-10-11 10:42
# beadm activate solaris # init 6