[zones-discuss] Re: Question: Zones/Mpxio + Disk Array (HDS 9970V

2006-08-04 Thread Doug Scott
 Hello and thanks a lot for quick answers.
 
 By looking at your answer it looks like we are going
 to go for spare-root model.
 
 So, then to my second question which is actually
 something more of a design question i think... 
 
 1, I let's say i have my Main server running with a
 HBA card attached to a Disk Array (same as mentioned
 in my earlier question). I create and mount a nice
 disk 'pool' with ZFS and everything is working
 perfect.

create a zfs filesystem in the global zone for the zone. Something like

$ zfs create mypool/export/zones/zone1
$ mkdir -p /export/zones/zone1
$ zfs set mountpoint=/export/zones/zone1 mypool/export/zones/zone1

With zonecfg set your zonepath=/export/zones/zone1


 
 2, I now create ZONE1. I would then like to mount a
 /export/home/ftp area on the Disk Array to use as
 well. Now, What is controlling my access to the HBA
 card and Disk Array from my Non-Global zone? How do i
 see my newly created /dev/dsk/... on the Array? Do i
 have to install the same driver into the non-global
 zone as i did to the Server itself or? 

The easiest way is -
$ touch /reconfigure
$ init 6

After the reboot in theory you should see your new device. By memory, you 
should be able to use  the luxadm command to see the failover paths. Are you 
able to do a reboot?? There are a few more commands you need if you can not. I 
am assuming the server is currently not production :)

You should mount /export/home/ftp on your global zone (using ZFS), and then 
define it as a mount point using zonecfg for each of your zones.

 
 I hope i have succeded in making some sense here
 since this is bugging me and my Manager a little now.

I will all look easy and logical once you have done it once.

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


Re: [zones-discuss] Re: Question: Zones/Mpxio + Disk Array (HDS 9970V

2006-08-04 Thread Christine Tran



Doug Scott wrote On 08/04/06 11:42,:


create a zfs filesystem in the global zone for the zone. Something like

$ zfs create mypool/export/zones/zone1
$ mkdir -p /export/zones/zone1
$ zfs set mountpoint=/export/zones/zone1 mypool/export/zones/zone1

With zonecfg set your zonepath=/export/zones/zone1


Wait a sec, this doc is pretty unequivocal about doing this:
http://docs.sun.com/app/docs/doc/817-1592/6mhahuous?a=view

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


[zones-discuss] Re: Question: Zones/Mpxio + Disk Array (HDS 9970V

2006-08-04 Thread Doug Scott
Pierre,
OK from the shotgun of replies :), we have worked out there maybe some 
ZFS/zones upgrade issues for Sol10. Does this stop you from doing what you want 
to do? 

If you need to upgrade with the zones in place, then you might want to wait for 
a later Solaris release, or is the work around uninstall zone, upgrade, 
reinstall zone ok for you? 

The other option would be to put your zones on UFS, and mount /export/home/ftp 
on ZFS.

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


Re: [zones-discuss] Re: Question: Zones/Mpxio + Disk Array (HDS 9970V

2006-08-04 Thread Jeff Victor



Pierre Klovsjo wrote:

Hello and thanks a lot for quick answers.

By looking at your answer it looks like we are going to go for spare-root
model.

So, then to my second question which is actually something more of a design
question i think...

1, I let's say i have my Main server running with a HBA card attached to a Disk
Array (same as mentioned in my earlier question). I create and mount a nice
disk 'pool' with ZFS and everything is working perfect.


Given the aforementioned limitations regarding zones and ZFS: will Zones and 
UFS/SVM work for you?



2, I now create ZONE1. I would then like to mount a /export/home/ftp area on
the Disk Array to use as well. Now, What is controlling my access to the HBA
card and Disk Array from my Non-Global zone? How do i see my newly created
/dev/dsk/... on the Array? Do i have to install the same driver into the
non-global zone as i did to the Server itself or?


I don't understand all of what you are trying to do yet, but here are some 
guidelines and specific questions:


1) The Solaris kernel (including device drivers) controls access to the HBA, 
regardless of the existence of zones.


2) In general, Traffic Manager (MPxIO) should be managed from the global zone.  A 
zone can be assigned individual access to a file system which is benefitting from 
Traffic Manager.  In that case, the zone benefits from TM without even knowing it 
is there.


3) Does your application need direct device access, e.g. access to /dev/dsk/...?


--
--
Jeff VICTOR  Sun Microsystemsjeff.victor @ sun.com
OS AmbassadorSr. Technical Specialist
Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq
--
___
zones-discuss mailing list
zones-discuss@opensolaris.org