[zones-discuss] zone create on sol10u6
Hello, I try to install zone on zfs file system using solaris 10 update 6. I have separate storage pool which is names zone. (mount in /zone). So I type: #zonecfg -z new zonecfg:new create zonecfg:new set zonepath=/zone/new zonecfg:new exit #zoneadm -z new install After that I don't see zone/new filesystems. On Nevada systems I always have separate zfs. In man documentation from zoneadm I read that option -x means that don't use zfs filesystem. Why is this don't working with solaris10u6 ? Regards -- Maciej Browarski ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] documentation for zones
Jerry Jelinek pisze: Maciej Browarski wrote: Hello, Is there any consolidate documentation about build of config.xml and platform.xml files ? Because information about content are in many documents, but I can't find exactly what options are correct and possible in this two files. There is no docs because those are project private interfaces. I assume you are trying to create your own brand? Perhaps you can tell us more about what you are trying to do. Thanks, Jerry Yes,I try to understand, how Zones works, and how we can configure it. :) So I have below question: - what are different between privileges set default, prohibited and required in config.xml ? - is this privileges are only information for zoneadm how to configure zones or have any impact to create and running zones?(so is this list of privileges also are hard coded in kernel and config.xml only inform about privileges ?) - if I change only brand name in config.xml I see this name later in zoneadm list -iv, so is this has only impact to zoneadm list or also in kernel performance ? (to be more clear, is there any native brand hard coded in kernel, that native zone is more privileges and faster than other names and brand? what exactly information are carry in struct brand p_brand and p_brand_data in proc_t structure). - which options determinate that packages are also installed/updated from global zone (so if I like to have old packages, not updated in zones but without -G options). I aware that I can break depend between packages. - if I clear attach and detach options packages, will be not checked in zoneadm attach and attached will be successful ? I know that, that this things are unsupported but this is only for my knowledge. Regards Maciej ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] documentation for zones
Hello, Is there any consolidate documentation about build of config.xml and platform.xml files ? Because information about content are in many documents, but I can't find exactly what options are correct and possible in this two files. Regards, -- Maciej Browarski ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] chroot env into zone
Hello, I've running chroot environment (only apache, php and mysql)on Solaris 10u5 and I want this environment move to ZONE environment. Problem is with packages because zoneadm install all packages from global ZONE. Is there only way that I install this ZONE and after installing ZONE remove unused packages ? Regards, -- Maciej Browarski ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zone cloning using zfs?
But when customer have sol 10 u5 (and don't want wait to u6) what will be a procedure to use zfs snapshot to clone a zone ? (perhaps tweak with attach/dettach ? ) Regards, Maciej Browarski Sun Microsystems Poland Sp. z o.o. Mobile phone +48 608 847 794 Domaniewska 50a 02-673 Warszawa Sad Rejonowy dla m. st. Warszawy XIII Wydzial Gospodarczy Krajowego Rejestru Sadowego KRS nr.019688,NIP 526-10-43-809 Wysokosc kapitalu zakladowego 998 400,00 Mike Gerdts wrote: On Thu, Aug 14, 2008 at 11:20 PM, Lori Alt [EMAIL PROTECTED] wrote: Anybody know how to get zoneadm clone to use zfs cloning? I've got a zone (z1) whose root is a zfs dataset. I configure a new zone (z2) and try to make z2 a clone of z1: # zoneadm -z z2 clone z1 This works, but the clone is constructed by copying z1, not by doing a zfs clone. What am I missing? Is this on S10 or Nevada? With somewhat older nevada releases, I'm pretty sure I have done just as you describe. Currently S10 does not have that support yet, but I think that U6 will fix that. Does zoneadm -z z2 clone -? mention zfs? -- Mike Gerdts http://mgerdts.blogspot.com/ ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] abitrace vs apptrace
Hello, What are differences between abitrace and apptrace ? I know that abitrace is for see library call, but on some presentation near dtrace I see abitrace not apptrace. Thanks for answers, -- Maciej Browarski ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] zone install
exactly, I try create zone only with apache and php without any other application. Currently I make chrooted environment, but don't know how to connect this chrooted environment to zone control. Regards, Maciej Fredrich Maney wrote: This is something that I would really like to see implemented. In particular, it would be nice to have something like a Global Zone with SUNWCXall and then be able to build Local Zones with SUNWCrnet for minimized whole root zones for webservers and the like and Local Zones with SUNWCuser for other uses like SunRay servers. fpsm On Fri, Jun 27, 2008 at 8:00 AM, Enda O'Connor ( Sun Micro Systems Ireland) [EMAIL PROTECTED] wrote: Maciej Browarski wrote: Hello, When I type zone install, all packages from global zone are installed in non-global zone. How can I select packages which I like to have in non-global zone (similar configuration when install solaris 10 and we can custom install) ? Regards, This isn't configurable at zonecfg level. i.ei zoneadm install will just install all packages from global zone to each ngz being installed. Packages installed via pkgadd -G are not installed in NGZ, but these would typically be packages for usrland software, like a webserver perhaps. There is no concept of metaclusters in relation to zones, you just get the packages that are installed in the global zone replicated into each non global zone. Enda ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] upgrade on attach
Hello, I'm using Nv_89 and try attach my old zones created with nv_84. So, I type: # zoneadm -z oracle attach -u zoneadm: zone 'oracle': ERROR: attempt to downgrade package SUNWant 11.12.0,REV=2006.01.13.13.45.29 to version 11.11.0,REV=2008.04.29.02.08 and I've above error. I think, there is missed parameter,which would be force to upgrade/downgrade packages. What can I do now ? Regards, -- Maciej Browarski Sun Microsystems Poland Sp. z o.o. Mobile phone +48 608 847 794 Domaniewska 50a 02-673 Warszawa ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] template tsoldef
Hello, I've opensolaris nv_84 and I look in /etc/zones and see template SUNWtsoldef, what for is this zone ? Regards, -- Maciej Browarski ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] template tsoldef
Dan Price wrote: On Thu 03 Apr 2008 at 11:16AM, Maciej Browarski wrote: Hello, I've opensolaris nv_84 and I look in /etc/zones and see template SUNWtsoldef, what for is this zone ? I believe it is part of the trusted extensions architecture, which relies upon zones. If you're not in Trusted Extensions mode, you should not need to worry about it, and should not use it. -dp Hm, This isn't Time Shift Operation in which I very waiting for ? :) Regards, -- Maciej Browarski ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] new option - cpu-dedicated
Enda O'Connor wrote: Maciej Browarski wrote: Hello, I upgrade Solaris 10 update 3 to update 4 but I use dedicated-cpu with live upgrade but I don't see dedicated-cpu (and capped-mem) option in zonecfg, but man zonecfg shows this option. Is it possibility that I must add new packages to have this functionality ? Regards, Hi These are in u4, what is the output from uname -a what happens when you try and use these options? Enda Hi, To be more precise, this installation is made by my client. He has Solaris 10 update 3 and use UpdateManager to update this solaris to Update 4. In with patch level of zones the functionality dedicated-cpu is included ? # uname -a SunOS v445c 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V445 Regards, -- Maciej Browarski Sun Microsystems Poland Sp. z o.o. Mobile phone +48 608 847 794 Domaniewska 50a 02-673 Warszawa ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] new functionality
Hi, I wonder, that is any chance to limit I/O disks or net operations per zone? Regards, Maciej ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] new option - cpu-dedicated
Hello, I upgrade Solaris 10 update 3 to update 4 but I use dedicated-cpu with live upgrade but I don't see dedicated-cpu (and capped-mem) option in zonecfg, but man zonecfg shows this option. Is it possibility that I must add new packages to have this functionality ? Regards, -- Maciej Browarski Sun Microsystems Poland Sp. z o.o. Mobile phone +48 608 847 794 Domaniewska 50a 02-673 Warszawa ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] sol10u4 importance parameter
Hello, I play with dedicated-cpu on solaris 10 u4. I read that, this function separate ncpus from global zone and pins this ncpus exclusive to non global zone, but what, in this case, means importance parameters ? Is possibility to run more non-global zones with dedicated-cpu on these same set processors ? (if is this is true, how this importance is calculate ?) Regards, -- Maciej Browarski ___ zones-discuss mailing list zones-discuss@opensolaris.org