Solved

What to change after cloning (VmWare) RHEL

Posted on 2010-08-17
3
5,958 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

690 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