Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
cloudappliance/patching_1705 [2020_11_25 15:13] – dan | cloudappliance:patching_1705 [2023_06_22 05:41] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | THIS DRAFT SHOULD PROBABLY NOT BE PUBLISHED. I DON"T SEE THE NEED TO UPDATE A 1705 PAGE AND THE INSTRUCTIONS IN THIS DRAFT IS NOT GOOD. BETTER VERSION-INDEPENDENT PATCHING INSTRUCTIONS ARE HERE: https:// | ||
====== How To Apply a Patch to the SME File Fabric Appliance ====== | ====== How To Apply a Patch to the SME File Fabric Appliance ====== | ||
- | == last update on: Nov. 25, 2020 == | + | == last update on: Nov. 27, 2020 == |
===== About File Fabric Patches ===== | ===== About File Fabric Patches ===== | ||
- | Patches are small code changes that are confined to one or a few pieces of the File Fabric' | + | Patches are small changes that are confined to one or a few pieces of the File Fabric' |
- | SME seldom issues patches, preferring to combine sets of changes into service packs which we release frequently. On those occasions when we do see fit to issue a patch, the changes included in the patch are always included in a subsequent service pack. In most cases this will be the next service pack to be released | + | SME seldom issues patches, preferring to combine sets of changes into service packs which we release frequently. On those occasions when we do see fit to issue a patch, the changes included in the patch are always included in a subsequent service pack. In most cases this will be the next service pack to be released after the patch was developed. |
- | after the patch was developed. | + | |
===== Patching Best Practices ===== | ===== Patching Best Practices ===== | ||
* If you want to familiarise yourself with the changes introduced by a patch prior to deploying the patch to production, install it first in a non-production environment and test it there. | * If you want to familiarise yourself with the changes introduced by a patch prior to deploying the patch to production, install it first in a non-production environment and test it there. | ||
* Patch your system during a service window when users are not permitted to use the system. | * Patch your system during a service window when users are not permitted to use the system. | ||
- | * During the service window and prior to patching the system, backup | + | * It is not necessary |
* Confirm that the system is working correctly after applying the patch and prior to ending the service window. | * Confirm that the system is working correctly after applying the patch and prior to ending the service window. | ||
* If you are unable to confirm that the patched system is working properly, contact SME Support or roll back the patch prior to ending the service window. (Roll-back instructions are provided later in this document.) | * If you are unable to confirm that the patched system is working properly, contact SME Support or roll back the patch prior to ending the service window. (Roll-back instructions are provided later in this document.) | ||
Line 34: | Line 34: | ||
./patch -patch < | ./patch -patch < | ||
- | |||
- | exit | ||
- | |||
- | reboot | ||
``` | ``` | ||
If you encounter any issues during these steps please contact SME Support. | If you encounter any issues during these steps please contact SME Support. | ||
- | ===== To Roll Back a Patch ===== | + | ===== To Roll Back the Most Recently Installed |
+ | ssh into the File Fabric host as smeconfiguser, | ||
+ | ``` | ||
+ | su - | ||
- | * To roll back a patch it is necessary to reverse both the appliance changes made by the patch and any database changes made by the patch (often there won't be any). | + | su - smestorage |
- | * If your database is internal to your appliance you can reverse all of the changes by restoring the appliance backup you made prior to applying the patch. | + | |
- | * If your database is external then you need to restore the appliance backup and restore the database backup. | + | cd / |
+ | |||
+ | ./patch -rollback | ||
+ | ``` |