Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory
capped.memory is about the total memory e.g *Add a memory cap.* zonecfg:my-zone *add capped-memory* 1. *Set the memory cap.* zonecfg:my-zone:capped-memory *set physical=50m* 2. *Set the swap memory cap.* zonecfg:my-zone:capped-memory *set swap=100m* 3. *Set the locked memory cap.* zonecfg:my-zone:capped-memory *set locked=30m* and zone.max-shm-memory is about the sysV IPC total shard memory shmsys:shminfo_shmmax* e.g. control oracle db on shared memory usage On 4/18/2012 8:52 AM, Jordi Espasa Clofent wrote: Hi all, I just want to know what's the difference between capped.memory and zone.max-shm-memory when it comes to limit the zones access to the available RAM memory in the global zone. According to here http://docs.oracle.com/cd/E18752_01/html/817-1592/z.config.ov-3.html#gepte: Solaris 10 8/07: Physical Memory Control and the capped-memory Resource The capped-memory resource sets limits for physical, swap, and locked memory. Each limit is optional, but at least one must be set. Determine values for this resource if you plan to cap memory for the zone by using rcapd from the global zone. The physical property of the capped-memory resource is used by rcapd as the max-rss value for the zone. The swap property of the capped-memory resource is the preferred way to set the zone.max-swap resource control. The locked property of the capped-memory resource is the preferred way to set the zone.max-locked-memory resource control. So... Are the both parameters doing the same (limiting the amount of available RAm for the zone) but just using different tools (rcapd for capped.memory and prctl for zone.max-shm-memory)? What I really want to know is how to limit totally the memory in the zones. Let's say I have a global zone with 10GB and I want to create 2 zones with ONLY 2GB at maximum, whatever they want or ask for. Thanks in advance. -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Backing up my zones
it seems that in your case (s10u?) one just 1) in GZ use zfs snap to create backup, the use netbackup to backup the snap or 2)in GZ use zfs send and receive to another system then use netbackup to backup the snap my 2c On 2/18/2012 5:22 AM, David Cushing wrote: I’m looking for suggestions on capturing backups. Web searches have not been overly fruitful. Most discussion expects to shut down the zone and clone it. I will not be able to shut down the zones. The backups don’t need to be 100% perfect. I can fix issues from open files / work in progress. This is not a production database scenario. The biggest concern is full loss of the LUN. Secondary concern is stray users deleting or corrupting their folders. There are separate zpools for GZ and NGZ. All zones share a single ZFS file system but I intend on reconfiguring to have one file system per zone. Zones are full root. We tried capturing from the GZ with a somewhat outdated Symantec server but it hangs up on the zone folder. We also tried just the “root” folder of a zone, same results. I can provide enough disk space to hold backups temporarily. I was considering using snapshot/flar/?? to save the data to another zpool on the GZ and allowing Symantec to move those files to archival storage. Thanks for your time and input. ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zones toast after updating Solaris 11 Express system
may be attach -U On 2/11/2012 9:06 AM, gerard henry wrote: i exactly have the same problem, but detach; attach -u didn't solve it But it seems that the attach -u doesn't upgrade, according to the messages: # zoneadm -z www attach -u Log File: /var/tmp/www.attach_log.LGaqKg Attach Path: /zones/www/root Attach ZFS Dataset: rpool/zones/www/ROOT/zbe-4 Installing: Using pre-existing data in zonepath Global zone version: entire@0.5.11,5.11-0.151.0.1:20101105T054056Z Non-Global zone version: entire@0.5.11,5.11-0.151.0.1:20101105T054056Z Cache: Using /var/pkg/publisher. Updating non-global zone: Output follows No updates necessary for this image. Updating non-global zone: Zone updated. Result: Attach Succeeded. after the system has booted with: SunOS Release 5.11 Version 151.0.1.12 64-bit I don't understand what you said with pkg -R ... image-update ? thanks in advance for help, 2011/10/5 Ian Collins i...@ianshome.com mailto:i...@ianshome.com On 10/ 5/11 09:26 PM, casper@oracle.com mailto:casper@oracle.com wrote: Before I go through the pain of logging a support call, has anyone seen or fixed the following problem: I ran an update on a fresh Solaris 11 Express system from the support repository and after restarting, all the systems zones are dead. The zone consoles report: SunOS Release 5.11 Version 151.0.1.8 64-bit Copyright (c) 1983, 2010, Oracle and/or its affiliates. All rights reserved. Requesting System Maintenance Mode (See /lib/svc/share/README for more information.) svc:/system/early-manifest-import:default signalled: SYS The zones run an older version of the Solaris software and as a result its libc doesn't match the kernel and the binaries will fail. I think you will need to upgrade all your zones too It might be something simple as zoneadm detach; zoneadm attach -u but make sure that you keep sufficient save sufficient information to reinstall the zones; and make sure you try this on one zone first before you detach all of them. It might be possible to update the zones also using pkg -Rzoneroot image-update after you've mounted the root filesystem. Thanks Casper! I really should tattoo zoneadm detach; zoneadm attach -u inside my eyelids! -- Ian. ___ zones-discuss mailing list zones-discuss@opensolaris.org mailto:zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] issue with zones and sysconfig
hi not sure about your sequence of event in general after create one do install with the *xml then run zlogin * *For a shared-IP zone:* #*sysconfig create-profile -o /path/sysconf.xml -g location,identity,naming_services,users* *Use the created profile during zone install, clone, or attach operations.* #*zoneadm -z my-zone install -c /path/sysconf.xml* did you run install? On 2/9/2012 1:59 PM, Will Fiveash wrote: After I was able to configure and boot a zone I used sysconfig to configure the new zone. What I did was first create a system profile .xml file using sysconfig create-profile -o /tmp/zone-profile.xml I then used that as a template in my createzone script where I write that to a temporary file, modifying some values like the node name and IP address for that particular zone then I copy that into the zone from the global zone and once the zone (called mit in this example) is booted I run: # zlogin mit /usr/sbin/sysconfig configure -g system -c /var/tmp/mit.profile.xml What I see is: svcadm: No such instance svc:/system/svc/restarter:default. Unable to initiate unconfiguration process. == Anyone know what is going on there? Note that after this I am able to zlogin into the zone and it appears to be configured appropriately and: # svcs svc:/system/svc/restarter:default STATE STIMEFMRI online 11:51:16 svc:/system/svc/restarter:default -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] issue with zones and sysconfig
I ASS U ME that you have see this http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html On 2/9/2012 2:33 PM, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. wrote: hi not sure about your sequence of event in general after create one do install with the *xml then run zlogin * *For a shared-IP zone:* #*sysconfig create-profile -o /path/sysconf.xml -g location,identity,naming_services,users* *Use the created profile during zone install, clone, or attach operations.* #*zoneadm -z my-zone install -c /path/sysconf.xml* did you run install? On 2/9/2012 1:59 PM, Will Fiveash wrote: After I was able to configure and boot a zone I used sysconfig to configure the new zone. What I did was first create a system profile .xml file using sysconfig create-profile -o /tmp/zone-profile.xml I then used that as a template in my createzone script where I write that to a temporary file, modifying some values like the node name and IP address for that particular zone then I copy that into the zone from the global zone and once the zone (called mit in this example) is booted I run: # zlogin mit /usr/sbin/sysconfig configure -g system -c /var/tmp/mit.profile.xml What I see is: svcadm: No such instance svc:/system/svc/restarter:default. Unable to initiate unconfiguration process. == Anyone know what is going on there? Note that after this I am able to zlogin into the zone and it appears to be configured appropriately and: # svcs svc:/system/svc/restarter:default STATE STIMEFMRI online 11:51:16 svc:/system/svc/restarter:default -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] issue with zones and sysconfig
zoneadm clone [-m copy] [-s zfs_snapshot] [brand-specific options] source_zone On 2/9/2012 3:20 PM, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. wrote: please check solaris(5) The following solaris brand-specific subcommand options are supported by zoneadm(1M) http://docs.oracle.com/cd/E23824_01/html/821-1462/zoneadm-1m.html#REFMAN1Mzoneadm-1m. clone [-c config_profile.xml | dir] -c config_profile.xml | dir Provides a profile or a directory of profiles to apply after installation from the repository. All profiles must have an .xml extension. On 2/9/2012 3:00 PM, Will Fiveash wrote: On Thu, Feb 09, 2012 at 02:43:41PM -0500, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: I ASS U ME that you have see this http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html That is good info, thanks. Of course now I see another problem. In that guide above there is an example of having zoneadm clone use the sysconfig created profile like so: Step 3: Create webzone-2 by Cloning webzone-1 Next create webzone-2 using the modified configuration (by using zonecfg), and then perform the clone of webzone-1 (by using zoneadm). Remember to add the full path to the system config template. Note how quickly the clone is completed. (We can see this by prepending the time command to our zonecfg clone command.) root@global:~# zonecfg -z webzone-2 -f /zones/webzone-2-profile root@global:/zones# time zoneadm -z webzone-2 clone -c /zones/webzone-2-template.xml webzone-1 However, the only description of -c I find in the S11 zoneadm man page is for list. Can someone confirm that -csysconfig profile file works for clone? Also how do I use -c when creating a new zone that is not a clone? On 2/9/2012 2:33 PM, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: hi not sure about your sequence of event in general after create one do install with the *xml then run zlogin * *For a shared-IP zone:* #*sysconfig create-profile -o /path/sysconf.xml -g location,identity,naming_services,users* *Use the created profile during zone install, clone, or attach operations.* #*zoneadm -z my-zone install -c /path/sysconf.xml* did you run install? On 2/9/2012 1:59 PM, Will Fiveash wrote: After I was able to configure and boot a zone I used sysconfig to configure the new zone. What I did was first create a system profile .xml file using sysconfig create-profile -o /tmp/zone-profile.xml I then used that as a template in my createzone script where I write that to a temporary file, modifying some values like the node name and IP address for that particular zone then I copy that into the zone from the global zone and once the zone (called mit in this example) is booted I run: # zlogin mit /usr/sbin/sysconfig configure -g system -c /var/tmp/mit.profile.xml What I see is: svcadm: No such instance svc:/system/svc/restarter:default. Unable to initiate unconfiguration process. == Anyone know what is going on there? Note that after this I am able to zlogin into the zone and it appears to be configured appropriately and: # svcs svc:/system/svc/restarter:default STATE STIMEFMRI online 11:51:16 svc:/system/svc/restarter:default -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ begin:vcard fn:Hung-Sheng Tsao n:Tsao;Hung-Sheng org:HopBit GridComputing LLC adr:;;;Denville;NJ;07834;USA email;internet:laot...@gmail.com title:Founder Principal tel;cell:9734950840 note;quoted-printable:Worked at Sun/oralce for almost 17 years, retired but abailable for Consu= lting=0D=0A= Solaris, zone, ldom, ZFS=0D=0A= Solaris Cluster=0D=0A= Solaris Migration=0D=0A= GridEngine, Rocksclusters, HPC=0D=0A= Exadata, exalogic and SPARC suportcluster=0D=0A= url:http://laotsao.blogspot.com;http://laotsao.wordpress.com;http://blogs.oracle.com/hstsao/ version:2.1 end:vcard -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Adding extra file system to a zone
*Delegating ZFS File system to a Non-Global Zone * Delegating the file system will provide control to non-global zone for managing the file system properties and the priviledge to perform activities like create snapshot,clone over the file system. [root@geekyfacts]# zonecfg -z tzone zonecfg:tzone add dataset zonecfg:tzone:dataset set name=testpool/zonefs zonecfg:tzone:dataset end zonecfg:tzone commit zonecfg:tzone exit [root@geekyfacts]# so it seems that if you want NGZ to do more with zfs fs then use the add dataset otherwise just use add fs Non-global zone can create and delete files under the added file system, but it will not get the contol to change the file system properties like mountpoint,readonly,atime,compression. Global zone is responsible for controlling and managing the file system. On 2/5/2012 7:18 AM, David Cushing wrote: I would like to add a separate file system to a zone. The problem I’m trying to solve is preventing users from filling up the zone’s root partition (/). All zones including the global zone are using ZFS. I want to add a user area (i.e. /u01) that can have its own reservations/quota. I find two methods of doing this, “add dataset” and “add fs” with mountpoint=legacy. I don’t see any need within the zone to run zfs commands. Are there other reasons to choose one of these over the other? ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] fix permissions on zone datasets
if you create a new zone with new path you will find out:-) On 2/4/2012 7:05 PM, Matt Harrison wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have very cleverly managed to fudge the permissions on the entire zones dataset, hosing the 3 zones I had. I don't know what the permissions were or should be and I really don't want to have to reinstall them. If anyone can point me to some documents, googling only finds me info on resource permissions etc rather than the filesystem itself. Very grateful someone can advise. Many thanks -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEVAwUBTy3HziJzshMeB8uZAQJIQQf9GImQaEkk6rk4Sj3OWhhNEc/heV1gKo/u LlfFKas1KEDsYg1PRltOEYQPWYVRqlOtMr5l/HgFFUzsfBwX1zkh8fh9rFTmgA0W YMXBekBjb4Vm4yWHw+QWrmFK8txlrRPjikIZC6FBeEqAWKBMAIBMU6JvU+x/7F/K elHPyfUok7ZYLHwwRTU+9m5WPDwCs0IZwokn87UTGkz59a13hLtlOe3/Y1RUyfb9 oAawNhDnp8JADWNrv+XkFqhOrFk9lDQjxFIUGxk/vsOP+D7TAlhKtDebW2xg8Ghe oWrcQbm5g10TH4gracS0qmY3m1AazQQfFmVumXpQQ91ntmI1jv2vFQ== =cUap -END PGP SIGNATURE- ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] New zone configuration screens
IMHO now create -b has totally different meaning in s11 vs s10 could create some confusion at time Another question: what is attr do? how application take advantage of attr TIA On 12/14/2011 8:41 PM, Mike Gerdts wrote: On Wed, Dec 14, 2011 at 6:09 PM, Ian Collinsi...@ianshome.com wrote: I just created my first zone on Solaris 11. Congratulations on the new configuration screens, they are a big improvement. Thanks for your feedback. While there was certainly some work on the zones side to make this work, most of the new sysconfig system was the work of people on the install team. If you do a fresh installation of Solaris, you will see the same thing on the global zone's first boot. I don't know of a public mailing list for the sysconfig project team, but I think you can probably reach most of them at caiman-disc...@opensolaris.org. -- Mike Gerdts http://mgerdts.blogspot.com/ ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.wordpress.com/ http://laotsao.blogspot.com/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] New zone configuration screens
thx On 12/15/2011 10:21 AM, Mike Gerdts wrote: On Thu 15 Dec 2011 at 09:16AM, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: IMHO now create -b has totally different meaning in s11 vs s10 could create some confusion at time create -b works the same in Solaris 10 as it did in Solaris 11 - it creates a blank zone configuration. The thing that is different is create (without -b). The default configuration (from SYSdefault.xml now, previously form SUNWdefault.xml) has changed significantly due to the improvements in packaging and networking. Another question: what is attr do? how application take advantage of attr I think of attr as a way to add a comment or other arbitrary information to a zone configuration. For example, if you need to tag each zone with the cost center that is billed for the zone, you could do so with: # zonecfg -z myzone zonecfg:myzone add attr zonecfg:myzone:attr set name=cost-center zonecfg:myzone:attr set type=string zonecfg:myzone:attr set value=12345 zonecfg:myzone:attr end zonecfg:myzone exit You can get at the information with commands like: # zonecfg -z myzone info attr name=cost-center attr: name: cost-center type: string value: 12345 # zonecfg -z myzone info attr name=cost-center \ | nawk '$1 == value: { sub(\tvalue: , , $0); print $0 }' 12345 -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.wordpress.com/ http://laotsao.blogspot.com/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Problem booting Solaris 10 zone imported form Solaris 11 express
On 12/14/2011 1:27 PM, Ian Collins wrote: On 12/15/11 04:27 AM, Enda O'Connor wrote: On 12/14/11 03:30, Ian Collins wrote: Hello, I just tried booting a Solaris 10 branded zone after upgrading its host to Solaris 11 (from Express) and it migrated OK, but won't boot: # zoneadm -z sandpit boot zone 'sandpit': WARNING: vnic3:1: no matching subnet found in netmasks(4): 172.25.48.101; using default of 255.255.0.0. zone 'sandpit': Error: The installed version of Solaris 10 is not supported. zone 'sandpit': SPARC systems require patch 142909-17 zone 'sandpit': x86/x64 systems require patch 142910-17 zone 'sandpit': exec /usr/lib/brand/solaris10/s10_boot sandpit /zoneRoot/sandpit failed zone 'sandpit': ERROR: unable to unmount /zoneRoot/sandpit/root. The zone originally came from a Solaris 10 update 9 system. How do I go about patching it? actually, further to Mike's reply on how to reverse dsconvert, the message above should not have happened if zone was at update 9 level, as update 9 has 142909-17/142910-17, are you sure the zone was at update 9 kernel? Pretty sure, yes. The zone was exported from an older version (update 8) and attached (with -u) into an update 9 VM before conversion to a branded zone. I've probably still got the VM, so I'll fire it up and have a look. may be you need to run attach -U instead I believe update 9 was required for a branded zone in 11 Express. -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.wordpress.com/ http://laotsao.blogspot.com/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Problem booting Solaris 10 zone imported form Solaris 11 express
in fact man page of zoneadm has attach -u and -U for a while for u8 you need to install some patch for get -U u9 come with -U regards On 12/14/2011 1:48 PM, Frank Batschulat wrote: On Wed, 14 Dec 2011 19:48:09 +0100, Ian Collins i...@ianshome.com wrote: may be you need to run attach -U instead -U? There isn't a documented -U option. zoneadm attach -U was a new feature we introduced with s10 Update 9 to perform a full update, pls. refer to page #4 here http://blogs.sun.com/batschul/resource/s10u9-zones-news.pdf hth, frankB ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.wordpress.com/ http://laotsao.blogspot.com/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Zone Not Starting Properly?
for 30-40 zone what are the main host ram? and what kind of CPU? and how many CPU? was everything on ZFS? what are the storage/HDD for zone root? regards On 12/1/2011 11:39 AM, Derek McEachern wrote: Have a peculiar problem that I haven't seen before. When starting a system that has about 35 - 40 zones on it occasionally we see that one of the zones doesn't come up properly. You can log into the zone but none of the /etc/rc3.d scripts have been run. /var/adm/messages is completely empty and when running who -r to see the run level it doesn't report anything. # who -r run-level Dec 1 09:17 last= Anyone else seen anything similar? We are running Solaris 10 update 9. Regards, Derek ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.wordpress.com/ http://laotsao.blogspot.com/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Zone Not Starting Properly?
it seems that you could 1)improve your rc script to check the other dependence for apache or 2)use SMF for apache that check other dependence my 2c On 12/1/2011 1:33 PM, Derek McEachern wrote: Thanks Mike. The more I look at this more I think it is load related. svcs -x only shows that the LP print server is not running which I don't think has any impact on what I'm seeing. As for who not reporting what I would expect I tracked that down to someone installing the gnu tools in /usr/local/bin and then setting default path to reference those before /bin/ :-( /bin/who -r shows the zone is at run level 3. Looking at /var/svc/log/milestone-multi-user-server:default.log I can see that some of the other services have most likely not completed before it tries to run the rc scripts. It appears that the /usr filesystem hasn't yet been mounted read/write and the appstart script is logging an error that indicates rpc services are not completely running. Executing legacy init script /etc/rc3.d/S98apache. (30)Read-only file system: httpd: could not open error log file /usr/local/apache2/logs/error_log. Unable to open logs Legacy init script /etc/rc3.d/S98apache exited with return code 0. Executing legacy init script /etc/rc3.d/S99appstart. ERROR: Unable to contact any server Legacy init script /etc/rc3.d/S99appstart exited with return code 0. [ Dec 1 09:17:13 Method start exited with status 0 ] We have a process in place that only starts 3 zones at one time so we are not doing all 40 at once but it could be that with this hardware even trying 3 at a time is too much and we may need to drop to 2. Derek On Thu, Dec 1, 2011 at 12:07 PM, Mike Gerdts mike.ger...@oracle.com mailto:mike.ger...@oracle.com wrote: On Thu 01 Dec 2011 at 10:39AM, Derek McEachern wrote: Have a peculiar problem that I haven't seen before. When starting a system that has about 35 - 40 zones on it occasionally we see that one of the zones doesn't come up properly. You can log into the zone but none of the /etc/rc3.d scripts have been run. /var/adm/messages is completely empty and when running who -r to see the run level it doesn't report anything. Take a look at the output of svcs -x. Most likely you have a service that svc:/milestone/multi-user-server:default depends on (directly or indirectly) that has timed out and as such is in maintenance. Because the dependency is not satisfied, this milestone doesn't come up so the rc3 scripts are not run. My guess is the timeout is because so many zones are starting at once that the disks are being thrashed. The resulting I/O backlog slows down the startup of services, which leads to timeouts, which lead to some services failing to even try to start. A google search and a 5 second read suggests that this link may be of help to adjust the timeout of services that require a longer timeout: http://www.runningunix.com/2009/01/changing-timeouts-on-smf-services/ -- Mike Gerdts Solaris Core OS / Zones http://blogs.oracle.com/zoneszone/ ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.wordpress.com/ http://laotsao.blogspot.com/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] question on zoneadm attach -u and SUNWsolnm bug 6715679 patch 139555-08
hi per bug 67156679 report it is fixed by patch 139555-05(08) 139556-05(08) But recent upgrade from u5 to u8 using zoneadmin -z z attach -u the zone's /etc/release is updated but not pkginfo of SUNWsolnm #pkginfo -l SUNWsolnm | grep VERSION *VERSION: 10,REV=2008.03.24.13.19* root@it-oisadm01 / #pkginfo -l SUNWsolnm PKGINST: SUNWsolnm NAME: Solaris Naming Enabler CATEGORY: system ARCH: sparc *VERSION: 10,REV=2008.03.24.13.19* BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: Enable Solaris Name in /etc/release file PSTAMP: re29796 INSTDATE: Oct 25 2010 17:13 HOTLINE: Please contact your local service provider STATUS: completely installed FILES:2 installed pathnames 1 shared pathnames 1 directories 1 blocks used (approx) on the host # pkginfo -l SUNWsolnm | grep VERSION *VERSION: 10,REV=2009.09.16.15.47* # pkginfo -l SUNWsolnm PKGINST: SUNWsolnm NAME: Solaris Naming Enabler CATEGORY: system ARCH: sparc *VERSION: 10,REV=2009.09.16.15.47* BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: Enable Solaris Name in /etc/release file PSTAMP: re29796 INSTDATE: Mar 28 2011 15:58 HOTLINE: Please contact your local service provider STATUS: completely installed FILES:2 installed pathnames 1 shared pathnames 1 directories 1 blocks used (approx) both host and zone has the patch 139555-08 installed I need to do pkgrm SUNWsolnm then pkgadd SUNWsolnm per this post http://kartiktadisena.blogspot.com/ for Oracle 11gr2 client to installed TIA for any update? attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Has the restriction on sharing from a zone been removed yet?
IMHO, since I or i do not know what is the effort for making zone NFS server since many many many user will be using s10 for some time, this is nice feature to have Sinc CIFS/SMB only happen in s11 so porting to s10 will be big job But zone is in S10 since 2005 and ther are always new feature in zone and ZFS in many update:-) my 2c On 9/29/2011 4:45 PM, Nico Williams wrote: On Thu, Sep 29, 2011 at 3:28 PM, Jeff Victorjeff.j.vic...@gmail.com wrote: The general rule is convince product management that there is a business reason to invest the engineer(s) and it will get done. IMO, for backports, the bar should be much higher. The vendor should compute the cost of the backport *including* the cost of opportunity, and including the further cost of opportunity involved in encouraging more backports by the mere fact of having done one backport (if the customer believes they can put off upgrading forever then the pressure to backport more and more features will rise). If the value of doing the backport *significantly* exceeds that cost, then, sure, do the backport. The cost of backporting complex features, particularly ones that have wide ramifications, and particularly when the backport is to Solaris 10, with its awful patching mechanisms, is best understood as astronomical. A backport of Zoned NFS server should be considered as in the high 7 $ figure range, if not higher still -- after all, how do you estimate the forgone value of talented engineers working on innovative new features?? Just say no to backports. Pressure the ISVs instead to re-certify their apps. Legacy costs the customer a lot also -- there's enormous, typically unaccounted-for costs in legacy. Nico -- ___ zones-discuss mailing list zones-discuss@opensolaris.org attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] s10u8 zoneadm attach -U ?
thx On 9/26/2011 10:45 AM, Enda o'Connor - Oracle Ireland - Software Engineer wrote: On 09/25/11 15:30, Frank Batschulat wrote: On Sun, 25 Sep 2011 12:16:35 +0200, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com wrote: hi in doing an OS upgrade from s10u5 to s10u8 I try to use zoneadm detach then upgrade OS then attach the system doesnot allow attach -U ...no such options but the man page in u8 say http://download.oracle.com/docs/cd/E19253-01/816-5166/6mbb1kqoa/index.html attach [*-u* | *-U*] [*-b* patchid]... [*-F*] [*-n* path] [brand-specific options] The attach subcommand takes a zone that has been detached from one system and attaches the zone onto a new system. Therefore, it is advised (though not required) that the detach subcommand should be run before the “attach” takes place. Once you have the new zone in the configured state, use the attach subcommand to set up the zone root instead of installing the zone as a new zone. For native zones, zoneadm checks package and patch levels on the machine to which the zone is to be attached. If the packages/patches that the zone depends on from the global zone are different (have different revision numbers) from the dependent packages/patches on the source machine, zoneadm reports these conflicts and does not perform the attach. If the destination system has only newer dependent packages/patches (higher revision numbers) than those on the source system, you can use the *-u* or *-U* options. The *-u* option updates the minimum number of packages within the attached zone to match the higher-revision packages and patches that exist on the new system. The *-U* option updates all packages in the attached zone that are also installed in the global zone. With *-u* or *-U*, as in the default behavior, zoneadm does not perform an attach if outdated packages/patches are found on the target system. So which version of s10u? can use -U or do one need some patch? Solaris 10 Update 9, refer to: http://blogs.sun.com/batschul/resource/s10u9-zones-news.pdf I don't know which list of patches contains all stuff releated to this feature so it'd be available on pre-update 9 versions though. that would be 142910-17/142909-17 ( the update 9 Kernel patch, SPARC/x86 ), once that is installed -U is available, install latest rev of 119254/11955 first, if patching though, it's the patchutils patch. Enda ___ zones-discuss mailing list zones-discuss@opensolaris.org attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] s10u8 zoneadm attach -U ?
hi in doing an OS upgrade from s10u5 to s10u8 I try to use zoneadm detach then upgrade OS then attach the system doesnot allow attach -U ...no such options but the man page in u8 say http://download.oracle.com/docs/cd/E19253-01/816-5166/6mbb1kqoa/index.html attach [*-u* | *-U*] [*-b* patchid]... [*-F*] [*-n* path] [brand-specific options] The attach subcommand takes a zone that has been detached from one system and attaches the zone onto a new system. Therefore, it is advised (though not required) that the detach subcommand should be run before the “attach” takes place. Once you have the new zone in the configured state, use the attach subcommand to set up the zone root instead of installing the zone as a new zone. For native zones, zoneadm checks package and patch levels on the machine to which the zone is to be attached. If the packages/patches that the zone depends on from the global zone are different (have different revision numbers) from the dependent packages/patches on the source machine, zoneadm reports these conflicts and does not perform the attach. If the destination system has only newer dependent packages/patches (higher revision numbers) than those on the source system, you can use the *-u* or *-U* options. The *-u* option updates the minimum number of packages within the attached zone to match the higher-revision packages and patches that exist on the new system. The *-U* option updates all packages in the attached zone that are also installed in the global zone. With *-u* or *-U*, as in the default behavior, zoneadm does not perform an attach if outdated packages/patches are found on the target system. So which version of s10u? can use -U or do one need some patch? TIA attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] s10u8 zoneadm attach -U ?
thx all On 9/25/2011 10:30 AM, Frank Batschulat wrote: On Sun, 25 Sep 2011 12:16:35 +0200, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com wrote: hi in doing an OS upgrade from s10u5 to s10u8 I try to use zoneadm detach then upgrade OS then attach the system doesnot allow attach -U ...no such options but the man page in u8 say http://download.oracle.com/docs/cd/E19253-01/816-5166/6mbb1kqoa/index.html attach [*-u* | *-U*] [*-b* patchid]... [*-F*] [*-n* path] [brand-specific options] The attach subcommand takes a zone that has been detached from one system and attaches the zone onto a new system. Therefore, it is advised (though not required) that the detach subcommand should be run before the “attach” takes place. Once you have the new zone in the configured state, use the attach subcommand to set up the zone root instead of installing the zone as a new zone. For native zones, zoneadm checks package and patch levels on the machine to which the zone is to be attached. If the packages/patches that the zone depends on from the global zone are different (have different revision numbers) from the dependent packages/patches on the source machine, zoneadm reports these conflicts and does not perform the attach. If the destination system has only newer dependent packages/patches (higher revision numbers) than those on the source system, you can use the *-u* or *-U* options. The *-u* option updates the minimum number of packages within the attached zone to match the higher-revision packages and patches that exist on the new system. The *-U* option updates all packages in the attached zone that are also installed in the global zone. With *-u* or *-U*, as in the default behavior, zoneadm does not perform an attach if outdated packages/patches are found on the target system. So which version of s10u? can use -U or do one need some patch? Solaris 10 Update 9, refer to: http://blogs.sun.com/batschul/resource/s10u9-zones-news.pdf I don't know which list of patches contains all stuff releated to this feature so it'd be available on pre-update 9 versions though. attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Taking backup and restore the zone dump
clone zone is different options than move (detach and attach) http://www.mernin.com/blog/2007/07/cloning-a-solaris-zone/ http://prefetch.net/blog/index.php/2006/10/19/speeding-up-solaris-zone-creation-with-cloning/ http://www.logiqwest.com/dataCenter/Demos/RunBooks/Zones/cloneZone.html On 9/20/2011 5:21 AM, Sandeep Thakkar wrote: So, basically I want to copy the zone and not move the zone. And the zone has UFS and not ZFS filesystem. Can I follow the steps mentioned in the pdf? Can I attach the zone after detaching to take the backup? Please help here. *From:* Sandeep Thakkar sandee...@yahoo.com *To:* Sandeep Thakkar sandee...@yahoo.com; Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com *Cc:* zones-discuss@opensolaris.org zones-discuss@opensolaris.org *Sent:* Monday, September 19, 2011 4:54 PM *Subject:* Re: [zones-discuss] Taking backup and restore the zone dump The source and destination servers are same: Solaris 10 11/06 s10s_u3wos_10 SPARC *From:* Sandeep Thakkar sandee...@yahoo.com *To:* Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com *Cc:* zones-discuss@opensolaris.org zones-discuss@opensolaris.org *Sent:* Monday, September 19, 2011 10:56 AM *Subject:* Re: [zones-discuss] Taking backup and restore the zone dump Thank you guys. But, I do not want to move the zone. I want to copy it to other machine and give a different IP to this new zone. So, basically I want two zones up and running. Since I have configured lot of third party libraries on zone1, I do not want to create the second zone and do all those configurations again. Hence, want cop make a copy of that zone. I hope you got my requirement. Moreover, I do not use ZFS. Sandeep. *From:* Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com *To:* Sandeep Thakkar sandee...@yahoo.com *Cc:* zones-discuss@opensolaris.org zones-discuss@opensolaris.org *Sent:* Sunday, September 18, 2011 12:19 AM *Subject:* Re: [zones-discuss] Taking backup and restore the zone dump fyi http://developers.sun.com/solaris/docs/howto_movesolariscontainer_051410-1.pdf On 9/17/2011 9:48 AM, LaoTsao wrote: not sure which s10u? for old and new system in general one need do see this link http://nilesh-joshi.blogspot.com/2010/05/migrating-zones-between-sun4u-and-sun4v.html http://download.oracle.com/docs/cd/E18752_01/html/817-1592/gcgnc.html Sent from my iPad Hung-Sheng Tsao ( LaoTsao) Ph.D On Sep 16, 2011, at 6:45, Sandeep Thakkar sandee...@yahoo.com mailto:sandee...@yahoo.com wrote: Hi, I'm using Solaris 10 sparc machine and created a whole root zone. Now, I want to copy this zone to some other Sparc server and restore there. Hence, I followed these steps: 1. Take Backup of zone: Login to Sparc server1. # zlogin -s myzone halt # ufsdump 0f /export/home/backup_zones/myzone.ufsdump /export/home/zones/myzone 2. Restore the dump: Login to Sparc server2. # /export/home # ufsrestore rf myzone.ufsdump ./lost+found: (inode 3) not found on volume ./edb: (inode 5824) not found on volume ./sandeep: (inode 105759) not found on volume ./zones/dev-vm1-zone: (inode 128139) not found on volume ./zones/qmg-vm2-zone: (inode 81773) not found on volume ./zones/qmg-vm1-zone: (inode 128128) not found on volume ./zones/qmg-vm3-zone: (inode 175624) not found on volume ./zones/qmg-vm4-zone: (inode 758372) not found on volume ./zones/support-vm4-zone: (inode 163584) not found on volume ./backup_zones: (inode 1958936) not found on volume resync restore, skipped 54 blocks ./zones/myzone/root/usr/sfw/doc: not found on volume ./zones/myzone/root/usr/sfw/info: not found on volume ./zones/myzone/root/usr/sfw/man: not found on volume ./zones/myzone/root/usr/sfw/src: not found on volume ./zones/myzone/root/usr/sfw/bin/sparcv9/addbuiltin: not found on volume Read error while restoring ./zones/myzone/root/usr/sfw/include/bfd.h continue? [yn] continue? [yn] y Read error while trying to resynchronize continue? [yn] y resync restore, skipped 168 blocks ./zones/myzone/root/usr/sfw/include/bfdlink.h: not found on volume ./zones/myzone/root/usr/sfw/include/dis-asm.h: not found on volume Read error while trying to resynchronize continue? [yn] y Read error while trying to resynchronize continue? [yn] n Why these errors? Have I done anything wrong? Pleas help or redirect me to the related post. Thanks. ___ zones-discuss mailing list zones-discuss@opensolaris.org mailto:zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org mailto:zones-discuss@opensolaris.org attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Can not ping between zones and internal network
may be you need a defrouter On 9/7/2011 4:00 PM, carlopmart wrote: On 09/07/2011 08:27 PM, carlopmart wrote: Hi all, I have installed a new OpenIndiana host oi_151 to use zones. I have installed as a test one zone: root@oitst01:~# zoneadm list -iv ID NAME STATUS PATH BRAND IP 0 global running / ipkg shared 11 proxysrv running /zones/proxysrv ipkg excl Using ip exclude option, from zone to network ping doesn't works, but between global zone and proxysrv zone, ping works. OI host can ping to all hosts on my network. On global zone I have setup a virtual nic: root@oitst01:~# dladm show-vnic LINK OVER SPEED MACADDRESS MACADDRTYPE VID vnic0 e1000g0 1000 2:8:20:87:3c:db random 0 And zone xml file is: ?xml version=1.0 encoding=UTF-8? !DOCTYPE zone PUBLIC -//Sun Microsystems Inc//DTD Zones//EN file:///usr/share/lib/xml/dtd/zonecfg.dtd.1 !-- DO NOT EDIT THIS FILE. Use zonecfg(1M) instead. -- zone name=proxysrv zonepath=/zones/proxysrv autoboot=false brand=ipkg ip-type=exclusive network physical=vnic0/ /zone Ip config on zone is: oot@proxy:~# ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 vnic0/_a static ok 172.25.50.21/27 lo0/v6 static ok ::1/128 and routing table: root@proxy:~# netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface - - -- - default 172.25.50.1 UG 1 0 127.0.0.1 127.0.0.1 UH 2 0 lo0 172.25.50.0 172.25.50.21 U 3 23 vnic0 Routing Table: IPv6 Destination/Mask Gateway Flags Ref Use If --- --- - --- --- - ::1 ::1 UH 2 0 lo0 Ip config on global is: root@oitst01:~# ipadm show-addr ADDROBJ TYPE STATE ADDR lo0/v4 static ok 127.0.0.1/8 e1000g0/v4static static ok 172.25.50.26/27 lo0/v6 static ok ::1/128 and routing table: root@caradhras:~# netstat -rn Routing Table: IPv4 Destination Gateway Flags Ref Use Interface - - -- - default 172.25.50.1 UG 2 1106 e1000g0 127.0.0.1 127.0.0.1 UH 2 216 lo0 172.25.50.0 172.25.50.26 U 6 15435 e1000g0 Routing Table: IPv6 Destination/Mask Gateway Flags Ref Use If --- --- - --- --- - ::1 ::1 UH 2 0 lo0 What am I doing wrong?? Please, any help?? attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.
On 9/6/2011 1:09 PM, Jeremy Loukinas wrote: First: root@opensolaris:~# zfs mount rpool/ROOT/opensolaris-1/ rpool/export/export rpool/export/home /export/home rpool /rpool zpool/zones /zones zpool /zpool root@opensolaris:~# Second: root@opensolaris:~# zonecfg -z test2 test2: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:test2 create zonecfg:test2 set zonepath=/zones/roots/test2 may be add commit zonecfg:test2 exit root@opensolaris:~# zoneadm -z test2 install ERROR: the zonepath must be a ZFS dataset. The parent directory of the zonepath must be a ZFS dataset so that the zonepath ZFS dataset can be created properly. root@opensolaris:~# Am i missing something here? I found another post but it was from someone trying to create a zone in rpool.. attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.
I just did the same on s10u9 vbox bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 22.1G 7.88G34K /rpool rpool/ROOT12.1G 7.88G21K legacy rpool/ROOT/s10x_u9wos_13 12.1G 7.88G 12.1G / rpool/dump1.00G 7.88G 1.00G - rpool/export 7.51G 7.88G 5.91G /export rpool/export/home 1.60G 7.88G 1.60G /export/home rpool/swap1.50G 7.88G 1.50G - zpool 5.11G 14.4G21K /zpool zpool/zones 5.11G 14.4G 5.11G /zones bash-3.00# zonecfg -z test1 test1: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:test1 create zonecfg:test1 set zonepath=/zones/roots/test1 zonecfg:test1 verify zonecfg:test1 commit zonecfg:test1 exit bash-3.00# zoneadm -z test1 install Preparing to install zone test1. Creating list of files to copy from the global zone. Copying 16658 files to the zone. Initializing zone product registry. Determining zone package initialization order. Preparing to initialize 1128 packages on the zone. Initialized 1128 packages on zone. Zone test1 is initialized. The file /zones/roots/test1/root/var/sadm/system/logs/install_log contains a log of the zone installation. On 9/6/2011 1:39 PM, Mike Gerdts wrote: On Tue 06 Sep 2011 at 10:09AM, Jeremy Loukinas wrote: First: root@opensolaris:~# zfs mount rpool/ROOT/opensolaris-1/ rpool/export/export rpool/export/home /export/home rpool /rpool zpool/zones /zones zpool /zpool root@opensolaris:~# Second: root@opensolaris:~# zonecfg -z test2 test2: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:test2 create zonecfg:test2 set zonepath=/zones/roots/test2 zonecfg:test2 exit root@opensolaris:~# zoneadm -z test2 install ERROR: the zonepath must be a ZFS dataset. The parent directory of the zonepath must be a ZFS dataset so that the zonepath ZFS dataset can be created properly. root@opensolaris:~# Am i missing something here? I found another post but it was from someone trying to create a zone in rpool.. If you did: zonecfg -z test2 'set zonepath=/zones/test2' all would be well. Alternatively, if you really want the zonepath to /zones/roots/test2: zfs create zones/roots attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.
current s10 zone user will not be unhappy when move to s11 1)there is no sparse zone in s11 (yet) 2)there is no v2v from s10 zone to s11 zone (yet) 3)zfs dataset requirement 4)people just does not like changes My 2c On 9/6/2011 3:33 PM, Frank Batschulat wrote: On Tue, 06 Sep 2011 21:27:40 +0200, LaoTsao laot...@gmail.com wrote: interesting, IMHO, this type of change will make many many s10 users unhappy I assume you are refering to Mike's response that zones require their own seperate ZFS dataset going forward ? if so can you give some reasons why this would make current s10 users unhappy when switching ? thanks attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.
On 9/6/2011 5:11 PM, Mike Gerdts wrote: On Tue 06 Sep 2011 at 04:37PM, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: current s10 zone user will not be unhappy when move to s11 1)there is no sparse zone in s11 (yet) 2)there is no v2v from s10 zone to s11 zone (yet) That is not correct. http://download.oracle.com/docs/cd/E19963-01/html/821-1460/gjogf.html thx, Somehow I miss this chapter, I will test it out 3)zfs dataset requirement How does this negatively impact you or other users? As of Solaris 11 Express, this requirement means that you have to run 'zfs create' once to create a ZFS filesystem that will be the parent of an arbitrry number of zones. I personally would not advocate a configuration where each zone is not on its own file system because a disk hog in one zone can deny service to other zones. While I was working for a Fortune 10 company and introduced zones early in Solaris 10's life, I ensured that every zone had its own file system on a SVM soft partition. This approach worked well for many years, but took a significant amount of effort to automate. The integration of ZFS and Zones simplifies this type of architecture greatly. A reason that it is of great benefit is that with the new way it is possible to create boot environments for each zone using ZFS clones. The beadm + ZFS + Zones integration is much better than Solaris 10's Live Uprade + ZFS + Zones. Once Solaris 11 is released, I'll be happy to talk about some other benefits of this new requirement. 4)people just does not like changes I think that is extreme. People that don't like changes should probably stick to old-world trades such as blacksmithing. People that work in any technology-driven business depend on change to make their operations more efficient, to serve more customers, to improve their own products, etc. Change without reason is bad. Change that offers benefits is good. If you don't want to endure the change that Solaris 11 has to offer, Solaris 10 is still available and will continue to be available for quite some time - there is nothing forcing anyone off of Solaris 10 for the next several years. My 2c On 9/6/2011 3:33 PM, Frank Batschulat wrote: On Tue, 06 Sep 2011 21:27:40 +0200, LaoTsaolaot...@gmail.com wrote: interesting, IMHO, this type of change will make many many s10 users unhappy I assume you are refering to Mike's response that zones require their own seperate ZFS dataset going forward ? if so can you give some reasons why this would make current s10 users unhappy when switching ? thanks begin:vcard fn:Hung-Sheng Tsao (LaoTsao) , Ph.D. n:Tsao;Hung-Sheng org:HopBit GridComputing LLC adr:;;17 jade ln;Denville;NJ;07834;USA email;internet:laot...@gmail.com title:Founder and Principal tel;cell:9734950840 note;quoted-printable:HopBit GridComputing=0D=0A= =0D=0A= HPC: Arch and deaign and setup=0D=0A= Rockscluster:Setup and Configuration=0D=0A= Oracle GridEngine:Setup and Configuration=0D=0A= Oracle Cluster: Arch and Design=0D=0A= Oracle Solaris: Jumpstart, Zone etc=0D=0A= Oracle Exadata, Exalogic, SPARc Supercluster Arch and Design=0D=0A= url:http://laotsao.wordpress.com/ version:2.1 end:vcard ___ zones-discuss mailing list zones-discuss@opensolaris.org attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] acfs support in zone
hi recent osc3.3u1 announce the support of acfs in zone cluster, but acfs cannot be zone rootpath questions 1)does zone support acfs outside of the solaris cluster 2)why the acfs cannot be zone's rootpath? TIA attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] acfs support in zone
thx for answer yes I understand the role ZFS play in s10 and s11, but ZFS is for single host and not designed to play in cluster/grid env, but ACFS is designed for cluster/grid env, a big difference. Oracle is big on oracle RAC that use ASM and ACFS Solaris ZFS is designed before Oracle take over, it seems there is new requirement now, IMHO everything need to be cluster or Grid aware. regards On 7/16/2011 9:27 PM, Mike Gerdts wrote: On Sat 16 Jul 2011 at 08:33PM, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: hi recent osc3.3u1 announce the support of acfs in zone cluster, but acfs cannot be zone rootpath questions 1)does zone support acfs outside of the solaris cluster I'm not yet familiar enough with ACFS to answer that question. (It is on my reading list.) You may want to ask this through support channels and if the answer is no, please explain why it is important to you and/or your customers and ask that an RFE be filed. If an RFE is filed, please let me know what the CR number is (change request - a 7 digit number). Feel free to share those reasons here too. 2)why the acfs cannot be zone's rootpath? As you can see with Solaris Express 2010.11, packaging and boot environment management is dependent on ZFS. Even if another file system such as ADFS supported the snapshot and clone operations similar to how ZFS works, there is no abstraction in the relevant code to be able to take advantage of another file system in place of ZFS. Even with Solaris 10, tools such as live upgrade would need significant work to work with and/or take advantage of any benefits of ACFS. attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org