From: David Combs on
just wondering. Lotsa stuff in 10-doc about "clones".

What are the primary uses of them, ie why were they
invented?


And, what OTHER things have they turned out useful for?


THANKS!


David


From: Thomas Tornblom on
dkcombs(a)panix.com (David Combs) writes:

> just wondering. Lotsa stuff in 10-doc about "clones".
>
> What are the primary uses of them, ie why were they
> invented?

Updates using beadm or live upgrade uses clones. You clone the current
boot environment and then update that. Really nice to be able to jump
between the different BE:s.

I frequently clone my current BE when I want to test something new. If
it didn't work, I just go back to the old BE and throw away the new BE.

>
>
> And, what OTHER things have they turned out useful for?
>
>
> THANKS!
>
>
> David
>
>

Thomas
From: Andrew Gabriel on
In article <x0d3vw5qgx.fsf(a)hax.se>,
Thomas Tornblom <thomas(a)Hax.SE> writes:
> dkcombs(a)panix.com (David Combs) writes:
>
>> just wondering. Lotsa stuff in 10-doc about "clones".
>>
>> What are the primary uses of them, ie why were they
>> invented?
>
> Updates using beadm or live upgrade uses clones. You clone the current
> boot environment and then update that. Really nice to be able to jump
> between the different BE:s.
>
> I frequently clone my current BE when I want to test something new. If
> it didn't work, I just go back to the old BE and throw away the new BE.

Also for rapidly creating zones which are identical. Typically, you
might create a golden master (which you don't normally have running),
and you can then create new zones from it in a matter of seconds,
and of course at miniscule cost in extra disk space.
Also works with T-series LDoms if hosted on zvols via the i/o domain.

The concept of a golden image which you clone has many other applications
too. A good one is a test area which starts off in a known/good state
because you cloned it from a golden master image. After running tests,
you don't bother trying to get the test area back into a good state, you
just blow it away and reclone from the master.

--
Andrew Gabriel
[email address is not usable -- followup in the newsgroup]
From: David Combs on
In article <hv0mj3$iu6$2(a)news.eternal-september.org>,
Andrew Gabriel <andrew(a)cucumber.demon.co.uk> wrote:
>In article <x0d3vw5qgx.fsf(a)hax.se>,
> Thomas Tornblom <thomas(a)Hax.SE> writes:
>> dkcombs(a)panix.com (David Combs) writes:
>>
>>> just wondering. Lotsa stuff in 10-doc about "clones".
>>>
>>> What are the primary uses of them, ie why were they
>>> invented?
>>
>> Updates using beadm or live upgrade uses clones. You clone the current
>> boot environment and then update that. Really nice to be able to jump
>> between the different BE:s.
>>
>> I frequently clone my current BE when I want to test something new. If
>> it didn't work, I just go back to the old BE and throw away the new BE.
>
>Also for rapidly creating zones which are identical. Typically, you
>might create a golden master (which you don't normally have running),
>and you can then create new zones from it in a matter of seconds,
>and of course at miniscule cost in extra disk space.
>Also works with T-series LDoms if hosted on zvols via the i/o domain.
>
>The concept of a golden image which you clone has many other applications
>too. A good one is a test area which starts off in a known/good state
>because you cloned it from a golden master image. After running tests,
>you don't bother trying to get the test area back into a good state, you
>just blow it away and reclone from the master.
>
>--
>Andrew Gabriel
>[email address is not usable -- followup in the newsgroup]

Thanks!

David