Solved

What to change after cloning (VmWare) RHEL

Posted on 2010-08-17
3
5,477 Views
Last Modified: 2013-12-06
I am making a list of things to change after cloning (via VmWare) an instance of RHEL - what am I missing?

    * SSH KEY
    * Hostname in /etc/hosts and /etc/sysconfig/network
    * IP
    * Reregister the machine with RHN (this isn't working for some reason)

0
Comment
Question by:jculkincys
3 Comments
 
LVL 2

Expert Comment

by:nithinprabhakar
Comment Utility
Host name and Ip address would be the most important portion that you need to take care of as soon as you finish cloning.

If you want the server to be identical then there is nothing much that need to be done.

For redhat registration, as far as I know one copy of OS can be registered only once, in case if you have multiple licenses, you may look in to logs to find out any hints. else better to contact Redhat. (Unfortunately my RedHat links are not working )
0
 
LVL 22

Expert Comment

by:Luciano Patrão
Comment Utility
Hi

For my P2V on  Windows servers i always create some network files.
Example:
route print > Route_Settings.txt
ipconfig /all > IP_Settings.txt
wmic logicaldisk > Disk_Letters.txt

Just do the same for the Linux with Linux commands and save it on the physical machine, for further use.

If you use LVM disks you can get some boot issues, even you do use LVM disks.

You will need to Rebuild the ramdisk installer  /boot to boot the RH. Using the RH disc 1 and Linus rescue

Hope this can help

Jail
0
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
Comment Utility
Sounds good, you need to remove the systemid from your clone in order to register it.

1.As root at the command line, delete the file (if it exists) /etc/sysconfig/rhn/systemid from your system by running the command rm /etc/sysconfig/rhn/systemid

2.You can now register your system with the update agent using the command as root: rhn_register. For more information on the rhn_register command, see What is the command rhn_register used for?.

From: https://access.redhat.com/kb/docs/DOC-8037

Good Luck
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now