Re: [zones-discuss] IPKG Brand for S10/SX:CE

2009-04-23 Thread Jerry Jelinek
Ben Rockwood wrote: One issue I did smack into that I don't fully understand yet is the syseventd service failing within the zone. I'm still trying to hash out how to solve that. Sorry, I sent a pointer to the wrong webrev. It should be: http://cr.opensolaris.org/~gjelinek/webrev.6793/

Re: [zones-discuss] IPKG Brand for S10/SX:CE

2009-04-23 Thread Jerry Jelinek
Ben Rockwood wrote: So I'm perplexed how this service could wind up in the zone-- unless the variant isn't getting set properly in the image? Or perhaps the mixing of a very new version of SUNWipkg with older repository contents is causing this to not work right... I'm not certain. Stated

Re: [zones-discuss] Re : Reconfig of existing Zone

2009-03-26 Thread Jerry Jelinek
Steffen Weiberle wrote: I have wondered whether there is an RFE for an interface to zonecfg or probably more likely zoneadm, to apply these changes now automatically, instead of having to know all the OS commands (ifconfig addif, mount -F lofi, rcapadm, prctl, etc.). 6212241 RFE: ability to

Re: [zones-discuss] Update Grants, Merge BrandZ and Zones Communities

2009-02-10 Thread Jerry Jelinek
Dan Price wrote: ... Dan, Thanks for doing all of the work to put this together. +1 from me. Also, +1 on Glen Faden as a core contributor. Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org

[zones-discuss] FYI new zones related rctl

2009-02-06 Thread Jerry Jelinek
FYI, An ARC case was recently submitted for a new rctl related to limiting process slots consumed by zones. The case is here: http://www.opensolaris.org/os/community/arc/caselog/2009/042/ in case anyone is interested in reading it. Jerry ___

Re: [zones-discuss] Does update on attach add information from the new systems kernel patch ?

2009-02-04 Thread Jerry Jelinek
Geoff Shipman wrote: Jerry, I received update they did not use a force option to the attach just the -u. They noted that no log file was created in the /var/sadm/system/logs directory of the NGZ. This attach was stymied originally by a Veritas package VRTSat that had patch 117499-02

Re: [zones-discuss] Does update on attach add information from the new systems kernel patch ?

2009-02-02 Thread Jerry Jelinek
Geoff Shipman wrote: Hello All, I attached a NGZ that was from an alternate system to a Update 6 system using the -u option. The NGZ is sparse but I don't think a whole root would behave much differently. The update worked and the NGZ was attached but I noted that the kernel revision via

Re: [zones-discuss] Does update on attach add information from the new systems kernel patch ?

2009-02-02 Thread Jerry Jelinek
Geoff Shipman wrote: Jerry, Thanks for the update on the /etc/release file. The customer is more concerned regarding the kernel patch info not listed in the NGZ. From uname output in the NGZ we can see the kernel matches the global value. Its the lack of showrev -p data for that kernel

Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Jerry Jelinek
Christine Tran wrote: I am running into this: https://opensolaris.org/jive/thread.jspa?threadID=79673 r...@ender:/# zoneadm -z web boot zone 'web': Error: error mounting zone root dataset. zone 'web': zoneadm: zone 'web': call to zoneadmd failed When I go to check the CR, there's

Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Jerry Jelinek
Christine Tran wrote: On Thu, Jan 29, 2009 at 9:20 AM, Jerry Jelinek gerald.jeli...@sun.com wrote: You haven't provided much information so its hard to help you. What build are you running? The issue described in the thread you reference should be fixed in the OpenSolaris 2008.11 release

Re: [zones-discuss] What is the workaround to CR6176743

2009-01-29 Thread Jerry Jelinek
Assuming that the zonepath for your zone is /zones/web, then the problem is that it looks like the dataset was not umounted when you shut down the zone. Christine Tran wrote: What is the output of 'mount -p' and 'zfs list' on this system? r...@ender:/# mount -p rpool/ROOT/opensolaris - /

Re: [zones-discuss] Solaris 8 Zones Cleanup

2009-01-21 Thread Jerry Jelinek
Bernd Schemmer wrote: Ed, well, certainly you could remove packages, but why bother. disk space is cheap. Not SAN ... but I don't care about the diskspace -- I was only thinking it might be useful/recommended to do so. The vx* pkgs probably can be removed without a problem. I wouldn't

Re: [zones-discuss] native p2v code review

