Krzys wrote:
Hello folks, I have a question, here is a situation.
I did build a new server environment in one location (TX) and I have
setup multiple zones and they are on a zfs. My goal is to take zone
configuration with all zone content that is on zfs and duplicate it on
into another server in NYC location. What woul dbe the simplest and
easiest way to do that in your opinion?
SHould I just export zone configuration and then create it on that
different server and then take zfs and send/receive over ssh to that
other server? Only problem with doing this is that even that both
servers are Solaris 10 U3 there might be slight differences in patch
configuration... One server is V245 the other that i will be replicating
to is V240 (Should be not much differences in that setup)
Anyway how does the zone detach / attach works? Never worked with this
so I dont know and have no idea if that might or might not work, what do
you think? Any hints how detach / attach works?
The zone attach/detach functionality can be used to duplicate a zone
this way. With this functionality we do not dictate how the data
gets to the other host so you are free to move the data in any way
that you like. After you move the data and attach the zone to the new
host you can also re-attach it onto the existing host. By doing it
that way, you have duplicated the zone.
The attach/detach code does expect that you have the same set
of patches on both the source and target for the pkgs that the zone
depends on. The attach command will automatically tell you if anything
is out of sync.
You can also use the -a flag on 'zonecfg create' to attach the configuration
from the zonepath so there is no need to export the zonecfg.
You can get more info about all of this from the zone docs here:
http://docs.sun.com/app/docs/doc/817-1592/6mhahuork?a=view
Jerry
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org