Re: [zones-discuss] Zones on NFS

2010-08-05 Thread Prasoon Bansal
Hello Benr,

I had read all the reply of your query posted on this blog. I have the same 
matching query with the others. As i had configured the non-global zone on nfs 
shared folder(nfsserver) and this shared folder is mapped onto another 
host(testzone). I am able to configured and see the status of non-global zone 
on both the hosts(nfsserver $ testzone). 
I sucessfully detach my test zone from nfsserver but not able to attached onto 
testzone as showing the error as zonepath is configured on nfs share folder, 
local file system must be configured.
Please let me know, if you have any of solution for this problem as of this i 
am not able to attache the non-global zone onto my testzone box. Once it get 
attach then can make it boot and can be used.
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones on NFS

2010-08-05 Thread Ian Collins

On 08/ 6/10 01:43 AM, Prasoon Bansal wrote:

Hello Benr,

I had read all the reply of your query posted on this blog.


Which blog?  Your post appears to be an orphan.


I have the same matching query with the others. As i had configured the 
non-global zone on nfs shared folder(nfsserver) and this shared folder is 
mapped onto another host(testzone). I am able to configured and see the status 
of non-global zone on both the hosts(nfsserver $ testzone).
I sucessfully detach my test zone from nfsserver but not able to attached onto 
testzone as showing the error as zonepath is configured on nfs share folder, 
local file system must be configured.
   


You should copy the zoneroot to the new host.

--
Ian.

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


Re: [zones-discuss] Zones on NFS

2007-04-17 Thread Mike Gerdts

On 4/17/07, Matty [EMAIL PROTECTED] wrote:

Howdy,

Ben brought up the idea of running zones on NFS file systems a few months back:

http://www.opensolaris.org/jive/thread.jspa?messageID=81240#81240

Have the zones team given any consideration to implementing a
supported straight forward solution for this? This capability would
have come in handy this week at my job, and it sure would be a useful
feature to have.


This is an often requested feature that I would be very interested in
as well.  Is there a discussion somewhere of what the real stumbling
blocks here are?  It seems as though it comes down to...

zonepath needs to be be mountable rw from the global zone.

zonepath/dev needs to be rw,devices mountable from the global zone,
then lofs mounted into the non-global zone.  Yuck.

zonepath/root needs to be rw mountable in the global zone (at least
during install and uninstall) and non-global zone during normal
operation.

All of this seems rather straight-forward, except for the lofs mount.
This could be worked around by rather than having a normal dev
directory, a file dev.ufs is created.  As the zone is being mounted,
dev.ufs could be lofi mounted at zonepath/dev.  At this point it is
UFS, not NFS and can be lofs mounted into the non-global zone.

Surely I am missing something else.  What is it?  Any interesting
complications with patching and/or live upgrade?

Mike

--
Mike Gerdts
http://mgerdts.blogspot.com/
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones on NFS

2007-04-17 Thread Jason King

On 4/17/07, Mike Gerdts [EMAIL PROTECTED] wrote:


On 4/17/07, Matty [EMAIL PROTECTED] wrote:
 Howdy,

 Ben brought up the idea of running zones on NFS file systems a few
months back:

 http://www.opensolaris.org/jive/thread.jspa?messageID=81240#81240

 Have the zones team given any consideration to implementing a
 supported straight forward solution for this? This capability would
 have come in handy this week at my job, and it sure would be a useful
 feature to have.

This is an often requested feature that I would be very interested in
as well.  Is there a discussion somewhere of what the real stumbling
blocks here are?  It seems as though it comes down to...

zonepath needs to be be mountable rw from the global zone.

zonepath/dev needs to be rw,devices mountable from the global zone,
then lofs mounted into the non-global zone.  Yuck.

zonepath/root needs to be rw mountable in the global zone (at least
during install and uninstall) and non-global zone during normal
operation.

All of this seems rather straight-forward, except for the lofs mount.
This could be worked around by rather than having a normal dev
directory, a file dev.ufs is created.  As the zone is being mounted,
dev.ufs could be lofi mounted at zonepath/dev.  At this point it is
UFS, not NFS and can be lofs mounted into the non-global zone.

Surely I am missing something else.  What is it?  Any interesting
complications with patching and/or live upgrade?

Mike

--
Mike Gerdts
http://mgerdts.blogspot.com/
___
zones-discuss mailing list
zones-discuss@opensolaris.org




It sounds like (at least based on the description) that the 'Filesystem
driven device naming' project might be able to address /dev -- it implies
that /dev would become a pseudo-fs that could perhaps be mounted in a zone
(with only the correct devices visible for the zone).

However, given the lack of public activity, I have no idea if it's even
still alive.  Perhaps someone more familiar with the project can comment?
Alive? Dead? Pining for the fjords?
___
zones-discuss mailing list
zones-discuss@opensolaris.org

Re: [zones-discuss] Zones on NFS

2007-04-17 Thread Dan Price
On Tue 17 Apr 2007 at 09:32PM, Jason King wrote:
 It sounds like (at least based on the description) that the
 'Filesystem driven device naming' project might be able to address
 /dev -- it implies that /dev would become a pseudo-fs that could
 perhaps be mounted in a zone (with only the correct devices visible
 for the zone).

This is usually called slash-dev-fs-- and it's already integrated
into Nevada; zones was an important design consideration for the
team who wrote it, and they did a nice job.

slash-dev-fs uses UFS (or ZFS) as a backing store; I haven't
thought about how that would interact with the NFS issue.

-dp

-- 
Daniel Price - Solaris Kernel Engineering - [EMAIL PROTECTED] - blogs.sun.com/dp
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Zones on NFS

