Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com> Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com> Co-authored-by: Rachael Rose Renk <91027132+rachaelrenk@users.noreply.github.com>
4.6 KiB
title, intro, redirect_from, versions, type, topics, shortTitle
| title | intro | redirect_from | versions | type | topics | shortTitle | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Upgrading with a hotpatch | You can use a hotpatch package to upgrade {% data variables.product.prodname_ghe_server %} to a newer patch release within a feature series. |
|
|
how_to |
|
Upgrade with a hotpatch |
{% data reusables.enterprise_installation.hotpatching-explanation %}
Using the {% data variables.enterprise.management_console %}, you can install a hotpatch immediately or schedule it for later installation. You can use the administrative shell to install a hotpatch with the ghe-upgrade utility. See AUTOTITLE and AUTOTITLE.
Upgrading a standalone instance using a hotpatch
If you're upgrading an instance with one node using a hotpatch, and your target is a patch release, you can upgrade using {% data variables.enterprise.management_console %}. To upgrade to a feature release, you must use the administrative shell.
- Installing a hotpatch using the {% data variables.enterprise.management_console %}
- Installing a hotpatch using the administrative shell
Installing a hotpatch using the {% data variables.enterprise.management_console %}
You can use the {% data variables.enterprise.management_console %} to upgrade with a hotpatch by enabling automatic updates. You will then be presented with the latest available version of {% data variables.product.prodname_ghe_server %} that you can upgrade to.
If the upgrade target you're presented with is a feature release instead of a patch release, you cannot use the {% data variables.enterprise.management_console %} to install a hotpatch. You must install the hotpatch using the administrative shell instead.
- Enable automatic updates. For more information, see AUTOTITLE. {% data reusables.enterprise_site_admin_settings.access-settings %} {% data reusables.enterprise_site_admin_settings.management-console %} {% data reusables.enterprise_management_console.updates-tab %}
- When a new hotpatch has been downloaded, select the Install package dropdown menu.
- To install immediately, click Now.
- To install later, select a later date.
- Click Install.
Installing a hotpatch using the administrative shell
{% data reusables.enterprise_installation.download-note %}
{% data reusables.enterprise_installation.ssh-into-instance %}
-
{% data reusables.enterprise_installation.enterprise-download-upgrade-pkg %} Copy the URL for the upgrade hotpackage (.hpkg file). {% data reusables.enterprise_installation.download-package %}
-
Run the
ghe-upgradecommand using the package file name:admin@HOSTNAME:~$ ghe-upgrade GITHUB-UPGRADE.hpkg *** verifying upgrade package signature... -
If at least one service or system component requires a reboot, the hotpatch upgrade script notifies you. For example, updates to the kernel, MySQL, or Elasticsearch may require a reboot.
Upgrading an instance with multiple nodes using a hotpatch
If you are installing a hotpatch, you do not need to enter maintenance mode or stop replication.
Upgrading the primary node using a hotpatch
For instructions to upgrade the primary node, see Installing a hotpatch using the administrative shell.
Upgrading additional nodes using a hotpatch
{% data reusables.enterprise_installation.multiple-node-upgrade-admonishment %}
- To upgrade the node, follow the instructions in Installing a hotpatch using the administrative shell. {% data reusables.enterprise_installation.replica-ssh %} {% data reusables.enterprise_installation.replica-verify %} {% data reusables.enterprise_installation.multiple-node-repeat-upgrade-process %}