Re: [zones-discuss] Per-zone CPU Usage Reporting?

2009-09-18 Thread Hernan Saltiel
Hello, Jeff!
Have you tried prstat -Z? Is this not what you are looking for?
Best regards,

HeCSa.
http://www.aosug.com.ar

On Fri, Sep 18, 2009 at 10:27 AM, Jeff Victor jeff.j.vic...@gmail.comwrote:

 Has anyone written a tool to provide per-zone reporting of CPU usage -
 that can be shared? I know someone who wants to do this.

 Thanks in advance,
 --JeffV
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org




-- 
HeCSa
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Per-zone CPU Usage Reporting?

2009-09-18 Thread Hernan Saltiel
That's right, there is a key term here, and is reporting, which involves
accounting.
Thanks, Jeff!
Best regards,

HeCSa.



On Fri, Sep 18, 2009 at 1:48 PM, Jeff Victor jeff.j.vic...@gmail.comwrote:

 Hernan,

 In addition to Mike's point about short-lived processes, prstat
 doesn't tell me how much CPU time a process used during its life.
 Solaris Accounting will generate a record for each process, showing
 how much CPU time it used, and which zone it was in. If you collect
 all of the records, you can sum CPU time for each zone.

 They need a tool which uses those records for input and generates a
 report for chargeback.

 --JeffV

 On Fri, Sep 18, 2009 at 9:31 AM, Hernan Saltiel hsalt...@gmail.com
 wrote:
  Hello, Jeff!
  Have you tried prstat -Z? Is this not what you are looking for?
  Best regards,
 
  HeCSa.
  http://www.aosug.com.ar
 
  On Fri, Sep 18, 2009 at 10:27 AM, Jeff Victor jeff.j.vic...@gmail.com
  wrote:
 
  Has anyone written a tool to provide per-zone reporting of CPU usage -
  that can be shared? I know someone who wants to do this.
 
  Thanks in advance,
  --JeffV
  ___
  zones-discuss mailing list
  zones-discuss@opensolaris.org
 
 
 
  --
  HeCSa
 



 --
 --JeffV




-- 
HeCSa
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] S10 brand spec.

2009-05-12 Thread Hernan Saltiel
Hi!
Will there be an adoption toolkit, to let the people use the S10 brand while
testing it, and starting the migration process?
Thanks a lot, and best regards,

HeCSa.



On Tue, May 12, 2009 at 8:28 AM, Jerry Jelinek gerald.jeli...@sun.comwrote:

 Enclosed is a first draft of a spec. for the S10
 brand which we plan to submit for a PSARC
 inception review.  Please send us any comments
 or questions.

 Thanks,
 Jerry

 ---

   S10C: A Solaris 10 Branded Zone for Solaris.Next

 Gerald Jelinek, Jordan Vaughan
   Solaris Virtualization Technologies


 [A note on terminology: This document uses the terms Solaris 10 and
  Solaris.Next very frequently.  As such, the abbreviations S10 and
  S.next respectively are used interchangeably with the longer forms.
  The term virtualization is abbreviated as V12N.]


 Part 1: Introduction
 

 Each new minor release of Solaris brings with it the well known problems
 of slow user adoption, slow ISV support and concerns about compatibility.
 The compatibility concerns will be more pronounced with the release of
 S.next since it's anticipated that there will be greater than normal
 user-visible changes (e.g. the packaging system, etc.).

 Fortunately, since the last minor release of Solaris (Solaris 10), V12N
 techniques have become widespread and V12N can be used as a solution to
 ease the transition to the new version of Solaris.  Zones[1] combined
 with a brand[2] are particularly well suited for this task since the host
 system is actually running S.next, whereas this is not necessarily the
 case with other V12N solutions.  In addition, zones are usable on any
 system which runs S.next, which is also not the case with other V12N
 alternatives.

 We already have a proven track record delivering this sort of
 zones/brand based solution to enable running earlier versions of Solaris
 on S10 [3, 4], so in one sense this case breaks little new ground.
 However, the earlier 'solaris8' and 'solaris9' brands were used to host
 releases that are very static as compared to hosting a zone running S10.
 In addition, S.next can be expected to continue to change rapidly for
 the forseeable future.  Given this, a 'solaris10' brand for S.next poses
 additional challenges for projects on both the S10 and S.next sides of
 the system.  Many of these challenges are outside of the scope of an
 architectural review and include developer education, testing and
 procedural changes.  However, the existence of this brand could
 potentially impact future projects in various ways and at a minimum will
 require ARC consideration for future reviews.  The existence of this
 brand can be seen as a potential tax on all projects which work on both
 sides of the user/kernel boundary for both S10 and S.next.

 The benefits of the brand are as follows:

  For customers:
