citrix_xenserver_patcher icon indicating copy to clipboard operation
citrix_xenserver_patcher copied to clipboard

Add 'download only' and 'apply offline' functionality

Open forall opened this issue 9 years ago • 6 comments

Hi, It's possible to add script a option -> download only a patch without patching?

forall avatar Mar 03 '16 08:03 forall

Yes it's possible, but I'm not sure it holds much value. You could review the XML for the patches you want to download, as that has the download links in it, as a short term option?

Once you've downloaded only, what's the next steps? ie. What's the use case/requirements for this?

dalgibbard avatar Mar 03 '16 08:03 dalgibbard

Sometimes the download patches take a long time.. so I can run script which download all patches and next day I can apply it.

forall avatar Mar 03 '16 08:03 forall

Gotcha, might be possible then. The only thing I'm wondering is how we verify that the local file is valid on the install; the download could have been interrupted for example...

dalgibbard avatar Mar 03 '16 08:03 dalgibbard

This is a good question....Maybe it's possible to check md5sum patches from xml file?

forall avatar Mar 03 '16 08:03 forall

Can't remember if they're listed or not. I'll look into it at some point anyway :)

dalgibbard avatar Mar 03 '16 08:03 dalgibbard

+1 for this. Reason: We have a bunch of XenServers. Instead of running this patcher locally(/home/patcher) from each and every system, we (would like to) run it on multiple server at once from a central NFS share. ex: /mnt/patcher

However, currently this isnt working because the downloads will get messed up due to parallel access.

It would be good if the script would allow me to just keep files and reuse them instead of download everyfile on every run. Maybe even specify the download dir.

abien avatar Mar 04 '16 10:03 abien