You are on page 1of 9

Software Download

You can download Solaris 8 Containers 1.0


The software download site for patches is SunSolve. On that site, you can view the
download instructions and download the images.
Solaris 10 Patch Requirements and Compatibility
Solaris 8 Containers 1.0 are supported on the 1!111"01 SunOS #.10$ or later %ernel
patches.
Solaris 10 Patch Requirements and Compatibility if Running a Prior Release
The 18#&8"0 patch allows earlier versions of the Solaris 8 Container product, called
Solaris 8 'igration (ssistant 1.0, to )e run on Solaris 10 8*0! with 1!111"01 and all
su)se+uent %ernel patches and Solaris 10 updates. All users are required to install the
patch or a later revision if available to have a supportable configuration!
The patch can )e found on SunSolve.
,f the patch is not installed, the product is only supported on the following set of Solaris
10 patches$
1!111"01 SunOS #.10$ %ernel patch
1!111"0 SunOS #.10$ %ernel patch
1!111"0- SunOS #.10$ %ernel patch
"nstalling the Solaris # Containers 1!0 Software on the Solaris 10 $ost System
1. .ecome superuser, or assume the /rimary (dministrator role.
. ,nstall the Solaris 10 8*0! or later release on the target system.
-. ,nstall the patch 1!111"01 or later in the glo)al 0one and re)oot. The patch is
availa)le from SunSolve.
global# patchadd -G 127111-01
&. To view the patch on the system, use$
patchadd -p | grep 127111-01
#. Optional1 ,f you plan to install the 0one )y using the sample solaris8 system
image archive, solaris8-image.flar, the file is availa)le for download from the
Software 2ownload Center 3S24C1 page for the Solaris 8 Containers 1.0 product.
Copy the file either to the Solaris 10 system, or to an 56S server accessi)le to the
system.
7. ,nstall the pac%ages SUNWs8brandr and SUNWs8brandu in the following order.
# pkgadd -d /path/to/media SUNWs8brandr
...
Installation of <SUNWs8brandr> was successful.
# pkgadd -d /path/to/media SUNWs8brandu
...
Installation of <SUNWs8brandu> was successful.
The file is availa)le for download from the Software 2ownload Center 3S24C1 page for
the Solaris 8 Containers 1.0 product.
!. 3Optional1 ,f you plan to install the 0one )y using the sample solaris8 system
image archive, solaris8-image.flar, the file is availa)le for download from the
Software 2ownload Center 3S24C1 page for the Solaris 8 Containers 1.0 product.
Copy the file either to the Solaris 10 system, or to an 56S server accessi)le to the
system.
Assess the Solaris # System
89amine the source system and collect needed information.
O)tain the hostname$
hostname
O)tain the host ,2$
hostid
(lso see :ost ,2 8mulation.
O)tain the ;/C domainname$
domainname
O)tain the root password.
<iew the software )eing run on the system$
ps -ef
Chec% the networ%ing utili0ed on the system$
ifconfig -a
<iew the storage utili0ed, for e9ample, )y viewing the contents of /etc/vfstab.
<iew the amount of local dis% storage in use, which determines the si0e of the
archive$
df -k
2etermine the patches that are on the system$
patchadd -p
89amine the contents of /etc/system.
Creating the "mage for Directly %igrating Solaris # Systems "nto &ones
You can use the 6lash (rchiving tools to create an image of an installed Solaris 8 *0&
system that can )e migrated into a 0one. ,f your Solaris 8 system is patched to the latest
recommended list and the SUNWinst pac%age is installed, you already have these tools
installed.
The image can )e fully configured with all of the software that will )e run in the 0one.
This image is used )y the installer when the 0one is installed.
See 89ample #=1 for information on the installer.
$ow to 'se flarcreate to Create the "mage
>se this process to create the Solaris 8 *0& or later system image. This e9ample
procedure uses 56S to place the flash archive on the target Solaris 10 system, )ut you
could use any method to move the files.
You must )e the glo)al administrator in the glo)al 0one to perform this procedure.
1. .ecome superuser, or assume the /rimary (dministrator role.
. 4og into the Solaris 8 *0& or later system to archive.
-. Change directories to the root directory.
# cd /
&. >se flarcreate to create a flash archive image file named s8-system, and place
the archive onto the Solaris 10 system$
s8-system # flarcreate -S -n s8-system /net/s10system/export/s8-system.flar
Determining which filesystems will be included in the archive...
Creating the archive...
cpio: File size of "etc/mnttab" has
increased by 435
2068650 blocks
1 error(s)
Archive creation complete.
>se the zonecfg command to create an s8 0one.
You must )e the glo)al administrator in the glo)al 0one to perform this procedure.
The zonecfg prompt is of the following form$
zonecfg:zonename>
?hen you are configuring a specific resource type, such as a file system, that resource
type is also included in the prompt$
zonecfg:zonename:fs>
(ote )
;esource controls are set to the Solaris 8 defaults. ;eview these settings to see whether
they should )e ad@usted.
*ip )
,f you %now you will )e using C2s or 2<2s to install applications in a solaris8
)randed 0one, use add fs to add read"only access to C2 or 2<2 media in the glo)al
0one when you initially configure the )randed 0one. ( C2 or 2<2 can then )e used to
install a product in the )randed 0one.
This procedure descri)es configuring a shared",/ 0one. To configure an e9clusive",/
0one.
1. .ecome superuser, or assume the /rimary (dministrator role.
. Set up a shared",/ 0one configuration with the 0one name you have chosen.
The name s8-zone is used in this e9ample procedure.
global# zonecfg -z s8-zone
,f this is the first time you have configured this 0one, you will see the following
system message$
s8-zone: No such zone configured
Use 'create' to begin configuring a new zone.
-. Create the new solaris8 0one configuration )y using the SUNWsolaris8
template.
zonecfg:s8-zone> create -t SUNWsolaris8
&. Set the 0one path, /export/home/s8-zone in this procedure.
zonecfg:s8-zone> set zonepath=/export/home/s8-zone
#. Set the auto)oot value.
,f set to true, the 0one is automatically )ooted when the glo)al 0one is )ooted. 5ote
that for the 0ones to auto)oot, the 0ones service svc:/system/zones:default must
also )e ena)led. The default value is false.
zonecfg:s8-zone> set autoboot=true
7. (dd a networ% virtual interface.
zonecfg:s8-zone> add net
a. Set the ,/ address. ,n this procedure, 10.6.10.233 is used.
zonecfg:s8-zone:net> set address=10.6.10.233
). Set the physical device type for the networ% interface, the bge device in
this procedure.
zonecfg:s8-zone:net> set physical=bge0
c. 8nd the specification.
zonecfg:s8-zone:net> end
!. This step can )e performed more than once to add more than one networ%
interface.
8. (dd a A6S file system shared with the glo)al 0one.
zonecfg:s8-zone> add fs
a. Set the type to zfs.
zonecfg:s8-zone:fs> set type=zfs
). Set the directory to mount from the glo)al 0one.
zonecfg:s8-zone:fs> set special=share/zone/s8-zone
c. Specify the mount point.
zonecfg:s8-zone:fs> set dir=/export/shared
d. 8nd the specification.
zonecfg:s8-zone:fs> end
B. This step can )e performed more than once to add more than one file system.
10. 3Optional1 Set the hostid to )e the hostid of the source system.
zonecfg:s8-zone> add attr
a. Set the attri)ute name to hostid.
zonecfg:s8-zone:attr> set name=hostid
). Set the type to string.
zonecfg:s8-zone:attr> set type=string
c. Set the value to the hostid.
zonecfg:s8-zone:attr> set value=8325f14d
d. 8nd the specification.
zonecfg:s8-zone:attr> end
11. 3Optional1 Set the machine name returned )y uname to always )e sun4u.
zonecfg:s8-zone> add attr
a. Set the attri)ute name to machine.
zonecfg:s8-zone:attr> set name=machine
). Set the type to string.
zonecfg:s8-zone:attr> set type=string
c. Set the value to sun4u.
zonecfg:s8-zone:attr> set value=sun4u
d. 8nd the specification.
zonecfg:s8-zone:attr> end
1. <erify the 0one configuration for the 0one.
zonecfg:s8-zone> verify
1-. Commit the 0one configuration for the 0one.
zonecfg:s8-zone> commit
1&. 89it the zonecfg command.
zonecfg:s8-zone> exit
1#. 5ote that even if you did not e9plicitly type commit at the prompt, a commit is
automatically attempted when you type exit or an 8O6 occurs.
17. >se the info su)command to chec% that the )rand is set to solaris8.
global# zonecfg -z s8-zone info
1!. 3Optional1 >se the info su)command to chec% the hostid$
global# zonecfg -z s8-zone info attr
(fter you have configured the )randed 0one, it is a good idea to ma%e a copy of the
0oneCs configuration. You can use this )ac%up to restore the 0one in the future. (s
superuser or /rimary (dministrator, print the configuration for the 0one s8-zone to a
file. This e9ample uses a file named s8-zone.config.
global# zonecfg -z s8-zone export > s8-zone.config
,n addition to unpac%ing files from the Solaris 8 archive, the install process performs
chec%s, re+uired postprocessing, and other functions to ensure that the 0one is optimi0ed
to run on the host.
solaris8 &one "nstallation "mages
Types of Images
You can use an image of a Solaris 8 system that has )een fully configured with all
of the software that will )e run in the 0one. See Creating the ,mage for 2irectly
'igrating Solaris 8 Systems ,nto Aones.
You can use an image provided )y Sun to create and install the solaris8 )randed
0one.
Image sysidcfg Status
The sample Solaris 8 image provided )y Sun has )een processed using the sys-
unconfig command descri)ed in sys"unconfig31'1. That is, it does not have a hostname
or name service configured, which is also %nown as Das"manufactured.
,f you created a Solaris 8 system archive from an e9isting system and use the -p
3preserve sysidcfg1 option when you install the 0one, then the 0one will have the same
identity as the system used to create the image.
,f you use the -u 3sys-unconfig1 option when you install the target 0one, the 0one
produced will not have a hostname or name service configured.