upgrade from 4.0.4 to 4.0.6

Antworten
EricT
Beiträge: 20
Registriert: 18 Nov 2011, 12:49

upgrade from 4.0.4 to 4.0.6

Beitrag von EricT »

Hi,

we're planning upgrading opsi from version 4.0.4 to 4.0.6. Currently opsi runs on Debian 6.0.10, so first we'll have to upgrade the OS since the release notes state that this distribution isn't supported anymore.
We're using new hardware, the OS on the new server will be Centos 7.

The challenge will be moving the current opsi-configurations to the new server. Some questions:
- is it an option to first install opsi 4.0.4 on the new server, restore the opsi-configs and MySQL database from backup and perform an upgrade to 4.0.6?

if not:
- can we use the current module-file (temporarily ) on the new server or do we have to request a new one?
- we're using the MySQL backend.
- are there schema-changes between these versions?
- is it possible to import a backup of the 4.0.4 database to the freshly installed OPSI 4.0.6?

- can we import the current certificate to the new server or will this upgrade break communications between client and server?

Is there documentation available on such an upgrade?
Suggestions/tips?

Thanks in advance for your reply.

Regards, Eric
Benutzeravatar
ngbr
Ex-uib-Team
Beiträge: 130
Registriert: 27 Sep 2010, 11:41

Re: upgrade from 4.0.4 to 4.0.6

Beitrag von ngbr »

Hi Eric,

many questions in free support forum.
We recommend support contracts for productive environments.

consider if usage of CentOS is a must. they are not supporting python as needed in any case. could cause problems later. (dependencies)

for migration of a server there are two scenaerios :
1 - old stays active
2 - server replacement

in 1 you want to
> setup new
> import your backend via opsi-convert (see --help; can use the service = http.../rpc as source and dest)
> use your old modules file, no problem
> tell the clients they have to use new server by switching ServiceURL in Properties

in 2 you want to
> opsi-backup create
> opsi-backup restore on new server
> follow upgrade - guidelines (release notes) . you'll never break anything if you do:
> opsi-setup --update-mysql ; ~ --init-current-config ; ~ --set-rights ; ( see also: opsi-setup --help)

if you do not use a self- created certificate no need to pay attention here.

Best decide for the way you want to do it and maybe describe your steps once again.

Have fun!
---
hoping to help :)

if your problem was solved, pls mark this thread as 'SOLVED'. thank you .

-- no PN support --

Andre
EricT
Beiträge: 20
Registriert: 18 Nov 2011, 12:49

Re: upgrade from 4.0.4 to 4.0.6

Beitrag von EricT »

Hi,

thanks for your reply!

about reconsidering Centos:
Although supported according to the release-notes, you don't recommend Centos 7? Do you suggest Debian instead?
Is this because OPSI 4.0.6 is using a Python-version which isn't available in Centos-repo (we would have to manually install (and maintain) the this version)?

Your 1st migration-option looks the most convenient, we'll look into that.

Thanks.

Regards, Eric
Benutzeravatar
ngbr
Ex-uib-Team
Beiträge: 130
Registriert: 27 Sep 2010, 11:41

Re: upgrade from 4.0.4 to 4.0.6

Beitrag von ngbr »

Hi Eric,

CentOS is supported, according to the Matrix, and this is correct.

But if you want to follow recent updates soon without hassle, you should know, that opsi is being developed on Debian/Ubuntu.
Using these might get you help faster than with any other system. Especially if you do not have a support contract.

if your policies require running CentOS, you can do that no problem.
---
hoping to help :)

if your problem was solved, pls mark this thread as 'SOLVED'. thank you .

-- no PN support --

Andre
Antworten