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 zone.max-lwps -i zone v0136
zone: 20: v0136
NAMEPRIVILEGE   VALUEFLAG   ACTION
RECIPIENT
zone.max-lwps
 privileged120   -   deny
 -
 system  2.15G max
deny -

with the rctladm you're able to generate warning if the limit was reached:

Apr 26 16:34:52 g0057 genunix: privileged rctl zone.max-lwps (value 120)
exceeded by process 15930 in zone v0136.

is there a simple way to get the actual value of the zone(s)?

actual known ways:
prstat:
/usr/bin/prstat -LZ

with sed,grep and awk possible:
  /usr/bin/prstat -LZ -n 1,10 1 1 | sed '1,3d' | grep -v Total
  0  216  111M  139M   6.8%   0:09:05 0.1% global
 20  100   40M   23M   1.1%   0:00:32 0.0% v0136


kstat:
kstat -p unix:0:lwp_cache:buf_inuse
unix:0:lwp_cache:buf_inuse  319

but I get only the sum of all lwp on the system, not for a special zone

ps:
ps -efZ -o zone,zoneid,lwp,args | grep global | wc -l
  219
ps -efZ -o zone,zoneid,lwp,args | grep v0136 | wc -l
  105

on Solaris 11 it is possible to get these values by zonestat
e.g.

$ zonestat -p -P zones -r processes,lwps 1 1
interval:processes:system-limit:global:66:0.22%:-:-
interval:processes:system-limit:v0134:30:0.10%:-:-
interval:lwps:system-limit:global:670:0.00%:-:-
interval:lwps:system-limit:v0134:112:0.00%:-:-

but for solaris 10?

any hints are very welcome

regards
Christian
___
zones-discuss mailing list
zones-discuss@opensolaris.org

___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 borrow from the global 
 one. Is that correct?
 
 Thanks again.
 
 -- 
 I will face my fear. I will permit it to pass over me and through me.
 And when it has gone past I will turn the inner eye to see its path.
 Where the fear has gone there will be nothing. Only I will remain.
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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

2012-04-18 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
hi
may be one could add
in solaris resource control used to be project based
one need to setup project and limit the resoure pool
then assign the poll to zone.
it is not easy to  use .

since then many  shortcut for resource pool control are added to zonecfg
make it very easy to add resource 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:
 
   - 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 borrow from the global 
 one. Is that correct?
 
 Thanks again.
 
 -- 
 I will face my fear. I will permit it to pass over me and through me.
 And when it has gone past I will turn the inner eye to see its path.
 Where the fear has gone there will be nothing. Only I will remain.
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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 adapter. Each 
 of those zones controls its vnic, not the NIC.
 
 --JeffV
 
 Sent from my mobile device
 
 On Mar 24, 2012, at 7:22 AM, skeletorskele...@lissyara.su  wrote:
 
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org

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 route doesn't add.
 Also, when i reboot zone (zoneadm -z zonename reboot) route was disappeared. 
 So i need find a way to add route when zone starts (start/reboot)
 
 Can you help me? Thanks.
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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
 
 On Mar 20, 2012, at 7:25, skeletorskele...@lissyara.su  wrote:
 
 
 Route must be add at GLOBAL zone
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org

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 into the global zone: you can tell X to allow remote 
connections from the non-global zone, telnet to that zone, and set the 
appropriate environment variable so that X sessions go to the global zone’s X 
windows session, e.g. setenv DISPLAY my-global-zone.
3. At another system, you can login directly to the non-global zone, and 
perform steps similar to the previous method.
Sent from my iPad

