Redhat Linux 5 Physical to VMWare

Latest response

I have one system running on Physical server , need to move Vmware

Red Hat Enterprise Linux Server release 5.11 (Tikanga)

BACKUP_2020]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol01
49G 21G 26G 45% /
/dev/mapper/VolGroup00-LogVol02
194G 106G 79G 58% /u01
/dev/cciss/c0d0p1 494M 32M 437M 7% /boot
tmpfs 7.8G 0 7.8G 0% /dev/shm

BACKUP_2020]# cat /etc/fstab
/dev/VolGroup00/LogVol01 / ext3 defaults 1 1
/dev/VolGroup00/LogVol02 /u01 ext3 defaults 1 2
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol00 swap swap defaults 0 0

i took dum backup up

dump -0uf /u01/BACKUP_2020/rootbkp.0 /
DUMP: Date of this level 0 dump: Fri Nov 20 01:24:33 2020
DUMP: Dumping /dev/mapper/VolGroup00-LogVol01 (/) to /u01/BACKUP_2020/rootbkp.0
DUMP: Label: none
DUMP: Writing 10 Kilobyte records
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 21516969 blocks.
DUMP: Volume 1 started with block 1 at: Fri Nov 20 01:24:50 2020
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 48.90% done at 35070 kB/s, finished in 0:05
DUMP: Closing /u01/BACKUP_2020/rootbkp.0
DUMP: Volume 1 completed at: Fri Nov 20 01:34:46 2020
DUMP: Volume 1 21917010 blocks (21403.33MB)
DUMP: Volume 1 took 0:09:56
DUMP: Volume 1 transfer rate: 36773 kB/s
DUMP: 21917010 blocks (21403.33MB) on 1 volume(s)
DUMP: finished in 596 seconds, throughput 36773 kBytes/sec
DUMP: Date of this level 0 dump: Fri Nov 20 01:24:33 2020
DUMP: Date this dump completed: Fri Nov 20 01:34:46 2020
DUMP: Average transfer rate: 36773 kB/s
DUMP: DUMP IS DONE

[root@ BACKUP_2020]# ls
rootbkp.0
You have new mail in /var/spool/mail/root
[root@bbhoorap01 BACKUP_2020]# du -sh *
21G rootbkp.0
[root@_2020]#

now i want to restore to VM WARE , is it possible to convert as image or VM Template?
or install Rhel 5 and restore on that? how to restore? what is the command ?
Please help

Responses

It is easiest to do this using the "VMware Converter" utility supported by VMware. I did this as recently as one year ago, moving two RHEL 5.11 physical machines into VMware ESXi 6.5 clusters.

Thanks a lot. Dump file you converted by using Vmware converter tool? How you take back up from rhel-5 host? Can you please give more idea about this

Hi Muneer,

You do not take a backup, this tool creates a VM by "copying" the partition table and data blocks from the physical disks to vmware virtual disks.

Read about it: VMware vCenter converter standalone docs

Regards,

Jan Gerrit Kootstra