Today I would like to talk about backup of virtual machines under Xenserver 5.5.
Since the first customer asked me for a backup solution, my first thoughts have been - for what. We have unattend setups, OS Rollout Tools, Provisioning Services and some other nice tools to re-deploy a crashed server. So a backup only for the VM‘s might be useless. But this customer have a lot of P2V Machines which are not easy to recover and in addition it‘s it might be faster to restore a backup then rebuild the machine from the scratch. So that are valid arguments and today I like to share my new thoughts.
Since the first customer asked me for a backup solution, my first thoughts have been - for what. We have unattend setups, OS Rollout Tools, Provisioning Services and some other nice tools to re-deploy a crashed server. So a backup only for the VM‘s might be useless. But this customer have a lot of P2V Machines which are not easy to recover and in addition it‘s it might be faster to restore a backup then rebuild the machine from the scratch. So that are valid arguments and today I like to share my new thoughts.
Since the first customer asked me for a backup solution, my first thoughts have been - for what. We have unattend setups, OS Rollout Tools, Provisioning Services and some other nice tools to re-deploy a crashed server. So a backup only for the VM‘s might be useless. But this customer have a lot of P2V Machines which are not easy to recover and in addition it‘s it might be faster to restore a backup then rebuild the machine from the scratch. So that are valid arguments and today I like to share my new thoughts.
Since the first customer asked me for a backup solution, my first thoughts have been - for what. We have unattend setups, OS Rollout Tools, Provisioning Services and some other nice tools to re-deploy a crashed server. So a backup only for the VM‘s might be useless. But this customer have a lot of P2V Machines which are not easy to recover and in addition it‘s it might be faster to restore a backup then rebuild the machine from the scratch. So that are valid arguments and today I like to share my new thoughts.
Since the first customer asked me for a backup solution, my first thoughts have been - for what. We have unattend setups, OS Rollout Tools, Provisioning Services and some other nice tools to re-deploy a crashed server. So a backup only for the VM‘s might be useless. But this customer have a lot of P2V Machines which are not easy to recover and in addition it‘s it might be faster to restore a backup then rebuild the machine from the scratch. So that are valid arguments and today I like to share my new thoughts.
Manual backups are very easy to create. But I like to implement something which can run automaticly without any manual task. And in addition I don‘t want to shutdown the VM‘s before running the backup.
To draw up a solution for this customer I got a big budget - which was near ZERO or fewer. So I first take a look on what Citrix put me in the Box. I put all the commercial solutions at the end of the queue and take a look at everythig free of charge first. Manual Backup are not an option, so I focused only automated backups via scripting.
To draw up a solution for this customer I got a big budget - which was near ZERO or fewer. So I first take a look on what Citrix put me in the Box. I put all the commercial solutions at the end of the queue and take a look at everythig free of charge first. Manual Backup are not an option, so I focused only automated backups via scripting.
To draw up a solution for this customer I got a big budget - which was near ZERO or fewer. So I first take a look on what Citrix put me in the Box. I put all the commercial solutions at the end of the queue and take a look at everythig free of charge first. Manual Backup are not an option, so I focused only automated backups via scripting.
To draw up a solution for this customer I got a big budget - which was near ZERO or fewer. So I first take a look on what Citrix put me in the Box. I put all the commercial solutions at the end of the queue and take a look at everythig free of charge first. Manual Backup are not an option, so I focused only automated backups via scripting.
For Windows VM‘s it‘s possible to use the Microsoft Volume Shadow Copy Service.
In XS 5.5 the snapshot function has no „revert from Snapshot“ option, so the restore is is not a One-Click restore.
For Windows VM‘s it‘s possible to use the Microsoft Volume Shadow Copy Service.
In XS 5.5 the snapshot function has no „revert from Snapshot“ option, so the restore is is not a One-Click restore.
The next descission is the placement of a script, which also appoint the scripting language and the way the script should work.
The next descission is the placement of a script, which also appoint the scripting language and the way the script should work.
The next descission is the placement of a script, which also appoint the scripting language and the way the script should work.
The next descission is the placement of a script, which also appoint the scripting language and the way the script should work.
Very easy.We can then create a new VM from snapshot (Template), we can create a Template from snapshot, we can export the snapshot as a template and we can delete the snapshot. In some cases we have to reclaim the disk space from deleted snapshot by using the coalesce-leaf command. -> CTX123400
If your VM doesn‘t support Snapshots with quiesce there will be an error message VM_SNAPSHOT_FAILED „Quiesce snapshots not supported“
After you run successful a vm-snapshot... command you get the <SNAPSHOT UUID> as output which can be used after in the template-param-set command.
Never export the snapshot to the filesystem of Dom0
But sometimes I&#x2018;m lazy and before I start writing code I try Google (Google is your friend).
But sometimes I&#x2018;m lazy and before I start writing code I try Google (Google is your friend).
But sometimes I&#x2018;m lazy and before I start writing code I try Google (Google is your friend).
You don&#x2018;t have to write off the Links from the following slides. At the end of this presentation I have a special link where you can find all the necessary informations and links to the introduced scripts.