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

2007-07-06 Thread Jeff Victor
Jeff Savit wrote: > Hi Dennis, > > You might not have enough RAM for 1,000. (Only 2MB/zone! Not counting > RAM needed for the kernel) For discussion, see Jeff Victor's blog > http://blogs.sun.com/JeffV/ especially the 3 entries titled "Spawning > 0.5kZ/hr". He reasched 1,000 zones, but he had m

[zones-discuss] zone info question

2007-07-06 Thread Russ Petruzzelli
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 [[ == true ]]; then OR is there a way to get this to run in a zone?... /usr/platform/SUNW,Ultra-80/

Re: [zones-discuss] zone info question

2007-07-06 Thread Jerry Jelinek
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 [[ == true ]]; then > > > OR is there a way to get this to run

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

2007-07-06 Thread Steffen Weiberle
Besides what Jeff and Jeff has said, Dennis wrote: > Hi, > > a friend of mine has written a P2P application in Java as a master thesis. > Now we want to setup a testing configuration using containers to simulate the > function of each node. Therefore I have several question, any help is > appr

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

2007-07-06 Thread Steffen Weiberle
BTW, http://www.slamd.com/ might do what you need. And it is Java. I have used it in a zone to proxy LDAP requests between a client and LDAP server. But not with lots of connections. Dennis wrote: > Hi, > > a friend of mine has written a P2P application in Java as a master thesis. > Now we wan

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] Mystery inherited-pkg-dir behavior (newbie alert)

2007-07-06 Thread Jeff Victor
Joe Pawlicki wrote: > For posterity, response received: inherit-pkg-dir just establishes ro lofs > mounts, but don't prevent other pkgs system-wide to appear in the NGZ. Further, if you want to install a package in the global zone, but you don't want it to appear in existing or future zones, use

[zones-discuss] Zones without pools: sure, why not?

2007-07-06 Thread Joe Pawlicki
Again, maybe something so basic that everyone knows it, but I don't see any reason why you can't run zones on a system under the FSS, for some pretty functional load balancing, without having to create and associate pools. Just configure your zone.cpu-shares in each zone, enable the FSS in the

Re: [zones-discuss] Zones without pools: sure, why not?

2007-07-06 Thread Jeff Victor
Joe Pawlicki wrote: > Again, maybe something so basic that everyone knows it, but I don't see any > reason why you can't run zones on a system under the FSS, for some pretty > functional load balancing, without having to create and associate pools. > Just configure your zone.cpu-shares in each zone

[zones-discuss] Renaming local zone hostname

2007-07-06 Thread Bruce A. Hamilton
The procedure for renaming a Solaris 10 local zone's hostname is not well documented. By trial and error, Sun support and I worked out the following. When setting up a new local zone, "unsetenv TMPDIR" or a number of key packages will fail to install in the new zone. "hostname newHostName" and

[zones-discuss] zonemgr question

2007-07-06 Thread Russ Petruzzelli
I'm trying to use the latest zonemgr...see script below. Must the zonename as specified by "-n" be the hostname? And if so, what is the purpose of specifying the hostname in "-I"? I ran zonemgr as seen below and it failed to complete nicely. It could not find the dns servers. and instructed me

[zones-discuss] Solaris 10 U3, prstat and Shared Memory

2007-07-06 Thread Gael
Good evening, What would be the best way to determine the RSS usage of one zone running an application with shared memory in U3 ? Will U4 prstat command report the right memory usage ? Trying to report on memory usage per zone for capacity planning, and Sun Management Center and the Zone plugin

[zones-discuss] solved: zonemgr question

2007-07-06 Thread Russ Petruzzelli
I figured out my problems. - 1. I left off the trailing slash. Thus it didn't get any network config items. - 2. Is this a zonemgr bug? It would not recognize the dns server name in the comma delimited list: When I changed: -d "mf-usca19-12.red.iplanet.com,mf-usca15-13.red.iplanet.com"

Re: [zones-discuss] patch added in GZ not seen in NGZ

2007-07-06 Thread Jeff Victor
F.V.(Phil)Porcella wrote: > HI Folks, > I recently installed a patch in the GZ of my zoned machine, it installed > without any problem. > > Sun Microsystems Inc. SunOS 5.10 Generic January 2005 > -bash-3.00$ patchadd -p|grep 122231 > Patch: 122231-01 Obsoletes: Requires: 121453-02 Incompat

[zones-discuss] cloning zone with ip-type exclusive?

2007-07-06 Thread John Stanford
Hi, I am trying to clone a zone from a master that has an exclusive IP stack, and specifying an exclusive IP stack for the new zone. I'm using a modified zonemgr scripts (mods will be submitted to the zonemgr project), and the new zone ends up with a shared stack. Is cloning an exclusive stac