Re: [zones-discuss] ZFS snapshots as a backup solution?

2012-08-12 Thread Hung-Sheng Tsao Ph.D.
please read these links http://www.filibeto.org/~aduritz/truetrue/solaris10/solaris-container-guide_detlef_ulrich.pdf http://docs.oracle.com/cd/E18752_01/html/817-1592/gdqlt.html (cloning) http://hub.opensolaris.org/bin/view/Community+Group+zones/faq regards By the way S11 has better

Re: [zones-discuss] monitor number of lwp in zone

2012-04-26 Thread Hung-Sheng Tsao (LaoTsao 老曹) Ph. D.
try this link http://hub.opensolaris.org/bin/view/Project+zonestat/files?viewer=attachmentslanguage=en On 4/26/2012 11:33 AM, Christian Meier wrote: Dear List, with the solaris resource control feature you are able to set the max number of LWP for a zone e.g bash-3.00# prctl -n

Re: [zones-discuss] monitor number of lwp in zone

2012-04-26 Thread Hung-sheng Tsao
You can always improve it Sent from my iPhone On Apr 26, 2012, at 12:21 PM, Christian Meier meierc...@gmail.com wrote: thank you for the link. really nice tool, but the number of LWP's I can't get with it root@g0081:/tmp# ./zonestat.pl -l 2

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

2012-04-18 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
zone with 10GB and I want to create 2 zones with ONLY 2GB at maximum, whatever they want or ask for. Thanks in advance. -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com

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

2012-04-18 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
rcapd is introduced on s10 8/07 s10u4 Sent from my iPad On Apr 18, 2012, at 10:34, Jordi Espasa Clofent jespa...@minibofh.org wrote: Ok. So then I understand: - before Solaris 10 Update 7 (the one with SUNWrcapu, rcapd) there is no real way to limit the amount of RAM that a zone can

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

2012-04-18 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
control inside the zone Sent from my iPad On Apr 18, 2012, at 11:25, Hung-Sheng Tsao (LaoTsao) Ph.D laot...@gmail.com wrote: rcapd is introduced on s10 8/07 s10u4 Sent from my iPad On Apr 18, 2012, at 10:34, Jordi Espasa Clofent jespa...@minibofh.org wrote: Ok. So then I understand

Re: [zones-discuss] Run user script when start zone

2012-03-25 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
s10 can not do vnic, but you can use vlan or virtual interface e.g. nic:x regards Sent from my iPad On Mar 25, 2012, at 14:24, skeletor skele...@lissyara.su wrote: Can Solaris 10 do it? 24.03.2012 14:27, Jeff Victor написал: With Solaris 11 vnics, each zone can be excl-IP and share an

Re: [zones-discuss] Run user script when start zone

2012-03-20 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
may be put your script under /etc/init.d/ then link to /etc/rc3.d inside zone Sent from my iPad On Mar 20, 2012, at 7:25, skeletor skele...@lissyara.su wrote: Hello. I need to run a script, that add new route for a zone (script runs at global zone). But routing start earlier than zones - so

Re: [zones-discuss] Run user script when start zone

2012-03-20 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
may be add the attr defrouter for share ip zone Sent from my iPad On Mar 20, 2012, at 8:37, skeletor skele...@lissyara.su wrote: 20.03.2012 13:53, Hung-Sheng Tsao (LaoTsao) Ph.D пишет: may be put your script under /etc/init.d/ then link to /etc/rc3.d inside zone Sent from my iPad

Re: [zones-discuss] Backing up my zones

2012-02-18 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
/?? to save the data to another zpool on the GZ and allowing Symantec to move those files to archival storage. Thanks for your time and input. ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit

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

2012-02-11 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
mailing list zones-discuss@opensolaris.org mailto:zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http

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

2012-02-09 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
. == Anyone know what is going on there? Note that after this I am able to zlogin into the zone and it appears to be configured appropriately and: # svcs svc:/system/svc/restarter:default STATE STIMEFMRI online 11:51:16 svc:/system/svc/restarter:default -- Hung-Sheng Tsao Ph D

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.
-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org

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

