Re: [zones-discuss] Solaris Zones on ZFS Filesystem or Dataset
How did you handle your IP address? Since it would have changed correct? -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Solaris Zones on ZFS Filesystem or Dataset
Le 30 juin 2011 à 21:26, Tim Humbert a écrit : > HI I'm attempting something like this and I wondered how your plan worked out? Works great smime.p7s Description: S/MIME cryptographic signature ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Solaris Zones on ZFS Filesystem or Dataset
HI I'm attempting something like this and I wondered how your plan worked out? -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Solaris Zones on ZFS Filesystem or Dataset
Are you still trouble with which site you can trust to buy [url=http://www.gameim.com/product/RuneScape_II_gold.html]RS Gold[/url] safely, I'll introduce one for you, I have bought [url=http://www.gameim.com/product/RuneScape_II_gold.html]Runescape Gold[/url] many times from here, if you want to buy [url=http://www.gameim.com/product/RuneScape_II_gold.html]RS Money[/url], trust me!!try!! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Solaris Zones on ZFS Filesystem or Dataset
Are you still trouble with which site you can trust to buy [url=http://www.gameim.com/product/RuneScape_II_gold.html]RS Gold[/url] safely, I'll introduce one for you, I have bought [url=http://www.gameim.com/product/RuneScape_II_gold.html]Runescape Gold[/url] many times from here, if you want to buy [url=http://www.gameim.com/product/RuneScape_II_gold.html]RS Money[/url], trust me!!try!! -- This message posted from opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Solaris Zones on ZFS Filesystem or Dataset
On Mon, May 2, 2011 at 6:23 AM, Steven Sim wrote: > Firstly, can I create another filesystem (dataset) within the webpool e.g. > say webpool/webdata and assigned it as a dataset to the webzone? Would that > be considered a bad practice as it is a form cascading mount? You *can* but you *shouldn't*. In general, and I don't recall if I have seen a "Best Practice" on this or not, if you are using a zpool for multiple datasets for an NG Zone you should not use the dataset that is at the root of the zpool, but build child datasets. The issue is not necessarily ZFS figuring out how / when to mount the dependent datasets, that works fine, it is the interaction with both the Zones infrastructure and Live Upgrade (if you are going to ever do any of that). I have had all sorts of odd issues with hierarchical zfs datasets and NG Zones and LU. The layout I have been using, and have not had any issues with Live Upgrade or patching, is the following: zpool mountpoint=none zpool/zfs(zone root) mountpoint=/zones/fred/root (where fred is the zonename) zpool/zfs(application) mountpoint=/zones/fs/fred/ and a lofs mount into the NG Zone zpool/zfs(data) mountpoint=/zones/fs/fred/ and a lofs mount into the NG Zone etc. The above came about after many, many different configurations were tried (and most failed). We adopted NG Zones before they were supported by LU, and rolled out NG Zones on ZFS before that was supported by LU. A long, hard path to where we are now. -- {1-2-3-4-5-6-7-} Paul Kraus -> Senior Systems Architect, Garnet River ( http://www.garnetriver.com/ ) -> 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] Solaris Zones on ZFS Filesystem or Dataset
Lao Tsao; It is not my intention to do a concurrent mount. Instead one system will relinquish the zone and pool gracefully and the other system will import it. Only upon a primary system failure, will the second system do a force import. (it's a form of poor man cluster). Warmest Regards Steven Sim Principal Systems Pte Ltd (Singapore) On Mon, May 2, 2011 at 5:44 PM, LaoTsao wrote: > 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 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 > > 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] Solaris Zones on ZFS Filesystem or Dataset
Frank; Firstly, thanks very much for the pointers! Is there a way to set cachefile=none in a zpool that has already been created? I also googled the -u/-U option and thanks very much for the tip! Two questions; Firstly, can I create another filesystem (dataset) within the webpool e.g. say webpool/webdata and assigned it as a dataset to the webzone? Would that be considered a bad practice as it is a form cascading mount? Warmest Regards Steven Sim On Mon, May 2, 2011 at 3:06 PM, Frank Batschulat < frank.batschu...@oracle.com> wrote: > On Mon, 02 May 2011 07:09:12 +0200, Steven Sim > wrote: > > 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 >> > > you want this: > > zpool create -o cachefile=none -m /zones/webzone webpool /dev/dsk/cXtXdX > > > 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 >> > > you want: > > zpool export webpool > > > On the other system, I would then >> >> #zpool import webpool >> > > then do: > > zoneadm -z appzone attach -u/-U > > > 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? >> > > sure. that should work reasonably well. > > -- > frankB > > Solaris Core OS Development, Zones Team > ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Solaris Zones on ZFS Filesystem or Dataset
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 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 > > 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