[zones-discuss] wikipedia entry for zones (containers)

2006-05-12 Thread Dan Price
Hey all, I was noticing that we're lacking a good wikipedia entry for containers and/or zones. Here's a chance to contribute in a quick and easy way-- just help improve the article! You don't even need to make an account to make edits. I did some minor tweaks, but it could really be expanded ni

Re: [zones-discuss] adding vxfs to non-global zone.

2006-06-16 Thread Dan Price
On Fri 16 Jun 2006 at 09:15AM, Pep perrer wrote: > I'm new to Solaris 10 > > If I have created a default non-global zone can I then add a veritas > file system to my zone? How? Can it be done without rebooting the > zone? > > Any pointers appreciated, thanks. Sure! The answers are yes and yes.

Re: [zones-discuss] zone stuck in 'mounted' state

2006-06-28 Thread Dan Price
On Wed 28 Jun 2006 at 10:05PM, Dick Davies wrote: > How do I get a zone out of 'mounted' state? > Can't find it on any of the state transition diagrams. > > > # zoneadm -z vera1 $ANYTHING > zoneadm: zone 'vera1': $ANYTHING operation is invalid for zones in > state 'mounted' > zoneadm: zone 'vera1

Re: [zones-discuss] monitoring local zone crash with global kthread?

2006-06-30 Thread Dan Price
On Fri 30 Jun 2006 at 02:53PM, Glen Kriekenbeck wrote: > I'm working with an ISV who asks: > > We have a kernel module which we need to modify to support non-global > zones. [This kernel module implements a file system,] and on normal > shutdowns the unmount will let us know this Zone is no longer

[zones-discuss] zones/contracts interaction code review requested

2006-07-10 Thread Dan Price
I'm sponsoring the following fix for Mike Gerdts: 6431807 zoneadmd should daemonize itself into a new contract I would like to request codereview on his behalf; the review should not take long. Materials are at http://cr.grommit.com/~dp/6431807/ Thanks to Mike, who has worked hard on this fix.

Re: [zones-discuss] zones/contracts interaction code review requested

2006-07-10 Thread Dan Price
On Mon 10 Jul 2006 at 04:12PM, Jeff Victor wrote: > I'm probably missing something obvious, but in zoneadmd.c, why is the pair > of new lines (1428/1429) repeated at every outcome of [ if (pid == ...) ]? > Why not put those two lines before the if statement and be done with it? > > Is there som

Re: [zones-discuss] Local Zone console logging

2006-07-14 Thread Dan Price
On Fri 14 Jul 2006 at 01:24PM, Joe Moore wrote: > With physical Solaris systems, we use the serial port for the console, > and log console output for review and problem diagnosis. > > Is there a good way to log what is written to a non-global zone's > console device? Joe, There's an RFE open for

Re: [zones-discuss] Re: improved zones/RM integration

2006-07-17 Thread Dan Price
On Tue 27 Jun 2006 at 08:27AM, Jerry Jelinek wrote: > Mike Gerdts wrote: > >>I also like the idea of activating FSS if the zone.cpu-shares > >>parameter is set. Given that activating FSS requires a reboot of the > >>global zone, you should add a check to see if FSS is already active > >>and if i

Re: [zones-discuss] improved zones/RM integration

2006-07-17 Thread Dan Price
Very belatedly, I'm just getting around to reviewing this. Overall I think it looks good. Comments in-line. > 1) "Hard" vs. "Soft" RM configuration within zonecfg > ... > dedicated-cpu > ncpus (a positive integer or range, default value 1) >

Re: [zones-discuss] Re: Proposal: Zone Boot Arguments II

2006-07-23 Thread Dan Price
On Sat 22 Jul 2006 at 02:06PM, Manish Agrawal wrote: > Is there a timeframe when it will be possible to specify boot > parameters in the zone configuration. I plan to use zones in a > classroom environment and would like to script the process of > destroying existing zones and recreating them at th

[zones-discuss] Some more Historical ARC cases published

