Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

update individual components of ha-lizard 8 months 3 weeks ago #2590

Hi,
I have a dual-node server environment running XCP-NG 8.1 and ha-lizard NoSAN.
My components versions are
DRBD - 8.4.10
HA-Lizard - 2.2.3
iSCSI-HA - 2.2.4

Before the major XCP upgrade (to version 8.2), I want to upgrade the individual components (ha-lizard to version 2.3.1 and iscsi-ha to version 2.2.5).
What is the best practice to do this?

Regards
Jacek

Please Log in or Create an account to join the conversation.

Last edit: by Jacek.

update individual components of ha-lizard 8 months 3 weeks ago #2591

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 729
Hi Jacek,
If you are upgrading your dom0 using the yum method, the the procedure is quite simple. Download and install the latest RPMs directly on your host. All dependencies and configuration data will be preserved when upgrading to 8.2 using yum.
You can download the latest RPMs here:
halizard.org/release/ha-lizard/ha-lizard-2.3.1-1.rpm
halizard.org/release/iscsi-ha/iscsi-ha-2.2.5-1.rpm

Once downloaded, install with "RPM -Uvh <file.rpm>"

If you are upgrading dom0 via the ISO method, all your ha-lizard dependencies will be lost during the upgrade process. There is a procedure in this post: www.halizard.com/forum/software-support/...xcp-ng-8-0-beta#1955
that explains how to restore ha-lizard, its dependencies and all configuration data.

Please Log in or Create an account to join the conversation.

update individual components of ha-lizard 8 months 3 weeks ago #2592

Thank you for your reply.
I only want to upgrade these two packages at first.
So no need to disable ha (ha-cfg ha-disable), switch the storage node or disable iscsi-ha service in this case?

Please Log in or Create an account to join the conversation.

Last edit: by Jacek.

update individual components of ha-lizard 8 months 3 weeks ago #2593

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 729
Correct, no need to do anything before updating the RPM. Once done, it would be good to issue a restart of ha-lizard and iscsi-ha.
The following user(s) said Thank You: Jacek

Please Log in or Create an account to join the conversation.

update individual components of ha-lizard 8 months 3 weeks ago #2594

Thank you. I will try to do that and let you know how it went.

Please Log in or Create an account to join the conversation.

update individual components of ha-lizard 8 months 3 weeks ago #2596

So I performed this upgrade. For security reasons, I ran the full procedure, with cluster switching (primary / secondary).

Based on www.halizard.com/forum/software-support/...xcp-ng-8-0-beta#1955
The process is rather straight forward:
ha-cfg ha-disable
- migrate all VMs to the slave host
- enter iscsi-ha manual mode on both hosts
iscsi-cfg manual-mode-enable
- put the master into secondary mode (run this command on master only)
iscsi-cfg become-secondary
- put the slave into primary mode
iscsi-cfg become-primary

I updated the master node (iscsi-ha and ha-lizard, followed by a full yum update), and after the switchover I updated the secondary node.
Everything went smoothly.

I then updated the XCP version using the ISO method (XCP8.1.0 to XCP8.2.1).
And I have one tip.
Before running the halizard.org/release/misc/reinstsall_nosan_after_dom0_upgrade script, it is a good idea to install two packages
drbd84-utils-9.12.2-1.el7.elrepo.x86_64.rpm
mirror.hoztnode.net/elrepo/elrepo/el7/x8...l7.elrepo.x86_64.rpm
drbd84-utils-sysvinit-9.12.2-1.el7.elrepo.x86_64.rpm
mirror.hoztnode.net/elrepo/elrepo/el7/x8...l7.elrepo.x86_64.rpm
Once downloaded, install them using "RPM -Uvh <file.rpm>".

And that's it :)

Please Log in or Create an account to join the conversation.

Last edit: by Jacek.
  • Page:
  • 1