Re: [zones-discuss] Questions regarding Solaris containers

2008-10-21 Thread James Carlson
Challa, Narsimha Reddy (STSD-HYD) writes:
 1.  What are the supported versions of Solaris that support Containers 
 concept? As per my search on this from Solaris 10 Update 4 or Update 5 
 onwards containers are supported.  Am I right?

I'm not quite sure what you mean by Containers; can you clarify?

The Solaris Zones feature has been a part of Solaris 10 since the very
first release, but we've added capabilities to it in several of the
updates since then.

 2.  Can raw disks be exported to Solaris containers from global zone? 
 Using zonecfg command we tried exporting devices (disk partitions/SVM 
 volumes) to containers. Once they have been exported we are unable to see 
 those in the /dev/dsk directory of the non global zone.

Did you reboot the zone after setting up the export?  Are there any
log messages?  What was the exact configuration used?  (And have you
contacted Sun's support group?)

There are some known problems, such as CR 6632938, which makes a
pattern like /dev/dsk/c2t1d0s* not work, but getting to the root of
the problem will require details.

-- 
James Carlson, Solaris Networking  [EMAIL PROTECTED]
Sun Microsystems / 35 Network Drive71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Questions regarding Solaris containers

2008-10-21 Thread Volker A. Brandt
 I'm not quite sure what you mean by Containers; can you clarify?

This is Sun marketing droid newspeak:

 Containers = Zones + Resource Manager

See, I paid attention.  May I have my cookie now please?  :-)


Regards -- Volker
-- 

Volker A. Brandt  Consulting and Support for Sun Solaris
Brandt  Brandt Computer GmbH   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim Email: [EMAIL PROTECTED]
Handelsregister: Amtsgericht Bonn, HRB 10513  Schuhgröße: 45
Geschäftsführer: Rainer J. H. Brandt und Volker A. Brandt
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Questions regarding Solaris containers

2008-10-21 Thread Steffen Weiberle
On 10/20/08 21:29, Challa, Narsimha Reddy (STSD-HYD) wrote:
 Hi,
  
 I am new to Solaris containers. Can somebody please clarify the below 
 questions:
  
  
 
1. What are the supported versions of Solaris that support Containers
   concept? As per my search on this from “Solaris 10 Update 4 or
   Update 5” onwards containers are supported.  Am I right?

Solaris Containers were delivered in the original 3/05 release of 
Solaris 10. Technically, Solaris Zone were delivered then, unless you 
count the Solaris Express previews of S10 before that. And since 
Containers is a marketing term to combine zones and resource management, 
the later updates of Solaris 9 had RM Containers. And RM goes back to at 
least 2.4 with processor sets (pset), 2.6 with the fair share scheduler 
(FSS or Solaris Resource Manager (SRM)), Solaris 9 with resource pools 
(an abstraction of pset), and then S10 with dynamic resource pools.


 2.  Can raw disks be exported to Solaris containers from global 
 zone? Using “zonecfg” command we tried exporting devices (disk 
 partitions/SVM volumes) to containers. Once they have been exported we 
 are unable to see those in the “/dev/dsk” directory of the non global zone.

The zones FAQ at http://opensolaris.org/os/community/zones/faq/ 
discusses this. Did you reboot the zone?

