Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
capped.memory is about the total memory e.g *Add a memory cap.* zonecfg:my-zone *add capped-memory* 1. *Set the memory cap.* zonecfg:my-zone:capped-memory *set physical=50m* 2. *Set the swap memory cap.* zonecfg:my-zone:capped-memory *set swap=100m* 3. *Set the locked memory

Re: [zones-discuss] Backing up my zones

2012-02-18 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
it seems that in your case (s10u?) one just 1) in GZ use zfs snap to create backup, the use netbackup to backup the snap or 2)in GZ use zfs send and receive to another system then use netbackup to backup the snap my 2c On 2/18/2012 5:22 AM, David Cushing wrote: I’m looking for suggestions

Re: [zones-discuss] zones toast after updating Solaris 11 Express system

2012-02-11 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
may be attach -U On 2/11/2012 9:06 AM, gerard henry wrote: i exactly have the same problem, but detach; attach -u didn't solve it But it seems that the attach -u doesn't upgrade, according to the messages: # zoneadm -z www attach -u Log File: /var/tmp/www.attach_log.LGaqKg

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
hi not sure about your sequence of event in general after create one do install with the *xml then run zlogin * *For a shared-IP zone:* #*sysconfig create-profile -o /path/sysconf.xml -g location,identity,naming_services,users* *Use the created profile during zone install, clone, or

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
I ASS U ME that you have see this http://www.oracle.com/technetwork/articles/servers-storage-admin/o11-092-s11-zones-intro-524494.html On 2/9/2012 2:33 PM, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. wrote: hi not sure about your sequence of event in general after create one do install with the *xml

Re: [zones-discuss] issue with zones and sysconfig

2012-02-09 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
zoneadm clone [-m copy] [-s zfs_snapshot] [brand-specific options] source_zone On 2/9/2012 3:20 PM, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. wrote: please check solaris(5) The following solaris brand-specific subcommand options are supported by zoneadm(1M) http://docs.oracle.com/cd

Re: [zones-discuss] Adding extra file system to a zone

2012-02-05 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
*Delegating ZFS File system to a Non-Global Zone * Delegating the file system will provide control to non-global zone for managing the file system properties and the priviledge to perform activities like create snapshot,clone over the file system. [root@geekyfacts]# zonecfg -z tzone

Re: [zones-discuss] fix permissions on zone datasets

2012-02-04 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
if you create a new zone with new path you will find out:-) On 2/4/2012 7:05 PM, Matt Harrison wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have very cleverly managed to fudge the permissions on the entire zones dataset, hosing the 3 zones I had. I don't know what the permissions

Re: [zones-discuss] New zone configuration screens

2011-12-15 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
IMHO now create -b has totally different meaning in s11 vs s10 could create some confusion at time Another question: what is attr do? how application take advantage of attr TIA On 12/14/2011 8:41 PM, Mike Gerdts wrote: On Wed, Dec 14, 2011 at 6:09 PM, Ian Collinsi...@ianshome.com wrote: I

Re: [zones-discuss] New zone configuration screens

2011-12-15 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
thx On 12/15/2011 10:21 AM, Mike Gerdts wrote: On Thu 15 Dec 2011 at 09:16AM, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: IMHO now create -b has totally different meaning in s11 vs s10 could create some confusion at time create -b works the same in Solaris 10 as it did in Solaris 11 - it

Re: [zones-discuss] Problem booting Solaris 10 zone imported form Solaris 11 express

2011-12-14 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
On 12/14/2011 1:27 PM, Ian Collins wrote: On 12/15/11 04:27 AM, Enda O'Connor wrote: On 12/14/11 03:30, Ian Collins wrote: Hello, I just tried booting a Solaris 10 branded zone after upgrading its host to Solaris 11 (from Express) and it migrated OK, but won't boot: # zoneadm -z sandpit

Re: [zones-discuss] Problem booting Solaris 10 zone imported form Solaris 11 express

2011-12-14 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
in fact man page of zoneadm has attach -u and -U for a while for u8 you need to install some patch for get -U u9 come with -U regards On 12/14/2011 1:48 PM, Frank Batschulat wrote: On Wed, 14 Dec 2011 19:48:09 +0100, Ian Collins i...@ianshome.com wrote: may be you need to run attach -U

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

2011-12-01 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
for 30-40 zone what are the main host ram? and what kind 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

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

2011-12-01 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
it seems that you could 1)improve your rc script 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

[zones-discuss] question on zoneadm attach -u and SUNWsolnm bug 6715679 patch 139555-08

