Posts

Showing posts from November, 2012

Solaris 11 usful commands

root@edus007 :~#  beadm list BE        Active Mountpoint Space   Policy Created          --        ------ ---------- -----   ------ -------          solaris   -      -          36.08M  static 2012-11-09 12:48 solaris-1 -      -          699.78M static 2012-11-09 15:27 solaris-2 -      -          700.16M static 2012-11-09 16:29 solaris-3 -      -          700.18M static 2012-11-09 17:13 solaris-4 -      -          22.08M  static 2012-11-09 22:28 solaris-5 NR     /          10.74G  static 2012-11-10 00:56 root@edus007:/zpool #  pkg update No updates available for this image. Planning linked: 0/4 done; 1 working: zone:dubus004vm Linked image 'zone:dubus004vm' output: | No updates available for this image. ` Planning linked: 1/4 done; 1 working: zone:dubus001vm Linked image 'zone:dubus001vm' output: | No updates available for this image. ` Planning linked: 2/4 done; 1 working: zone:dubus003vm Linked image 'zone:dubus003vm' output: | No updates

Install Solaris 11 zone

1> On the solaris 11 hosts, always update to latest version before installing the zone(s) root@edus007:/zpool # pkg update root@edus007:/zpool # pkg list -u pkg: no packages have newer versions available root@edus007:/zpool # pkg info -r system/zones           Name: system/zones        Summary: Solaris Zones configuration and administration    Description: The Solaris Zones partitioning technology is used to virtualize                 operating system services and provide an isolated, secure,                 lightweight, and high performance environment for running                 applications.  A zone is a virtualized operating system                 environment created within a single instance of the operating                 system.       Category: System/Core          State: Installed      Publisher: solaris        Version: 0.5.11  Build Release: 5.11         Branch: 0.175.1.0.0.24.2 Packaging Date: September 19, 2012 06:53:03 PM           Size: 3.50 MB           FMRI: pkg://s

Install solaris 10 zone in Solaris 11

Three Steps: 1> Download the Oracle VM Template for Oracle Solaris Zone 10 from OTN at http://www.oracle.com/technetwork/server-storage/solaris11/downloads/virtual-machines-1355605.html 2> Install prerequisites The README file tells you to install the prerequisite Solaris 11 package that implements the Solaris 10 brand. Then you can install instances of zones with that brand. # pkg install pkg:/system/zones/brand/brand-solaris10 Packages to install: 1 Create boot environment: No Create backup boot environment: Yes DOWNLOAD PKGS FILES XFER (MB) Completed 1/1 44/44 0.4/0.4 PHASE ACTIONS Install Phase 74/74 PHASE ITEMS Package State Update Phase 1/1 Image State Update Phase 2/2 That took only a few minut