Hi Stephen,

The procedere is very easy. Make an OMD backup on old system, restore this
on the new one. Create a test site on the new system. Adapt the
configuration changes from apache 2.2 to 2.4 with the help of the created
test site. Only 2 or 3 files need to be changed. I think only the apache
module definition and the php wrapper needs changes.

Best regards
Andreas

Stephen Berg (Contractor) <[email protected]> schrieb am
Mo., 17. Apr. 2017, 16:55:

> Really trying to avoid having to adapt the new installation to run with
> the site backup, started playing with that and looks like quite a bit of
> messing around with files that I want to avoid if at all possible.
>
> I guess I need to look into recreating the site from scratch but that
> seems like an awful lot of work.  The bigger gotcha is the older RHEL6
> system is my front end to seven distributed sites, all of them are
> running RHEL7 based installs, scientific linux to be exact.  Now I want
> to replace the master server with new hardware but I need to get that
> setup replicated in some fashion to the new server running SciLinux 7.3.
>
> If I create the new site as a replication slave can it then be promoted
> to be the replication master?
>
> On 04/17/2017 07:39 AM, [email protected] wrote:
> > https://community.rackspace.com/general/f/34/t/8013
> >
> > The previous post was why, this one covers how to adapt httpd 2.4 to
> support sites that expect httpd 2.2 modules.
> >
> > -----Original Message-----
> > From: omd-users [mailto:[email protected]] On
> Behalf Of [email protected]
> > Sent: Monday, April 17, 2017 7:32 AM
> > To: Stephen Berg (Contractor) <[email protected]>;
> [email protected]
> > Subject: Re: [omd-users] Move a site from RHEL6 to RHEL7
> >
> > https://httpd.apache.org/docs/2.4/upgrading.html
> >
> > The Apache httpd shipped with RHEL6 is 2.2, with RHEL7 is 2.4.  These
> isues are just the transition from one release to another.
> >
> >
> > -----Original Message-----
> > From: omd-users [mailto:[email protected]] On
> Behalf Of Stephen Berg (Contractor)
> > Sent: Monday, April 17, 2017 6:45 AM
> > To: [email protected]
> > Subject: [omd-users] Move a site from RHEL6 to RHEL7
> >
> > I need to relocate a site from a RHEL6 based system to a RHEL7 based
> > system.  Using the backup and restore feature doesn't work.  The apache
> > config ends up being broke.  It's looking for modules that have either
> > disappeared in RHEL7 or been renamed.
> >
> > After I restore from the tar ball and try to start the site I get this:
> >
> > Starting dedicated Apache for site <SITENAME>...httpd: Syntax error on
> > line 104 of /omd/sites/SITENAME/etc/apache/apache.conf: Cannot load
> > /usr/lib64/httpd/modules/mod_authn_default.so into server:
> > /usr/lib64/httpd/modules/mod_authn_default.so: cannot open shared object
> > file: No such file or directory
> > ..........ERROR
> >
> > Is this even possible or do I have to create a new site on the new RHEL7
> > system and rebuild the config by hand?
> >
>
>
> --
> Stephen Berg
> Systems Administrator
> NRL Code: 7320
> Office: 228-688-5738
> [email protected]
>
> _______________________________________________
> omd-users mailing list
> [email protected]
> http://lists.mathias-kettner.de/mailman/listinfo/omd-users
>
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to