BRRABill's Field Report With XenServer
-
@olivier said in BRRABill's Field Report With XenServer:
But what kind of backup? Normal backup or Continuous Delta backup? If normal backup, did you deactivate the compression or not?
Also, exporting in your Windows share from XO as a backup could produce different result than using XS from your computer (not the same network path).
That's a lof of unknown
Normal backup, just a one-time backup. (Mainly for the purpose of importing to another XS.) I disabled compression.
OK, I will continue to test things and report back.
-
In most of cases, a continuous delta backup will be few seconds, so if you need to backup often your VM, that's a good idea.
Also, you can monitor the network speed in the stats to see what's going on. You can also show that CPU should be calm on the host why backuping without compression. The SR can be monitored because of the load average chart too.
-
Also a major difference between a backup tool on the guest: XO won't restore inside the VM. It will create a new VM (with the full file) then apply diff (if necessary).
The downside is "restore" time is higher. On the other hand, you could have lost your whole XenServer and having a brand new server, XO restore will still work.
To be able to rollback quickly, there is a solution, called snapshots.
In general, in IT operations, we use both:
- snapshots are very handy when you want to make a modification and rollback if anything goes wrong. It's also cool to schedule them every night in case
- but snapshots ARE NOT BACKUP. That's why cont. delta is perfect here: fast to create and your are protected, even in a catastrophic situation. If you lost your VDI chain/XenServer/whatever, a snapshot won't help at all.
But combining them is great. Restoration time of a catastrophic failure is not often a concern.
-
To finish, ideally we should be able to select which disk to backup with XO (e.g: you have a big data disk which is already saved with rsync or whatever). This is already possible in the XO backend, but we have to work on the UI.
-
@olivier said in BRRABill's Field Report With XenServer:
In most of cases, a continuous delta backup will be few seconds, so if you need to backup often your VM, that's a good idea.
Also, you can monitor the network speed in the stats to see what's going on. You can also show that CPU should be calm on the host why backuping without compression. The SR can be monitored because of the load average chart too.
I was doing that, and why I was confused about compression with export. Sometimes it seems like it is on, sometimes it seems like it is not. I guess it depends on what the source material on the server is.
When I get everything set back up I'll do some testing.
-
Cont. delta backup won't use compression at all.
-
@Dashrender said in BRRABill's Field Report With XenServer:
Nope.. some include some older ones.. but not all.
You can start with the newest and work backwards, refreshing the list of needed updates each time.
Just wanted to double-check to be sure this was the case, as this is what I have been doing.
I usually, actually, start with the 6.5 SP1, then move on to the latest patch, which will make some earlier ones disappear. I just keep moving backwards in time until no updates remain.
-
The reason I ask is because when I do this, XC still shows the "down yellow error" that patches are available, even though they aren't.
I saw online some ways to clear this, but wanted to make sure this was OK behavior before doing so.
-
So I figured out what the issue is.
There is a hotfix that is installed on one of my two servers and not the other.
On Server1, i went hotfix by hotfix, installing them all. On Server 2, I started with SP1, and then went to the oldest and worked backwards.
This leave htofixes installed on one that have been since depreciated.
At least that my hypothesis.
-
you think having a depreciated patch installed was causing the issue? I didn't know you were suppose to remove old patches before installing new ones?
-
You are not supposed to in any normal deployment scenario. I would not expect XS to differ in that.
-
@Dashrender said
you think having a depreciated patch installed was causing the issue? I didn't know you were suppose to remove old patches before installing new ones?
You can't. It's impossible with XS.
I do have a depreciated patch installed. So it is OK, just not needed anymore, hence why starting with SP1 on my newer installation skipped that patch.
-
@JaredBusch said
You are not supposed to in any normal deployment scenario. I would not expect XS to differ in that.
From what I have read, there is no way to uninstall, unlike a Windows update.
-
@BRRABill said in BRRABill's Field Report With XenServer:
@JaredBusch said
You are not supposed to in any normal deployment scenario. I would not expect XS to differ in that.
From what I have read, there is no way to uninstall, unlike a Windows update.
You are completely missing our point.
You are not supposed to uninstall superseded windows updates either.
That is not a normal thought process.
-
@JaredBusch said
You are completely missing our point.
You are not supposed to uninstall superseded windows updates either.
That is not a normal thought process.
Of course. I don't know why you think I thought that or missed "your point".
This would be like if you had an existing Windows server that had a superceded patch on it. Then you buy a new server, and install the new patch that supercedes the previous one, and it keeps griping at you that your servers aren't updated.
I think it's just a weird thing as when I Googled it a lot of people had the same problem with the same patch.
Or it could be totally wrong. But since this is a rolling discussion of my experience with XS, I thought it would be good to post.
-
So your problem is you want to remove what you feel is a bad patch? That was not clear.
As I do not have XS running anywhere right now, and limited testing experience, I cannot help you with uninstalling it.
-
@JaredBusch said
So your problem is you want to remove what you feel is a bad patch? That was not clear.
Yeah, I mean I guess if that was an option, I would do it. But it's not, so I'll deal with the little yellow arrow.
It's not a bad patch. It's a depreciated patch that happened to get installed.
In the future I am just going to use XO to install patches. Part of the learning process.
-
I was going back to the Citrix forums to find the thread I originally saw about not being able to uninstall, and rather having to reinstall XS. To quote to you.
Well, I had seen a possible solution on that thread. (It involved finding the patch on the XS install and deleting it. This leaves it installed but tricks the server into thinking it isn't) Anyway, I decided to try it, and by damn it fixed the issue.
So ... thanks! LOL.
This was the key, if anyone else is reading this in the future and comes across this post.
"From the server that has the patch applied can you see it with xe patch-list ? I'm wondering if you can get the uuid of the patch and go into \var\patch\applied and delete that uuid manually for XS65E016. After that I would restart the toolstack and see if it still shows up as applied. Never tried doing this to make XenServer forget a patch, but there has to be a way." -
@BRRABill Yes it's possible to manually remove a patch from XS by going into the applied folder, but it's very risky to do so.
As @JaredBusch said you're essentially removing a critical system patch that's been superseded by another. A general RoT that I keep seeing about is to never delete anything from the "applied" folder.I'm glad that it worked for you, but I would refrain from doing it. Use XO to apply the patches (I know you said you would). It's elegant enough to not break things.
-
@DustinB3403 said
@BRRABill Yes it's possible to manually remove a patch from XS by going into the applied folder, but it's very risky to do so.
As @JaredBusch said you're essentially removing a critical system patch that's been superseded by another. A general RoT that I keep seeing about is to never delete anything from the "applied" folder.I'm glad that it worked for you, but I would refrain from doing it. Use XO to apply the patches (I know you said you would). It's elegant enough to not break things.
From what I read, it does not actually remove the patch. Just XC's idea that the patch is installed. It's just a teeny file in that folder, not actual XS files.
There is no way to uninstall a patch.
Someone in the Citrix forums summed it up pretty nicely:
"Now Xencenter doesn't know that this patch was ever installed. Keep in mind that this server has still installed this patch that doesn't exist anymore."