[zones-discuss] Any way to limit I/O?
Is there any way to limit the amount of I/O that a zone can do? I'm thinking particularly of disk IOPS, but a general way of limiting I/O would be fine too. Thanks Andrew. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] capped-memory on a zone
Hi Andrew, You could change the capped figures on a live zone e with rcapdadm command (rcapadm -z zone -m value). http://docs.sun.com/app/docs/doc/816-5166/rcapadm-1m?a =view Remember to change also the zonecfg if you need to keep it permanent. Cool - thanks. I'll make a note of that one. Cheers Andrew. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] capped-memory on a zone
I am working on zones for my honours project at uni. I created a zone with capped-memory and now I want to remove the caps. I deleted the capped-memory entries from the zone configuration using zonecfg. I then rebooted the zone as it didn't seem to take effect, but upon rebooting vmstat is still showing less than 100MB free. How can I remove the memory limit from the zone? I'm running OpenSolaris build 126 64-bit. Thanks Andrew. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] capped-memory on a zone
I am working on zones for my honours project at uni. I created a zone with capped-memory and now I want to remove the caps. I deleted the capped-memory entries from the zone configuration using zonecfg. I then rebooted the zone as it didn't seem to take effect, but upon rebooting vmstat is still showing less than 100MB free. How can I remove the memory limit from the zone? I'm running OpenSolaris build 126 64-bit. Thanks Andrew. OK, cancel that - it seems a reboot is not enough to remove the memory cap - I actually need to shut the VM down, the start it back up again. Cheers Andrew. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] problem with zone networking
I'm not sure what the problem is here. I have created a vnic over an existing physical nic as follows: dladm create-vnic -l e1000g0 e1000g1 I then use e1000g1 (the VNIC) as the interface for an exclusive-IP zone. Problem 1: upon rebooting the host e1000g1 is only half there in that it doesn't show up in dladm show-vnic output but if I try dladm create-vnic -l e1000g0 e1000g1 it complains that there is already an e1000g1. Deleting and re-adding the VNIC and everything works fine. Problem 2 (the real problem): after creating the VNIC I can no longer reach my default router. I'm guessing this is due to a routing mis-configuration, but it could just as easily be something else given the strangeness above. Does anyone have any ideas? I'm running OpenSolaris build 126 x64. Thanks Andrew. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] problem with zone networking
I'm not sure what the problem is here. I have created a vnic over an existing physical nic as follows: dladm create-vnic -l e1000g0 e1000g1 I then use e1000g1 (the VNIC) as the interface for an exclusive-IP zone. Problem 1: upon rebooting the host e1000g1 is only half there in that it doesn't show up in dladm show-vnic output but if I try dladm create-vnic -l e1000g0 e1000g1 it complains that there is already an e1000g1. Deleting and re-adding the VNIC and everything works fine. Problem 2 (the real problem): after creating the VNIC I can no longer reach my default router. I'm guessing this is due to a routing mis-configuration, but it could just as easily be something else given the strangeness above. Does anyone have any ideas? I'm running OpenSolaris build 126 x64. Thanks Andrew. OK, problem 1 was fixed by upgrading to build 128a. Problem 2 still exists, although wierdly the zone's networking is fine. The global zone is also fine until I reboot - after that I cannot contact the default router (an ADSL router) or any other machine. The non-global zone can successfully communicate with the ADSL router and the internet. Cheers Andrew. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] problem with zone networking
I'm not sure what the problem is here. I have created a vnic over an existing physical nic as follows: dladm create-vnic -l e1000g0 e1000g1 I then use e1000g1 (the VNIC) as the interface for an exclusive-IP zone. Problem 1: upon rebooting the host e1000g1 is only half there in that it doesn't show up in dladm show-vnic output but if I try dladm create-vnic -l e1000g0 e1000g1 it complains that there is already an e1000g1. Deleting and re-adding the VNIC and everything works fine. Problem 2 (the real problem): after creating the VNIC I can no longer reach my default router. I'm guessing this is due to a routing mis-configuration, but it could just as easily be something else given the strangeness above. Does anyone have any ideas? I'm running OpenSolaris build 126 x64. Thanks Andrew. OK, problem 1 was fixed by upgrading to build 128a. Problem 2 still exists, although wierdly the zone's networking is fine. The global zone is also fine until I reboot - after that I cannot contact the default router (an ADSL router) or any other machine. The non-global zone can successfully communicate with the ADSL router and the internet. Cheers Andrew. I should add - the global zone can ping the non-global zone. It is everything else that doesn't work. This suggests to me that it might be some sort of routing problem, but I don't know where to go from here. Thanks Andrew. -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Question - Howto upgrade Solaris 8 or 9 in a branded zone to Solairs 10 - Anybody??
Hi, So we've encouraged people, to move away from native hardware running Solaris 8 or 9, to Solaris 8 or Solaris 9 containers running on top of Solaris 10. So how do we get from Solaris 8 containers. Do we have any documentation, discussion material about upgrading from Solaris 8 containers to 10containers, can LU help? Andy ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Account in global and non-global zone
Is there an easy way to create a user account in a non global zone that replicates an existing account in the global zone. Using Solaris 10 ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Account in global and non-global zone
Steffen Weiberle [EMAIL PROTECTED] wrote in news:48170EEA.5070009 @sun.com: Yes, I have done this. I duplicate the passwd/shadow entries in /etc/ into zonepath/root/etc/ and lofs mount the home directory into the non-global zone. Is it OK for root on the global zone to write into zonepath/root/etc/ or does this need to be done within the zone itself. ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Roadmap
I thought I saw a container roadmap but not able to find it has anyone seen one? Andrew Dishong: Solutions Architect Dayton, Ohio - JPMC Account Team Email: [EMAIL PROTECTED] Accessline: 877-226-8297 Page: [EMAIL PROTECTED] URL: http://webhome.central/adishong Wikis: http://wikis.sun.com/display/SolarisContainers/Home http://wikis.sun.com/display/SolarisLogicalDomains/Home Blog: http://blogs.sun.com/adishong AIM: softvtwin03 SunIM:[EMAIL PROTECTED] __ CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential. Any such information is intended only for use by the original recipient and may not be used or relied upon by a third party. Please do not disseminate this message without the permission of the author. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please immediately notify the sender by telephone or return e-mail and delete the original transmission and its attachments without reading or saving in any manner. Thank you. ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Want to run same command on all zones
Hi i would like to run same command on all zones. Googling sauggests thet following, but the link is broken. Blog O Matty » Solaris Zones - 12:29 While reading through Brendan Greggs Solaris zones tutorial, I ran across his zonerun script. This nifty little script allows you to run a command across ... ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Configuration on first boot of a zone
Enda O'Connor ( Sun Micro Systems Ireland) [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Hi Did you clone the zone by any chance as this does not go through sysidcfg? I didnt know you can clone zones? this would be useful Else how did you create the zone? No- I created it using zonecfg then did a zoneadm install then boot. To automate it I usually insert a sysidcfg file in ${zonepath}/root/etc such as # cat sysidcfg Thanks for that info ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Configuration on first boot of a zone
When I first create a zone, it normally asks you some questions such as the time zone and whether you want NIS etc. - is there any way of autmating this so you always get the same answer - today I created a zone and it didnt ask me these questions. I wasnt aware of doing anything different. Andrew ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Zone Migration - Sun4u to Sun4v - Supported?
Dear *, Can anyone advise if it is supported to migrate a zone from one SPARC architecture to another? E.G., Sun4u to Sun4v? I presume this should be ok provided the Solaris build on both target and source platforms is the same? Customer has ordered 5220's which will not arrive in time for project commencement. We are looking to begin project on V245's, then migrate zones to the 5220's. Much obliged, Andrew This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] VxFS and Local Zones
I believe VxFS support was added in Solaris10 8/07, as you can now include type=vxfs.. This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Writing to /usr/.......... in a zone
Hi We are trying to install java into a non global zone. We are having trouble creating the file /usr/share/gnome/mime-info/java-archive.keys My feeling is that this is cause by the following bit of config but I am fairly new to zones. How can I get round it. inherit-pkg-dir: dir: /usr ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Problem patching zones with kernel patch 120011-14
I try and patch a server with this patch and I get /var/run full: # df -k /var/run Filesystemkbytesused avail capacity Mounted on swap 20480 20480 0 100%/var/run Also, why does zones fail to update if zone is on vxfs? Why would it care? My current server is running: # more /etc/release Solaris 10 11/06 s10s_u3wos_10 SPARC Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 14 November 2006 This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Sol10 RM Question?
Okay great we were not sure, thanks Andy Andrew Dishong: Solutions Architect Dayton, Ohio - JPMC Account Team Email: [EMAIL PROTECTED] Accessline: 877-226-8297 Page: [EMAIL PROTECTED] URL: http://webhome.central/adishong Wikis: http://wikis.sun.com/display/SolarisContainers/Home http://wikis.sun.com/display/SolarisLogicalDomains/Home Blog: http://blogs.sun.com/adishong AIM: softvtwin03 SunIM:[EMAIL PROTECTED] __ CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential. Any such information is intended only for use by the original recipient and may not be used or relied upon by a third party. Please do not disseminate this message without the permission of the author. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please immediately notify the sender by telephone or return e-mail and delete the original transmission and its attachments without reading or saving in any manner. Thank you. On Oct 12, 2007, at 2:49 PM, Steve Lawrence wrote: project.max-lwps zone.max-lwps Each process has one or more lwps, depending on the number of threads in the process. On Fri, Oct 12, 2007 at 01:50:23PM -0400, Andrew Dishong wrote: What is the equivalent of Solaris 8 SRM process-limit in Solaris 10 RM? Is it process.limit-tasks ? Andrew Dishong: Solutions Architect Dayton, Ohio - JPMC Account Team Email: [EMAIL PROTECTED] Accessline: 877-226-8297 Page: [EMAIL PROTECTED] URL: http://webhome.central/adishong Wikis: http://wikis.sun.com/display/SolarisContainers/Home http://wikis.sun.com/display/SolarisLogicalDomains/Home Blog: http://blogs.sun.com/adishong AIM: softvtwin03 SunIM:[EMAIL PROTECTED] __ CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential. Any such information is intended only for use by the original recipient and may not be used or relied upon by a third party. Please do not disseminate this message without the permission of the author. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please immediately notify the sender by telephone or return e-mail and delete the original transmission and its attachments without reading or saving in any manner. Thank you. ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Backup / restore a zone
I want to be able to backup a zone and later restore it to the postition I have backed up. Basicaly we are testing an installation procedure and would like to restore back to a clean state. Ideally i would like a non privileged user (or root on the zone) to be able to do this. But I suspect this isnt possible. Any pointers. ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Wiki
I have created a Containers Wiki, please take a look and contribute often. Please read the policies regarding posting material, thanks andy http://wikis.sun.com/display/SolarisContainers ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Wiki
Anyone can modify the content anywhere in the Wiki, it is not tied to me it is actually tied to the Wiki program administrator. Originally I had intended on doing this for running applications under a container for my customer but opened it up so anyone can change or modify. If someone wants to take charge they are more then welcome, Andy Andrew Dishong: Solutions Architect Dayton, Ohio - JPMC WIN Team Email: [EMAIL PROTECTED] Accessline: 877-226-8297 Page: [EMAIL PROTECTED] http://webhome.central/adishong Wikis: http://wikis.sun.com/display/SolarisContainers/Home http://wikis.sun.com/display/SolarisLogicalDomains/Home Blog: http://blogs.sun.com/adishong AIM: softvtwin03 SunIM:[EMAIL PROTECTED] __ CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential. Any such information is intended only for use by the original recipient and may not be used or relied upon by a third party. Please do not disseminate this message without the permission of the author. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, please immediately notify the sender by telephone or return e-mail and delete the original transmission and its attachments without reading or saving in any manner. Thank you. On Aug 8, 2007, at 5:48 PM, Dan Price wrote: 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 doing so. -dp -- Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Setting process.max-file-descriptor per zone?
Hi Zoram, I understand that you set these values in each zones /etc/project file like this: bash-3.00# cat /etc/project system:0 user.root:1: noproject:2 default:3process.max-file-descriptor=(basic,1024,deny) group.staff:10 Hope this helps. Andy Zoram Thanga wrote: Hi, Has anyone succeeded in setting the process.max-file-descriptor rctl on a per-zone level? Somewhat like making the set rlim_fd_cur=x set rlim_fd_max=y entries in /etc/system? The setting must apply to all processes in a given zone, independently of the settings in the GZ or other NGZ's. At present max-file-descriptor is not a zone level rctl, and there are some *legacy* applications that are started out from inittab that wouldn't honor SRM project settings or start up before SRM settings are applied. Any ideas appreciated. Thanks, Zoram -- == Title : SAP Technical Design Consultant Tel: +44 (0)161 905 8112 Fax: +44 (0)870 1617421 Mobile : +44 (0)7711 639937 Car: +44 (0)7770 630428 Business Email : [EMAIL PROTECTED] Sms/Pager : [EMAIL PROTECTED] == ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Cloning a zone on ZFS
I've had a look through the documentation on cloning a zone where the source and destinations are both on ZFS and I can't spot any obvious reasons why my clone operation works but doesn't seem to use the ZFS snapshot method, is there something special in the checks before the cloning I am missing? This is all on a test box using Solaris 10U3, no patches added, is that maybe the problem? If so what patch adds the zfs snapshots to cloning? I'm assuming that it isn't using zfs snapshots as it takes a few minutes to clone the full root zone and when I issue the command zoneadm -z zone2 clone zone1 It does not say Instead of copying, a ZFS clone has been created for this zone. but it all works and I can do the snapshots manually. also if I just create a zfspool and then specify the zonepath in the pool, it works but doesn't say a zfs filesystem has been created for this zone when I do the install. I create the pool using zpool create -f pool1 c1t0d0 plus it is a full root zone. regards Andrew ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Error
Getting the following error after trying to uninstall a zone, any ideas: [lab-15k-c]:~\ # zoneadm -z test1 uninstall Are you sure you want to uninstall zone test1 (y/[n])? y rm: Unable to remove directory /zonesHA/test1/test1/root/usr/lib/cpu: File exists rm: Unable to remove directory /zonesHA/test1/test1/root/usr/lib: File exists rm: Unable to remove directory /zonesHA/test1/test1/root/usr: File exists rm: Unable to remove directory /zonesHA/test1/test1/root: File exists zoneadm: zone 'test1': '/usr/bin/rm -rf' failed with exit code 2. --- Andrew Dishong: Solutions Architect Email: [EMAIL PROTECTED] Accessline: 877-226-8297 Page: [EMAIL PROTECTED] http://webhome.central/adishong Blog: http://blogs.sun.com/adishong AIM: softvtwin03 ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Error
Getting the following error after trying to uninstall a zone,any ideas? [lab-15k-c]:~\ # zoneadm -z test1 uninstall Are you sure you want to uninstall zone test1 (y/[n])? y rm: Unable to remove directory /zonesHA/test1/test1/root/usr/lib/cpu: File exists rm: Unable to remove directory /zonesHA/test1/test1/root/usr/lib: File exists rm: Unable to remove directory /zonesHA/test1/test1/root/usr: File exists rm: Unable to remove directory /zonesHA/test1/test1/root: File exists zoneadm: zone 'test1': '/usr/bin/rm -rf' failed with exit code 2. --- Andrew Dishong: Solutions Architect Email: [EMAIL PROTECTED] Accessline: 877-226-8297 Page: [EMAIL PROTECTED] http://webhome.central/adishong Blog: http://blogs.sun.com/adishong AIM: softvtwin03 ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Error
I have not but my customer may have I will have to check but I would be surprised if this was the case. I also have been able to uninstall other zones on this system using the same method, Andy --- Andrew Dishong: Solutions Architect Dayton, Ohio - JPMC WIN Team Email: [EMAIL PROTECTED] Accessline: 877-226-8297 Page: [EMAIL PROTECTED] http://webhome.central/adishong Blog: http://blogs.sun.com/adishong AIM: softvtwin03 On May 30, 2007, at 1:16 PM, Jerry Jelinek wrote: Andrew Dishong wrote: Getting the following error after trying to uninstall a zone,any ideas? [lab-15k-c]:~\ # zoneadm -z test1 uninstall Are you sure you want to uninstall zone test1 (y/[n])? y rm: Unable to remove directory /zonesHA/test1/test1/root/usr/lib/ cpu: File exists rm: Unable to remove directory /zonesHA/test1/test1/root/usr/lib: File exists rm: Unable to remove directory /zonesHA/test1/test1/root/usr: File exists rm: Unable to remove directory /zonesHA/test1/test1/root: File exists zoneadm: zone 'test1': '/usr/bin/rm -rf' failed with exit code 2. /usr/lib/cpu is not one of the files delivered by the base OS. I am guessing this is a file you somehow added to your system with some unbundled software. Do you have an application running in the global zone that has this file open? If you have an application running in the global zone that is opening a file in the non-global zone that could be a serious security risk. Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Re: RFE: Zone Upgrades seperate from Global Zone.
Any idea when 6480464 RFE: zoneadm attach should patch/upgrade the zone to the new hosts level will be available? This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Any plans for a Vmotion-like Zone migration tool?
I believe Vmotion with VMware allows you to migrate Guests while still running, any plan on adding that type of functionality in migrating Zones from server-to-server? This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Re: Local Zones and Failover for VCS
Symantec(aka: Veritas) have a white paper on their best practices for use with Zones/VCS. For one, they suggest having the local zones configured on local storage on each node, to prevent against different patch sets/etc, however, I disagree with that. For one, part of managing a cluster is to manage OS integrity and all nodes should have same patches/hardware/etc.. Another item they have, is to use IPMultiNIC to configure Zone interface (instead of using zonecfg) after zone is running, again I disagree and the use of MultiNICB with SUN IPMP (fault-based monitoring: to save IP addresses) has worked great so far. This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Re: Re: RE: Re: Zones and Solaris upgrade
Jeff, Would the steps be: 1) Manually failover active zones to their equivalents on the secondary system 2) Upgrade the system that now has non-active zones on it, using standard upgrade, live upgrade, or pkgs/patches 3) Fail the zones back to the (now upgraded) system 4) Upgrade the 'other' (not-yet-upgraded) system I thought I couldn't update Zones unless using Live Upgrade or Jumpstart Upgrade? I thought I can't run an older ZONE on an updated System? (as would be the case in the above steps?) Can I just apply the updated packages/patches in the latest Distro if using the above steps? That would be great if it would be supported/worked?? Or some other steps? Thats the question ;) Sparse or whole-root? ;-) Whole-root.. One highly recommended patch is the KU patch: 118833-36 (SPARC) which, of course, applies to the whole system, including its zones. Its x86 equivalent is 118855-36. You will also want to pay attention to the Solaris pkgs which are marked SUNW_PKG_ALLZONES=TRUE. Those pkgs must be installed in, and identical in, all zones, including the GZ. See pkginfo(4). Again, can I apply patches/pkgs on an older Zone when the server has already been updated seperately? If so, would it be supported? As its not using jumpstart or Live Upgrade? Cheers. Andrew This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Re: RE: Re: Zones and Solaris upgrade
I have a question on the following scenario: I have a cluster of server with multiple zones running on them (currently at U3), I decide to upgrade one server (i.e.: global zone) to U4 (after failing over all zones to the other node) and now want to either failover a zone or make a copy and update it to U4. Is there a way to update a zone after the global zone had already been updated? Is it possible to just update the packages/patches from the Solaris Distro (Solaris_10/Products, Solaris_10/UpdatePatches) to the zone (pkgadd -R , patchadd -R ) and bring it up to U4? This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Raw device with Veritas
Can we do raw device with Veritas in a zone? I know we can do this for a FS with lofs but not sure about raw, thanks Andy --- Andrew Dishong: Solutions Architect Dayton, Ohio - JPMC WIN Team Email: [EMAIL PROTECTED] Accessline: 877-226-8297 Page: [EMAIL PROTECTED] http://webhome.central/adishong Blog: http://blogs.sun.com/adishong AIM: softvtwin03 ___ zones-discuss mailing list zones-discuss@opensolaris.org