On Feb 1, 2012, at 4:51, Christian Meier meierc...@gmail.com wrote:

 Thank you for our answers.
 unfortunately no additionally HW is allowed, and the goal is to save the
 maintenance for the workstations.
 
 I'll try to reconfigure Gnome to use Xvfb
 
 I already used VNC, but there is the Problem that each Windows is
 separately displayed.
 But this is a decision the customer must do, which solution is good enough
 
 Regards
 Christian
 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 problem, which is, that in moving all graphical
 login into a zone you really start creating a Virtual Desktop
 Environment/Infrastruture. So, check Oracle VDI for that, and think about 
 Sun
 Ray or something similar...
 
   Matthias
 
 I (Matthias Pfützner) wrote:
 Christian,
 
 it's obvious, that Xsun can't start, because in LOCAL Zones, normally no
 access to GLOBAL resources is allowed.
 
 So, you would need to define/reconfigure either
 
 the Gnome-login process to NOT use Xsun, but use a virtual Xserver like 
 Xvfb
 
 or
 
 allow the zone access to the framebuffer (but you would also need to allow
 access to /dev/mouse and the standard keyboard, which would steal the
 keyboard from the sys-admin in the global zone, so this is discouraged!
 
   Matthias
 
 You(Christian Meier) wrote:
 Dear List
 
 I'm facing the following problem:
 
 We want to move Solaris Workstations into Solaris 10 lokal Zones using
 the p2v feature by Solaris 10 Update 9+
 
 We created a flash-Archive from the Workstation and installed this Flash
 on in a local zone.
 The Installation and also the post-install which removes all the SMF
 Services doesn't belong to lokal Zones was successfull.
 
 All the Services and also packages installed on the workstation are 
 working.
 The only Problem we have now is, that the Xsun process does not start,
 because he need/want a frame buffer device.
 
 cde-login Service is running
 Xsun not, if I try to start it it claims about the missing /dev/fb devices
 
 Because Users are used to connect to the dtlogin-Screen this should run.
 Starting gome-session through X-Tunnel is working.
 
 -bash-3.2# svcs -vx cde-login
 svc:/application/graphical-login/cde-login:default (CDE login)
 State: online since January 31, 2012 11:09:00 PM MET
  See: man -M /usr/dt/share/man -s 1 dtlogin
  See: /var/svc/log/application-graphical-login-cde-login:default.log
 Impact: None.
 
 -bash-3.2# ps -ef | grep dtlo
   root  8885  8877   0 23:09:41 pts/2   0:00 grep dtlo
   root  8690  8327   0 23:09:01 ?   0:00 /usr/dt/bin/dtlogin
 -daemon
 
 -bash-3.2# ps -ef | grep Xsun
   root  8887  8877   0 23:09:46 pts/2   0:00 grep Xsun
 
 -bash-3.2# /usr/openwin/bin/Xsun
 /dev/fb: No such file or directory
 /dev/fb: No such file or directory
 Graphics Adapter device /dev/fb is of unknown type
 
 Fatal server error:
 InitOutput: Error loading module for /dev/fb
 
 -bash-3.2#
 
 -bash-3.2# svcs -vx
 -bash-3.2# pkginfo -p
 -bash-3.2# uname -rv
 5.10 Generic_147440-09
 -bash-3.2#
 
 thank you for any suggestions
 Christian
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
 
 -- 
 Matthias Pfützner | Tel.: +49 700 PFUETZNER  | Wer Recht erkennen 
 will, muß
 Lichtenbergstr.73 | mailto:matth...@pfuetzner.de | zuvor in richtiger Weise
 D-64289 Darmstadt | AIM: pfuetz, ICQ: 300967487  | gezweifelt haben.
 Germany  | http://www.pfuetzner.de/matthias/ | (Aristoteles)
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
 
 -- 
 Matthias Pfützner | Tel.: +49 700 PFUETZNER  | Je näher man ein Wort
 Lichtenbergstr.73 | mailto:matth...@pfuetzner.de | anschaut, desto ferner
 D-64289 Darmstadt | AIM: pfuetz, ICQ: 300967487  | sieht es zurück.
 Germany  | http://www.pfuetzner.de/matthias/ | Karl Kraus
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
 
___
zones-discuss mailing 

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 problem, which is, that in moving all graphical
 login into a zone you really start creating a Virtual Desktop
 Environment/Infrastruture. So, check Oracle VDI for that, and think about Sun
 Ray or something similar...
 
Matthias
 
 I (Matthias Pfützner) wrote:
 Christian,
 
 it's obvious, that Xsun can't start, because in LOCAL Zones, normally no
 access to GLOBAL resources is allowed.
 
 So, you would need to define/reconfigure either
 
 the Gnome-login process to NOT use Xsun, but use a virtual Xserver like Xvfb
 
 or
 
 allow the zone access to the framebuffer (but you would also need to allow
 access to /dev/mouse and the standard keyboard, which would steal the
 keyboard from the sys-admin in the global zone, so this is discouraged!
 
Matthias
 
 You(Christian Meier) wrote:
 Dear List
 
 I'm facing the following problem:
 
 We want to move Solaris Workstations into Solaris 10 lokal Zones using
 the p2v feature by Solaris 10 Update 9+
 
 We created a flash-Archive from the Workstation and installed this Flash
 on in a local zone.
 The Installation and also the post-install which removes all the SMF
 Services doesn't belong to lokal Zones was successfull.
 
 All the Services and also packages installed on the workstation are working.
 The only Problem we have now is, that the Xsun process does not start,
 because he need/want a frame buffer device.
 
 cde-login Service is running
 Xsun not, if I try to start it it claims about the missing /dev/fb devices
 
 Because Users are used to connect to the dtlogin-Screen this should run.
 Starting gome-session through X-Tunnel is working.
 
 -bash-3.2# svcs -vx cde-login
 svc:/application/graphical-login/cde-login:default (CDE login)
 State: online since January 31, 2012 11:09:00 PM MET
   See: man -M /usr/dt/share/man -s 1 dtlogin
   See: /var/svc/log/application-graphical-login-cde-login:default.log
 Impact: None.
 
 -bash-3.2# ps -ef | grep dtlo
root  8885  8877   0 23:09:41 pts/2   0:00 grep dtlo
root  8690  8327   0 23:09:01 ?   0:00 /usr/dt/bin/dtlogin
 -daemon
 
 -bash-3.2# ps -ef | grep Xsun
root  8887  8877   0 23:09:46 pts/2   0:00 grep Xsun
 
 -bash-3.2# /usr/openwin/bin/Xsun
 /dev/fb: No such file or directory
 /dev/fb: No such file or directory
 Graphics Adapter device /dev/fb is of unknown type
 
 Fatal server error:
 InitOutput: Error loading module for /dev/fb
 
 -bash-3.2#
 
 -bash-3.2# svcs -vx
 -bash-3.2# pkginfo -p
 -bash-3.2# uname -rv
 5.10 Generic_147440-09
 -bash-3.2#
 
 thank you for any suggestions
 Christian
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
 
 
 -- 
 Matthias Pfützner | Tel.: +49 700 PFUETZNER  | Wer Recht erkennen will, 
 muß
 Lichtenbergstr.73 | mailto:matth...@pfuetzner.de | zuvor in richtiger Weise
 D-64289 Darmstadt | AIM: pfuetz, ICQ: 300967487  | gezweifelt haben.
 Germany  | http://www.pfuetzner.de/matthias/ | (Aristoteles)
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
 
 
 -- 
 Matthias Pfützner | Tel.: +49 700 PFUETZNER  | Je näher man ein Wort
 Lichtenbergstr.73 | mailto:matth...@pfuetzner.de | anschaut, desto ferner
 D-64289 Darmstadt | AIM: pfuetz, ICQ: 300967487  | sieht es zurück.
 Germany  | http://www.pfuetzner.de/matthias/ | Karl Kraus
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org

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...@gmail.com
*To:* Sandeep Thakkar sandee...@yahoo.com
*Cc:* zones-discuss@opensolaris.org zones-discuss@opensolaris.org
*Sent:* Tuesday, September 20, 2011 3:47 PM
*Subject:* Re: [zones-discuss] Taking backup and restore the zone dump

clone zone is different options than move (detach and attach)

http://www.mernin.com/blog/2007/07/cloning-a-solaris-zone/
http://prefetch.net/blog/index.php/2006/10/19/speeding-up-solaris-zone-creation-with-cloning/
http://www.logiqwest.com/dataCenter/Demos/RunBooks/Zones/cloneZone.html

On 9/20/2011 5:21 AM, Sandeep Thakkar wrote:
So, basically I want to copy the zone and not move the zone. And the 
zone has UFS and not ZFS filesystem.


Can I follow the steps mentioned in the pdf? Can I attach the zone 
after detaching to take the backup?


Please help here.


*From:* Sandeep Thakkar sandee...@yahoo.com 
mailto:sandee...@yahoo.com
*To:* Sandeep Thakkar sandee...@yahoo.com 
mailto:sandee...@yahoo.com; Hung-Sheng Tsao (Lao Tsao 老曹) 
Ph.D. laot...@gmail.com mailto:laot...@gmail.com
*Cc:* zones-discuss@opensolaris.org 
mailto:zones-discuss@opensolaris.org 
zones-discuss@opensolaris.org mailto:zones-discuss@opensolaris.org

*Sent:* Monday, September 19, 2011 4:54 PM
*Subject:* Re: [zones-discuss] Taking backup and restore the zone dump

The source and destination servers are same:

Solaris 10 11/06 s10s_u3wos_10 SPARC



*From:* Sandeep Thakkar sandee...@yahoo.com 
mailto:sandee...@yahoo.com
*To:* Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com 
mailto:laot...@gmail.com
*Cc:* zones-discuss@opensolaris.org 
mailto:zones-discuss@opensolaris.org 
zones-discuss@opensolaris.org mailto:zones-discuss@opensolaris.org

*Sent:* Monday, September 19, 2011 10:56 AM
*Subject:* Re: [zones-discuss] Taking backup and restore the zone dump

Thank you guys. But, I do not want to move the zone. I want to copy 
it to other machine and give a different IP to this new zone. So, 
basically I want two zones up and running. Since I have configured 
lot of third party libraries on zone1, I do not want to create the 
second zone and do all those configurations again. Hence, want cop 
make a copy of that zone. I hope you got my requirement. Moreover, I 
do not use ZFS.


Sandeep.

*From:* Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D. laot...@gmail.com 
mailto:laot...@gmail.com

*To:* Sandeep Thakkar sandee...@yahoo.com mailto:sandee...@yahoo.com
*Cc:* zones-discuss@opensolaris.org 
mailto:zones-discuss@opensolaris.org 
zones-discuss@opensolaris.org mailto:zones-discuss@opensolaris.org

*Sent:* Sunday, September 18, 2011 12:19 AM
*Subject:* Re: [zones-discuss] Taking backup and restore the zone dump

fyi
http://developers.sun.com/solaris/docs/howto_movesolariscontainer_051410-1.pdf

On 9/17/2011 9:48 AM, LaoTsao wrote:

not sure which s10u? for old and new system
in general one need do
see this link
http://nilesh-joshi.blogspot.com/2010/05/migrating-zones-between-sun4u-and-sun4v.html 



http://download.oracle.com/docs/cd/E18752_01/html/817-1592/gcgnc.html

Sent from my iPad
Hung-Sheng Tsao ( LaoTsao) Ph.D

On Sep 16, 2011, at 6:45, Sandeep Thakkar sandee...@yahoo.com 
mailto:sandee...@yahoo.com wrote:



Hi,
 I'm using Solaris 10 sparc machine and created a whole root zone. 
Now,  I want to copy this zone to some other Sparc server and 
restore there. Hence, I followed these steps:


1. Take Backup of zone:
Login to Sparc server1.
# zlogin -s myzone halt
# ufsdump 0f /export/home/backup_zones/myzone.ufsdump 
/export/home/zones/myzone


2. Restore the dump:
Login to Sparc server2.
# /export/home
#  ufsrestore rf myzone.ufsdump
./lost+found: (inode 3) not found on volume
./edb: (inode 5824) not found on volume
./sandeep: (inode 105759) not found on volume
./zones/dev-vm1-zone: (inode 128139) not found on volume
./zones/qmg-vm2-zone: (inode 81773) not found on volume
./zones/qmg-vm1-zone: (inode 128128) not found on volume
./zones/qmg-vm3-zone: (inode 175624) not found on volume
./zones/qmg-vm4-zone: (inode 758372) not found on volume
./zones/support-vm4-zone: (inode 163584) not found on volume
./backup_zones: (inode 1958936) not found on volume

resync restore, skipped 54 blocks
./zones/myzone/root/usr/sfw/doc: not found on volume
./zones/myzone/root/usr/sfw/info: not found on volume
./zones/myzone/root/usr/sfw/man: not found on volume
./zones/myzone/root/usr/sfw/src: not found on volume
./zones/myzone/root/usr/sfw/bin/sparcv9/addbuiltin: not found on volume
Read error while restoring ./zones/myzone/root/usr/sfw

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

2011-09-17 Thread LaoTsao
not sure which s10u? for old and new system
in general one need do
see this link
http://nilesh-joshi.blogspot.com/2010/05/migrating-zones-between-sun4u-and-sun4v.html

http://download.oracle.com/docs/cd/E18752_01/html/817-1592/gcgnc.html

Sent from my iPad
Hung-Sheng Tsao ( LaoTsao) Ph.D

On Sep 16, 2011, at 6:45, Sandeep Thakkar sandee...@yahoo.com wrote:

 Hi,
  I'm using Solaris 10 sparc machine and created a whole root zone. Now,  I 
 want to copy this zone to some other Sparc server and restore there. Hence, I 
 followed these steps:
 
 1. Take Backup of zone:
 Login to Sparc server1.
 # zlogin -s myzone halt
 # ufsdump 0f /export/home/backup_zones/myzone.ufsdump 
 /export/home/zones/myzone
 
 2. Restore the dump:
 Login to Sparc server2.
 # /export/home
 #  ufsrestore rf myzone.ufsdump
 ./lost+found: (inode 3) not found on volume
 ./edb: (inode 5824) not found on volume
 ./sandeep: (inode 105759) not found on volume
 ./zones/dev-vm1-zone: (inode 128139) not found on volume
 ./zones/qmg-vm2-zone: (inode 81773) not found on volume
 ./zones/qmg-vm1-zone: (inode 128128) not found on volume
 ./zones/qmg-vm3-zone: (inode 175624) not found on volume
 ./zones/qmg-vm4-zone: (inode 758372) not found on volume
 ./zones/support-vm4-zone: (inode 163584) not found on volume
 ./backup_zones: (inode 1958936) not found on volume
 
 resync restore, skipped 54 blocks
 ./zones/myzone/root/usr/sfw/doc: not found on volume
 ./zones/myzone/root/usr/sfw/info: not found on volume
 ./zones/myzone/root/usr/sfw/man: not found on volume
 ./zones/myzone/root/usr/sfw/src: not found on volume
 ./zones/myzone/root/usr/sfw/bin/sparcv9/addbuiltin: not found on volume
 Read error while restoring ./zones/myzone/root/usr/sfw/include/bfd.h
 continue? [yn] continue? [yn] y
 Read error while trying to resynchronize
 continue? [yn] y
 resync restore, skipped 168 blocks
 ./zones/myzone/root/usr/sfw/include/bfdlink.h: not found on volume
 ./zones/myzone/root/usr/sfw/include/dis-asm.h: not found on volume
 Read error while trying to resynchronize
 continue? [yn] y
 Read error while trying to resynchronize
 continue? [yn] n
 
 
 Why these errors? Have I done anything wrong? Pleas help or redirect me to 
 the related post.
 
 Thanks.
 
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org

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

2011-09-08 Thread LaoTsao
admin guide
http://download.oracle.com/docs/cd/E19963-01/html/821-1458/index.html

Sent from my iPad
Hung-Sheng Tsao ( LaoTsao) Ph.D

On Sep 8, 2011, at 8:26, James Carlson carls...@workingcode.com wrote:

 carlopmart wrote:
 
 Thanks James. And yes, If I use shared IP as ip-type all works ok
 out-of-the-box. And as you say, it seems a bug.
 
 Where can I find samples about doing a bridge between physical interface
 host and vnic??
 
 I think something like this should work:
 
dladm create-bridge -l e1000g0 mybridge
 
 The man page for 'dladm' has more information.  I'm pretty sure we wrote
 a chapter for the administrator's guide, but I'm no longer sure how to
 find that.
 
 Note that this is just a hack.  What you really should be looking for is
 a fixed e1000g driver that handles the multiple unicast slots properly,
 or one that at least allows you to disable the slots so that the VNIC
 logic is forced to use promiscuous mode itself.
 
 You might try crossbow-disc...@opensolaris.org.  They may have other ideas.
 
 -- 
 James Carlson 42.703N 71.076W carls...@workingcode.com
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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

2011-09-07 Thread LaoTsao
this is old but interesting blog on sparse zone in opensolaris / solaris 11
http://www.eecis.udel.edu/~bmiller/blog/2010/03/15/sparse-zones-not-supported-in-opensolaris/

Sent from my iPad
Hung-Sheng Tsao ( LaoTsao) Ph.D

On Sep 7, 2011, at 7:42, Paul Kraus p...@kraus-haus.org wrote:

 On Tue, Sep 6, 2011 at 5:11 PM, Mike Gerdts mike.ger...@oracle.com wrote:
 
 3)zfs dataset requirement
 
 How does this negatively impact you or other users?  As of Solaris 11
 Express, this requirement means that you have to run 'zfs create' once
 to create a ZFS filesystem that will be the parent of an arbitrry number
 of zones.
 
 I personally would not advocate a configuration where each zone is not
 on its own file system because a disk hog in one zone can deny service
 to other zones.
 
Be very careful here. If you allocate all of your Zones from a
 single zpool and do NOT use quotas (and reservations) you can have one
 Zone run the others out of disk space. Does the automatic (under the
 covers) zfs create in Solaris 11 also automate setting reasonable
 quotas and reservations ?
 
I don't want folks who are less familiar with ZFS to make that mistake.
 
  While I was working for a Fortune 10 company and
 introduced zones early in Solaris 10's life, I ensured that every zone
 had its own file system on a SVM soft partition.  This approach worked
 well for many years, but took a significant amount of effort to
 automate.  The integration of ZFS and Zones simplifies this type of
 architecture greatly.
 
We have used almost exclusively sparse root zones; for the space
 efficiency, the global patching model, and the security of a read only
 OS. I will be sorry to see the option of a sparse root zone go away.
 
 -- 
 {1-2-3-4-5-6-7-}
 Paul Kraus
 - Senior Systems Architect, Garnet River ( http://www.garnetriver.com/ )
 - Sound Designer: Frankenstein, A New Musical
 (http://www.facebook.com/event.php?eid=123170297765140)
 - Sound Coordinator, Schenectady Light Opera Company (
 http://www.sloctheater.org/ )
 - Technical Advisor, RPI Players
___
zones-discuss mailing list
zones-discuss@opensolaris.org


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

2011-09-06 Thread LaoTsao
thx
interesting, IMHO, this type of change will make many many s10 users unhappy

Sent from my iPad
Hung-Sheng Tsao ( LaoTsao) Ph.D

On Sep 6, 2011, at 15:19, Mike Gerdts mike.ger...@oracle.com wrote:

 On Tue 06 Sep 2011 at 03:00PM, Hung-Sheng Tsao (Lao Tsao ??) Ph.D. wrote:
 
 I just did the same on s10u9 vbox
 bash-3.00# zfs list
 [snip]
 bash-3.00# zoneadm -z test1 install
 
 If zoneadm creates a dataset for this zone, at this point you would see:
 
  A ZFS file system has been created for this zone.
 
 Preparing to install zone test1.
 Creating list of files to copy from the global zone.
 Copying 16658 files to the zone.
 Initializing zone product registry.
 Determining zone package initialization order.
 Preparing to initialize 1128 packages on the zone.
 Initialized 1128 packages on zone.
 Zone test1 is initialized.
 The file /zones/roots/test1/root/var/sadm/system/logs/install_log
 contains a log of the zone installation.
 
 Solaris 10 allows zones to have their own ZFS datasets.  Solaris 11
 Express and OpenSolaris require zones to have their own ZFS datasets.
 The error messages provided by the original poster (and the prompt)
 suggest that Solaris 11 Express or a previous release of OpenSolaris was
 used.
 
 
 On 9/6/2011 1:39 PM, Mike Gerdts wrote:
 On Tue 06 Sep 2011 at 10:09AM, 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   /zpool
 root@opensolaris:~#
 
 Second:
 
 root@opensolaris:~# zonecfg -z test2
 test2: No such zone configured
 Use 'create' to begin configuring a new zone.
 zonecfg:test2  create
 zonecfg:test2  set zonepath=/zones/roots/test2
 zonecfg:test2  exit
 root@opensolaris:~# zoneadm -z test2 install
 ERROR: the zonepath must be a ZFS dataset.
 The parent directory of the zonepath must be a ZFS dataset so that the
 zonepath ZFS dataset can be created properly.
 root@opensolaris:~#
 
 Am i missing something here? I found another post but it was from someone 
 trying to create a zone in rpool..
 If you did:
 
zonecfg -z test2 'set zonepath=/zones/test2'
 
 all would be well.  Alternatively, if you really want the zonepath to
 /zones/roots/test2:
 
zfs create zones/roots
 
 
 begin:vcard
 fn:Hung-Sheng Tsao (LaoTsao) , Ph.D.
 n:Tsao;Hung-Sheng 
 org:HopBit GridComputing LLC
 adr:;;17 jade ln;Denville;NJ;07834;USA
 email;internet:laot...@gmail.com
 title:Founder and Principal
 tel;cell:9734950840
 note;quoted-printable:HopBit GridComputing=0D=0A=
=0D=0A=
HPC: Arch and deaign and setup=0D=0A=
Rockscluster:Setup and Configuration=0D=0A=
Oracle GridEngine:Setup and Configuration=0D=0A=
Oracle Cluster: Arch and Design=0D=0A=
Oracle Solaris: Jumpstart, Zone etc=0D=0A=
Oracle Exadata, Exalogic, SPARc Supercluster Arch and Design=0D=0A=

 url:http://laotsao.wordpress.com/
 version:2.1
 end:vcard
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
 
 
 -- 
 Mike Gerdts
 Solaris Core OS / Zones
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Oracle license q

2011-06-10 Thread LaoTsao
http://www.oracle.com/us/corporate/pricing/partitioning-070609.pdf
This doc still state that solaris zone, only capped CPU can limit license
How about dedicate CPU?
Tia

Sent from my iPad
Hung-Sheng Tsao ( LaoTsao) Ph.D
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Solaris Zones on ZFS Filesystem or Dataset

2011-05-02 Thread LaoTsao
It should work, but keep in mind
Zfs is not build for shared by two host, but with zpool controlled by host1 one 
can force imported to host2 resulting in corrupted zpool 


Sent from my iPad
Hung-Sheng Tsao ( LaoTsao) Ph.D

On May 2, 2011, at 1:09 AM, Steven Sim unixan...@gmail.com wrote:

 Hello All;
 
 I have been asked to create a zone on a shared LUN which will enable us to 
 detach and attach the zone onto another system (exactly same hardware 
 architecture).
 
 So I have create a ZFS Pool and specified the zonepath to be on root 
 filesystem of that pool
 
 e.g.
 
 zfs create -m /zones/webzone webpool san_disk
 
 The above creates a ZFS pool called webpool and mounts to /zones/webzone.
 
 I have then in zonecfg specified the following
 
 zonecfg:webzone  # zonecfg -z webzone
   
 webzone: No such zone configured  
 
 Use 'create' to begin configuring a new zone. 
 
 zonecfg:webzone create   
 
 zonecfg:webzone set zonepath=/zones/webpool  
 
 zonecfg:webzone set ip-type=exclusive  
 .
 .
 .
 
 Upon a need to detach, I will shutdown the zone and detach as follows ..
 
 # zoneadm -z appzone detach
 
 And then deport the ZFS Pool webpool
 
 #zpool deport webpool
 
 On the other system, I would then
 
 #zpool import webpool
 
 And start the Zone (assuming of course the zone XML file has already been 
 imported and created on the 2nd node).
 
 Is the above the best way to do things?
 
 Warmest Regards
 Steven Sim
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org

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

2011-01-20 Thread Laotsao
Yes thank u
Sorry about my mistake


Sent from my iPad

On Jan 20, 2011, at 5:19 PM, Christian Meier meierc...@gmail.com wrote:

 Hello, 
 äs I know p2v is supported in s10 update 9.
 You can create a flash archive of the global zone and install as solaris 10th 
 container.
 Please have a look at the release notes of Solaris 10 update 9
 
 Regards Christian
 
 On Jan 20, 2011 4:46 PM, Hung-Sheng Tsao (Lao Tsao 老曹) Ph. D. 
 laot...@gmail.com wrote:
  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 important for solaris to provide p2v in s10
  my 2c
  
  
  On 1/20/2011 2:25 AM, sang-suan gam wrote:
  Hi All,
 
  how can one migrate oracle DB (2 instances) from the global zone to 
  non-local zones ?
 
  thanks,
  sam
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Possible to use zones for hardening? Security?

2010-09-29 Thread LaoTsao



--- Original message ---

From: Orvar Korvar knatte_fnatte_tja...@yahoo.com
To: zones-discuss@opensolaris.org
Sent: 29.9.'10,  10:13

I want to shut down the global zone, and want to surf only from local 
zones. You mean this is not possible?


Not possible
I dont really understand the implications of your post. What are you 
trying to say? That I must use Crossbow in b134? Or, that my plan is not 
possible to do? Or, that I should not shut down the global NIC? Or?

--
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Possible to use zones for hardening? Security?

2010-09-29 Thread LaoTsao

Hi
U cannot shutdown gz
Gz run the kernel and all servies for ngz
But can setup firewall such that to restrict acces to ip tcp service and 
port


--- Original message ---

From: Orvar Korvar knatte_fnatte_tja...@yahoo.com
To: zones-discuss@opensolaris.org
Sent: 29.9.'10,  13:33

Ok, so it is impossible to shutdown internet connection to the global 
zone and surf only from the local zones. If I want to surf from the local 
zones, the global zone's NIC must be activated. I suspect a hacker will 
attack the global zone, instead of the local zone that I surf from.


Are there any other ways to increase security instead of my original plan 
(shutting down the global zone and surf from local zones)? I am afraid the 
global zone will be attacked...

--
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] v2v solaris 8-9 zone to solaris 10 zone

2010-09-20 Thread LaoTsao 老曹

 hi
may be one can do
1)in physical machine do live upgrade from s8 to s10 09/10
2)use p2v to migrate to s10 zone
regards



On 9/20/2010 2:21 PM, Jordan Vaughan wrote:

Hi Gael,

No, there is no supported way to convert an S8- or S9-branded zone to 
a native Solaris 10 zone.


Regards,
Jordan

On 09/17/10 06:27 PM, Gael wrote:

Hello
Now that p2v supports S10 with U9, is there some automated  easier way
to convert existing solaris 8/9 branded zones into native S10 whole
zones using the global zone os version ?
Regards

--
Gael Martinez




___
zones-discuss mailing list
zones-discuss@opensolaris.org

___
zones-discuss mailing list
zones-discuss@opensolaris.org
attachment: laotsao.vcf___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Need help on Solaris 10 LDoms; Hardware is T5140

2010-09-16 Thread LaoTsao 老曹

 checkout
http://wikis.sun.com/display/SolarisLogicalDomains/LDoms%20Community%20Cookbook
http://www.sun.com/blueprints/0207/820-0832.pdf
http://www.timwort.org/SA345_HTML/index.htm

On 9/16/2010 2:23 PM, Sanjay Akula wrote:

Hi Users,

I'm new to Solaris 10 LDoms, I need some help to configure T5140 
server and have a couple Ldoms Virtual machines in it.


Help me please...


--
Regards,

SysAdmin


___
zones-discuss mailing list
zones-discuss@opensolaris.org
attachment: laotsao.vcf___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Add mountpoint to zone without a reboot

2010-08-25 Thread LaoTsao 老曹



On 8/25/2010 2:32 PM, Mike DeMarco wrote:

Is it possible to add a new zfs filesystem to a zone without rebooting the zone?

yes

I have a need to add a filesystem to a zone for a couple of weeks but can not 
take an outage of the zone.
attachment: laotsao.vcf___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Can I recover zones from a dead system/disk?

2010-08-25 Thread LaoTsao 老曹

 if U create mirror  zfs root pool by attach the 2nd disk
one need to install bootblk on the 2nd vdev
if U install mirror root pool during the installation then bootblk are 
already installed on both vdev

not sure this ur issues:-(
regards


On 8/25/2010 7:14 PM, Robert Hartzell wrote:

On 08/25/10 03:23 PM, Ian Collins wrote:

On 08/26/10 10:16 AM, Robert Hartzell wrote:

Ok I was able to change the zoned property and mount to another
location. I was able to recover the database... but still couldn't
attach the zone.
Now I can get back to working on getting the disk to boot again.

Thanks for all the help.


No problem, just remember - backups are a wonderful thing!



Oh yes I know... Bacula is awesome! I have complete backups thats not 
the issue. I rebuilt the system with new disks and restored from 
backups last week.


I am trying to figure out what the reason is for having a mirrored 
rpool. In this case the first disk failed and the second disk wont 
complete booting up for some reason. The disk is fine.


If I import the rpool from the second disk to another system most of 
the zfs file systems are not available so the data can't be retrieved.
If I boot with install media and import the pool the zone datasets are 
still not available and I have the same issue with exporting/importing 
the zones.


Too bad there isn't a tool somewhere that's designed to recover an 
rpool thats healthy but for some reason won't boot.


Anyways it was just an exercise on trying to recover a down system.

attachment: laotsao.vcf___
zones-discuss mailing list
zones-discuss@opensolaris.org

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 most... 6
machines.

1 vista(laptop) 3 winXP 1 linux 1 Opensolaris (2009.6 still using b111)

I've been mainly a linux user until recently but use 3 winXP machines
for video and photography processing since I work largely with all Adobe
tools. I'm more experienced with admin type chores on linux..

I'm using the Opensol machine for most backup type jobs across the
lan.  Or in cases where the backup may originate on a windows machine
such as with `Retrospect', the opensol machine is the recipient only.

I wondered if there would be any advantage to creating a zone where
only the backup chores were handled, nothing else.

I can't be sure if that is even the kind of thing one would do with a
zone, but it seems kind of likely it would be handy to have an area
where nothing but backup chores were in order.

Another zone I've thought about would be for nameservice to my home
lan.  Maybe a mail server might be another zone usage.

I hoped to hear from a few experienced `zones' users about such a usage.

___
zones-discuss mailing list
zones-discuss@opensolaris.org


___
zones-discuss mailing list
zones-discuss@opensolaris.org


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

2009-05-17 Thread Dr. Hung-Sheng Tsao (LaoTsao)



Devin Ceartas wrote:
Is it possible to install into root zone and just have individual 
config files in several sparse zones for different instances of 
Apache, MySQL?


yes,
opensolaris put  amp binary in /usr/apacheY /usr/mysql /usr/php etc but 
the configuration files and htdocs are in /etc/ or /var etc.


if U use the blastware.org then all pkgs are install under /opt/csw
If U use coolstack 1.3.1 then all pkgs are installed under /opt/coolstack
for web stack 1.4
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/viewproductdetail-start?productref=web-stack-1.4-oth-...@cds-cds_smi
all under /opt/webstack



please see this link for MySql in solaris containers
http://wikis.sun.com/display/BluePrints/Running+MySQL+Database+in+Solaris+Containers
some example of apache in zone
http://it.toolbox.com/wiki/index.php/Creation_of_sample_zone_in_Solaris_for_hosting_apache




-- devin


On May 16, 2009, at 1:02 PM, Julien Beauviala wrote:


Hello,

Installing the AMP stack (as in `pfexec pkg install AMP`)
in a sparse zone (osol 111a) will fail, because /usr isn't
available.

Is there a way get around that, short of compiling
everything by hand to some 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 (LaoTsao)
n:Tsao;Hung-Sheng
org:GEH;GEH NE US
adr:;;400 Atrium DR;somerset;nj;08873;usa
email;internet:hung-sheng.t...@sun.com
title:Sr SE
tel;work:18773190460
tel;fax:18773190460
tel;cell:9734950840
note;quoted-printable:grid-aces=0D=0A=
	cluster-aces=0D=0A=
	TS AMB=0D=0A=
	blade_expert
url:http://blogs.sun.com/hstsao
version:2.1
end:vcard

___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Scratch Zone - purpose

2009-02-05 Thread Dr. Hung-Sheng Tsao (LaoTsao)

http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6328286

Rob McDonald wrote:


Hi All

Can anyone explain what a scratch zone is or point me to a relevant 
document?


Sincerely
Rob McDonald






___
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:1877-319-0460
tel;pager:1973-495-0840
tel;home:1973495-0840
tel;cell:1973-495-0840
x-mozilla-html:TRUE
url:http://blogs.sun.com/hstsao
version:2.1
end:vcard

___
zones-discuss mailing list
zones-discuss@opensolaris.org

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

2008-11-06 Thread Dr. Hung-Sheng Tsao (LaoTsao)


anyone know when the brandz for s10 will be out?
e.g. running s10 with opensolaris zone?


Jerry Jelinek wrote:

Mike Gerdts wrote:
  

On Thu, Nov 6, 2008 at 8:16 AM, Jerry Jelinek [EMAIL PROTECTED] wrote:


Henrik Johansson wrote:
  

The easiest way would probably be to identify packages that are not to
be updated, in my experience packages do not differ that much between
local zones in production environments, but that is only based on the
system I have worked with. I always keep zones as similar as possible,
but full zones still leaves the possibility to make some changes to
the packages and patches in case its necessary.


Unfortunately we have no way to know which pkgs you deliberately
want to be different between the global and non-global zone and
which you want to be in sync.  Thats why a list where the user
could control that would be needed.
  

Isn't that the purpose of pkgadd -G?

 -G  Add package(s) in  the  current  zone  only.
 When used in the global zone, the package is
 added to the global zone  only  and  is  not
 propagated  to  any  existing  or yet-to-be-
 created non-global  zone.  When  used  in  a
 non-global zone, the package(s) are added to
 the non-global zone only.

 This option causes package  installation  to
 fail  if, in the pkginfo file for a package,
 SUNW_PKG_ALLZONES  is  set  to   true.   See
 pkginfo(4).

A package added to the global zone with pkgadd -G should not be
upgraded in the non-global zone.



The problem is when you look at a zone, how do you know what
to sync with the global zone?  For example, if you have a
whole-root zone, that means you've explicitly decided you want
the ability to manage pkgs in /usr, etc. independently of the
global zone.   With a true upgrade, those pkgs that are part of
the release are upgraded anyway.  What do we do with a zone
migration?   What pkg 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 Dr;Somerset;nj;08873;usa
email;internet:[EMAIL PROTECTED]
title:Sr. SE
tel;work:1877319-0460
tel;fax:1877-319-0460
tel;pager:1973-495-0840
tel;home:1973495-0840
tel;cell:1973-495-0840
x-mozilla-html:TRUE
url:http://blogs.sun.com/hstsao
version:2.1
end:vcard

___
zones-discuss mailing list
zones-discuss@opensolaris.org

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

2008-10-20 Thread Dr. Hung-Sheng Tsao (LaoTsao)



Eric Li wrote:

Dear All,

Our customers like to run existing Oracle database inside Solaris 8/9 
container using Sun Cluster. Please kindly advise if

- Is this configuration certified by Oracle?
  

not

- Will it be supported by Oracle?
  

not

- Will Sun Cluster support this? (Sun Cluster 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:;;400 Atrium Dr;Somerset;nj;08873;usa
email;internet:[EMAIL PROTECTED]
title:Sr. SE
tel;work:1877319-0460
tel;fax:1877-319-0460
tel;pager:1973-495-0840
tel;home:1973495-0840
tel;cell:1973-495-0840
x-mozilla-html:TRUE
url:http://blogs.sun.com/hstsao
version:2.1
end:vcard

___
zones-discuss mailing list
zones-discuss@opensolaris.org

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

2008-05-14 Thread Dr. Hung-Sheng Tsao(LaoTsao)
two  ways
1)p2v
2)flar
https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_SMI-Site/en_US/-/USD/[EMAIL
 PROTECTED]

Crambit Team wrote:
 Hi all,
 is it possible install a Solaris 9 in a zone on Solaris 10?

 Thank in advance


 Crambit Team
 

 ___
 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  P/F:1877 319 0460 (x67079)
Somerset, NJ 08873C: 973 495 0840
http://blogs.sun.com/hstsao/  E:[EMAIL PROTECTED]
~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~

___
zones-discuss mailing list
zones-discuss@opensolaris.org


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

2008-05-14 Thread Dr. Hung-Sheng Tsao(LaoTsao)

it states
 The software is bundled
 with a one-year Right-to-Use (RTU) license and
 premium support.
it did not say RTU is free

Dan Price wrote:
 On Wed 14 May 2008 at 05:51AM, James Litchfield wrote:
   
 Both of these require the Solaris 9 Containers software (p2v comes
 with the Containers software).  The software has a 90 day free
 evaluation license but production use requires purchase of an annual
 license. Search for Solaris 9 Containers on www.sun.com.
 

 FYI-- the RTU is now fully free-- you pay only for support.  The
 support includes the support for the Solaris 8 instances 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 Ambassador
400 Atrium Dr, 1ST FLOOR  P/F:1877 319 0460 (x67079)
Somerset, NJ 08873C: 973 495 0840
http://blogs.sun.com/hstsao/  E:[EMAIL PROTECTED]
~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Solaris 8 Branded Zones

2007-10-25 Thread LaoTsao(Dr. Tsao)
IMHO, brandZ for s8,s9 s10, linux would be great.
This way the global zone almost act like control zone or dom0
and brandZ would act like appliance that can move between different hosts.

U get amost xen like feature but without the overhead
my 2c


Larry Becke wrote:

The idea has merit, although I'm not sure you can't get most of this effect 
with big zones, and careful application of patches and packages.

Although, an entirely automated form of this as a branded zone would give 
would be great.   Yes, we have to manage patches independently, and have to do 
upgrades/updates as well, yet, there are those of us who would take that 
approach if available.

Now - with the T1 and T2 based servers and LDOMs, we get this capability 
through a different approach not available to everyone.
 
 
This message posted from opensolaris.org
___
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 FLOORP/F:1877 319 0460 (x67079)
Somerset, NJ 08873  C: 973 495 0840
http://blogs.sun.com/hstsao/E:[EMAIL PROTECTED]
~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~



___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Memory Usage in Zones

2007-09-04 Thread LaoTsao(Dr. Tsao)
if U are using nv build then U can cap zone's physical memory with 
project, s10u4 also has some memory cap feature due out soon
http://opensolaris.org/os/community/zones/files/Zones_RM_Improvements.html

Chew Tian Hai wrote:
 Hi,
 I have configured at 5 zones runing different application on the system.I 
 restrict the CPU cap usage  due to license issue.Do I have faced memory 
 shortage if one the zone application (DB2) grap all the memory,then the rest 
 of the application will have problem running due to memory shortage.Is it 
 best to let it dymically access the memory or cap it ?Pls advise.
  
  
 This message posted from opensolaris.org
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
   
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] [xen-discuss] [brandz-discuss] Creating a Virtualization Community Group