2012-02-04 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
-- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.blogspot.com/ http://laotsao.wordpress.com/ http://blogs.oracle.com/hstsao/ attachment: laotsao.vcf___ zones-discuss mailing list zones-discuss

Re: [zones-discuss] p2v Solaris 10 U9/10

2012-02-01 Thread Hung-Sheng Tsao (laoTsao)
hi this is from faq use x windown in zone: not sure it will work for you On the system console: at the login screen, you can choose Remote Host and enter the hostname of the zone. The X windows login screen should be replaced with an X windows remote login screen. 2. At the console, logged

Re: [zones-discuss] p2v Solaris 10 U9/10

2012-01-31 Thread Hung-Sheng Tsao (laoTsao)
may be use vnc server and vnc client http://www.softpanorama.org/Xwindows/VNC/vnc_on_solaris.shtml Sent from my iPad On Jan 31, 2012, at 17:57, Matthias Pfützner matth...@pfuetzner.de wrote: But, keep in mind, that that is a solution to your described problem, not a real solution to the real

Re: [zones-discuss] New zone configuration screens

2011-12-15 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
/ ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.wordpress.com/ http://laotsao.blogspot.com/ attachment

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

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

2011-12-14 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
before conversion to a branded zone. I've probably still got the VM, so I'll fire it up and have a look. may be you need to run attach -U instead I believe update 9 was required for a branded zone in 11 Express. -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell

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

2011-12-14 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840 http://laotsao.wordpress.com/ http://laotsao.blogspot.com/ attachment: laotsao.vcf___ zones-discuss mailing list zones

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

2011-12-01 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
Dec 1 09:17 last= Anyone else seen anything similar? We are running Solaris 10 update 9. Regards, Derek ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit GridComputing LLC cell: 9734950840

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

2011-12-01 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
://www.runningunix.com/2009/01/changing-timeouts-on-smf-services/ -- Mike Gerdts Solaris Core OS / Zones http://blogs.oracle.com/zoneszone/ ___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao Ph D. Founder Principal HopBit

[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] Taking backup and restore the zone dump

2011-09-20 Thread Hung-Sheng Tsao (LaoTsao) Ph. D.
may do 1)clone on the same server 2)move clone to 2nd server On 9/20/2011 6:32 AM, Sandeep Thakkar wrote: Thanks. But how do I clone it on another server? Sandeep. *From:* Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot

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. http

