Re: [zones-discuss] Zone Not Starting Properly?

2011-12-14 Thread Derek McEachern
Pilatowicz edward.pilatow...@oracle.com wrote: On Tue, Dec 13, 2011 at 09:44:23AM -0600, Derek McEachern wrote: Thought I would just send an update on this. Thanks for the all the suggestions. To get around our particular issue I just added some retry logic to the /etc/init.d/ script. When

Re: [zones-discuss] Zone Not Starting Properly?

2011-12-13 Thread Derek McEachern
times before giving up. Running more tests we were able to see that on some occasions it still fails on the first attempt but so far has always been successful on the 2nd. Derek On Thu, Dec 1, 2011 at 3:37 PM, Ian Collins i...@ianshome.com wrote: On 12/ 2/11 10:30 AM, Derek McEachern wrote

[zones-discuss] Zone Not Starting Properly?

2011-12-01 Thread Derek McEachern
Have a peculiar problem that I haven't seen before. When starting a system that has about 35 - 40 zones on it occasionally we see that one of the zones doesn't come up properly. You can log into the zone but none of the /etc/rc3.d scripts have been run. /var/adm/messages is completely empty and

Re: [zones-discuss] Zone Not Starting Properly?

2011-12-01 Thread Derek McEachern
of CPU? and how many CPU? was everything on ZFS? what are the storage/HDD for zone root? regards On 12/1/2011 11:39 AM, Derek McEachern wrote: Have a peculiar problem that I haven't seen before. When starting a system that has about 35 - 40 zones on it occasionally we see that one

Re: [zones-discuss] Zone Not Starting Properly?

2011-12-01 Thread Derek McEachern
wrote: On Thu 01 Dec 2011 at 10:39AM, Derek McEachern wrote: Have a peculiar problem that I haven't seen before. When starting a system that has about 35 - 40 zones on it occasionally we see that one of the zones doesn't come up properly. You can log into the zone but none of the /etc/rc3

Re: [zones-discuss] Zone Not Starting Properly?

2011-12-01 Thread Derek McEachern
. We ran some tests starting 10 zones in parallel and so far no errors. Our assumption was that if it was load related moving from 3 to 10 zones we would see problems. Derek On Thu, Dec 1, 2011 at 2:48 PM, Ian Collins i...@ianshome.com wrote: On 12/ 2/11 05:39 AM, Derek McEachern wrote: Have

Re: [zones-discuss] Zone Not Starting Properly?

2011-12-01 Thread Derek McEachern
to check the other dependence for apache or 2)use SMF for apache that check other dependence my 2c On 12/1/2011 1:33 PM, Derek McEachern wrote: Thanks Mike. The more I look at this more I think it is load related. svcs -x only shows that the LP print server is not running which I don't

Re: [zones-discuss] Zone Not Starting Properly?

2011-12-01 Thread Derek McEachern
We haven't made the jump to zfs yet :-) We do loose some useful features but haven't spent the time to port our stuff over to use zfs. On Thu, Dec 1, 2011 at 2:47 PM, Ian Collins i...@ianshome.com wrote: On 12/ 2/11 06:07 AM, Derek McEachern wrote: System has 72GB RAM xeon cpu - 2 socket - 4

Re: [zones-discuss] Is it possible to determine from the zone as the global zone is called

2010-08-05 Thread Derek McEachern
One quick method that is mentioned frequently here and one we use very successfully is to create a readonly lofs to /etc/nodename. We add the following to all our zonecfgs add fs set dir=/etc/GLOBAL set special=/etc/nodename set type=lofs add options [ro, nodevices] end so when your in a ngz you

Re: [zones-discuss] how dynamic is your zones network configuration?

2010-06-04 Thread Derek McEachern
Never. We haven't ever had the need to change the interface for a zone. On 6/4/10, Edward Pilatowicz edward.pilatow...@oracle.com wrote: hey all, i had a quick questions for all the zones users out there. after you've configured and installed a zone with ip-type=shared (the default), how

