Version 3.1-en Solaris 10 Container Guide - 3.1 5. Cookbooks Effective: 30/11/2009
Alternatively, set the boot arguments permanently in a zone configuration:
global# zonecfg -z keetonga
zonecfg:keetonga> info bootargs
bootargs:
zonecfg:keetonga> set bootargs="-m verbose"
zonecfg:keetonga> info bootargs
bootargs: -m verbose
zonecfg:keetonga> commit
zonecfg:keetonga> exit
global# zoneadm -z keetonga halt
bash-3.00# zlogin -C keetonga
[Connected to zone 'keetonga' console]
[NOTICE: Zone booting up]
SunOS Release 5.10 Version Generic_137138-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
[ system/filesystem/root:default starting (root file system mount) ]
[ network/loopback:default starting (loopback network interface) ]
[ network/pfil:default starting (packet filter) ]
[ system/installupdates:default starting (system update installer) ]
[ system/boot-archive:default starting (check boot archive content) ]
[ milestone/name-services:default starting (name services milestone) ]
... deleted outputs ...
[ network/inetd:default starting (inetd) ]
[ system/system-log:default starting (system log) ]
[ system/console-login:default starting (Console login) ]
keetonga console login:
5.3.3. Software installation per mount
[ug] In order to allow an application to run in the zone, additionally installed software is required,
except in trivial cases (Apache, Perl, etc.) This software is very often not in Sun pkg format .
One method of distributing this software is to maintain a shared software repository in the global zone
and to make it completely or partially visible in the zones:
Globally, there is the directory /software
Software is installed in the directory /software/product/version/ e.g.:
/software/oracle/9i_05/
/software/oracle/9i_06/
/software/oracle/10g_01/
/software/siebel/3.14/
/software/tomcat/3.7/
With zonecfg: add fs, the required directories in the respective zones are made visible
as read-only (with lofs).
This ensures that even software usage can be tracked in order to monitor licensing fees if necessary.
It is easier to install the entire directory /software in each zone. Different ways will then n eed to
be used to monitor software usage (audit and dt ra ce).
96