The question I would ask is 'why do you nned to do this?' Zones is a 
security perimeter around a set of processes and additional services to 
make it look like its own system, without all the other stuff to make it 
a 'complete' system (those things are kept to the kernel and global zone.

One of the benefits is needing to manage devices only in the global 
zone. So when you have ten zones running, there is one device 
administration point, instead of eleven.

 Is there a known issue regarding this?
  
 3.  Is there any concept of virtual HBA in Solaris Containers? Are 
 external disks from the storage arrays presented directly to the Solaris 
 container? Can multipathing software be configured on the Solaris container?

No. Per above you can extend LUNs. Multipathing is a kernel/driver 
function for disk. IPMP (multipathing for IP) can be done in zone if it 
is of ip-type=exclusive, which is not the default. This puts more 
admin1stration into the non-global zone.

  
 4.  Is Volume management (SVM and VxVM) supported inside Solaris 
 containers today? Some of the old documents show that the volume 
 management commands are accessible but are modified to display the below 
 message. Is this still valid today?

SVM is. See the FAQ. You will need to ask Veritas about VxVM.

 /VxVM command_xxx ERROR msg_id: Please execute this operation in global 
 zone./
  
 5.  Can somebody clarify me whether ZFS is supported for containers? 
 Since ZFS has the concept of creating pool of devices first and on top 
 of that file systems can be created. I would like to know what kind of 
 support is there today for ZFS for Solaris containers?

This is evolving. You can delegate a ZFS file system into a zone. With 
the upcoming S10 10/08, the zone path is fully supported on ZFS. A 
future is to have a zone clone automatically do a ZFS clone--this is 
already in Solaris Nevada/SXCE.

  
 6.  What cluster softwares (Ex: VCS, Solaris) are supported with 
 Solaris Containers today?

Solaris Cluster supports zones. I don't know if RM is managed within the 
cluster framework, or outside of it. VCS supports zones.

 7.  Can we get CPU and Memory utilization statistics used by a 
 specific container (either from with in the container or from global zone)?

Always from the global zone. What you can get within a non-global zone 
depends on resource management applied to the zone, especially for CPUs.

 8.  What databases are supported today for Solaris containers? As 
 per the bigadmin document “db_in_containers”, only non-RAC Oracle is 
 supported by containers. Is this still valid today or is there support 
 provided for Oracle RAC?

Oracle is supported. I understand that RAC support may be coming.

 Is DB2 supported inside containers?

I don't know.

Steffen

 Thanks in advance.
  
 Regards,
 -Narsimha
  
 
 
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org

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


Re: [zones-discuss] Questions regarding Solaris containers

2008-10-21 Thread Konstantin Gremliza
Steffen Weiberle wrote:
 On 10/20/08 21:29, Challa, Narsimha Reddy (STSD-HYD) wrote:
   
 Hi,
  
 I am new to Solaris containers. Can somebody please clarify the below 
 questions:
  
  

1. What are the supported versions of Solaris that support Containers
   concept? As per my search on this from “Solaris 10 Update 4 or
   Update 5” onwards containers are supported.  Am I right?
 

 Solaris Containers were delivered in the original 3/05 release of 
 Solaris 10. Technically, Solaris Zone were delivered then, unless you 
 count the Solaris Express previews of S10 before that. And since 
 Containers is a marketing term to combine zones and resource management, 
 the later updates of Solaris 9 had RM Containers. And RM goes back to at 
 least 2.4 with processor sets (pset), 2.6 with the fair share scheduler 
 (FSS or Solaris Resource Manager (SRM)), Solaris 9 with resource pools 
 (an abstraction of pset), and then S10 with dynamic resource pools.


   
 2.  Can raw disks be exported to Solaris containers from global 
 zone? Using “zonecfg” command we tried exporting devices (disk 
 partitions/SVM volumes) to containers. Once they have been exported we 
 are unable to see those in the “/dev/dsk” directory of the non global zone.
 

 The zones FAQ at http://opensolaris.org/os/community/zones/faq/ 
 discusses this. Did you reboot the zone?

 The question I would ask is 'why do you nned to do this?' Zones is a 
 security perimeter around a set of processes and additional services to 
 make it look like its own system, without all the other stuff to make it 
 a 'complete' system (those things are kept to the kernel and global zone.

 One of the benefits is needing to manage devices only in the global 
 zone. So when you have ten zones running, there is one device 
 administration point, instead of eleven.

   
 Is there a known issue regarding this?
  
 3.  Is there any concept of virtual HBA in Solaris Containers? Are 
 external disks from the storage arrays presented directly to the Solaris 
 container? Can multipathing software be configured on the Solaris container?
 

 No. Per above you can extend LUNs. Multipathing is a kernel/driver 
 function for disk. IPMP (multipathing for IP) can be done in zone if it 
 is of ip-type=exclusive, which is not the default. This puts more 
 admin1stration into the non-global zone.

   
  
 4.  Is Volume management (SVM and VxVM) supported inside Solaris 
 containers today? Some of the old documents show that the volume 
 management commands are accessible but are modified to display the below 
 message. Is this still valid today?
 

 SVM is. See the FAQ. You will need to ask Veritas about VxVM.

   
 /VxVM command_xxx ERROR msg_id: Please execute this operation in global 
 zone./
  
 5.  Can somebody clarify me whether ZFS is supported for containers? 
 Since ZFS has the concept of creating pool of devices first and on top 
 of that file systems can be created. I would like to know what kind of 
 support is there today for ZFS for Solaris containers?
 

 This is evolving. You can delegate a ZFS file system into a zone. With 
 the upcoming S10 10/08, the zone path is fully supported on ZFS. A 
 future is to have a zone clone automatically do a ZFS clone--this is 
 already in Solaris Nevada/SXCE.

   
  
 6.  What cluster softwares (Ex: VCS, Solaris) are supported with 
 Solaris Containers today?
 

 Solaris Cluster supports zones. I don't know if RM is managed within the 
 cluster framework, or outside of it. VCS supports zones.

   
RM is managed outside Sun Cluster.
Zones are supported in two different ways:
1. Switching a zone from one node to another.
2. By having a service zone and switching the application. Cluster 
commands use the global zone as a proxy.

Konstantin
 7.  Can we get CPU and Memory utilization statistics used by a 
 specific container (either from with in the container or from global zone)?
 

 Always from the global zone. What you can get within a non-global zone 
 depends on resource management applied to the zone, especially for CPUs.

   
 8.  What databases are supported today for Solaris containers? As 
 per the bigadmin document “db_in_containers”, only non-RAC Oracle is 
 supported by containers. Is this still valid today or is there support 
 provided for Oracle RAC?
 

 Oracle is supported. I understand that RAC support may be coming.

   
 Is DB2 supported inside containers?
 

 I don't know.

 Steffen

   
 Thanks in advance.
  
 Regards,
 -Narsimha
  


 

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

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

   

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

Re: [zones-discuss] Questions regarding Solaris containers

2008-10-21 Thread Jeff Victor
On Mon, Oct 20, 2008 at 9:29 PM, Challa, Narsimha Reddy (STSD-HYD)
[EMAIL PROTECTED] wrote:
 7.  Can we get CPU and Memory utilization statistics used by a specific
 container (either from with in the container or from global zone)?

prstat -Z may provide the data you want to see.

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


[zones-discuss] zoneroot on nfs?

2008-10-21 Thread Jason King
I haven't found any documentation (yet, still looking), that says anything
either way, but I'm wondering to facilitate zone migration if you can place
a zone root on an NFS filesystem?  Obviously would only be mounted on 1
server at any given time, but outside of that, just wondering if it should
work, or if I should look at SAN/iscsi luns if I want to be able to move it
around.
___
zones-discuss mailing list
zones-discuss@opensolaris.org

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

2008-10-21 Thread Jeff Victor
On Mon, Oct 20, 2008 at 1:19 PM, Eric Li [EMAIL PROTECTED] 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?

You should ask Oracle. They will want to know what Oracle software and
version you are using.

In my experience, the version of Oracle DB running on the S8 system
was so old that Oracle didn't support it on any platform.

 - Will it be supported by Oracle?
 - Will Sun Cluster support this? (Sun Cluster 3.2 02/08?)

Sun Cluster supports S8C's and S9C's.

 - Any references?

 Thank you in advance for your help.




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


Re: [zones-discuss] zoneroot on nfs?

2008-10-21 Thread Renaud Manus
See Jeff's blog for full details: 
http://blogs.sun.com/JeffV/entry/zoit_solaris_zones_on_iscsi

-- Renaud

Jason King wrote:
 I haven't found any documentation (yet, still looking), that says 
 anything either way, but I'm wondering to facilitate zone migration if 
 you can place a zone root on an NFS filesystem?  Obviously would only be 
 mounted on 1 server at any given time, but outside of that, just 
 wondering if it should work, or if I should look at SAN/iscsi luns if I 
 want to be able to move it around.
 
 
 
 
 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Somewhat unusual exclusive-IP type configuration needed

2008-10-21 Thread Steffen Weiberle
On 10/20/08 10:58, Joe Barbey wrote:
 Hi all,
 
 I've got a situation that doesn't seem to be really covered in the 
 various docs I've read up to now.  I have a number of servers where I 
 want to do something like the following, if possible.  Any help would be 
 greatly appreciated.
 
 I would like to host a number of zones on a server, let's say an m4000, 
 but I want those zones to be on a different subnet than the global.  So 
 far, no problem: use exclusive-IP.  However, currently I don't have 
 enough NICs to give one each to all zones.  One thought I had was a sort 
 of mix of shared-IP and exclusive-IP.  Give a couple of different zones 
 the same NIC in exclusive-IP mode.  I haven't tried it, but I'm fairly 
 certain this won't work, as each zone will try to control the NIC itself.

http://blogs.sun.com/stw/entry/using_ip_instances_with_vlans

This is with Solaris 10 8/07, to take advantage of IP Instanced 
delivered in that update.

Steffen

 My major concern is to get the global zone on one subnet, while the 
 non-globals will be at least one other subnet, possibly others.  Using 
 shared-IP, I know we had routing issues.  I can't remember if it was on 
 the global side or the local, but I know there were issues.  Perhaps 
 this has been fixed in more recent releases?
 
 We are currently running Solaris 10 08/2007.  At this point there 
 wouldn't really be time to move up to the latest release, though we use 
 UCE to patch the global up to date before we start building zones.
 
 Thanks for your help!
 

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


Re: [zones-discuss] zoneroot on nfs?

2008-10-21 Thread Ben Rockwood
Jason King wrote:
 I haven't found any documentation (yet, still looking), that says
 anything either way, but I'm wondering to facilitate zone migration if
 you can place a zone root on an NFS filesystem?  Obviously would only
 be mounted on 1 server at any given time, but outside of that, just
 wondering if it should work, or if I should look at SAN/iscsi luns if
 I want to be able to move it around.

It should work but its not recommended because NFS caching sucks
ass.  The synchronous nature of NFS means that its gonna be much slower
than it should be.  iSCSI/SAN may have performance issues over local
disk as well, but at least you still have a local filesystem cache.


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


Re: [zones-discuss] zoneroot on nfs?

2008-10-21 Thread Nicolas Williams
On Tue, Oct 21, 2008 at 01:17:29PM -0700, Ben Rockwood wrote:
 Jason King wrote:
  I haven't found any documentation (yet, still looking), that says
  anything either way, but I'm wondering to facilitate zone migration if
  you can place a zone root on an NFS filesystem?  Obviously would only
  be mounted on 1 server at any given time, but outside of that, just
  wondering if it should work, or if I should look at SAN/iscsi luns if
  I want to be able to move it around.
 
 It should work but its not recommended because NFS caching sucks
 ass.  The synchronous nature of NFS means that its gonna be much slower
 than it should be.  iSCSI/SAN may have performance issues over local
 disk as well, but at least you still have a local filesystem cache.

Hosting zone roots on NFS used to be explicitly not supported, and still
might be for all I know, but I know of one customer that does just that
nonetheless, though in a roundabout way, but using lofi on an
NFS-mounted file to provide the backing for UFS/ZFS zone roots.

Note though that, as with hosting zone roots over iSCSI, the semantics
of that are very different from those of using NFS directly.  For
example, there's no ID mapping issues with zone roots on SAN, but there
can be with zone roots on NAS, nor are there file locking semantics
issues with zone roots on SAN.  I strongly recommend zone roots on SAN
(iSCSI, specifically), not NAS.

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