2007-08-08 Thread LaoTsao(Dr. Tsao)
IMHO, if opensolaris can be supported guest OS in vmware
then vmware  has something to do with opensolaris.
some obvious advantage
1)U can create opensolaris  image very easily and distribute it one the 
web for user to try it out, U can also build appliance with some 
application into the image
2)It can be a playgroud to attract more developer, most developer use 
vmware, or like environmnet to install multiple OS to do test of the 
application
3)product demonstration will be easier,  follow SE can have demo 
environment to show case most if not all solaris/JES 
/comm/java_caps/developer/studio/storage.
Untill (open)Solaris/xen  can support such environment,  today vmware is 
the leader, SE need to understand the technology to talk about virt anyway
my 2c

Darren J Moffat wrote:

Russ Petruzzelli wrote:
  

[EMAIL PROTECTED] often discusses virtualization in a general 
sense.  I often see people bring up questions regarding comparing 
different virtualization implementations.  

Has it been considered to use this?   (Granted the alias name appears to 
limit the focus to vmware...)



This is OpenSolaris.  Non Sun employees can't join private @sun.com 
aliases such as the one you describe, the archives for the alias aren't 
public and by being an @sun.com alias it is assumed that customer 
confidential information can be shared on it.

Also VMware is closed source and nothing to do with OpenSolaris (other 
than the company seems to keep poaching engineers!) unlike LDOMS, Xen 
and Zones which are part of OpenSolaris now or are being developed in 
that community for integration into one of the consolidation projects 
also hosted on OpenSolari.

  


