LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-19-2015, 02:41 AM   #1
LinuGeek
Member
 
Registered: Jun 2008
Posts: 126

Rep: Reputation: 0
Linux Package Repository


Hello Experts,

We have a production Apache Server running on SLES 10 SP4 and we wish to migrate it onto new hardware.
For this , we wish to use the operating system as it is i.e. SLES 10 SP4. Is there any way by which we can make sure that when we install SLES 10 SP4 onto new machine , the exact RPMs
will be installed during installation process as there are on the existing system? I do not wish to clone the existing system as some of the properties will be changed to match the new
hardware setup, e.g. in the new system the hard disk is much bigger so likewise we will setup the partitioning. We only wish to make sure that the Package repository is same.
One thought would be to create the software repository of the existing system and feed it to the new installation. But this might create lot of RPM dependencies problems.
Any pointers in this regard will be helpful.

Thanx.


- Admin
 
Old 11-19-2015, 05:26 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
in a terminal you can get the list of RPMs installed using
Code:
rpm -qa > /path/to/file.ext
But this is basic. I'm sure there are other more efficient ways or tools to accomplish the same thing.
 
Old 11-19-2015, 06:28 AM   #3
LinuGeek
Member
 
Registered: Jun 2008
Posts: 126

Original Poster
Rep: Reputation: 0
Yes this much I have already collected. I am too waiting for a reply which is more efficient than this. Thanx anyways.
 
Old 11-19-2015, 06:42 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
No worries.
 
Old 11-19-2015, 09:22 AM   #5
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Everyone in your shoes would welcome the chance to upgrade to the newest SLES, I have hard time understanding the rationale behind keeping an outdated OS. Besides, it may even not have support for newer hardware.
 
Old 11-19-2015, 05:57 PM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Actually, http://www.mondorescue.org/ is good for this kind of thing. I've used it myself for copying to the SAME HW. For new hw you're going to need the right drivers/kernel modules etc installed, so (TBH) a fresh install of the OS then add on top (eg rsync), or as suggested, just go with the latest SLES as part of this move anyway.

NB: you're going to have to do regression testing anyway, so you might as well go with the latest & greatest.

Last edited by chrism01; 11-19-2015 at 05:59 PM.
 
Old 11-19-2015, 06:43 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
you are paying novell for the OLD SELS 10 support

what dose the novell tech support say

but really WHY stay with OLD software on new hardware ?????
it is like installing WindowsXP(64bit) on a new I7 CPU with 12 gig ram
 
Old 11-20-2015, 01:35 AM   #8
LinuGeek
Member
 
Registered: Jun 2008
Posts: 126

Original Poster
Rep: Reputation: 0
Ok @1st thanx all for the pointers.

Here is my explanation to the golden question as to why we wish to retain the old OS. Is simply because our customer want to continue with the old custom software which only runs on certain OS. ie Sles 10 SP4. No variations allowed!!!

Mondo is a good option perhaps as I have myself used it in past for building a complete clone system. But here the requirement is little bit different as I wish to only migrate the Packages in questions. But I would certainly go back and check if Mondo provides such a way out.

Thanks once again. And if any questions please go ahead n ask.

- Admin
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Package repository dansimon Dragora GNU/Linux-Libre 3 08-16-2017 01:51 PM
LXer: Creating a package repository on Linux : Fedora and Debian LXer Syndicated Linux News 0 10-12-2011 08:00 AM
What repository or package I needed to be able to install Scientific Linux? yuri16 Linux - Newbie 6 01-27-2009 01:31 AM
Package Kit Error-- "Cannot retrieve repository metadata (repomd.xml) for repository" mbvpixies78 Linux - Newbie 11 08-22-2008 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration