Solved

What to change after cloning (VmWare) RHEL

Posted on 2010-08-17
3
5,810 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

730 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