-- 
Hung-Sheng Tsao, Ph.D. (LaoTsao)   Sr. System Engineer
US, State Local  Education EastData Center Ambassador
400 Atrium Dr, 1ST FLOORP/F:1877 319 0460 (x67079)
Somerset, NJ 08873  C: 973 495 0840
http://blogs.sun.com/hstsao/E:[EMAIL PROTECTED]
~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~



___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] [xen-discuss] [brandz-discuss] Creating a Virtualization Community Group

2007-08-08 Thread LaoTsao(Dr. Tsao)
hi
yes and no
as a field SE, my interest in virt is very simple
1)find out why customer is using which virt tech for what, and SUN can 
support their need in various virt tech from Sun or 3rd party
2)not really into code, but would like inference the discussion on 
implementation, provision and management of various virt tech
3)help  to create plan for SUN to attack the virt market and grow Sun
regards


Darren J Moffat wrote:

 LaoTsao(Dr. Tsao) wrote:

 IMHO, if opensolaris can be supported guest OS in vmware
 then vmware  has something to do with opensolaris.
 some obvious advantage


 I agree but all the things you listed (which I've deleted from my 
 reply) are better suited to other OpenSolaris communities than 
 Virtualisation.  They appear to me to be more about advocacy or system 
 admin and providing prebuilt try out solutions rather than how 
 viritualisation is actually implemented which would be the major focus 
 of a Virtualisation community.