Re: [zones-discuss] vxfs in non-global zone

2010-03-16 Thread Derek McEachern
Thanks for the responses. We don't plan on running the zone root on vxfs, it will be on ufs. The VRTSvfxs package installs with parameters SUNW_PKG_ALLZONES='true' SUNW_PKG_HOLLOW='true' SUNW_PKG_THISZONE='false' so package content is not delivered to the zone just the package information so it

[zones-discuss] vxfs in non-global zone

2010-03-09 Thread Derek McEachern
We have been experimenting with mounting san storage with vxfs filesystems in an ngz and there appears to be a couple of ways to accomplish this. The FAQ links to a Symantec doc ( http://sfdoccentral.symantec.com/sf/5.0MP3/solaris/html/vxvm_admin/apbs07.htm) that does it by adding a device to the

Re: [zones-discuss] Parameters in /etc/system in the zone

2009-10-21 Thread Derek McEachern
Vladi, As far as I know there isn't an /etc/system file for a zone. You only have one kernel which is running in the global zone so there isn't the need for one in the ngz's. If your looking for a list of stuff to set/tune look at the resource configuration. Here is a link to a Sun doc which has

Re: [zones-discuss] Configure a zone through sysidcfg

2009-08-14 Thread Derek McEachern
Does the information in this thread help: http://www.opensolaris.org/jive/thread.jspa?threadID=108000tstart=0 On Fri, Aug 14, 2009 at 4:55 PM, v no-re...@opensolaris.org wrote: I created an exclusive IP zone. Now I want to configure it using sysidcfg and avoid the prompts at the initial

Re: [zones-discuss] Zone in down state.

2009-07-13 Thread Derek McEachern
See the following threads: http://opensolaris.org/jive/thread.jspa?threadID=101438tstart=30 http://www.opensolaris.org/jive/thread.jspa?threadID=107664tstart=0 Derek On Mon, Jul 13, 2009 at 12:23 AM, Ketan no-re...@opensolaris.org wrote: One of my zone is stuck in down state, not able to boot

Re: [zones-discuss] Zone Stuck in down state - nfs share

2009-07-10 Thread Derek McEachern
You can look at the following thread where I had a similar problem with a zone stuck in a shutting down state: http://opensolaris.org/jive/thread.jspa?threadID=101438tstart=30 The other thing to look for is processing that might be accessing the ngz from the gz using fuser. You can also use

[zones-discuss] zonestats.pl - Proposed change to handle stuck zones.

2009-06-22 Thread Derek McEachern
I have been using the zonestats.pl script for a while and came across an odd issue. I have a host that has a zone stuck in the shutting_down state that I haven't been able to get clean up. When zonestats runs it sees this zone and tries to zlogin into it which has the effect of hanging up the

Re: [zones-discuss] Zone Stuck in a shutting_down state in os2008.11

2009-06-21 Thread Derek McEachern
I have had the same problem with two zones and using the following two steps I was able to get one of the zones to shut down and the other one I wasn't. First, check for hung nfs mounts for the ngz from the gz. mount | grep www2. If you see any umount them from the gz. Next, check for any

Re: [zones-discuss] Zone Stuck in a shutting_down state in os2008.11

2009-06-21 Thread Derek McEachern
Cory cr...@exitcertified.com wrote: For this reason and others, it is recommended to NOT mount non-global zone clients to their own global zone servers. Use lofs for these local mounts. Derek McEachern wrote: I have had the same problem with two zones and using the following two steps I

[zones-discuss] df -Z behaviour in global Zone

2009-06-05 Thread Derek McEachern
In doing some testing we came across some unexpected behaviour (at least unexpected to me) of the df -Z command when run in the global zone. If a non-global zone has an nfs fs mounted df -Z dumps all kinds of statvfs errors because as best I can tell he can't actually see the fs. It's in the

Re: [zones-discuss] What is the correct approach to add Java, GlassFish to non-global zones?

2009-06-05 Thread Derek McEachern
It took me a while to find it but in some of my previous searches I came across something which might help: http://opensolaris.org/jive/thread.jspa?messageID=378354tstart=0 There are some links in one of the messages that talk about these packages. Derek On Thu, Jun 4, 2009 at 11:49 PM, Kevin

Re: [zones-discuss] df -Z behaviour in global Zone

2009-06-05 Thread Derek McEachern
It was actually another problem we were trying to solve and happened to notice the df behaviour while debugging. We had a script in the gz that wanted to mount the nfs share. It did a simple check to see if it was already mounted by parsing mount output which showed the ngz mount. The script in

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-05-07 Thread Derek McEachern
Steve, Thanks for this information. I ran through the commands and this is what I see. ::kmem_cache ! grep rnode a6438008 rnode_cache 0200 00 65670506 a643c008 rnode4_cache 0200 00 9680 When I run the following:

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-05-06 Thread Derek McEachern
The zone is in a shutting_down state. The mdb command for this zone returns 0x1a, greater then 1. zone_name = 0xfe86c83d61c0 zonetest-new zone_ref = 0x1a This is new to me, what is the refcount counting? What should this value be for the zone to shutdown? There is a zoneadmd processes

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-05-06 Thread Derek McEachern
I don't believe that I can see the comments since they are not public. Is that something you can pass along? On Wed, May 6, 2009 at 5:27 PM, Steve Lawrence stephen.lawre...@sun.comwrote: I already tried killing the zoneadmd process and issuing the halt and all it does is start back

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-05-05 Thread Derek McEachern
28, 2009 at 10:09 PM, Derek McEachern derekmceach...@gmail.comwrote: There were a bunch of nfs mounts listed in the /etc/mntab of the global zone. I was able to umount them but zone is still hung up. I tried killing the zoneadmd process and ran zoneadm halt again and it started the zoneadmd

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-04-28 Thread Derek McEachern
that might have open filehandles to files under the zone's filesystem tree but I don't see that there are any. On Tue, Apr 28, 2009 at 3:40 PM, Bryan Allen b...@mirrorshades.net wrote: +-- | On 2009-04-28 15:37:22, Derek

Re: [zones-discuss] Zone Stuck in a shutting_down state

2009-04-28 Thread Derek McEachern
/etc/mntab. It will be mounted under the zonepath. You should then be able to do a umount -f /path-to-nfsmnt from the global zone and if you're really lucky the zone will finish shutting down. -Alex On Tue, 2009-04-28 at 16:19 -0500, Derek McEachern wrote: It's possible that it could

Re: [zones-discuss] zonestat.pl without Resource Pools

2009-02-20 Thread Derek McEachern
Jeff, Sorry this has taken so long to get to but yes, if I enable the pools and pools/dynamic services it runs as expected. Has any work started on a 'real' zonestat yet? On Tue, Feb 17, 2009 at 9:44 PM, Jeff Victor jeff.j.vic...@gmail.comwrote: On Tue, Feb 17, 2009 at 4:09 PM, Derek

Re: [zones-discuss] zonepath on NFS

2009-02-19 Thread Derek McEachern
As far as I could tell nfs is not supported. I believe it will not allow the zone path to be on a fs type of procfs, mntfs, autofs, nfs, or cachefs. On Thu, Feb 19, 2009 at 9:59 AM, Brian Kolaci brian.kol...@sun.com wrote: Hi, I wanted to check the availability of putting the zonepath on

[zones-discuss] zonestat.pl without Resource Pools

2009-02-17 Thread Derek McEachern
We are in the process of deploying applications into zones and I've been looking at how to monitor what each zone is up to regarding resource usage. I downloaded the zonestat.pl script to play around with and out of the box it didn't actually give me any zone specific information. After poking