[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.
take over, it seems there is new requirement now, IMHO everything need to be cluster or Grid aware. regards On 7/16/2011 9:27 PM, Mike Gerdts wrote: On Sat 16 Jul 2011 at 08:33PM, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote: hi recent osc3.3u1 announce the support of acfs in zone cluster

Re: [zones-discuss] migrate from global zone ?

2011-01-20 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph. D.
I have not seen any official support of oracle 11gr2x in solaris 11 express yet so most likely the installation is on s10 I would add the following: on the same host of s10 create full root zone, so you will have the same os and patch level of the GZ. if you also inherit the oracle home then

Re: [zones-discuss] migrate from global zone ?

2011-01-20 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph. D.
IMHO, it is unfortunate that there is no official tool to support p2v for s10 in zone_p2v blog it talk about the reason and difficulty why there is no p2v for s10 Since there are many advantage of NGZ, and many user would not migrate to new s11x, even with s10 brand in short time it is very

[zones-discuss] s10 p2v

2009-11-24 Thread Dr. Hung-Sheng Tsao
hi Is there p2v in s10 to move from physical host to zone env? It seems that cpio of the apps directory should work regards attachment: hung-sheng_tsao.vcf___ zones-discuss mailing list zones-discuss@opensolaris.org

Re: [zones-discuss] Jumstart server in non-global zone

2009-10-16 Thread Dr Hung-Sheng Tsao
--- Original message --- From: Jan Hlodan jan.hlo...@sun.com Sent: 16/10/'09, 17:05 Hello, has anybody tried to run jumpstart server in non-global zone? If yes, can you please share your how to? Regards, Jan Hlodan ___ zones-discuss mailing

Re: [zones-discuss] Jumstart server in non-global zone

2009-10-16 Thread Dr Hung-Sheng Tsao
Afaik Client need nfs mount the js image So it is not possible --- Original message --- From: Jan Hlodan jan.hlo...@sun.com Sent: 16/10/'09, 17:05 Hello, has anybody tried to run jumpstart server in non-global zone? If yes, can you please share your how to? Regards, Jan Hlodan

Re: [zones-discuss] Jumstart server in non-global zone

2009-10-16 Thread Dr Hung-Sheng Tsao
can run? Dr Hung-Sheng Tsao wrote: Afaik Client need nfs mount the js image So it is not possible --- Original message --- From: Jan Hlodan jan.hlo...@sun.com Sent: 16/10/'09, 17:05 Hello, has anybody tried to run jumpstart server in non-global zone? If yes, can you please share your

Re: [zones-discuss] Using zones for simple usage

2009-07-14 Thread Dr Hung-Sheng Tsao (LaoTsao)
May be use vbox or xen in opensolarris --- Original message --- From: Harry Putnam rea...@newsguy.com Sent: 14/7/'09, 7:35 After reading only a little about zones.. I doubt I really get the expected usage one might put a zone to. My case is very homespun just a home lan with at

Re: [zones-discuss] pkg install AMP in a sparse zone

2009-05-18 Thread Hung-Sheng Tsao
guess is that the memory sharing benefits of sparse zones are relatively small in most cases. May be I am wrong here, it seems that with sparse zone and single binary for all zone there must be same memory sharing!!! On 05/18/09 09:59, Jerry Jelinek wrote: Devin Ceartas wrote: The problems

Re: [zones-discuss] pkg install AMP in a sparse zone

2009-05-17 Thread Dr. Hung-Sheng Tsao (LaoTsao)
other place within the sparse zone ? Thanks. j. ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org begin:vcard fn:Dr. Hung-Sheng Tsao

Re: [zones-discuss] Scratch Zone - purpose

2009-02-05 Thread Dr. Hung-Sheng Tsao (LaoTsao)
___ zones-discuss mailing list zones-discuss@opensolaris.org begin:vcard fn:Dr. Hung-Sheng Tsao (LaoTsao) n:Tsao;Hung-Sheng org:GEH;Sun GEH East adr:;;400 Atrium Dr;Somerset;nj;08873;usa email;internet:hung-sheng.t...@sun.com title:Sr. SE tel;work:1877319-0460 tel;fax

Re: [zones-discuss] Update on attach and upgrades

2008-11-06 Thread Dr. Hung-Sheng Tsao (LaoTsao)
metadata do we have inside the zone to tell us which pkgs to sync and which not to? Jerry ___ zones-discuss mailing list zones-discuss@opensolaris.org begin:vcard fn:Dr. Hung-Sheng Tsao (LaoTsao) n:Tsao;Hung-Sheng org:GEH;Sun GEH East adr:;;400 Atrium

Re: [zones-discuss] Running Oracle Database inside Solaris 8/9 Container Using Sun Cluster

2008-10-20 Thread Dr. Hung-Sheng Tsao (LaoTsao)
3.2 02/08?) ha-zone - Any references? Thank you in advance for your help. Best regards, Eric ___ zones-discuss mailing list zones-discuss@opensolaris.org begin:vcard fn:Dr. Hung-Sheng Tsao (LaoTsao) n:Tsao;Hung-Sheng org:GEH;Sun GEH East adr

Re: [zones-discuss] Fresh Solaris 9 installation in a Zone

2008-05-14 Thread Dr. Hung-Sheng Tsao(LaoTsao)
___ zones-discuss mailing list zones-discuss@opensolaris.org -- Hung-Sheng Tsao, Ph.D. (LaoTsao) Sr. System Engineer US, GEH East Data Center Ambassador 400 Atrium Dr, 1ST FLOOR

Re: [zones-discuss] Fresh Solaris 9 installation in a Zone

2008-05-14 Thread Dr. Hung-Sheng Tsao(LaoTsao)
inside of the containers. A good starting point is this white paper: http://www.sun.com/software/solaris/pdf/solaris8and9containers_datasheet.pdf -dp -- Hung-Sheng Tsao, Ph.D. (LaoTsao) Sr. System Engineer US, GEH East Data Center