[OmniOS-discuss] install OmniOS into a new boot environment

Geoff Nordli geoffn at gnaa.net
Thu Nov 19 00:04:27 UTC 2015


Hi Dan V.

Great idea on the creating a new BE and receiving the snapshot into it.

Being able to keep the original configuration so I can "revert" in the 
event of an issue is important.

Any of the smf services I can just export out and import in the BE.

thanks!!

Geoff

On 15-11-18 12:47 PM, Dan Vatca wrote:
> Hi Geoff,
>
> This is what I did (in broad strokes):
> 1. create a new boot environment (beadm create)
> 2. receive the @initial snapshot of an OmniOS install over the created 
> dataset
> 3. copy over some configuration files from /etc to the new boot 
> environment
> 4. boot the new copy
>
> It is not actually an upgrade, as an IPS based upgrade is not possible 
> due to the way OmniOS versions packages.
> This is the closest you can get, and will have some advantages over 
> installing a fresh one:
> 1. will keep your old install, so you can go back if anything fails
> 2. in terms of downtime, it will be equivalent to an upgrade, as you 
> won't be down during a fresh install (if all you need is the IP 
> configuration and the data pool(s) imported) ...
> This is not perfect, as you will have trouble finding an easy way to 
> bring over your STMF configuration, and some other things kept in 
> "binary" form from the OI root.
>
>
>
>
> Dan Vâtca
>
> CTO at Syneto
>
> Tel: +40723604357, Skype: dan_vatca
>
> <http://www.syneto.net/>
>
>
> On Wed, Nov 18, 2015 at 10:05 PM, Geoff Nordli <geoffn at gnaa.net 
> <mailto:geoffn at gnaa.net>> wrote:
>
>     On 15-11-13 12:36 PM, Dan McDonald wrote:
>
>             On Nov 13, 2015, at 3:26 PM, Geoff Nordli <geoffn at gnaa.net
>             <mailto:geoffn at gnaa.net>> wrote:
>
>             Hi.
>
>             I am migrating a couple of machines from OI to OmniOS.
>
>             Is it possible to install omnios into a new boot
>             environment so I can keep both the install of OI and then
>             boot between them?
>
>         Wow.  I don't know.  It's *theoretically possible* but I think
>         you'd have to install OmniOS on a VM, zfs snapshot-and-send
>         the rpool/ROOT/<be> to the OI box, and manually construct an
>         OmniOS BE around that received ZFS snapshot, including adding
>         GRUB entries.
>
>         Haven't tried it myself.
>
>         Dan
>
>
>     Thanks Dan, I will do some testing to see how it works.
>
>     Geoff
>
>     _______________________________________________
>     OmniOS-discuss mailing list
>     OmniOS-discuss at lists.omniti.com
>     <mailto:OmniOS-discuss at lists.omniti.com>
>     http://lists.omniti.com/mailman/listinfo/omnios-discuss
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20151118/5dbc9530/attachment.html>


More information about the OmniOS-discuss mailing list