2009-01-21 Thread Jerry Jelinek
Roland, Thanks for looking at this. I'll take a look at each of your recommendations. One factor is that we plan on backporting this to S10, so I want to keep things working on that release with a minimum of changes. Thanks again, Jerry ___

Re: [zones-discuss] native p2v code review

2009-01-21 Thread Jerry Jelinek
Mike, Thanks for reviewing this and sending your comments. I'll make the changes to use mktemp. Responses to your other comments are in-line. Mike Gerdts wrote: /usr/src/lib/brand/native/zone/image_install.ksh 290 typeset line=$(grep files_compressed_method $ident) 301

Re: [zones-discuss] Solaris 8 Zones Cleanup

2009-01-21 Thread Jerry Jelinek
Fredrich Maney wrote: On Wed, Jan 21, 2009 at 2:27 PM, Edward Pilatowicz edward.pilatow...@sun.com wrote: well, certainly you could remove packages, but why bother. disk space is cheap. ed For the same reasons that you don't install unneeded packages in the first place: security,

[zones-discuss] native p2v code review

2009-01-20 Thread Jerry Jelinek
I have a first cut at p2v for native zones. This is: 6667924 physical to virtual utility for native zones PSARC 2008/766 native zones p2v There is a webrev at: http://cr.opensolaris.org/~gjelinek/webrev.p2v/ I already have some comments from Ed and I'll be making a few small changes, but I'd

Re: [zones-discuss] Memory reservation

2009-01-08 Thread Jerry Jelinek
Pascal Fortin wrote: Hi all, I guess the answer is no but i want to have your opinion on this stuff. Is there a way to guarantee a minimum amount of memory for the global zone? This is to prevent all memory being catched by other zones and eventually you can't do anything to free this

Re: [zones-discuss] Memory reservation

2009-01-08 Thread Jerry Jelinek
Pascal Fortin wrote: Hi Jerry, Thanks for your response. This is not overprovisioned system but you can have a bug somewhere that lead to use all memory and, of course, you have to correct it. But all other zones in the system will suffer from this situation and in consolidation

Re: [zones-discuss] Memory reservation

2009-01-08 Thread Jerry Jelinek
Pascal Fortin wrote: If you have a system with a fixed number of zones, you can distribute the total amount of memory to the zones except what you want to reserve. If you don't know how many zones you will have or on which system your zone will be run, you can't easily manage how many

Re: [zones-discuss] After upgrading snv_101b my zones do not start anymore

2009-01-05 Thread Jerry Jelinek
Zoltan Farkas wrote: When attempting to boot them I get: This was discussed here: http://www.opensolaris.org/jive/thread.jspa?threadID=80209tstart=75 I also blogged about this here: http://blogs.sun.com/jerrysblog/entry/zones_on_opensolaris_2008_11 Jerry

Re: [zones-discuss] Moving /opt to inherited

2008-12-23 Thread Jerry Jelinek
David Smith wrote: I have about a dozen zones on a system. During the creation of some of the early zones, I was wondering why my sparse zones were so large. I found out that the /opt area was being copied, so I updated the default template to make /opt an inherited directory for the

Re: [zones-discuss] OpenSolaris 2008.11: How to use the sysidcfg file?

2008-12-17 Thread Jerry Jelinek
Bernd Finger wrote: Hi all, I'd like to create a sysidcfg file to completely avoid configuration screens when booting a newly created zone. I found that with OpenSolaris 2008.11, I have to mount a zone, create the /etc/sysidcfg file under the zone's root directory and then unmount the

[zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
Attached is a proposal for native-brand zone p2v that I am planning to submit for ARC review soon. I'd like to hear any comments about this. Thanks, Jerry --- SUMMARY: This fast-track enhances the Solaris Zones [1] subsystem to address an existing RFE [2] requesting a physical to

Re: [zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
Bill Walker wrote: Tjere are some SMF services known to break when moving into a zone from a physical server. Things like sysevent, FMA-ish stuff, ldom manager, etc. (I don't have my notes in front of me, but I seem to remember around 4-5 from a SUNWall vanilla installation). Mostly

Re: [zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
Mike, Mike Gerdts wrote: The image modifications fall into the following areas: 1) SMF services that are not usable within a zone should be deleted or disabled as necessary (for S8 and S9 we dealt with rc scripts instead). This implies that the source system can be S8, S9,

Re: [zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
Nico, Nicolas Williams wrote: On Mon, Dec 08, 2008 at 10:14:26AM -0700, Jerry Jelinek wrote: Yes, not everything that runs in the global zone works in a non-global zone. NFS serving or non-global zones are the most obvious examples. For SMF services, the services to be deleted

Re: [zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
James, James Carlson wrote: Jerry Jelinek writes: Mike Gerdts wrote: This implies that the source system can be S8, S9, or S10. I don't see anywhere else in the proposal that explicitly states that S8 and S9 can be attached and upgraded, so I suspect I am reading my wishes into your words

Re: [zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
James, James Carlson wrote: Jerry Jelinek writes: James Carlson wrote: Update on attach just means apply saved patches, if any are needed, right? Not really. We see what pkgs are out of sync, either because of the pkg version of because of patches applied to those pkgs, then we do

Re: [zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
Mike, Mike Gerdts wrote: On Mon, Dec 8, 2008 at 12:37 PM, James Carlson [EMAIL PROTECTED] wrote: I think answering that would answer the previous poster's question about the difference between doing an upgrade before flar creation and just importing a flar from S9: the former results in a

Re: [zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
James, James Carlson wrote: Jerry Jelinek writes: We can handle 'update on attach' from s10 to nv, although nv isn't an official release yet and something might happen which breaks this (maybe IPS?). We don't support 'update on attach' of s8 or s9, although I have played around

Re: [zones-discuss] zone p2v proposal

2008-12-08 Thread Jerry Jelinek
James, James Carlson wrote: Presumably, as a non-native zone, if such a thing existed, it would be expected to result in no upgrade-on-attach behavior. Right? Right, although the behavior is really dictated by the brand definition, so some sort of behavior could be defined for zone

Re: [zones-discuss] Issue with zone upgrade on attach

2008-11-18 Thread Jerry Jelinek
Christophe Dupre wrote: Hello, we're having an issue migrating a zone from one server to another. Server A has Solaris 10 x86 05/08 and hosts zone X (spare-root zone). Server B has just been acquired and installed with Solaris 10 x86 10/08 and hosts a number of zones created locally.

Re: [zones-discuss] Issue with zone upgrade on attach

2008-11-18 Thread Jerry Jelinek
Christophe Dupre wrote: Thanks Jerry for the quick reply. I am making progress, but no cigar (yet). Now I have: zoneadm: zone 'X': ERROR: attempt to downgrade package SUNWgtar, the source had patches but this system does not It does not give me a patch number, so I can't add it to the

Re: [zones-discuss] Update on attach and upgrades

2008-11-06 Thread Jerry Jelinek
Henrik Johansson wrote: The easiest way would probably be to identify packages that are not to be updated, in my experience packages do not differ that much between local zones in production environments, but that is only based on the system I have worked with. I always keep zones as

Re: [zones-discuss] Update on attach and upgrades

2008-11-06 Thread Jerry Jelinek
Mike Gerdts wrote: On Thu, Nov 6, 2008 at 8:16 AM, Jerry Jelinek [EMAIL PROTECTED] wrote: Henrik Johansson wrote: The easiest way would probably be to identify packages that are not to be updated, in my experience packages do not differ that much between local zones in production environments

Re: [zones-discuss] Update on attach and upgrades

2008-11-05 Thread Jerry Jelinek
Henrik Johansson wrote: Hi all, Some thoughts regarding update on attach, and why I don't think it will be as useful as it could be. Perhaps Jerry or someone could enlighten me or give me some feedback. This mainly applies to whole root zones, since they do not have any inherited

Re: [zones-discuss] opensolaris zones cookbook

2008-10-23 Thread Jerry Jelinek
Luca Morettoni wrote: On 10/22/08 17:53, Jerry Jelinek wrote: Since there have been several questions about using zones on recent opensolaris builds (98 and later) I thought I would try to summarize what to do. First, all of this is discussed in gory detail in the spec if you need more info

Re: [zones-discuss] opensolaris zones cookbook

2008-10-23 Thread Jerry Jelinek
Nicolas Dorfsman wrote: Le 22 oct. 08 à 18:22, Jerry Jelinek a écrit : Zoram Thanga wrote: Hi Jerry, Jerry Jelinek wrote: 3) Zones are only supported in ZFS. This means that the zonepath must be a dataset. For example, if the zonepath for your zone is /export/zones/foo

[zones-discuss] opensolaris zones cookbook

2008-10-22 Thread Jerry Jelinek
Since there have been several questions about using zones on recent opensolaris builds (98 and later) I thought I would try to summarize what to do. First, all of this is discussed in gory detail in the spec if you need more info: http://www.opensolaris.org/jive/thread.jspa?messageID=273528; 1)

Re: [zones-discuss] opensolaris zones cookbook

2008-10-22 Thread Jerry Jelinek
Zoram Thanga wrote: Hi Jerry, Jerry Jelinek wrote: 3) Zones are only supported in ZFS. This means that the zonepath must be a dataset. For example, if the zonepath for your zone is /export/zones/foo, then /export/zones must be a dataset. The zones code will then create

Re: [zones-discuss] Questions regarding Solaris containers

2008-10-22 Thread Jerry Jelinek
Tamer Embaby wrote: Steffen Weiberle wrote: 5. Can somebody clarify me whether ZFS is supported for containers? Since ZFS has the concept of creating pool of devices first and on top of that file systems can be created. I would like to know what kind of support is there today for ZFS

Re: [zones-discuss] whole root zones in nv_98?

2008-10-13 Thread Jerry Jelinek
Menno Lageman wrote: OpenSolaris 2008.05 has introduced a new zone brand, ipkg, which is different from the native zones in Solaris 10. (I'm not familiar with Zone Manager, so I don't know if it supports ipkg zones.) 2) Since I don't have any inherit_pkg_dir entries when I use the -t s

Re: [zones-discuss] vxfs setting=value style mount options

2008-09-11 Thread Jerry Jelinek
[EMAIL PROTECTED] wrote: I was thinking about global zones /etc/vfstab. Using zones fs configuration if I want to remount (using other options) it in the middle of the day I would have to reboot the zone. Using only /etc/fstab (from global zone) I just run -o remount, ... option. Using the

Re: [zones-discuss] vxfs setting=value style mount options

2008-09-10 Thread Jerry Jelinek
[EMAIL PROTECTED] wrote: On Wed, Sep 10, 2008 at 12:55:53PM +0100, Lewis Thompson wrote: On Tue, 2008-09-09 at 09:04 -0400, Jeff Victor wrote: The zonecfg man page has an example of the use of fs options: zonecfg:myzone3 add fs zonecfg:myzone3:fs set dir=/usr/local

Re: [zones-discuss] vxfs setting=value style mount options

2008-09-09 Thread Jerry Jelinek
Lewis Thompson wrote: Hi, I have a simple zone configured to test the VxFS 'convosync=direct' option. It's an s10u5 machine with no additional patches: zonecfg:lt203398:fs info fs: dir: /foo special: /dev/lofi/1 raw:

Re: [zones-discuss] zones/SNAP design

2008-09-03 Thread Jerry Jelinek
Ed, Thanks for taking the time to go through this. I have a few responses to your comments in-line. Edward Pilatowicz wrote: hey jerry, nice proposal. sorry i didn't reply to this earlier, i managed to miss it last week. :( some comments are below. - you proposed: The

Re: [zones-discuss] zones/SNAP design

2008-08-27 Thread Jerry Jelinek
Darren J Moffat wrote: Jerry Jelinek wrote: Currently, with user defined properties, the values can be changed inside the zone. The proposal actually depends on this feature. It sounds like you might need to talk to the zfs team about some enhancements here so we can have properties

Re: [zones-discuss] [caiman-discuss] SNAP zones layout proposal.

2008-08-27 Thread Jerry Jelinek
Ethan Quach wrote: Hey Jerry, I just thought about something regarding the zones dataset namespace. Instead of creating the dataset for zone roots at: rpool/export/zones/z1/rpool/ZBE1 Maybe we should insert the roped off ROOT container dataset like we do in the global zone:

Re: [zones-discuss] [caiman-discuss] SNAP zones layout proposal.

2008-08-27 Thread Jerry Jelinek
Ethan Quach wrote: Ethan Quach wrote: Jerry Jelinek wrote: Evan Layton wrote: This is the same as what is done with /rpool/ROOT and ZFS boot, with ROOT being the confined area where we place BE's. An admin can still create things there but this is the only place that we look

Re: [zones-discuss] zones/SNAP design

2008-08-26 Thread Jerry Jelinek
Steve, Thanks for looking this over, responses in-line. Steve Lawrence wrote: During the zone installation and after the zone is installed, the zone's ZBE1 dataset is explicitly mounted by the global zone onto the zone root (note, the dataset is a ZFS legacy mount so zones infrastructure

Re: [zones-discuss] zones/SNAP design

2008-08-26 Thread Jerry Jelinek
Glenn, Glenn Faden wrote: Jerry, For Trusted Extensions in OpenSolaris, we plan to use a new labeled brand for zones which will be derived from the new ipkg brand. So your proposal also affects labeled branded zones. I would like to explore the plan to delegate these datasets to the

[zones-discuss] zones/SNAP design

2008-08-25 Thread Jerry Jelinek
Apologies for any duplicates you might receive. This was sent to caiman-discuss, but for those who don't follow that list, I wanted to send this out here. Thanks, Jerry Zones/SNAP Design 8/25/2008 I. Overview This specification describes how ZFS datasets will be used with zones for

Re: [zones-discuss] file system access from global zone

2008-08-22 Thread Jerry Jelinek
Jordan Brown wrote: Jerry Jelinek wrote: Jordan Brown wrote: bart(1M) says about its -R option: Note - The root file system of any non-global zones must not be referenced with the -R option. Doing so might damage the global zone's file

Re: [zones-discuss] zone cloning using zfs?

2008-08-15 Thread Jerry Jelinek
Lori Alt 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

Re: [zones-discuss] swap memory cap and swap command output

2008-08-11 Thread Jerry Jelinek
Glenn Brunette wrote: My apologies if this is a RTFM moment, but I have been looking and have been unable to find an answer. If memory caps are defined for a given zone, why doesn't the output of swap display the cap? 6572077 size of swapfs filesystems in a zone should reflect zone.max-swap

Re: [zones-discuss] more info on 6576592 RFE: zoneadm detach/attach

2008-08-06 Thread Jerry Jelinek
robert s lee wrote: Can I get more info on 6576592 RFE? I read that it should work between 4u/4v. I am interested in any caveats and requirements for attach/detach among 4u an 4v. Robert, What information do you need? There are no specific issues moving between 4u/4v. Jerry

Re: [zones-discuss] 6715679 - update on attach handling of /etc/release

2008-08-04 Thread Jerry Jelinek
Mike, Mike Gerdts wrote: Why take this approach rather than changing or overriding the SUNW_PKG_ALL_ZONES attribute on SUNWsolnm? It seems as though the approach taken will make it so that the package version doesn't match up with the release and pkgchk will complain about /etc/release in

Re: [zones-discuss] Zones' memory cap visibility

2008-07-18 Thread Jerry Jelinek
Peter T wrote: Hi, is there already a workaround to only see the capped memory from within the zone? A lot of apps check for available memory first and try to get as much as possible. If every zone returns the total system memory, logical result is bad performance in the zones and

Re: [zones-discuss] Zones' memory cap visibility

2008-07-18 Thread Jerry Jelinek
Peter Tobac wrote: Hi Jerry, thanks for the response. Is there any news on when we will: solve this bug? or have a usable workaround? Peter, I know this on the list of things to be looked at, but we don't have any date yet. Jerry ___

Re: [zones-discuss] S10U6 zone features

2008-06-25 Thread Jerry Jelinek
Henrik Johansson wrote: Any word if we will get any of these features/fix in S10U6, it would make life with zones quite a bit easier... Zone update on attach (PSARC/2007/621) Attach/dettach between sun4u and sun4v (6480464) Vanity naming (PSARC 2006/499) 6637869 zone attach doesn't

Re: [zones-discuss] need input for zone update on attach

2008-06-19 Thread Jerry Jelinek
Mike Gerdts wrote: The only reason I would say not to use another option is to keep the option free for other things in the future. Mike, Saving the option is not such a big concern. This option would be brand-specific and as such, would not have to be carried forward to other brands.

[zones-discuss] need input for zone update on attach

2008-06-17 Thread Jerry Jelinek
During testing of the zone update on attach feature we have encountered a problem with IDRs on S10. If you are not familiar with an IDR, it is a temporary, one-time patch that is issued to try to solve a problem before an official patch is released. Because these are temporary, one-time patches,

Re: [zones-discuss] code review: native brand refactoring

2008-06-04 Thread Jerry Jelinek
Ed, Edward Pilatowicz wrote: hey jerry, some final comments. ed - could you update the sn1 brand so that it will still work? (it's broken on x86 because of 6703962, but it should still work on sparc.) I'll take a look at what is going on there. usr/src/lib/libbrand/dtd/brand.dtd.1

Re: [zones-discuss] Sparse vs. Whole Root Zones

2008-05-30 Thread Jerry Jelinek
Bob Netherton wrote: would I be able to export and import zones from one server to another if I have different pkg's in local zone from what it is in global? What is the subject to the resrtictions of PKG_ALL_ZONES? I am not sure if I do undesrtand this part. The short answer is yes.

Re: [zones-discuss] code review: native brand refactoring

2008-05-28 Thread Jerry Jelinek
Ed, My responses are in-line. Edward Pilatowicz wrote: On Tue, May 27, 2008 at 08:48:17AM -0600, Jerry Jelinek wrote: I have updated the webrev at: http://cr.opensolaris.org/~gjelinek/webrev/ This includes the changes for the feedback I have received so far. I also added the zlogin.c

Re: [zones-discuss] code review: native brand refactoring

2008-05-28 Thread Jerry Jelinek
Steve Lawrence wrote: Hey Jerry, Does this address this comment in 6621020: This appears to point out at least one bug in zlogin, namely that it keeps stdout_pipe[1] and stderr_pipe[1] from noninteractive_login() open when returning to the parent. Basically, I think the filer

Re: [zones-discuss] code review: native brand refactoring

2008-05-28 Thread Jerry Jelinek
Edward Pilatowicz wrote: - why are you parsing arguments by hand in stead of using getopt()? this will result in non-standard argument parsing and probably break things that used to work like: zoneadm -z foo clone -mcopy -sexport/zones/[EMAIL PROTECTED] ... (note the lack of

Re: [zones-discuss] code review: native brand refactoring

2008-05-28 Thread Jerry Jelinek
Nicolas Williams wrote: On Tue, May 27, 2008 at 08:48:17AM -0600, Jerry Jelinek wrote: This includes the changes for the feedback I have received so far. I also added the zlogin.c file to the webrev with two bug fixes. One of these was for a bug I was hitting during testing of these changes

Re: [zones-discuss] code review: native brand refactoring

2008-05-28 Thread Jerry Jelinek
Edward Pilatowicz wrote: On Wed, May 28, 2008 at 07:02:32AM -0600, Jerry Jelinek wrote: - why is there no locking around the pre-detach hook? That hasn't changed with this code but if I recall correctly, the idea was that predetach is not making any changes to the zone so we don't lock until

Re: [zones-discuss] code review: native brand refactoring

2008-05-28 Thread Jerry Jelinek
Edward Pilatowicz wrote: On Wed, May 28, 2008 at 07:02:32AM -0600, Jerry Jelinek wrote: - in the case of a forced attach why don't we run the brand callback? That is really the definition of forced. We don't do anything when forced except change the state of the zone to installed. hm

Re: [zones-discuss] code review: native brand refactoring

2008-05-28 Thread Jerry Jelinek
Ed, Responses below. Edward Pilatowicz wrote: On Tue, May 27, 2008 at 08:48:17AM -0600, Jerry Jelinek wrote: I have updated the webrev at: http://cr.opensolaris.org/~gjelinek/webrev/ This includes the changes for the feedback I have received so far. I also added the zlogin.c file

Re: [zones-discuss] S10 branded zones

2008-05-27 Thread Jerry Jelinek
Rodney Lindner - SCT wrote: Hi all, has there been any thought of a S10 branded zone running under NV. Most of my servers run NV, but at times I need to test software that only runs on S10. Running up a branded zone would make my life very simple. We have the following RFE open. 646

Re: [zones-discuss] code review: native brand refactoring

2008-05-27 Thread Jerry Jelinek
I have updated the webrev at: http://cr.opensolaris.org/~gjelinek/webrev/ This includes the changes for the feedback I have received so far. I also added the zlogin.c file to the webrev with two bug fixes. One of these was for a bug I was hitting during testing of these changes and there is a

Re: [zones-discuss] code review: native brand refactoring

2008-05-23 Thread Jerry Jelinek
Ed, My responses are in-line. Edward Pilatowicz wrote: On Wed, May 21, 2008 at 09:43:27AM -0600, Jerry Jelinek wrote: Thanks again for your input. I am rebuilding and retesting with these changes. Once that is done, I'll post an updated webrev. i couldn't wait. :) more comments

Re: [zones-discuss] Solaris 8 and Solaris 9 containers in OpenSolaris

2008-05-22 Thread Jerry Jelinek
Bernd Schemmer wrote: Can I use Solaris 8 and Solaris 9 Containers in OpenSolaris? I installed the packages for both but could not create a Solaris 8 or Solaris 9 zone. zonecfg always complained about a not supported brand. I'm running Solaris snv_89 No, this is only supported on S10u4

Re: [zones-discuss] code review: native brand refactoring

2008-05-21 Thread Jerry Jelinek
Ed, Thanks for your comments. My responses are in-line. Edward Pilatowicz wrote: On Tue, May 13, 2008 at 09:59:22AM -0600, Jerry Jelinek wrote: I have posted a webrev at: http://cr.opensolaris.org/~gjelinek/webrev/ for bug: 6553514 native zone svr4 pkg code should be moved into zone

Re: [zones-discuss] code review: native brand refactoring

2008-05-20 Thread Jerry Jelinek
Edward Pilatowicz wrote: one comment to start: - you're adding a bunch of '%*' tokens to native.xml, perhaps this is the time to rip them out instead? 6588602 libbrand '%*' token expansion is a mess Thanks Ed. Sure, I'll take a look at this. Its not like this already isn't a big

Re: [zones-discuss] zoneadm problem

2008-05-12 Thread Jerry Jelinek
Terry Smith wrote: Hi I seem to have found a small problem with zoneadm I have configured a zone called 2 in this case. I have two running zones with IDs 1 and 2 as below When I try and install the zone named 2 it seems to pick up the zone with the instance ID of 2 instead and gives me

Re: [zones-discuss] etude ld.conf

2008-04-10 Thread Jerry Jelinek
Robert Milkowski wrote: Hello zones-discuss, Once I created a zone from s8 image some applications were not working. It was due to ld.conf being overwritten by /usr/lib/brand/solaris8/mods/S40_setup_preload so additional paths we had on s8 system were gone.

Re: [zones-discuss] new option - cpu-dedicated

2008-03-10 Thread Jerry Jelinek
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

Re: [zones-discuss] sol10u4 importance parameter

2008-03-05 Thread Jerry Jelinek
William Aiken wrote: Maciej, Before you created a non-global zone, you created a dynamic resource pool and associated a processor set with it. Then you created a non-global zone and associated it with the resource pool. Now you can create additional non-global zones and if you

Re: [zones-discuss] How good is zonecfg/zoneadm's wildcard parsing?

2008-02-05 Thread Jerry Jelinek
Zoram Thanga wrote: Hi Jerry, Have you had a chance to look at this? I am still seeing the wildcard madness on s10u5: I really don't have anything to do with this. It looks like it was fixed in S10u5 build 7 by the folks who broke it. Are you running build 7? If so, maybe it is still

Re: [zones-discuss] Swap memory caps

2008-01-22 Thread Jerry Jelinek
Jason Bradfield wrote: Hi, I am still having trouble with this if anyone can help out.. Can someone explain.. From prstat -Z SWAP 941M RSS 844M From df -h /tmp 1.1G From Suns doc http://docs.sun.com/app/docs/doc/819-2450/6n4o5mdis?a=view The output of prstat *-Z* displays a

Re: [zones-discuss] Swap memory caps

2008-01-22 Thread Jerry Jelinek
Jason Bradfield wrote: Jerry Jelinek wrote: Jason Bradfield wrote: Hi, I am still having trouble with this if anyone can help out.. Can someone explain.. From prstat -Z SWAP 941M RSS 844M From df -h /tmp 1.1G From Suns doc http://docs.sun.com/app/docs/doc/819-2450/6n4o5mdis

Re: [zones-discuss] Swap memory caps

2008-01-22 Thread Jerry Jelinek
Jason Bradfield wrote: Do you have a definition of the used column for a df -h on the /tmp. and how does this relate to the total swap in prstat.. In my case prstat reports 942M and df reports 1.1G used on /tmp A bug was just filed which might have an impact on what you are seeing: 6653688

Re: [zones-discuss] Swap memory caps

2008-01-22 Thread Jerry Jelinek
Jason Bradfield wrote: Jerry Jelinek wrote: Jason Bradfield wrote: Do you have a definition of the used column for a df -h on the /tmp. and how does this relate to the total swap in prstat.. In my case prstat reports 942M and df reports 1.1G used on /tmp A bug was just filed which might

Re: [zones-discuss] Zones roadmap?

2008-01-14 Thread Jerry Jelinek
Matty wrote: I was looking through the zone community documentation on opensolaris.org, but was unable to dig up a roadmap. Does anyone happen to know if one exists? I am curious which features are planned for 2008 and 2009. We made an internal roadmap almost a year ago but I don't think we

Re: [zones-discuss] ?: lofs of NFS-mounted file system into a non-global zone

2008-01-14 Thread Jerry Jelinek
Steffen Weiberle wrote: I have a customer who is restricting NFS access to their data. Thus, instead of authorizing each non-global zone to be a client, would like to authorize only the global zone, and then lofs mount the NFS-mounted file system into the non-global zone. This work

Re: [zones-discuss] ?: configuration of a *running* zone

2008-01-03 Thread Jerry Jelinek
Steffen Weiberle wrote: Is there a stable way of determining the configuration of a running zone? zonecfg and /etc/zones/zonename.xml show the configuration that will be used on the next boot, so if a change was made via zonecfg, the current running instance may be different from what

Re: [zones-discuss] Changing the output of uname for all zones from within a zone

2008-01-02 Thread Jerry Jelinek
Bernd Schemmer wrote: Hi, (second try; my email to the list seems to got lost) Using sloggi (http://www.roqe.org/sloggi/ http://www.roqe.org/sloggi/) I can change the output of uname for all zones (including the global zone) from within a zone: global zone [Mon Dec 31 17:36:11

Re: [zones-discuss] sharing terminal server ports to non-global zone

2007-12-18 Thread Jerry Jelinek
Christine Tran wrote: A customer is unable to share something called the terminal server ports to non-global zone. I don't know what these are, but here's the description: Serial sensor interfaces are fed to a patch panel and then received by a digital terminal server. Terminal server

Re: [zones-discuss] Simple question... An inherit-pkg-dir resource with the dir '/lib' already

2007-11-30 Thread Jerry Jelinek
David Smith wrote: I'm getting an error on trying to create a second zone. -bash-3.00# zonecfg -z test123 -f test123-zone-cmd.txt On line 7 of test123-zone-cmd.txt: An inherit-pkg-dir resource with the dir '/lib' already exists. resource specification incomplete Zone test123 failed to

Re: [zones-discuss] Zones and defunct processes bypassing the LWP rctl

2007-11-09 Thread Jerry Jelinek
Gael wrote: I had the bad surprise to find a production zone impacting a whole frame this morning... visibly the third party application running in it as root (no comments) generated so many processes that the whole frame was generating a lot of cannot fork errors... impacting the other zones

Re: [zones-discuss] Zones and defunct processes bypassing the LWP rctl

2007-11-09 Thread Jerry Jelinek
Gael wrote: On 11/9/07, Jerry Jelinek [EMAIL PROTECTED] wrote: Gael wrote: I had the bad surprise to find a production zone impacting a whole frame this morning... visibly the third party application running in it as root (no comments) generated so many processes that the whole frame

Re: [zones-discuss] Zone Migration - Sun4u to Sun4v - Supported?

2007-11-08 Thread Jerry Jelinek
Ihsan Zaghmouth wrote: Jerry, How the *update on attach* is planned to be deployed, patch update or next release of solaris10 U5 ? I am currently working on getting this done for nevada. Once it is integrated there then we'll see what S10 update we might be able to get into. I can

Re: [zones-discuss] Zone Migration - Sun4u to Sun4v - Supported?

2007-11-08 Thread Jerry Jelinek
Mads Toftum wrote: On Thu, Nov 08, 2007 at 06:22:40AM -0700, Jerry Jelinek wrote: For zones update on attach we are not supporting downgrading a zone. If you think you will want to migrate back, just leave the original copy of the zone on the original machine and don't boot it. That may

Re: [zones-discuss] Zone Migration - Sun4u to Sun4v - Supported?

2007-11-08 Thread Jerry Jelinek
Mads Toftum wrote: On Thu, Nov 08, 2007 at 06:48:12AM -0700, Jerry Jelinek wrote: Although downgrading the zone might work in some cases it really unsupportable in the general case so we have no plans to do it. Would it at least be possible to get a list of patches that should have been

[zones-discuss] code revew - zone update on attach

2007-11-07 Thread Jerry Jelinek
I have posted a webrev for the zone's update on attach changes at: http://cr.opensolaris.org/~gjelinek/webrev/ This addresses the following: PSARC 2007/621 zone update on attach 6480464 RFE: zoneadm attach should patch/update the zone to the new hosts level 6576592 RFE: zoneadm

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

2007-11-02 Thread Jerry Jelinek
Pascal wrote: bash-3.00# cat /etc/release Solaris 10 8/07 s10s_u4wos_12b SPARC Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 16 August 2007 zonecfg

Re: [zones-discuss] Need to force delete zones

2007-10-31 Thread Jerry Jelinek
Michael Webb - Sun Microsystems wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 please respond directly to me as I am not on the alias. I've built a number of zones for Sun Cluster deliveries so I know just enough to get by. I managed to zorch the /etc/zones~.xml files as well as the

<    1   2   3   >