Solved

What to change after cloning (VmWare) RHEL

Posted on 2010-08-17
3
5,733 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
ID: 33455738
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 23

Expert Comment

by:Luciano Patrão
ID: 33456127
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
ID: 33457065
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:

828 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