-- 
Hung-Sheng Tsao, Ph.D. (LaoTsao)   Sr. System Engineer
US, State Local  Education EastData Center Ambassador
400 Atrium Dr, 1ST FLOORP/F:1877 319 0460 (x67079)
Somerset, NJ 08873  C: 973 495 0840
http://blogs.sun.com/hstsao/E:[EMAIL PROTECTED]
~~
NOTICE:  This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended
recipient, please contact the sender by reply email and destroy
all copies of the original message.
~~



___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Configure ipv6 address for an exclusive zone

2007-07-25 Thread LaoTsao (Dr. Tsao)
try

network_interface=e1000g2 {
  hostname=zox04-ipv6
 
  ip_address=2000::214:4fff:fe6a:b80f/64.

  protocol_ipv6=yes
}

or try to just create a hostname6.e100g2 in the zonepatch/zone/etc
HTH
Huafeng Lu wrote:
 LaoTsao (Dr. Tsao) wrote:

 please checkout the BP
 http://www.sun.com/blueprints/0300/sysidcfg.pdf

 Thanks for the information. But this document doesn't seem to answer 
 my question?


 Huafeng Lu wrote:
 Hi,

 I created an exclusive zone and assign e1000g2 for it:

 quoted from zonecfg output
 ip-type: exclusive
 net:
 address not specified
 physical: e1000g2
 /end of zonecfg output

 I want to configure IP addresses for e1000g2 and want to avoid manual
 configuration after zone boot, so I created the $zone_path/etc/sysidcfg
 file before booting the zone:

 content of sysidcfg file

 system_locale=C
 timezone=US/Eastern
 terminal=xterm
 security_policy=NONE
 root_password=rJSJNt0RfvMy6
 network_interface=primary {
   hostname=zox04
   default_route=10.13.27.254
   ip_address=10.13.27.34
   netmask=255.255.255.0
   protocol_ipv6=yes
 }
 name_service=NIS {
   domain_name=opg.PRC.Sun.COM
   name_server=bounty-327(10.13.27.20)
 }
 nfs4_domain=dynamic

 /end of sysidcfg file

 I think it works well; after the zone boot, e1000g2 is configured with
 this ipv4 address and a link-local ipv6 address.

 However, I don't know how to configure a regular ipv6 address, say,
 2000::214:4fff:fe6a:b80f/64. Where in this sysidcfg should I put this
 address? (Of course,  after the zone boots for the first time, I can
 modify the /etc/hostname6.e1000g2 file to do this, but I want to
 configure it before the zone boots.)

 I searched, but all documents that I found uses ipv4 addresses as
 examples. :(

 Thanks for the help.

 -- 
 Huafeng
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
   

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] clustering Solaris 10 zones????

2007-07-24 Thread LaoTsao (Dr. Tsao)
sc3.1 U4 support HA-zone agent

Jason Burks wrote:
 IHAC who wants to know if you can cluster Solaris 10 Zones on two 
 different servers and if so would it require Cluster 3.2?

 Thanks
 Jason

   
___
zones-discuss mailing list
zones-discuss@opensolaris.org