LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mirroring Installed Packages Between Servers (http://www.linuxquestions.org/questions/linux-software-2/mirroring-installed-packages-between-servers-695409/)

bunglega 01-06-2009 03:20 PM

Mirroring Installed Packages Between Servers
 
I have two servers that are already installed with RHEL 5 ... I will call them Server A and Server B.

I have been asked to re-configure Server A so that its installed packages match those installed on Server B. What is the best (and hopefully easiest way) to accomplish this?

I have generated a list of currently installed packages on both server using the command:

yum list installed

Is that the right command? When I compare the output side by side the task seems daunting and I'm considering just starting over and re-loading Server A. I have ~ 620 packages installed on Server B and ~ 1200 packages installed on Server A.

Any suggestions?

Thanks,
Bungle

David1357 01-06-2009 05:08 PM

Quote:

Originally Posted by bunglega (Post 3399145)
When I compare the output side by side the task seems daunting...

Try redirecting the output of the command to a file on each machine and then using diff with the "-y" (or "--side-by-side") option.


All times are GMT -5. The time now is 10:13 AM.