Hello All,

Thanks again to all of the folks that have contributed bugs, fixes, new code and great ideas for the Zone Manager
project.  Today, the final version 2.0.7 is now available at dl.thezonemanager.com.  With the release of this version,
I have officially deprecated and removed version 1.8.1.  Version 2.0.7 includes many new features and bug fixes.

Here is the list new features in version 2.0.7:
 * When adding a zone, add support for specifying autoboot, comment, and bootargs via -o option.  As a result of this new feature, the -A feature for disabling autoboot has be
en depricated.
 * When adding or cloning a zone, if the root user password of the new non-global zone is not specified via -P or -E, the root user password of the global zone is inherited by
 the new non-global zone.
 * Made sparse root filesystem list inherit default values from the contents of the /etc/zones/SUNWdefault.xml file of the global zone.
 * When creating a whole root zone, use /etc/zones/SUNWdefault.xml to determine what directories should be removed (un-inherited) from the zone configuration.
 * Added the ability to add and remove directory inheritance via -o "addDir|/dir1[|/dir2|...]" or -o "rmDir|/dir1[|/dir2|...]".
 * Addedd ability to delete a device from the non-global zone via -a modify -m "del|device|<match_value>".
 * Added support for modifying the default router.
 * Added support for FSS cpu shares with -p 'scpu|number'.
 * Added status action to list the status of all non-global zones.  The status action shows the state of the zones, the number of frequency of CPUs visible within the zones, a
nd the zone uptime information.
 * Saved JASS output into its own log file.
 * Added the ability to apply resource management controls immediately.  This removed the need to reboot the zone when applying resource constraints.
 * Added support for multiple zonemgr invocations within a single input config file.  Use 'newcmd' to delimit between zonemgr invocations.
 * Added support for comments within input config file.
 * Unified the file format and location of all artifacts.  e.g. artifacts are files like output, log files, and configuration files.  Each invocation of the zonemgr script res
ults in the creation of a new folder in ${HOME}/.zonemgr/<yearMonthDayHourMinuteSecond>) where the folder name is the current date and time.  All artifacts created for that in
vocation are stored in that directory.
 * With the addition of support for multiple zonemgr invocations as well as multiple zone actions, the artifacts have been broken out per action.
 * Provide option (-o keep_artifiacts) to keep and list of all artifacts created during the invocation of the zonemgr command.  The default action is to remove all artifacts u
pon successful completion of the zonemgr.
 * Added new service management mode called 'jail'.  This disables all but the very bare necessities including ssh to keep the zone running.
 * Added -o debug option to enable debuging.
 * Expanded the context of -n <zonename> to support multiple pipe delimited zone names.  e.g. -n "zone1[|zone2|zone3|...].  This applies to nearly all actions.  For example, n
ow you can add 3 zones with zonemgr -a add -n "z1|z2|z3".
 * Enabled parallelization of select actions.
 * Removed requirement to speicfy a zone name by using a default zone name. If you run zonemgr without specifying a zonename (e.g. -n <zonename>), it will use a default zonena
me of zone#### where #### is an incrementing number with prefixed zeros to keep the number four digits in length. This feature also finds the next available zone name in order
 to avoid errors when creating a new zone.  For example, if zones zone0001, zone0002, and zone0005 exist.  When I add 3 new zones with -o "dCount|3", zonemgr will create zones
 zone0003, zone0004, and zone0006.
 * Add the ability to name the prefix used by the default zone namer via -o "dPrefix|<prefix>".  The default prefix is 'zone'.  For example, if no zones exist with the prefix
'mysql' exist, creating three new zones with the 'mysql' prefix via -o "dPrefix|mysql" -o "dCount|3" will result in three new zones named mysql0001, mysql0002, and mysql0003.
 * Simplified the service restart flag format to support both multiple invocations of -S <svc> as well as a single invocation with multiple svcs with a single -S "<svc1>[|<svc
2>|<svc3>|...]" format.
 * Reformatted all of the documentation to conform to a 80 character width format.


Here is the list of bugs fixed in version 2.0.7:
* Updated all examples in documentation for new usage and new features.
 * Added exception update_hosts to not update /etc/hosts, if hosts are looked up rather than specified.  e.g. 'hosts' specified rather than IP address.
 * Fixed bug where applying a swap resource control to a non-global zone failed because multiple swaps exist in global zone.
 * Fixed bug where zonecfg fails if TERM=xterm-color.
 * Fixed bug where lofi/lofs filesystems were forced to readonly even for -w.
 * Fixed bug where netservices was not found.
 * Fixed bug in ck4fs bug in check_fs.
 * Fixed bug where quotes of -m flag are being ignored by optarg when inputed by input config file (e.g. -f inputFile.cfg)
 * Fixed bug where modiying comment used wrong input field.
 * Fixed bug that prevented nameserver entry from getting into /etc/resolv.conf.
 * Removed resource modification from -m option portion of help page.
 * Switched loghost of non-global zone to loopback.
 * Documented consequences of changing the defrouter for shared ip zones.
 * Consolidated all of the zone state checking into a handful of subroutines.
 * Added zfs filesystem check to see if zfs filesystem is already in use.
 * Added zone path check to see if path is already in use by another zone.
 * Made list action include only non-global zones.
 * Fixed bug with NFS vfstab entry construction.
 * Fixed bug relative to unmount NFS and SMB filesystems when deleting zone.
 * Fixed post-install reboot wait frmi.
 * Fixed various bugs with zone cloning.
 * Added informational message to explain a specific case when cloning copies the zone instead of using a snapshot from the zfs filesystem.
 * Fixed bug with root password propagation from soruce zone to cloned zone(s).
 * Added better error handling when destroying the root ZFS filesystem of a zone being deleted.  e.g. Don't delete the filesystem if it has dependencies or is a pool.
 * Unified zone shutdown/halt functions and their use throughout the script.
 * Re-wrote modify action for simplification and greater clarity.
 * Fixed many documentation bugs.
 *
 * Fixed bug on OpenSolaris systems where the zone name get's chopped up due to differences between gnu and xpg4 versions of sed.
 * Blastwave support has been disabled for OpenSolaris until a viable Blastwave package authority becomes avaiable.
 * Brought -L input into conformity with the new pipe delmiting format.

If you discover bugs please fix them and either send me the bug and the fix or submit the bugs here.

If there are features that you would like to see in future versions, submit the feature requests here.

Have a great day!

Brad
Brad Diggs | Principal Security Sales Consultant | +1.972.814.3698
Oracle North America Technology Organization
16000 Dallas Parkway, Dallas, TX 75248

_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to