2006-07-27 Thread Dan Price
[Note: As historical ARC cases get published, a notification is posted to arc-discuss (and in this case also zones-discuss.] As part of our team commitment to open development practices, the Zones team is busy publishing as much of our historical design docume

Re: [zones-discuss] zones and network interfaces

2006-07-28 Thread Dan Price
On Fri 28 Jul 2006 at 03:18PM, Madhura Limaye wrote: > Hello, > > I wanted to know if there can be a possibility of a non-global zone > dying abruptly, similar to a system going down due to a panic? In short, no. > If there is, can I expect that even in such a situation, any network > interfac

Re: [zones-discuss] zones and network interfaces

2006-07-28 Thread Dan Price
On Fri 28 Jul 2006 at 05:58PM, Mike Gerdts wrote: > > >If there is, can I expect that even in such a situation, any network > >interfaces configured for the non-global zone (whether through zonecfg > >or manually through ifconfig) will be removed? Or is there a possibility > >of the network interf

[zones-discuss] Re: [osol-discuss] The system scheduler parameter setting issue under non-global zone

2006-08-21 Thread Dan Price
On Tue 22 Aug 2006 at 03:59AM, Oxy Hazard wrote: > If I can't set scheduler parameters under non-global zone, that limit force > me to modify the code. Is there any small skill to allow non-global zone > setting the schedule parameters? Under my system infrastructure, all > applications under one g

[zones-discuss] [[today's email storm]]

2006-09-20 Thread Dan Price
Hi folks, Note that you're seeing a lot of email to zones-discuss today because we're shifting over (for non-members) from the queue-and-moderate model to the "you must be a member" model. Some mails from non-members have regrettably been in the queue a long time. At least some of those are now

Re: [zones-discuss] Solaris Express?

2006-09-25 Thread Dan Price
On Mon 25 Sep 2006 at 01:51AM, Nergal Dimitri wrote: > Can I get the feature of administrating privileges for zones ("set > limitpriv=...") by using Solaris Express? As others have said, yes. > ...and anyone know ETA for Solaris 10 release 7 ? I'm not sure what you mean by "release 7." Solaris

Re: [zones-discuss] Re: I'm dancin' in the streets

2006-09-26 Thread Dan Price
On Tue 26 Sep 2006 at 09:24PM, Anantha N. Srirama wrote: > I've found a small bug in the ZFS & Zones integration in Sol10 06/06 release. > > This evening I started tweaking my configuration to make it consistent > (I like orthogonal naming standards) and hit upon this situation: > > - Setup a ZFS

Re: [zones-discuss] SAP Java in Sparse Zone

2006-09-27 Thread Dan Price
On Wed 27 Sep 2006 at 01:57PM, Atis Purins wrote: > I have three SAP database instances/central instances running in three sparse > zones with no problem. > > I have created a new sparse zone for a new SAP installation (Solution Manager > 4.0) and started the installation. SAP requires a 1.4.2 S

Re: [zones-discuss] Company offering Zones hosting

2006-10-05 Thread Dan Price
On Thu 05 Oct 2006 at 07:16PM, Alan Burlison wrote: > Someone using Solaris 10 & Zones for hosting provision, cool to see > someone building a business around Zones. (No, I'm not affiliated with > them in any way, neither have I used their services - just thought it > was interesting ;-) > > ht

Re: [zones-discuss] zone management and security

2006-10-13 Thread Dan Price
On Fri 13 Oct 2006 at 02:04PM, Brian Kolaci wrote: > [EMAIL PROTECTED] wrote: > >>I propose that zlogin be split into two different programs, one > >>for console access and one for running programs and/or shell. > >>A simple way to do this (and would be backward compatible) would be to > >>create a

[zones-discuss] Heads-Up: PSARC case coming...

2006-10-23 Thread Dan Price
Hi folks, I'd like to try an experiment. As you may know, projects destined to integrate into OpenSolaris which cause interface or architectural change must be run through the ARC (architectural review committee) process. To learn more about ARC, see http://www.opensolaris.org/os/community/arc/.

[zones-discuss] PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-10-25 Thread Dan Price
I am pleased to sponsor the following case for Steve Lawrence. This case improves memory resource management and further integrates memory RM with Zones. The interfaces are Commited (for the rctls and zonecfg(1m) properties) and Uncommitted (for the kstats and changes to the output of prstat(1m)

Re: [zones-discuss] PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-10-26 Thread Dan Price
On Thu 26 Oct 2006 at 11:50AM, Steve Lawrence wrote: > "size of process image" is pretty meaningless. If we can change "pr_size" to > be "swap reserved by process", then we could change "SIZE" to "SWAP" for all > prstat(1m) output. Would such a change to psinfo_t be reasonable? You'd have to che

[zones-discuss] feedback requested: syslogging zone state transitions...

2006-10-27 Thread Dan Price
A (large) customer recently asked me to implement a feature whereby they could monitor zone activity via syslog. The motivation is that for this customer, any zone state change not during maintenance windows is a cause for alarm. I prototyped this feature last night and I'd like to solicit your

Re: [zones-discuss] feedback requested: syslogging zone state transitions...

2006-10-27 Thread Dan Price
On Fri 27 Oct 2006 at 09:11PM, Peter Memishian wrote: > > > So here are my questions: > > > > - Do you think this is useful? > > > > - Do you think the log level (Info) is right? daemon.info is > > *not* logged by default, whereas notice is. (So basically: do > > yo

Re: [zones-discuss] feedback requested: syslogging zone state transitions...

2006-10-27 Thread Dan Price
On Fri 27 Oct 2006 at 06:21PM, Dan Price wrote: > > > > Encouraging programmatic use of syslog seems a step in the wrong direction > > to me. Surely we can provide a better mechanism to notify them of state > > changes? > > Such as? I guess my larger point is tha

Re: [zones-discuss] feedback requested: syslogging zone state transitions...

2006-10-28 Thread Dan Price
On Sat 28 Oct 2006 at 10:10AM, Mike Gerdts wrote: > On 10/28/06, Menno Lageman <[EMAIL PROTECTED]> wrote: > >How about something like the DHCP eventhook mechanism (see > >dhcpagent(1M))? This would allow people to get notifications of zone > >state changes in a well defined *and* simple way without

Re: [zones-discuss] feedback requested: syslogging zone state transitions...

2006-10-29 Thread Dan Price
On Fri 27 Oct 2006 at 10:49PM, Matty wrote: > This is definitely useful, and I can see it being useful for postmortem > debugging and event tracking. Are there any plans to allow admins to > log zone console output to a logfile? That would be extremely useful!! Thanks. Yes, console logging is o

[zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-10-31 Thread Dan Price
On Tue 31 Oct 2006 at 03:24PM, Steve Lawrence wrote: > It seems reasonable to amend this case to say: > > 1. > Any process with priv_sys_resource running in the global zone's > system project (project 0) will not subject to project.* or zone.* > resource controls. System d

[zones-discuss] Re: PSARC/2006/598 Swap resource control; locked memory RM improvements

2006-10-31 Thread Dan Price
On Tue 31 Oct 2006 at 04:10PM, Steve Lawrence wrote: > On Tue, Oct 31, 2006 at 03:28:31PM -0800, Dan Price wrote: > > On Tue 31 Oct 2006 at 03:24PM, Steve Lawrence wrote: > > > It seems reasonable to amend this case to say: > > > > > > 1. > > >

Re: [zones-discuss] Re: [networking-discuss] Re: [crossbow-discuss] Design review of IP Instances part of Crossbow

2006-11-03 Thread Dan Price
On Fri 03 Nov 2006 at 09:42AM, Erik Nordmark wrote: > Thus if instead of using zonecfg to configure the boundary of the zone, > things were spread across different commands (use dladm to assign link > names to zones, use some zpool command to assign pools to zones, use zfs > commands to assign z

Re: [zones-discuss] Re: [networking-discuss] Re: [crossbow-discuss] Design review of IP Instances part of Crossbow

2006-11-04 Thread Dan Price
On Fri 03 Nov 2006 at 04:57PM, Erik Nordmark wrote: > Dan Price wrote: > > >>'list -i' religiously follows this idiosyncratic approach ;-) > > > >We have a plan to add 'zoneadm info' or some such to display all the > >runtime attributes

Re: [zones-discuss] zone clone zfs best practices?

2006-11-28 Thread Dan Price
On Tue 28 Nov 2006 at 08:09PM, Peter Baer Galvin wrote: > Hi, quick question on how best to use zone cloning with zfs. > > I've played with creating a master zone and then cloning it before its > first boot. That seems to work fine. > > I'd rather create a master zone, boot it to walk through the

Re: [zones-discuss] ?: named pipes between zones using shared filesystem

2006-12-11 Thread Dan Price
On Mon 11 Dec 2006 at 04:14PM, Jeff Victor wrote: > Mike, do you have a working code snippet that I can test? I have a 6/06 > system, a Nevada build50 system, and can create others. I could write the > code myself, but if you already have a tested sample... Isn't this not working because named

Re: [zones-discuss] Re: RE: ?: named pipes between zones using shared filesystem

2006-12-12 Thread Dan Price
On Tue 12 Dec 2006 at 10:47AM, Glenn Faden wrote: > Names pipes may be used between zones when Trusted Extensions is > enabled. The policy for data flow between zones is generally more > restrictive when TX is enabled, but in this case it is slightly more > open. The specific policy difference is i

Re: [zones-discuss] Re: RE: ?: named pipes between zones using shared filesystem

2006-12-12 Thread Dan Price
On Tue 12 Dec 2006 at 06:30PM, Steffen Weiberle wrote: > Jerry Jelinek wrote On 12/12/06 16:54,: > >Steffen Weiberle wrote: > > > >>Is it safe to generalize that non-LOFS file systems in Solaris 10 do > >>not allow cross-zone interaction? procfs does not. namefs does not. > >>tmpfs does not. sock

Re: [zones-discuss] Re: RE: ?: named pipes between zones using shared filesystem

2006-12-12 Thread Dan Price
On Tue 12 Dec 2006 at 03:58PM, Dan Price wrote: > Steffen, > > Probably you should review the duckhorn documentation (All of which has > been forwarded to zones-discuss, and which are also available here: > http://www.opensolaris.org/os/community/zones/zones_design_docs) and our &

Re: [zones-discuss] Globle Zone information from Local Zone

2007-01-18 Thread Dan Price
On Thu 18 Jan 2007 at 01:11AM, prakash wrote: > How to see Globle Zone information from Local Zone ? Which information? > Any command to see the Globle zone name from local zone ? The zone name of the global zone is always "global". Note that the host name and the zone name are not the same thi

Re: [zones-discuss] Re: Zones on NFS

2007-01-23 Thread Dan Price
On Mon 22 Jan 2007 at 11:03PM, Ben Rockwood wrote: > Still looking for a quasi-official answer on this. Again, the questions that > need specific answers to are: > > A) Why, specifically, can't Non-global roots be placed on NFS? The problem is with the attribution of the NFS traffic-- the zone

Re: [Fwd: Re: [zones-discuss] Re: zonemgr -s syntax]

2007-01-25 Thread Dan Price
On Wed 24 Jan 2007 at 02:00PM, The Real Warren Belfer wrote: > We install the Core and add the 10 or so packages needed to > get zones. I assume that other customers might well do the > same thing. My desire is to have zones be part of the core in Nevada, possibly by folding them right into SUNWcs

Re: [Fwd: Re: [zones-discuss] Re: zonemgr -s syntax]

2007-01-25 Thread Dan Price
On Wed 24 Jan 2007 at 01:04PM, The Real Warren Belfer wrote: > John Clingan wrote: > >If we had used ksh, I am sure we would have gotten the bash question :) > > > >Developer preference I suppose. If you still have issues, blame Brad. He > >started it :) > > Hi, > > Well, shouldn't system utilit

Re: [zones-discuss] New zone, sysidtool:net isn't starting

2007-01-29 Thread Dan Price
On Mon 29 Jan 2007 at 04:07PM, Tim Cook wrote: > Help??? What did I do wrong here? Tim, Thanks for giving it a spin-- the usability feedback is good. You are doing well so far-- now log into the zone on console (zlogin -C z1) and answer the system identification questions so the zone knows its

Re: [zones-discuss] configure tape drive under a zone ?

2007-01-31 Thread Dan Price
On Wed 31 Jan 2007 at 01:22PM, prakash wrote: > HI, > > Any one came across.., > > Need to configure a tape drive under a zone, I have a machine with 4 zones, > > each zone will have seprate network and seprate tape drive to take backup > > how to achive this, if any one have idea please share

Re: [zones-discuss] Capped memory observability

2007-02-06 Thread Dan Price
On Mon 05 Feb 2007 at 10:17PM, Mike Gerdts wrote: > I just got a chance to start playing with the capped memory resource > controls in build 56. At first blush, this looks to be *very* good > stuff. My initial testing included some very basic single process > memory hog tests and multiple process

Re: [zones-discuss] SSH port-forwarding into zone

2007-03-05 Thread Dan Price
On Mon 05 Mar 2007 at 02:11PM, Ed Pate wrote: > Can SSH sessions do port forwarding when connecting to a zone? Is > this not possible due to the restricted environment in a zone? Yes to the first, no to the second. That is -- SSH will act just the same as on any other host. -dp -- Dan

Re: [zones-discuss] QFS + zones

2007-03-06 Thread Dan Price
On Tue 06 Mar 2007 at 07:19PM, Rafa wrote: > > Hi, > > I have the following questions: > >Can be a zone configured in a QFS file system ? Probably, although the caveat is that the zone might not be upgradeable if you do an OS upgrade-- in that case, you would need to reinstall the zone. >

Re: [zones-discuss] Supported way to get setuid/setgid in inherit-pkg-dir filesystems?

2007-03-11 Thread Dan Price
On Sun 11 Mar 2007 at 02:05PM, Stephen Hahn wrote: > >I couldn't find this in the FAQ, and don't want to experiment with >mixing fs and inherit-pkg-dir directives. Is there a way to get the >inherit-pkg-dir filesystems to preserve the setuid/setgid bits (so >that /usr/lib/sendmail

Re: [zones-discuss] V440/Zones Capacity

2007-03-13 Thread Dan Price
On Tue 13 Mar 2007 at 04:46PM, Morris Hooten - SLS Business Infrastructure wrote: > Based on curent use cases and experienced users of containers > how many sparse root zones could be run on a sunfire 440 > wit h4x 1.3 ghz cpus and 16gb ram? i currently have 10 sparse > zones with all running a we

Re: [zones-discuss] V440/Zones Capacity

2007-03-13 Thread Dan Price
On Tue 13 Mar 2007 at 08:44PM, Jim Mauro wrote: > The only correct way to do capacity planning is to plot application > throughput with system utilization. Maybe you can run 40 Zones each > with a webserver, and a database Zone, or maybe 4. Or 1. It's > completely workload dependent. Yes, I agree

Re: [zones-discuss] Re: [install-discuss] DHCP Server in zone, WAS: Install software from SXCE DVD?

2007-03-17 Thread Dan Price
On Sat 17 Mar 2007 at 04:47PM, [EMAIL PROTECTED] wrote: > > >The IP Instances part of project crossbow deliver the feature to have a zone > >have its own view of the stack. It is available as a BFU on top of NV, but > >not yet integrated into NV. This is slightly inaccurate: I allows each zone to

Re: [zones-discuss] Re: [install-discuss] DHCP Server in zone, WAS: Install software from SXCE DVD?

2007-03-17 Thread Dan Price
On Sat 17 Mar 2007 at 08:02PM, James Carlson wrote: > Dan Price writes: > > - Currently must be tied to a physical NIC -- in other words > > you must dedicate a real NIC (not a logical interface) > > to each IP instance you want to run

Re: [zones-discuss] Any plans for a "Vmotion-like" Zone migration tool?

2007-03-20 Thread Dan Price
On Wed 21 Mar 2007 at 10:50AM, Rodney Lindner wrote: > The Xen project seems to have been quite for a while. Does anyone > know what is happening? xen-discuss would be the place to ask. -dp -- Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp

Re: [zones-discuss] iscsi on zone

2007-04-17 Thread Dan Price
On Tue 17 Apr 2007 at 02:50PM, cedric briner wrote: > nevada build: 61 > > hello the list, > > can we issue this commands inside a zone: > - iscsiadm > - devfs i iscsi? > > Since I'm trying to build up a cheap and reliable *san* based on zfs, > iscsi & nfs. > > > When I try the follow: > #isc

Re: [zones-discuss] Zones on NFS

2007-04-17 Thread Dan Price
On Tue 17 Apr 2007 at 09:22PM, Mike Gerdts wrote: > > Surely I am missing something else. What is it? Any interesting > complications with patching and/or live upgrade? Setting aside patching and live upgrade... The key thing here is to try to wrap your head around what I think of as "NFS iden

Re: [zones-discuss] Zones on NFS

2007-04-17 Thread Dan Price
On Tue 17 Apr 2007 at 09:32PM, Jason King wrote: > It sounds like (at least based on the description) that the > 'Filesystem driven device naming' project might be able to address > /dev -- it implies that /dev would become a pseudo-fs that could > perhaps be mounted in a zone (with only the correc

Re: [zones-discuss] Zones on NFS

2007-04-17 Thread Dan Price
On Wed 18 Apr 2007 at 12:45AM, Nicolas Williams wrote: > That said, I know of one customer that lofi-mounts zone roots from > NFS-accessed image files. Zones on NFS, in a roundabout way. Not for > the faint of heart, that, but they've offered to contribute the scripts > that they use to manage th

[zones-discuss] Re: Changing the date of a nonglobal zone

2007-04-24 Thread Dan Price
On Tue 24 Apr 2007 at 01:49PM, Gregory Edwards - Software Support wrote: > IHAC who has the following question. > > Is it possible to change the date in a nonglobal zone to a different date than > the global zone? > No, it's not possible to do so. However, the time zone can be set independently

Re: [zones-discuss] Re: Changing the date of a nonglobal zone

2007-04-26 Thread Dan Price
On Thu 26 Apr 2007 at 12:43PM, Rayson Ho wrote: > On 4/24/07, Dan Price <[EMAIL PROTECTED]> wrote: > >No, it's not possible to do so. However, the time zone can be set > >independently between zones. > > Having a different date/time settings for non-globa

Re: [zones-discuss] Query urgent : To restrict the no of processes in a zone]

2007-05-08 Thread Dan Price
On Tue 08 May 2007 at 12:38PM, Nagaprasanna A wrote: > 3) Now Cu comes back with the below query : > > My requirement is the ability to restrict the total number of > processes per zone(as per details in your link). When will the above > be implemented in Solaris 10 ? zone.max-lwps limits the n

Re: [zones-discuss] sol10u3 resulting local zones no syslog or nfs

2007-05-09 Thread Dan Price
On Wed 09 May 2007 at 09:55AM, Stephen Hahn wrote: > * Michael Barrett <[EMAIL PROTECTED]> [2007-05-09 08:43]: > > Just your normal stuff but no nfs or syslog. I do see that > > sysidtool:net is offline. I'm guessing this is my issue. > > > > svc:/system/sysidtool:net (sysidtool) > > State: of

Re: [zones-discuss] Default RM controls for Containers?

2007-05-10 Thread Dan Price
On Thu 10 May 2007 at 03:58PM, Bob Netherton wrote: > On Thu, 2007-05-10 at 14:11 -0400, Jeff Victor wrote: > > > However, this model does not solve the problem that is documented in > > Clarkson's paper: the "out-of-the-box" experience does not protect > > well-behaved zones from poorly-behaved

Re: [zones-discuss] Default RM controls for Containers?

2007-05-10 Thread Dan Price
On Thu 10 May 2007 at 04:21PM, Jerry Jelinek wrote: > of the other controls is trickier although I think Dan's idea of scaling > these based on the system makes it easier. We might also want to think > about scaling based on the number of running zones. Another way to look at it (and I think what

Re: [zones-discuss] Default RM controls for Containers?

2007-05-10 Thread Dan Price
On Thu 10 May 2007 at 10:28PM, Mike Gerdts wrote: > Providing open access to this information across Sun's product line > and opening up the computation methods to allow others to "benchmark" > other systems would be very helpful. Perhaps in the future ISV's > would say more meaningful things like

Re: [zones-discuss] FSS question

2007-05-17 Thread Dan Price
On Thu 17 May 2007 at 06:28PM, Ramesh Mudradi wrote: > Hi > > I have a non-global zone binded to a pool with pset.min=4 and pset.max=16. > I am running the script to flog the cpu of nonglobal zone from > http://www.brendangregg.com/Zones/zoneflogcpu > > Before running the script, the non-gl

Re: [zones-discuss] Re: FSS question

2007-05-18 Thread Dan Price
On Fri 18 May 2007 at 08:25AM, Gary Pennington wrote: > There doesn't appear to be an objective set for poold. At a minimum you > should read the libpool manpage (man libpool(3LIB)) and understand > the section on setting system.poold.objectives. I would suggest that for > this scenario you should

Re: [zones-discuss] Re: Installing zones: insane dependencies

2007-05-27 Thread Dan Price
On Sun 27 May 2007 at 04:46PM, Manish Agrawal wrote: > I ran into this issue when I created zones in Nevada (build 63). It > appears that there is one java process for each zone. I am not sure of > the relationship between java and zones, but there was only 1 java > process visible in the global zo

Re: [zones-discuss] Memory limits for zones?

2007-06-18 Thread Dan Price
On Mon 18 Jun 2007 at 01:56PM, [EMAIL PROTECTED] wrote: > Can someone tell me when memory limits will be supported in zones in > Solaris 10? > > I'm looking for when the new zone resource management was or will be > made available. > > Specify the memory limits for the zone my-zone. > > zonecfg:

Re: [zones-discuss] lofi devices broken after patching

2007-06-18 Thread Dan Price
On Mon 18 Jun 2007 at 12:52PM, Ron Halstead wrote: > On Friday, June 15, 07, I patched the global zone on a machine with 2 > local zones. The global zone has 4 file systems connected (but not > mounted) from a 3320 storage array. Using lofiadm -a, i created 4 > devices which I imported to the local

[zones-discuss] Re: [perf-discuss] Poor zone performance in small servers

2007-06-19 Thread Dan Price
On Tue 19 Jun 2007 at 09:37PM, Luke Schwab wrote: > Hi, > > I have recently been running performance tests with zones on several > Sun servers. (280's and 880's), 2 CPU and 8CPUs respectively. > > On my 280 servers (2CPU machines), I installed and booted 3 zones and > I get poor performance on ac

Re: [zones-discuss] zone info question

2007-07-06 Thread Dan Price
On Fri 06 Jul 2007 at 12:15PM, Jerry Jelinek wrote: > Russ Petruzzelli wrote: > > In a script I'd like to run prtdiag if I am in a global zone. > > > > Is there a zoneadm command to tell me what kind of zone I'm in? It's > > not jumping out at me in the zoneadm help. > > > > eg: > > > > if [[

Re: [zones-discuss] Setting up a testing environment for a P2P application

2007-07-06 Thread Dan Price
On Fri 06 Jul 2007 at 01:10PM, Jeff Victor wrote: > >> > >> - We are planning to test 1000 nodes (=containers) on a 2 GB RAM > >> Athlon Dual Core 4.2 GHz machine. Is that possible? > > I'll make a stronger statement than JeffS: a Solaris container > requires at least 20MB of RAM to boot and start

Re: [zones-discuss] Running zonename command in an alternate root

2007-07-26 Thread Dan Price
On Thu 26 Jul 2007 at 05:04PM, James Carlson wrote: > > Here's a code snippet : > > > > ZONECMD=${PKG_INSTALL_ROOT}/usr/bin/zonename > > That's the broken part. That should be just: > > ZONECMD=/usr/bin/zonename I'm lacking context here, slightly, but... Isn't it also broken to be calli

Re: [zones-discuss] Can the network interface of a local zone get a dynamic ipv4 address?

2007-08-02 Thread Dan Price
On Fri 03 Aug 2007 at 11:24AM, Lu, Baolu wrote: > > This doesn't work for me on my system. > The local zone get a address of 192.168.74.200, > while the global address is in the segment of 10.239.*.* Hi, and welcome. If you're running Solaris 10, you will have to wait for the update scheduled f

Re: [zones-discuss] zonecfg question

2007-08-02 Thread Dan Price
On Thu 02 Aug 2007 at 10:35AM, Yanakiev, Vladimir wrote: > Yes, John, that's my understanding too - zonecfg is supposed delete > both the entry in the index file, and the xml. But, somehow we ended > with this awkward status. It makes sense to me if zonecfg detects such > status, to send one extra

Re: [zones-discuss] Can the network interface of a local zone geta dynamic ipv4 address?

2007-08-02 Thread Dan Price
On Fri 03 Aug 2007 at 12:39PM, Lu, Baolu wrote: > > Thanks for reply. > > I use snv_68 32 bits. The zonecfg doesn't support > > set ip-type > > command. > > Which build is this feature available since on? Since Build 57. Are you sure it isn't there? Try this: zonecfg help set|grep ip Yo

Re: [zones-discuss] [brandz-discuss] Creating a Virtualization Community Group

2007-08-07 Thread Dan Price
On Tue 07 Aug 2007 at 04:29PM, Nils Nieuwejaar wrote: > On Tue 08/07/07 at 16:18 PM, [EMAIL PROTECTED] wrote: > > Discussion on the OGB-discuss list regarding creating a LDOM (Logical > > Domain) Community, has again brought up the question of whether to form a > > combined virtualization community

Re: [zones-discuss] [brandz-discuss] Creating a Virtualization Community Group

2007-08-07 Thread Dan Price
On Tue 07 Aug 2007 at 04:14PM, Tony Kay wrote: > Hi Russ > > On 7 Aug 2007, at 15:14, Russ Petruzzelli wrote: > > > [EMAIL PROTECTED] often discusses virtualization in a general > > sense. I often see people bring up questions regarding comparing > > different virtualization implementations.

Re: [zones-discuss] Wiki

2007-08-08 Thread Dan Price
On Wed 08 Aug 2007 at 05:31PM, Andrew Dishong wrote: > I have created a Containers Wiki, please take a look and contribute often. > Please read the policies regarding posting material, thanks andy > That's interesting, but I think it would be nice if you talked to the community *first* before do

Re: [zones-discuss] Setting the time in a Zone (or Container)

2007-08-17 Thread Dan Price
On Fri 17 Aug 2007 at 10:36AM, Rayson Ho wrote: > "Timewarp Zones" will eventually be in a future version of Solaris: > > http://blogs.sun.com/dank/entry/28_days_later > http://blogs.sun.com/dank/entry/the_semantics_of_time_independent > http://blogs.sun.com/dank/entry/back_to_the_future_timewarp

Re: [zones-discuss] Need code review: 6558857 ZSD callback locking cause deadlocks

2007-08-29 Thread Dan Price
On Wed 29 Aug 2007 at 03:47PM, Erik Nordmark wrote: > > Fixing the above CR requires changing how locking is done across the ZSD > callbacks. The new design is to determine what callbacks are needed > while holding the usual locks, but not hold any locks across the actual > callbacks. > > This

Re: [zones-discuss] Correct procedure to remove a ZFS file system from a non-global zone

2007-09-07 Thread Dan Price
On Fri 07 Sep 2007 at 11:53AM, Ril wrote: > I posted this query to the ZFS discussion forum, but got no replies -- > perhaps this is more of question about zones than zfs: > > I followed the procedure to add a ZFS dataset to a non-global, whole-root > zone as a delegated dataset as described in

Re: [zones-discuss] Correct procedure to remove a ZFS file system from a non-global zone

2007-09-07 Thread Dan Price
On Fri 07 Sep 2007 at 04:08PM, Dan Price wrote: > On Fri 07 Sep 2007 at 11:53AM, Ril wrote: > > I posted this query to the ZFS discussion forum, but got no replies -- > > perhaps this is more of question about zones than zfs: > > > > I followed the procedure to add a

Re: [zones-discuss] how long would it take to install a zone on Sun

2007-09-19 Thread Dan Price
On Tue 18 Sep 2007 at 11:06PM, sunnie wrote: > After reading some material about zoneadm clone, it seems to me that > such a fast zone creation requires the template zone to be on a zfs > file system. However, if not, anything else can help speed up > installing zone? Especially, at present, my SU

Re: [zones-discuss] how long would it take to install a zone on Sun

2007-09-19 Thread Dan Price
On Wed 19 Sep 2007 at 10:21AM, Steffen Weiberle wrote: > Hi Dick, > > Dick Davies wrote: > > On 19/09/2007, Steffen Weiberle <[EMAIL PROTECTED]> wrote: > > > > > >>On ZFS, with Nevada, a snapshot and then clone is created, so it > >>is very fast. > > > > > > That's also the case in Solaris 10

Re: [zones-discuss] list of default /dev nodes in non-global zones

2007-09-19 Thread Dan Price
On Wed 19 Sep 2007 at 06:05PM, Sebastien Roy wrote: > I'm working on adding a new service which runs in a non-global zone, and > which uses a control device in /dev. How do I arrange for this /dev node > to appear in non-global zones? Check out /usr/lib/brand/native/platform.xml, which defines

Re: [zones-discuss] unable to rsh into zone2

2007-09-27 Thread Dan Price
On Thu 27 Sep 2007 at 08:24AM, James Carlson wrote: > [EMAIL PROTECTED] writes: > > Anyone know how to start the restarter? > > You don't need to, and doing it wouldn't help. Instead, you need to > use "zlogin -C zone2" to connect to the zone's console and answer the > questions that sysidtool is

Re: [zones-discuss] ps -Z is broken

2007-09-28 Thread Dan Price
On Fri 28 Sep 2007 at 09:37PM, Peter Tribble wrote: > On 9/27/07, Hugh McIntyre <[EMAIL PROTECTED]> wrote: > > Mike Gerdts wrote: > > > How about a variant of: > > > > > > ps -o zone,user,pid,args -u fred > > Well, yes, but having to do so is just daft. The user shouldn't > have to explicitly spec

Re: [zones-discuss] ps -Z is broken

2007-09-29 Thread Dan Price
On Sat 29 Sep 2007 at 11:44AM, Peter Tribble wrote: > > OK, I've seen Andy's reply in the pgrep thread, so basically > I believe we should just print out the whole zone name. In other > words, %8.8s becomes %8s, and if it's short it will line up like > it does at the moment. If it's long, it will

Re: [zones-discuss] bug? zone wont create device files during boot

2007-10-01 Thread Dan Price
On Mon 01 Oct 2007 at 01:14PM, John Chase wrote: > > This has just been escalated as a P1 bug in 8/07. > Indeed. And please accept our apologies that this bug slipped out. This was a case where a late performance fix wound up impacting correctness. We're still assessing why our test suite (and

Re: [zones-discuss] bug? zone wont create device files during boot

2007-10-01 Thread Dan Price
On Mon 01 Oct 2007 at 02:10PM, Gael wrote: > Thanks for the answer Dan, will the relief be a replacement for the binary > itself or a full new kernel patch ? Trying to identify the impact on our > environment (ie reboot vs no reboot) I'm not sure about reboot vs. no reboot, but I believe the patch

Re: [zones-discuss] bug? zone wont create device files during boot

2007-10-03 Thread Dan Price
On Tue 02 Oct 2007 at 07:35AM, Konstantin Gremliza wrote: > > > Someone earlier stated that this was also broken in SXDE-- as far as > I know that is *not* the case. One of the reasons this has been a > troublesome area is that in Nevada the /dev zones implementation is > radical

Re: [zones-discuss] zlogin invoked by cron hangs after a few minutes

2007-10-24 Thread Dan Price
On Wed 24 Oct 2007 at 12:07AM, Damien Carbery wrote: > > are you piping /dev/null to STDIn in the commands, I > > can see you did > > that on the commands line, but not clear if you did > > it in the script or not. > For every command in the script? > The script is: > http://cvs.opensolaris.org/so

Re: [zones-discuss] apache2 ignoring capped-memory

2007-11-08 Thread Dan Price
On Sun 04 Nov 2007 at 07:29PM, Mike Gerdts wrote: > > ZONEIDNPROC SWAP RSS MEMORY TIME CPU ZONE > > 5 37 270M 121M 9.5% 0:01:12 2.1% www > > 4 35 330M 80M 6.3% 0:03:58 3.8% helix > > 0 49 68M 93M 7.3% 0:37:10 0.8% global > >

Re: [zones-discuss] RFC on introducing getzoneidbyname(9f)....

2007-11-12 Thread Dan Price
On Mon 12 Nov 2007 at 01:54PM, Darren Reed wrote: > Looking in usr/src/uts/common/os/zone.c, there are is a number > of functions that have the words "Public interface" before them, > such as: > > /* > * Public function to retrieve the zone status. The zone status may > * change after it is ret

Re: [zones-discuss] bug? zone wont create device files during boot

2007-11-14 Thread Dan Price
On Fri 02 Nov 2007 at 07:23AM, Jerry Jelinek wrote: > It sounds like you are hitting the following known bug: > > 6608977 Can't add device to non-global zone in S10 update 4 > > It looks like this is fixed in patch 125914-01 for x86 and > patch 127111-03 for sparc, although 127111-03 isn't quite

Re: [zones-discuss] bug? zone wont create device files during boot

2007-11-14 Thread Dan Price
On Mon 01 Oct 2007 at 11:28AM, Dan Price wrote: > So, stay tuned. We've been sorting this out for about a week now, and are > at work on getting a patch out as fast as possible. For contract > customers, filing an escalation on bug 6608977 should get you access to > binary relie

Re: [zones-discuss] maxuproc

2008-02-14 Thread Dan Price
On Thu 14 Feb 2008 at 03:40PM, Pedro Espinoza wrote: > Is there any way to enforce maxuproc at zone level? Or is there any > equivalent functionality at zoneadm/rctl level? Pedro, I believe that the global maxuprc setting is enforced per-zone. That is to say, each zone has its own user-process-co

Re: [zones-discuss] maxuproc

2008-02-14 Thread Dan Price
On Thu 14 Feb 2008 at 05:40PM, Mark Mulligan wrote: > Yeah, zone.max-lwps stops the fork bombs if that's what you are trying to do. > > I showed it to a customer today. I set it arbitrarily high at 15,000, but > well > below the global default of ~31K. > > > # zonecfg -z zone1 > zonecfg:zone1>

Re: [zones-discuss] Lost network connectivity and NIC recognition

2008-03-20 Thread Dan Price
On Tue 18 Mar 2008 at 05:17PM, Anne Moore wrote: > > You're wrong here and you were wrong about the migration. Why can't you > accept that!? You should be asking me HOW I did the entire thing so > successfully than saying it can't be done. You should learn to WORK with the > public engineers, not

Re: [zones-discuss] Sparse > Full

2008-04-02 Thread Dan Price
On Wed 02 Apr 2008 at 09:06PM, Morris Hooten wrote: > Is there a way to convert a sparse zone to root or just remove inherited > lofs to GZ? > > I have a sparse zone I'd like to have it's own /usr Morris, At present there is no way to convert. But this is a use case I will keep in mind as we d

  1   2   >