Update of Sytem Red Hat

Moderator: crythias

Locked
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Update of Sytem Red Hat

Post by Gunjan »

Hi,

we are using Red hat system on which OTRS is installed. We have a basic query. If we update Red Hat system, would it affect OTRS in any manner??

Regards,
Gunjan
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Update of Sytem Red Hat

Post by crythias »

Disclaimer: I haven't done this. My comment is based upon general observances and what "makes sense".

First, in *any* case, make sure you have a full backup: filesystem /opt/otrs (or your install location) and database and that they are off the machine you're upgrading. If you can, test and verify the backup can be used on another machine.

Short answer: Probably not. If your upgrade forces you to wipe your hard drive, then yes. *A* possibility might be that it re-enables selinux. But no matter what, you have a backup, right? so...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Update of Sytem Red Hat

Post by Gunjan »

thank you for the information :)
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: Update of Sytem Red Hat

Post by Giulio Soleni »

I have updated a CentOS (that as you know is an open release of RHEL code) and I can say the following:

- if you plan to remain in the current major version (RHEL 5.x) and you trigger a yum update, even of the OS kernel itself there should not be any issue for OTRS installation (I have performed OS update that way several times and I didn't have any problem so far).

- if you plan to update the major release (from RHEL 5.x to RHEL 6.x) you should take a few things to watch out for... I would personally suggest hte following steps:
1.) build up a new RHEL system from scratch and update it to the last release (today RHEL 6.5 x86_64)
2.) install on this new system all the packages required by the OTRS release you already have installed on your old system
3.) install on this new system the SAME release of OTRS software you already have installed on the old system. MIND THAT THE OTRS RELEASE MUST BE EXACTLY THE SAME YOU HAVE ALREADY INSTALLED ON THE OLD SYSTEM along with all the packages you have installed on the old system, otherwise the following restore might fail. Of course the OTRS software package (rpm) deployed for a RHEL 6.x should be the one delivered for that distribution and not the one delivered for RHEL 5.x BUT THE OTRS VERSION MUST BE THE SAME as you currently have on the old system (you may update it on a later time).
Take care also to set the Installation Id of OTRS in the new system EXACTLY AS IT IS on the old system (e.g. '10')... double check this setting.
4.) stop the relevant services on the old system and backup all the necessary data:
/opt/otrs/var/log/TicketCounter.log
/opt/otrs/var/log/ITSMChangeCounter.log
/opt/otrs/Kernel/Config/Files/ZZZAuto.pm
/opt/otrs/var/article/* (better if you targz all the content under article dir)
The OTRS database
All the custom content
5.) Restore the backed-up content on the new system
6.) cross your fingers :)
7.) start OTRS services on the new system

VERY IMPORTANT: you may have issues if you update your DB software also. For example I passed from MySQL 5.1 (which I think is currently included in the available ISOs by RHEL 5.x and RHEL 6.x as well) to MySQL 5.6
And since MySQL 5.6 is based upon InnoDB engine while MySQL 5.1 is based on MyISAM I had to change the old db to InnoDB (on my old system) before taking a backup, otherwise I would not have been able to restore the db on my new system.

You might want to see also viewtopic.php?f=63&t=20301 for other details on the update of the database

HTH
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
Locked