- Provides a solution to cope with compatibility differences between
  S10 and S.next
- Protects investment in S10 infrastructure, training, and internal
  support
- Minimize the cost of consolidating Solaris 10 systems
- Enables deployment of new technologies in S.next (e.g., crossbow)
  while still running applications on S10, thereby limiting risk to
  production environment
- Avoids or delays required application recertification

  For Sun:
- S.next is adopted sooner
- Provide a Solaris compatibility environment for S.next
- Sun is a solution provider easing the burden of getting to S.next
- Provide cross-platform virtualization solution for S.next across
  all hardware (it is the only V12N solution on M-Series)

 This has been identified as a required feature for S.next.

 === Project Overview ===

 As with the earlier 'solaris8' and 'solaris9' brands, this project
 delivers the following:

   - A Branded Container which emulates Solaris 10's user environment,
 based on the BrandZ infrastructure provided with zones.
 This brand is called 'solaris10'.  Only Solaris 10u8 and
 beyond will be supported and tested in the zone.

   - A mechanism for archiving existing Solaris 10 systems and for
 redeploying those archives into the branded zone. This
 process is referred to as p2v and uses the same techniques
 as the 'solaris8' and 'solaris9' brands.

 In addition, the following additional capabilities will be provided
 as compared to the 'solaris8' and 'solaris9' brands.

   - This brand will be supported on all hardware architectures
 that run S.next (sun4v, sun4u and x86).  The specific platforms,
 particularly sun4u, will be the same as are certified for S.next.

   - A virtual to virtual or v2v mechanism for archiving existing
 Solaris 10 native zones and for redeploying those archives into
 the branded zone on S.next will be provided.  The process will be
 very similar to the existing zone migration [5] feature except that
 the zone's brand will be changed as part 

Re: [zones-discuss] S10 brand spec.

2009-05-12 Thread Hernan Saltiel
No, I'm talking about the Solaris migration toolkit, available in the past
to certify pre-Solaris 10 binaries against the new versions.
They were a couple of Perl scripts (solcat, for example). They were a binary
interface certification set of scripts.
They were a good point to start thinking in a migration.
Best regards,

HeCSa.



On Tue, May 12, 2009 at 9:26 AM, Jerry Jelinek gerald.jeli...@sun.comwrote:

 Hernan Saltiel wrote:

 Hi!
 Will there be an adoption toolkit, to let the people use the S10 brand
 while
 testing it, and starting the migration process?


 I'm not sure I understand the question.  Are you asking
 if the source code will be available before S.next is
 released?  If so, then yes, we're running this as an
 open project and our plan is to get the current code that
 is under development posted on the project page within
 the next month or so.  We have to finish an internal process
 review first, before we can open the code we've already
 written.  After the code is posted, we'll be keeping it updated
 as we work on it.  Once the code is available, you'll be able
 to build it and use the brand on OpenSolaris to try it out.

 If I misunderstood your question, please let me know.

 Thanks,
 Jerry




-- 
HeCSa
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] solaris10 brand project proposal

2009-04-23 Thread Hernan Saltiel
Hi!
   Count on our community to help with this. We have experience working with
Solaris 8  9 zones inside Solaris 10, and using the migration toolkit
provided by Sun.
   Best regards,

HeCSa.



On Thu, Apr 23, 2009 at 2:21 PM, Jerry Jelinek gerald.jeli...@sun.comwrote:

 Ben Rockwood wrote:

 Sounds like a necessary brand and a good idea.

 I admit, I'm curious what needs to be emulated?  I would think that
 Solaris 10 zones would work just fine under OpenSolaris as native
 branded zones.


 Ben,

 There are a few differences in the kernel between s10
 and opensolaris.  Right now we're emulating 10 system
 calls and only running shared stack.  We haven't yet
 started to scope the work for exclusive stack but with
 crossbow in opensolaris, that will be a big area of
 emulation.  Once the project goes up, people can see
 the exact syscalls we've emulated so far.  Plus, since
 S10 and opensolaris are under active development, the
 kernels could continue to diverge and we might need
 to emulate more syscalls over time.

 Thanks,
 Jerry


 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org




-- 
HeCSa
___
zones-discuss mailing list
zones-discuss@opensolaris.org