Sponsored Content
Top Forums UNIX for Beginners Questions & Answers How to check everything are migrated after the physical to vmware virtual machine? Post 303018251 by rbatte1 on Friday 1st of June 2018 09:09:22 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
TIMEDC(8)						    BSD System Manager's Manual 						 TIMEDC(8)

NAME
timedc -- timed control program SYNOPSIS
timedc [command [argument ...]] DESCRIPTION
The timedc utility is used to control the operation of the timed(8) program. It may be used to: o Measure the differences between machines' clocks, o Find the location where the master time server is running, o Enable or disable tracing of messages received by timed(8), and o Perform various debugging actions. Without any arguments, timedc will prompt for commands from the standard input. If arguments are supplied, timedc interprets the first argu- ment as a command and the remaining arguments as parameters to the command. The standard input may be redirected causing timedc to read com- mands from a file. Commands may be abbreviated; recognized commands are: ? [command ...] help [command ...] Print a short description of each command specified in the argument list, or, if no arguments are given, a list of the recognized commands. clockdiff host ... Compute the differences between the clock of the host machine and the clocks of the machines given as arguments. msite [host ...] Show the master time server for specified host(s). trace { on | off } Enable or disable the tracing of incoming messages to timed(8) in the file /var/log/timed.log. election host1 [host2 ...] Asks the daemon on the target host to reset its "election" timers and to ensure that a time master has been elected. quit Exit from timedc. Other commands may be included for use in testing and debugging timed(8); the help command and the program source may be consulted for details. FILES
/var/log/timed.log tracing file for timed /var/log/timed.masterlog log file for master timed DIAGNOSTICS
?Ambiguous command abbreviation matches more than one command ?Invalid command no match found ?Privileged command command can be executed by root only SEE ALSO
date(1), adjtime(2), icmp(4), timed(8) R. Gusella and S. Zatti, TSP: The Time Synchronization Protocol for UNIX 4.3BSD. HISTORY
The timedc utility appeared in 4.3BSD. BSD
June 6, 1993 BSD
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy