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.
3> runt his command:
./solaris-10u10-sparc.bin -p /zpool -a IP_ADDRESS -i NIC_INT -z HOSTNAME
For example: ./solaris-10u10-sparc.bin -p /zpool -a xxxxxx -i net0 -z dubus006vm
root@edus007:/tmp# ./solaris-10u10-sparc.bin -p /zpool -a xxx.xxx.xxx.xxx -i net0 -z dubus006vm
This is an Oracle VM Template for Oracle Solaris Zones.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license
agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly
permitted in your license agreement or allowed by law, you may not
use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any
part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by
law for interoperability, is prohibited.
Checking disk-space for extraction
Ok
Extracting in /tmp/bootimage.HTaGmG ...
100% [===============================>]
Checking data integrity
Ok
Checking platform compatibility
The host and the image do not have the same Solaris release:
host Solaris release: 5.11
image Solaris release: 5.10
Will create a Solaris 10 branded zone.
IMAGE: ./solaris-10u10-sparc.bin
ZONE: dubus006vm
ZONEPATH: /zpool/dubus006vm
INTERFACE: net0
VNIC: vnicZBI4412
MAC ADDR: 2:8:20:6c:73:fe
IP ADDR: xxx.xxx.xxx.xxx
NETMASK: 255.0.0.0
DEFROUTER: xxx.xxx.xxx.xxx
TIMEZONE: US/Eastern
Checking disk-space for installation
Ok
Installing in /zpool/dubus006vm ...
100% [===============================>]
Using a static exclusive-IP
Attaching dubus006vm
Booting dubus006vm
Waiting for boot to complete
booting...
booting...
booting...
booting...
Zone dubus006vm booted
The zone's root password has been set using the
root password of the local host.
You can change the zone's root password to
further harden the security of the zone: being
root, log into the zone from the local host
with the command 'zlogin dubus006vm'.
Once logged in, change the root password with the
command 'passwd'.
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/2That took only a few minutes, and didn't require a reboot.
3> runt his command:
./solaris-10u10-sparc.bin -p /zpool -a IP_ADDRESS -i NIC_INT -z HOSTNAME
For example: ./solaris-10u10-sparc.bin -p /zpool -a xxxxxx -i net0 -z dubus006vm
root@edus007:/tmp# ./solaris-10u10-sparc.bin -p /zpool -a xxx.xxx.xxx.xxx -i net0 -z dubus006vm
This is an Oracle VM Template for Oracle Solaris Zones.
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license
agreement containing restrictions on use and disclosure and are
protected by intellectual property laws. Except as expressly
permitted in your license agreement or allowed by law, you may not
use, copy, reproduce, translate, broadcast, modify, license,
transmit, distribute, exhibit, perform, publish, or display any
part, in any form, or by any means. Reverse engineering,
disassembly, or decompilation of this software, unless required by
law for interoperability, is prohibited.
Checking disk-space for extraction
Ok
Extracting in /tmp/bootimage.HTaGmG ...
100% [===============================>]
Checking data integrity
Ok
Checking platform compatibility
The host and the image do not have the same Solaris release:
host Solaris release: 5.11
image Solaris release: 5.10
Will create a Solaris 10 branded zone.
IMAGE: ./solaris-10u10-sparc.bin
ZONE: dubus006vm
ZONEPATH: /zpool/dubus006vm
INTERFACE: net0
VNIC: vnicZBI4412
MAC ADDR: 2:8:20:6c:73:fe
IP ADDR: xxx.xxx.xxx.xxx
NETMASK: 255.0.0.0
DEFROUTER: xxx.xxx.xxx.xxx
TIMEZONE: US/Eastern
Checking disk-space for installation
Ok
Installing in /zpool/dubus006vm ...
100% [===============================>]
Using a static exclusive-IP
Attaching dubus006vm
Booting dubus006vm
Waiting for boot to complete
booting...
booting...
booting...
booting...
Zone dubus006vm booted
The zone's root password has been set using the
root password of the local host.
You can change the zone's root password to
further harden the security of the zone: being
root, log into the zone from the local host
with the command 'zlogin dubus006vm'.
Once logged in, change the root password with the
command 'passwd'.
Comments