How to check everything are migrated after the physical to vmware virtual machine?

 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers How to check everything are migrated after the physical to vmware virtual machine?
# 1  
Old 06-01-2018
How to check everything are migrated after the physical to vmware virtual machine?

I have a physical machine , just use vmware tools migrated data to virtual machine .

how can I check these two servers - old and new server , the data are the same , all files are copy to new server ?

thanks
# 2  
Old 06-01-2018
I never saw I need to do this. You can try a checksum use the same command on each box server and virtual:
Code:
find /path/to/data | cksum

This will give you two numbers as output: Example

Code:
113466744 579993

The first number is checksum, which makes sure all of the filenames are spelled the same. They should match.

The second number is the number of bytes in the filenames, which will be how you can tell if files are missing. For example if you have 57792 on one server and 56991 on the new server. You are missing some bytes which should have come from file names- but are not there.
[/code]
# 3  
Old 06-01-2018
Well, already there will be differences in a number of places, e.g. log files, e.g. /var/log/messages, /var/log/last etc. and your network configuration (to avoid conflicts if you want both up together) You need to be clear on what is important to you.

You might have some success with something like this on the physical server:-
Code:
find / -type f -exec sha1sum {} \; > /tmp/source.sha1sums

Then you can transfer the file to the target (virtual) machine and run:-
Code:
sha1sum -c /tmp/source.sha1sums | grep -Ev ": OK$"

This second step, on the virtual server, will read the log file from the physical server and for each file listed, it will read the data file and compare the SHA1 checksums. It will output a line that ends : OK for every one that matches, which is why I have excluded them from the output. Missing files will get output such as FAILED open or read or No such file or directory and thee will be other warnings about files that differ just with the message FAILED after the file name.

This will throw out lots of differences, so capture this to another temporary file and see what you can exclude, e.g. you might deem differences in /var/log or /tmp to be fine.


Be warned that because this reads every file on your server, it might take a long time. If you have NFS or Samba mounted filesystems, you will need to exclude them from the find command on the physical server. The virtual server will only read the files listed in the input file. Are you interested in finding new files that didn't exist on the physical server?



I hope that this helps. Have I missed the point perhaps? If something is horribly wrong or doesn't work, please post your input/output/errors and we can have a further look.




Kind regards,
Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to find whether Solaris installed on physical machine or on a VMware/KVM?

Hi All, . I am trying to find whether Solaris 11 installed on physical server or on VMware/KVM. I tried uname -a but it's giving only whether i installed on X86 or sparc machine. I tried prtdiag command but it's giving below information. command : prtdiag -v |grep "System... (2 Replies)
Discussion started by: sravani25
2 Replies

2. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies

3. SCO

Moving SCO Virtual Machine in VMWare Environment: Critical Licensing Error Messages

Some years ago our company chose to run a critical proprietary app under SCO Unix. My predecessor tried to move A SCO Unix virtual machine from our dedicated VMWare environment to a shared Cloud VMWare environment. My predecessor received licensing messages from these critical servers so... (2 Replies)
Discussion started by: timfox1234
2 Replies

4. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies

5. Solaris

How to count number of physical and virtual processors on Solaris machine.?

hi, I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine. which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies

6. Red Hat

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool

My RHEL virtual Machine Does not have Virtual Machine Manager Desktop Tool Hi, I don't seem to have the Virtual Machine Manager Desktop tool set up on my RHEL6 Machine. The Linux machine runs off VMWare player and I'm not sure whether it is a VMWare software issue or a problem with the RHEL6... (2 Replies)
Discussion started by: accipiter1
2 Replies

7. Virtualization and Cloud Computing

solaris virtual machine vmware esx

Hi All How would you send a solaris virtual machine in vmware esx, a break signal? :confused: (0 Replies)
Discussion started by: jakerock
0 Replies

8. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

9. SCO

Unixware 7.1.1 physical to VMWare

Hi there Firstly, I'm no expert with Unixware but have an appreciation of Unix systems generally. I've been asked to help with a P2V of an aging server and me and the guy that asked for help have hit some snags. He's created an image (.spf) and used the VMWare Converter to upload it to... (3 Replies)
Discussion started by: philipellis
3 Replies

10. AIX

Maximum Limit of HMC to handle Physical Power Virtualization Physical Machine

Hello All, Can anybody please tell me what is the maximum limit of Physical IBM Power Machine which can be handled by single HMC at a single point of time? Thanks, Jenish (1 Reply)
Discussion started by: jenish_shah
1 Replies
Login or Register to Ask a Question