On 05/12/2017 13.30, Coy Hile wrote:
I’ll echo what others have said. Salt/Chef/Ansible/Puppet are the way to go. If
you have a ton of static data that you need to migrate (think $HOME or a static
web root), you might need to rsync that bit of data. But even things like
databases, or if you, for example, run an IMAP server, can let the application
replication take care of bringing the new instance up and in sync.
You could also use delegated dataset for persisting data if the service
doesn't need to be available 24/7/365 and isn't HA or not worth
implementing such setup.
Mount the delegated dataset to /data and use it for data storage,
reprovision the LX Zone to newer image and you still have your delegated
dataset data on the instance with new image version.
|# echo '{ "image_uuid": "UUID" }' | vmadm reprovision UUID|
-Jussi
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com