[zones-discuss] V890 - Dual Core Processor

2007-11-22 Thread Bangalore, Suresh
Hi Gurus

 

Can we allocate Virtual processors to individual zones. (Like say, with
a dual core processor on V890, Can I allocate each one to individual
zones) 

Platform: Solaris 10 08/07

Thanks

Suri



This e-mail and any attachments may contain confidential information that is 
intended solely for the use of the intended recipient and may be subject to 
copyright. If you receive this e-mail in error, please notify the sender 
immediately and delete the e-mail and its attachments from your system. You 
must not disclose, copy or use any part of this e-mail if you are not the 
intended recipient. Any opinion expressed in this e-mail and any attachments is 
not an opinion of RailCorp unless stated or apparent from its content. RailCorp 
is not responsible for any unauthorised alterations to this e-mail or any 
attachments. RailCorp will not incur any liability resulting directly or 
indirectly as a result of the recipient accessing any of the attached files 
that may contain a virus.
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Interfaces to automate zone system

2007-11-22 Thread Brad Diggs
Hello,

I highly recommend that you use version 1.8.1 instead of 1.8 as
it includes many bug fixes that are not in 1.8.  Having said that,
mounting a configuration file used by the global zone into a
non-global zone can be a security risk.  I wouldn't recommend it.

Here is a example to illustrate how you could readonly mount a file 
via lofs from a global zone into a non-global zone during zone 
creation through the zone manager with the -r flag.

# z=`uname -n`
# cp /etc/hosts /etc/${z}
# zonemgr -F -a add -n z1 -z /zones -P pw -r "/etc/${z}|/etc/global"
# cksum /etc/hosts
2265366463  1183/etc/hosts
# zlogin z1 "cksum /etc/global"
2265366463  1183/etc/global
# zonemgr-a info -n z1
Zone information for zone z1
zonename: z1
zonepath: /zones/z1
brand: native
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
fs:
dir: /etc/global
special: /etc/globalhostname
raw not specified
type: lofs
options: [ro,nodevices]
attr:
name: comment
type: string
value: "Zone z1"

Hope that helps!

Just as an FYI... the next version of the zonemgr which I hope 
to complete soon has a new unified mounting syntax that works
for all the main supported filesystems available today.  It is
still in alpha so I haven't yet posted on the site. If you are
interested in trying it out, send me a separate e-mail and I
will gladly send you a copy.

Brad

On Tue, 2007-11-20 at 14:29 +0100, Konstantin Gremliza wrote:
> Hi there,
> 
> I have a question regarding zonemgr.
> 
> We would like to use lofs to mount (ro) a file /etc/GLOBAL into the
> zones. It should contain the name of the global zone so anyone can
> easily find out, what system he is really on.
> 
> Zonemgr 1.8 only supports directories for readonly lofs mounts: option
> -r
> 
> Can it be changed to support files ?
> 
> Thanks and regards,
> 
> Konstantin
> ___
> zones-discuss mailing list
> zones-discuss@opensolaris.org
-- 
-
  _/_/_/  _/_/  _/ _/   Brad Diggs
 _/  _/_/  _/_/   _/Communications Area Market
_/_/_/  _/_/  _/  _/ _/ Senior Directory Architect
   _/  _/_/  _/   _/_/
  _/_/_/   _/_/_/   _/ _/   Office:  972-992-0002
E-Mail:  [EMAIL PROTECTED]
 M  I  C  R  O  S  Y  S  T  E  M  S

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


Re: [zones-discuss] How to configure network for zone?

2007-11-22 Thread Ava Zhang

Konstantin Gremliza wrote:

Ava Zhang schrieb:

Zoram Thanga wrote:
  
That's the problem. Use an IP address which is not in use. Shared IP 
doesn't mean you share the IP address itself. It's the IP *stack* that 
is shared.


Zoram

Must I use a free IP in the same subnet(129.158.215.x)? Or any IP is OK, 
including private IP such as 10.x.x.x?


Thanks
--Ava
  


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

  
In case you use a "shared-ip" address you must use a free ip-address 
from a subnet known in the global zone.

a local zone cannot modify the routing table.
it depends on the routing table from the global zone.

Thanks Konstantin and Zoram for clarification.
Can you point out a document to help me to configure zone network in detail?


where did you get the solaris beta?

It is S10U5 build_02, not beta build, just for Sun internal testing.
You can't get S10U5 build externally until it is released to customer, 
maybe several builds later.



Thanks
--Ava


Konstantin


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

Re: [zones-discuss] prstat weirdness

2007-11-22 Thread serkan okter
Hi Martin,

Did you check your process with pmap tool ?

As you know RSS is the resident set size of memory, it means total of the 
shared libraries and processes, addressed in to memory for this process.

If you use pmap command for suspicious process, you can see which process and 
libraries
shared the memory.

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


Re: [zones-discuss] How to configure network for zone?

2007-11-22 Thread Konstantin Gremliza




Ava Zhang schrieb:

  Zoram Thanga wrote:
  
  
That's the problem. Use an IP address which is not in use. Shared IP 
doesn't mean you share the IP address itself. It's the IP *stack* that 
is shared.

Zoram

  
  Must I use a free IP in the same subnet(129.158.215.x)? Or any IP is OK, 
including private IP such as 10.x.x.x?

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

  

