Robert,

Here is what I would do - It may seem like a lot, but you will have a lot of 
flexibility with nothing but time and a bit of resource to use.

We are heavy vmware shop, but the same can be done in KVM/Xen or other 
virtualization platforms.

This is how I hand all major upgrades - that no one knows how it turns out.



1)      Create a virtual machine with proper parameters, and replicate your 
current RHEL5 with SPWLK 1.6 to test VM.


2)      Upgrade your spacewalk 1.6 to 1.7 on test VM that still runs RHEL5.


3)      Stand up another VM with RHEL6 and install vanilla  spacewalk 1.7, 
install mrepo and rsync mrepo configs and repositories, if its postgres or 
oracle, replicate the cofigs - using the same settings as you had in previous 
prod setup.



4)      Run export and import of DB, be it oracle or postgres from virtual 
RHEL5 (spacewalk 1.7) to virtual RHEL6 (spacewalk 1.7).



5)      Rsync the content of /var/satellite/redhat/* to virtual RHEL6 with 
spacewalk 1.7



*         You may need to match the hostnames or run hostname changer script.

*         There may be additional house cleaning, but in theory this should 
work.

Once you have the process squared away, you can do the same thing on your prod 
system, or promote your virtual instance to prod, if you run it virtually.

Good luck
-ilya


From: [email protected] 
[mailto:[email protected]] On Behalf Of Boyd, Robert
Sent: Thursday, June 28, 2012 11:04 AM
To: [email protected]
Subject: [Spacewalk-list] Updating Spacewalk Server from RHEL5 to RHEL6

I'm in the early stages of setting up Spacewalk on a RHEL5 server.  The 
installation was started by someone else before 1.7 came out so they decided to 
hold of on RHEL6.   Most of the environment here is running RHEL5 and we only 
have 1 or 2 test servers running RHEL6.   I'm wondering how complicated it's 
likely to be to upgrade the server to RHEL6.   I just found out this morning 
that RHEL6.3 was released recently, so I'm thinking I might be better off to 
bite the bullet before I get a bunch of servers registered into the system.   
Have you gone through an OS upgrade on your server?  What are the essential 
steps?   I have mrepo and Spacewalk running on the same server currently.   
What would I need to do to make the upgrade as smooth as possible without 
completely re-inventing the server from scratch?   I know it's possible to do a 
database backup and restore it after upgrading.  I looked at the wiki page for 
doing a spacewalk 1.6->1.7 upgrade.   It looks like some of the pieces might be 
pulled from that procedure.    Is there a Red Hat guide for upgrading the 
server hosting Satellite Server?   That would presumably be pretty similar to 
what I'd need to do.

Thanks for any thoughts you're willing to share about this.   If there's 
already a guide written for this great!  If not, maybe now is the time to add 
one to the wiki?  And I'd be willing to help write and verify it.

Thanks,
Robert

Robert Boyd
Senior Systems Engineer

[email protected]<mailto:[email protected]>

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to