Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Save VPS settings/image
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Save VPS settings/image

DrukpaDrukpa Member
edited April 2013 in Help

After much effort and learning, I have finally setup my perfect VPS(OpenVZ) with webmin/virtualmin, nginx reverse proxy with apache, csf, php 5.4, mysql and all the other stuff.

Now, I don't want to go through this ordeal again. I haven't created any accounts/domains on it as yet.

I want to save this VPS as a template for future roll out, so would like to seek advice from you VPS/Linux gurus on the best way to create a template/image from this one.

I have root access to the node this VPS is hosted on, it does not have SolusVM.

If possible, I'd also like to create Xen/KVM templates from the same.

Thanks

Comments

  • jhjh Member
    edited April 2013

    In general:

    man vzdump

    @Drukpa said: If possible, I'd also like to create Xen/KVM templates from the same.

    I don't think this can be easily done.

  • flyfly Member
    edited April 2013

    use lvm for your xen/kvm images

  • jhjh Member

    @fly said: use lvm for your xen/kvm images

    I think he wants to create Xen/KVM images from OpenVZ.

  • seriesnseriesn Member
    edited April 2013

    @jhadley said: I think he wants to create Xen/KVM images from OpenVZ.

    How about installing Openvz on your own KVM vps and make migration process smooth :). Since this is for personal usage and not "Selling" vps from vps, I don't think any host will complain either.

  • @seriesn said: How about installing Openvz on your own KVM vps and make migration process smooth :). Since this is for personal usage and not "Selling" vps from vps, I don't think any host will complain either.

    Isn't this going to cause some overhead? Am I going to see any performance degradation?

  • Nope. OVZ has close to 0 resource overhead.

  • Might be a bit extra effort, but use a deployment system like Ansible (or puppet or chef or...). Create your ideal environment once, then set it up anywhere.

    When I buy a new VPS, it is set up in 5 minutes just as I want it, because I've created a playbook once for it.

    See my playbooks here: https://github.com/RaymiiOrg/ansible

  • marcmmarcm Member

    @jhadley said: I think he wants to create Xen/KVM images from OpenVZ

    That's not possible, not even Xen PV templates simply because OpenVZ templates are missing to many files (they are incomplete linux distributions).

Sign In or Register to comment.