What are Linux configuration changes required after a cloned VM Server is started?

Dear Expert Users,

VMware Admin Tool is used to create a "clone" of an existing VM RHEL Server. Now, I have a Project where a cloned VM Server image is started for run . Please share what are all configuration changes required to ensure this runs fine ?

I will be grateful for quick and early response.

Thank you,
Sandeep

I would go for network mainly

  • IP address (to avoid conflict with original)
  • Hostname
  • SSH server keys - delete /etc/ssh/*keys* & restart sshd to generate new ones for this server
  • Delete all .ssh directories
  • Erase old syslog files and null the 'live' files
  • Purge queued mail files
  • Stop the cron service and review all the jobs
  • Change the root password

How did you clone? Is this just a copy of the OS disk perhaps? Detach the network before bringing it up and logging on through the console to do most of this.

Just a few things to be getting on with. Any more from any more?

Robin

Also in any virtualization solution, i would start that new clone without network and do the cleanup required.

Then, add network and configure it.

But a cleaner approach would be to kickstart/install the RHEL server on fresh machine and install the service in question.
Question is, what is the service on that server (database, jvm or such) ?

I would go for the fresh install in any case, but choice is yours :wink:

Hope that helps
Regards
Peasant.