Re: [zones-discuss] Zones: Could not bring network interface up: address in use by zone 'global'
Yes, you give it the global zones interface name, and it then creates an alias on that interface with the IP address you specified. On 21/09/2007, Lana Tom [EMAIL PROTECTED] wrote: Hi - To create a zone, I'm using: zonecfg -z $ZONENAME1 add net; set address=$IP1; set physical=$NETWORK_INTERFACE1; end zonecfg -z zone1 add net; set address=IP Address for global zone; set physical=ce0; end Should the zonecfg command use the ip address for zone1? Thanks, Lana ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] [zfs-discuss] zoneadm clone doesn't support ZFS snapshots in
On 21/09/2007, Mike Gerdts [EMAIL PROTECTED] wrote: I would really like to ask Sun for a roadmap as to when this is going to be supported. The best way around this I can think of is to have a 'template' zone for cloning on UFS that you use to build your other (ZFS-backed) zones. Then delegate a dataset into each zone to hold the important stuff. Come upgrade time, you drop all the 'child' zones, patch the template and use it to re-provision the other zones. Then drop the dataset back in. Course, it'll take a while to clone the template since it's UFS-backed... -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Correct procedure to remove a ZFS file system from a non-global zone
On 07/09/2007, Ril [EMAIL PROTECTED] wrote: What is the proper way to remove it? I tried the following: From the global zone: 1) halt the zone 2) use zonecfg to remove the dataset 3) boot the zone That's what I've always done, yes. It'd be nice to not have to reboot the zone, but I don't know of a way to avoid that. When I logged back into the zone, the mount point was still present, but now under /, but the files were gone, and they weren't present in the pool on the global zone, either. You should be able to 'zfs set mountpoint=/whatever poolname/filesystem' in the global zone now to put it where you want. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] In guest domains, zones not booting if it is on ZFS file system
On 09/08/07, Lu, Baolu [EMAIL PROTECTED] wrote: On , [EMAIL PROTECTED] wrote: Hi, I created guest domains and used sparse root model zones on a ZFS file system. Zone configuration and installation went on AFAIK, Currently, zone supports for adding ZFS dataset, but seems not support use ZFS as root filesystem. The zone shouldn't be aware of it. It does break Live Upgrade of zones, other than that it should work OK. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] limiting a percentage of CPU resource on a zone
On 26/04/07, DJR [EMAIL PROTECTED] wrote: Hi, What would be the best way/easiest way to limit an amount of a 8core CPU to a specific zone. Can I do it in such a way to limit 2 of 8 cores, or does it have to be in a percentage bases. Im assuming it would be done with zonecfg, any help is appreciated. Project Duckhorn (Solaris Express = b55) makes this pretty easy - zonecfg has been extended to support new keywords, so you just have to : zonecfg -z somezone add dedicated cpu set ncpus=2-8 end and reboot the zone. From the zonecfg manpage: dedicated-cpu: ncpus, importance The number of CPUs that should be assigned for this zone's exclusive use. The zone will create a pool and processor set when it boots. See pooladm(1M) and poolcfg(1M) for more information on resource pools. The ncpu property can specify a single value or a range (for example, 1-4) of processors. The must be enough free processors to allocate to this zone when it boots or the zone will not boot. The processors assigned to this zone will not be available for the use of the global zone or other zones. This resource is incompatible with the pool property. Only a single instance of this resource can be added to the zone. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Advice wanted - sharing file systems across multiple zones
Does this help? http://www.sun.com/software/solaris/howtoguides/s10securityhowto.jsp On 20/12/06, Daren R. Sefcik [EMAIL PROTECTED] wrote: Hi.. After searching hi low, I cannot find the answer for what I want to do (or at least understand how to do it). I am hopeful somebody can point me in the right direction. I have (2) non global zones (samba www) I want to be able to have all user home dir's served from zone samba AND be visable under zone www as the users public_html dir. I have looked at delegating a dataset to samba and creating a new fs for each user but then I cannot share that with www. I also tried creating the fs under the global zone and mounting that via lofs but that did not seem to carry over each underlying fs and lost the quota capability. I cannot share via NFS since non global zones cannot mount from the same server. How can I achieve what I want to do? The requirements are: User Quotas (needs a file system for each user) Share file systems across multiple non global zones (rw) I have close to 3000 users so it must be a manageable approach and hopefully allow me to use the root preexec of samba to auto create user dir's. tia for any help, Daren This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Re: Zones and Solaris upgrade
On 01/12/06, James Carlson [EMAIL PROTECTED] wrote: Peter Baer Galvin writes: Hi, any update on the status of the Zulu project!? thanks. It integrated into build 53. Work is continuing now on cleaning up some related bugs and backporting for S10. There's nothing in the changelog - am I looking in the right place ( http://dlc.sun.com/osol/on/downloads/b53/on-changelog-b53.html )? -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Re: Zones and Solaris upgrade
On 03/12/06, Menno Lageman [EMAIL PROTECTED] wrote: Dick Davies wrote: On 01/12/06, James Carlson [EMAIL PROTECTED] wrote: Peter Baer Galvin writes: Hi, any update on the status of the Zulu project!? thanks. It integrated into build 53. Work is continuing now on cleaning up some related bugs and backporting for S10. There's nothing in the changelog - am I looking in the right place ( http://dlc.sun.com/osol/on/downloads/b53/on-changelog-b53.html )? That is the changelog for the ON consolidation only; LiveUpgrade is part of another consolidation. Solaris the product consists of multiple consolidations such as ON, X, etc. Ah, thanks. Next question :) - is there a general sxcr changelog anywhere that merges the individual subprojects? -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Re: Zone in a mounted state ?
On 06/09/06, Jeff Victor [EMAIL PROTECTED] wrote: According to the inline doc, execution can only get there if the zone's root is mounted on $ZONEPATH/lu. I've never used liveupgrade (is that what 'lu' refers to?) but I saw this when a package install crapped out. Possibly $ZONEPATH/lu is involved then. As Enda said, I got around it by running a 'zoneadm -z myzone unmount'. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] ps -ef as non-root in global zone shows *all* processes
I could have sworn a 'ps -ef' (as a non-privileged user) in the global zone only showed processes in the global zone. As of b46, that's no longer the case. Is the change intentional? -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Installing zones: insane dependencies
On Mon, Aug 21, 2006 at 01:03:40PM +0100, Gary Pennington wrote: On Mon, Aug 21, 2006 at 02:13:51AM -0700, UNIX admin wrote: ... Zone packages end up needing other packages, which end up needing the SUNWj5rt package, SUNWj5rt needs a whole bunch of X-windows packages, such as SUNWxwplt and the like, It is fixed in Nevada. Take a look at: ... http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=5063672 There doesn't seem to be any description of *how* this was fixed. I'd assumed 'dynamic resource pools' no longer depended on java (wrongly, judging by SXCR b46). -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Installing zones: insane dependencies
On 23/08/06, Jerry Jelinek [EMAIL PROTECTED] wrote: Dick Davies wrote: On Mon, Aug 21, 2006 at 01:03:40PM +0100, Gary Pennington wrote: On Mon, Aug 21, 2006 at 02:13:51AM -0700, UNIX admin wrote: ... Zone packages end up needing other packages, which end up needing the SUNWj5rt package, SUNWj5rt needs a whole bunch of X-windows packages, such as SUNWxwplt and the like, It is fixed in Nevada. Take a look at: ... http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=5063672 There doesn't seem to be any description of *how* this was fixed. I'd assumed 'dynamic resource pools' no longer depended on java (wrongly, judging by SXCR b46). In S10 there was a single pkg for pools (SUNWpool). In nevada this was split into two pkgs (SUNWpool SUNWpoold). SUNWzoneu still depends on SUNWpool, but if you look at that pkg, it no longer depends on SUNWj5rt. The SUNWpoold pkg does depend on SUNWj5rt. That makes sense - I thought the OP was asking to remove the 'dynamic resource pools' dependency on java. Thanks. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Installing zones: insane dependencies
On 21/08/06, UNIX admin [EMAIL PROTECTED] wrote: Having built the second revision of the Run-Time Platform Solaris, I went on to install zones. Effectively it turns out that if I were to satisfy all the dependencies, I would effectively have to install more or less the entire X windowing environment. Zone packages end up needing other packages, which end up needing the SUNWj5rt package, Zones needs the 'resource pools' package. If you choose 'dynamic pools' (which aren't required by zones), you need Java. -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/ ___ zones-discuss mailing list zones-discuss@opensolaris.org