2011-11-03 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
hi per bug 67156679 report it is fixed by patch 139555-05(08) 139556-05(08) But recent upgrade from u5 to u8 using zoneadmin -z z attach -u the zone's /etc/release is updated but not pkginfo of SUNWsolnm #pkginfo -l SUNWsolnm | grep VERSION *VERSION: 10,REV=2008.03.24.13.19* root@it-oisadm01

Re: [zones-discuss] Has the restriction on sharing from a zone been removed yet?

2011-09-29 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
IMHO, since I or i do not know what is the effort for making zone NFS server since many many many user will be using s10 for some time, this is nice feature to have Sinc CIFS/SMB only happen in s11 so porting to s10 will be big job But zone is in S10 since 2005 and ther are always new feature

Re: [zones-discuss] s10u8 zoneadm attach -U ?

2011-09-26 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
thx On 9/26/2011 10:45 AM, Enda o'Connor - Oracle Ireland - Software Engineer wrote: On 09/25/11 15:30, Frank Batschulat wrote: On Sun, 25 Sep 2011 12:16:35 +0200, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com wrote: hi in doing an OS upgrade from s10u5 to s10u8 I try to use zoneadm

[zones-discuss] s10u8 zoneadm attach -U ?

2011-09-25 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
hi in doing an OS upgrade from s10u5 to s10u8 I try to use zoneadm detach then upgrade OS then attach the system doesnot allow attach -U ...no such options but the man page in u8 say http://download.oracle.com/docs/cd/E19253-01/816-5166/6mbb1kqoa/index.html attach [*-u* | *-U*] [*-b*

Re: [zones-discuss] s10u8 zoneadm attach -U ?

2011-09-25 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
thx all On 9/25/2011 10:30 AM, Frank Batschulat wrote: On Sun, 25 Sep 2011 12:16:35 +0200, Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com wrote: hi in doing an OS upgrade from s10u5 to s10u8 I try to use zoneadm detach then upgrade OS then attach the system doesnot allow attach -U

Re: [zones-discuss] Taking backup and restore the zone dump

2011-09-20 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
. *From:* Sandeep Thakkar sandee...@yahoo.com *To:* Sandeep Thakkar sandee...@yahoo.com; Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com *Cc:* zones-discuss@opensolaris.org zones-discuss@opensolaris.org *Sent:* Monday, September 19, 2011 4:54 PM

Re: [zones-discuss] Can not ping between zones and internal network

2011-09-07 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
may be you need a defrouter On 9/7/2011 4:00 PM, carlopmart wrote: On 09/07/2011 08:27 PM, carlopmart wrote: Hi all, I have installed a new OpenIndiana host oi_151 to use zones. I have installed as a test one zone: root@oitst01:~# zoneadm list -iv ID NAME STATUS PATH BRAND IP 0 global

Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.

2011-09-06 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
On 9/6/2011 1:09 PM, Jeremy Loukinas wrote: First: root@opensolaris:~# zfs mount rpool/ROOT/opensolaris-1/ rpool/export/export rpool/export/home /export/home rpool /rpool zpool/zones /zones zpool

Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.

2011-09-06 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
I just did the same on s10u9 vbox bash-3.00# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 22.1G 7.88G34K /rpool rpool/ROOT12.1G 7.88G21K legacy rpool/ROOT/s10x_u9wos_13 12.1G 7.88G 12.1G / rpool/dump

Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.

2011-09-06 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
current s10 zone user will not be unhappy when move to s11 1)there is no sparse zone in s11 (yet) 2)there is no v2v from s10 zone to s11 zone (yet) 3)zfs dataset requirement 4)people just does not like changes My 2c On 9/6/2011 3:33 PM, Frank Batschulat wrote: On Tue, 06 Sep 2011 21:27:40

Re: [zones-discuss] ERROR: the zonepath must be a ZFS dataset.

2011-09-06 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
On 9/6/2011 5:11 PM, Mike Gerdts wrote: On Tue 06 Sep 2011 at 04:37PM, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: current s10 zone user will not be unhappy when move to s11 1)there is no sparse zone in s11 (yet) 2)there is no v2v from s10 zone to s11 zone (yet) That is not correct.

[zones-discuss] acfs support in zone

2011-07-16 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
hi recent osc3.3u1 announce the support of acfs in zone cluster, but acfs cannot be zone rootpath questions 1)does zone support acfs outside of the solaris cluster 2)why the acfs cannot be zone's rootpath? TIA attachment: laotsao.vcf___

Re: [zones-discuss] acfs support in zone

2011-07-16 Thread Hung-Sheng Tsao (Lao Tsao ) Ph.D.
thx for answer yes I understand the role ZFS play in s10 and s11, but ZFS is for single host and not designed to play in cluster/grid env, but ACFS is designed for cluster/grid env, a big difference. Oracle is big on oracle RAC that use ASM and ACFS Solaris ZFS is designed before Oracle