[zones-discuss] BetaTest: ZoneMgr 2.0.7 Release Candidate 2

2010-06-02 Thread Brad Diggs
Hello,I just released zonemgr 2.0.7 Release Candidate 2.  You can download it at http://dl.thezonemanager.com.Three new features deliver a powerful punch. * Added multi-zone support. * Enabled default zone naming in order to remove the requirement of specifying the zone name. * Enabled default non-global root user password by using the password of the root user of the global zone.  This    removes the requirement of specifying the root user password.With this combination of these features, you can do things like... * Add 10 zones with:  zonemgr -a add -o "dCount|10" * Delete 3 specific zones with: zonemgr -a del -n "zone1|zone3|zone4" * Assign a common memory and CPU constraint to multiple zones: zonemgr -a modify -n 'z1|z2|z3' -p 'ram|1g' -p 'dcpu|1'Below you will find the full set of new features and bugs fixed.New features introduced in zonemgr 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 been 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|". * 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, and 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 results in the creation of a new folder in ${HOME}/.zonemgr/) where the folder name is the current date and time.  All artifacts created for that invocation 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 upon 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  to support multiple pipe delimited zone names.  e.g. -n "zone1[|zone2|zone3|...].  This applies to nearly all actions.  For example, now you can add 3 zones with zonemgr -a add -n "z1|z2|z3". * Removed requirement to speicfy a zone name by using a default zone name. If you run zonemgr without specifying a zonename (e.g. -n ), it will use a default zonename 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|".  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  as well as a single invocation with multiple svcs with a single -S "[|||...]" format. * Reformatted all of the documentation to conform to a 80 character width format.Bugs fixed in zonemgr 2.0.7 * Fixed bug where applying a swap resource control to a non-global zone failed because multiple swaps exist in global zone. * Added error handling to explain why clone action copies instead of snapshoting the root zone filesystem.

[zones-discuss] BetaTest: ZoneMgr 2.0.7 Release Candidate 2

2010-06-01 Thread Brad Diggs
Hello,I just released zonemgr 2.0.7 Release Candidate 2.  You can download it at http://dl.thezonemanager.com.Three new features deliver a powerful punch. * Added multi-zone support. * Enabled default zone naming in order to remove the requirement of specifying the zone name. * Enabled default non-global root user password by using the password of the root user of the global zone.  This    removes the requirement of specifying the root user password.With this combination of these features, you can do things like... * Add 10 zones with:  zonemgr -a add -o "dCount|10" * Delete 3 specific zones with: zonemgr -a del -n "zone1|zone3|zone4" * Assign a common memory and CPU constraint to multiple zones: zonemgr -a modify -n 'z1|z2|z3' -p 'ram|1g' -p 'dcpu|1'Below you will find the full set of new features and bugs fixed.New features introduced in zonemgr 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 been 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|". * 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, and 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 results in the creation of a new folder in ${HOME}/.zonemgr/) where the folder name is the current date and time.  All artifacts created for that invocation 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 upon 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  to support multiple pipe delimited zone names.  e.g. -n "zone1[|zone2|zone3|...].  This applies to nearly all actions.  For example, now you can add 3 zones with zonemgr -a add -n "z1|z2|z3". * Removed requirement to speicfy a zone name by using a default zone name. If you run zonemgr without specifying a zonename (e.g. -n ), it will use a default zonename 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|".  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  as well as a single invocation with multiple svcs with a single -S "[|||...]" format. * Reformatted all of the documentation to conform to a 80 character width format.Bugs fixed in zonemgr 2.0.7 * Fixed bug where applying a swap resource control to a non-global zone failed because multiple swaps exist in global zone. * Added error handling to explain why clone action copies instead of snapshoting the root zone filesystem.