2007-04-17 Thread Nicolas Williams
On Tue, Apr 17, 2007 at 09:31:53PM -0700, Dan Price wrote:
 On Tue 17 Apr 2007 at 09:22PM, Mike Gerdts wrote:
  
  Surely I am missing something else.  What is it?  Any interesting
  complications with patching and/or live upgrade?
 
 Setting aside patching and live upgrade...
 
 The key thing here is to try to wrap your head around what I think of as
 NFS identity conflict.
 
 Because zones look to the outside world like separate hosts, the
 solution suggested creates an identity crisis-- is traffic from the
 zone's / coming from the global zone?  Or the non-global zone?  NFSv4
 complicates this, as well, because of the way it uses credentials (I
 think unlike V3 which just uses UIDs, v4 has the idea of a mapping an
 identity into your local UID-space-- hence nfsmapid(1m)) and so when
 your zone is in a different name service domain, this won't work at all.

The NFSv4 client is zone-aware (and nfsmapidd is zone-aware too).

But as you point out this leads to a chicken-egg problem: you need
nfsmapidd running in the zone in order to mount is /.

The same chicken-egg problem comes up in diskless booting and it has
been solved there (the NFSv4 client just knows some mappings, such as
root@domain - 0).

So that that particular problem shouldn't come up as hosting a zone on
NFS should be much like diskless booting: diskless zone booting.

Most of the chicken-egg problems from diskless booting no doubt arise in
diskless zone booting as well.  The network has to be setup (think
crossbow) and the NFS mount has to be done as in diskless booting.
Diskless booting relies on information coming from RARP/bootparams/DHCP,
but surely that won't be acceptable for diskless zones booting, where
the relevant info should come from the g-z, and that would complicate
things too (e.g., can't do DNS lookups from the g-z on behalf of a
not-yet-booted zone, so the zone config would have to store resolved
server addresses, client IP address, netmask, route to the server...).

Sounds like quite a bit of work.

That said, I know of one customer that lofi-mounts zone roots from
NFS-accessed image files.  Zones on NFS, in a roundabout way.  Not for
the faint of heart, that, but they've offered to contribute the scripts
that they use to manage this (there was no interest internally when I
mentioned this).

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


RE: [zones-discuss] Zones on NFS

2007-01-02 Thread De Mena, Ron
There is already an interim solution...

You can mount a LIFO over NFS

See Joost Pronk's blog
http://blogs.sun.com/jph/date/20050610

Mind you he doesn't blog often.

-- Ron 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Rockwood
Sent: Tuesday, January 02, 2007 2:43 PM
To: zones-discuss@opensolaris.org
Subject: [zones-discuss] Zones on NFS

Its been at least 6 months since anyone has publically discussed Zones
on NFS.  In January of 2006 there was a thread that stated that people
were looking at the problem, it was something that was being worked on,
etc.  

I'm seeking an update on this matter.  I don't see any ARC cases open on
the issue, I can't even seem to find a bug id.  Any updates and
timeframes, bugid's, etc, for this issue would be helpful.

benr.
 
 
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] Zones on NFS

2007-01-02 Thread Peter Schow
Hi Ben,

On Tue, Jan 02, 2007 at 11:42:45AM -0800, Ben Rockwood wrote:
 
 I'm seeking an update on this matter.  I don't see any ARC cases open on the 
 issue, I can't even seem to find a bug id.  Any updates and timeframes, 
 bugid's, etc, for this issue would be helpful.

The RFE is:

  4964859 Zones should be able to be NFS servers
___
zones-discuss mailing list
zones-discuss@opensolaris.org


RE: [zones-discuss] Zones on NFS

2007-01-02 Thread De Mena, Ron
Ben

Could you explain how LOFI over NFS would not meet real world
expectations?

NFS is nearly as reliable as SAN now, I am sure the arguments could fly
either way.

If you look at it from one perspective, NFS is a file system virtualized
over the network.  Similar SAN is the same in logic, a virtualized but
dedicated network storage device (mind you they have different devices
involved).  Placing it in a LOFI just encapsulates the volume and
simulates it as local, similar to a fabric in a SAN.  If NFS (network
component) or a SAN (fabric aka network component) were to fail, in
either case the data being transmitted would be at risk.  So why is it
not production worthy?

Sun supports NFS
Sun supports LOFI
Sun supporting LOFI over an NFS should just be a mind set we can change
since they do not officially support this now.

So what are the real world expectations you wish to see?

I personally just want to see Sun support what exists and is currently
feasible first.

There are so many features and possibilities in Solaris that are not
supported today, its only time until they get production approved by
Sun.

BTW, your Veritas stuff needs a little updating for major version
changes... Was was useful in refreshing some of my Veritas skills in a
recent project.

-- Ron 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Rockwood
Sent: Tuesday, January 02, 2007 4:52 PM
To: Peter Schow
Cc: zones-discuss@opensolaris.org
Subject: Re: [zones-discuss] Zones on NFS

Peter Schow wrote:
 Hi Ben,

 On Tue, Jan 02, 2007 at 11:42:45AM -0800, Ben Rockwood wrote:
   
 I'm seeking an update on this matter.  I don't see any ARC cases open
on the issue, I can't even seem to find a bug id.  Any updates and
timeframes, bugid's, etc, for this issue would be helpful.
 

 The RFE is:

   4964859 Zones should be able to be NFS servers
   

That RFE is for serving NFS from within a non-global zone.  I need to
run a non-global zone on NFS, ie:

# mount -F nfs server:/zones /zones
# zonecfg -z MyZone create -a /zones/MyZone # zoneadm -z MyZone attach
-n /zones/MyZone # zoneadm -z MyZone boot

While LOFI provides a workaround, I don't see it as adequate for
real-world use.

I'm currently doing zone migration based on iSCSI LUN's, but this is
complex, using NFS would provide a much simpler and more managable
solution.

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