In case you use a "shared-ip" address you must use a free ip-address
from a subnet known in the global zone.
a local zone cannot modify the routing table. 
it depends on the routing table from the global zone.

where did you get the solaris beta?

Konstantin


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

Re: [zones-discuss] How to configure network for zone?

2007-11-22 Thread serkan okter
Hi,

Please send 
"/var/adm/messages" lines, when you try to boot your zone,

also please send "ifconfig -a"  command print

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


Re: [zones-discuss] How to configure network for zone?

2007-11-22 Thread Steffen Weiberle
Ava,

Ava Zhang wrote:
> Zoram Thanga wrote:
> 
>>That's the problem. Use an IP address which is not in use. Shared IP 
>>doesn't mean you share the IP address itself. It's the IP *stack* that 
>>is shared.
>>
>>Zoram
> 
> Must I use a free IP in the same subnet(129.158.215.x)? Or any IP is OK, 
> including private IP such as 10.x.x.x?

You are better off using an IP address on the same subnet. The 
address you assign to the non-global zone zone1 is how it is 
accessed by other systems, and if it is on a different subnet, it 
may not be reachable by those systems.

Steffen

> 
> Thanks
> --Ava
> 
> 
> ___
> zones-discuss mailing list
> zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] How to configure network for zone?

2007-11-22 Thread Ava Zhang
Zoram Thanga wrote:
>
> That's the problem. Use an IP address which is not in use. Shared IP 
> doesn't mean you share the IP address itself. It's the IP *stack* that 
> is shared.
>
> Zoram
Must I use a free IP in the same subnet(129.158.215.x)? Or any IP is OK, 
including private IP such as 10.x.x.x?

Thanks
--Ava
>

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


Re: [zones-discuss] How to configure network for zone?

2007-11-22 Thread Zoram Thanga
Hi,

Ava Zhang wrote:
> Hi all,
> 
> I followed the instruction "Q: How do I create a zone?" in 
> http://www.opensolaris.org/os/community/zones/faq/#sa_create, created a 
> zone named zone1.
> But zone1 can't boot, it is said some error about IP address. My system 
> is s10u5_b02 X86.
> 
> I want to use shared-IP mode to configure zone1, because I have only one 
> NIC.
> Could you give me some hints to configure it?
> 
> Here is the detailed information about my system:
> --
> bash-3.00# cat /etc/release
>Solaris 10 5/08 s10x_u5wos_02 X86
>   Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
>Use is subject to license terms.
>   Assembled 12 November 2007
> bash-3.00# id
> uid=0(root) gid=0(root)
> bash-3.00# zonecfg -z zone1
> zonecfg:zone1> info
> zonename: zone1
> zonepath: /zone/zone1
> brand: native
> autoboot: true
> bootargs:
> pool:
> limitpriv:
> scheduling-class:
> ip-type: shared
> inherit-pkg-dir:
>dir: /lib
> inherit-pkg-dir:
>dir: /platform
> inherit-pkg-dir:
>dir: /sbin
> inherit-pkg-dir:
>dir: /usr
> net:
>address: 129.158.215.197# zone's IP.
>physical: bge0
> zonecfg:zone1>
> bash-3.00# zoneadm -z zone1 boot
> zoneadm: zone 'zone1': bge0:1: could not bring network interface up: 
> address in
> use by zone 'global': Cannot assign requested address
> zoneadm: zone 'zone1': call to zoneadmd failed

That's the problem. Use an IP address which is not in use. Shared IP 
doesn't mean you share the IP address itself. It's the IP *stack* that 
is shared.

Zoram

> bash-3.00#
> --
> 
> 
> 
> Thanks
> --Ava
> 
> 
> 
> 
> ___
> zones-discuss mailing list
> zones-discuss@opensolaris.org


-- 
Zoram Thanga::Sun Cluster Development::http://blogs.sun.com/zoram
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] How to configure network for zone?

2007-11-22 Thread Ava Zhang

Hi all,

I followed the instruction "Q: How do I create a zone?" in 
http://www.opensolaris.org/os/community/zones/faq/#sa_create, created a 
zone named zone1.
But zone1 can't boot, it is said some error about IP address. My system 
is s10u5_b02 X86.


I want to use shared-IP mode to configure zone1, because I have only one 
NIC.

Could you give me some hints to configure it?

Here is the detailed information about my system:
--
bash-3.00# cat /etc/release
   Solaris 10 5/08 s10x_u5wos_02 X86
  Copyright 2007 Sun Microsystems, Inc.  All Rights Reserved.
   Use is subject to license terms.
  Assembled 12 November 2007
bash-3.00# id
uid=0(root) gid=0(root)
bash-3.00# zonecfg -z zone1
zonecfg:zone1> info
zonename: zone1
zonepath: /zone/zone1
brand: native
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
inherit-pkg-dir:
   dir: /lib
inherit-pkg-dir:
   dir: /platform
inherit-pkg-dir:
   dir: /sbin
inherit-pkg-dir:
   dir: /usr
net:
   address: 129.158.215.197#
bash-3.00# zoneadm -z zone1 boot
zoneadm: zone 'zone1': bge0:1: could not bring network interface up: 
address in

use by zone 'global': Cannot assign requested address
zoneadm: zone 'zone1': call to zoneadmd failed
bash-3.00#
--



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