Performance Data Log
Check IO and Memory Performance :
Please keep in mind you may need to install vmstat and iostat on your vm before the commands will operate:
vmstat - CPU/memory readout for 2 hours. (Run in parallel, on both VM's): vmstat 5 1440 -n | awk '{now=strftime("%Y-%m-%d %T "); print now $0}' >> vmstat_out_[hostname].csv
Where "5" is the interval in seconds between data samples, and "1440" is the count of iterations (2 hours before script exits). Please note the ">>" as we want to append to the file, not overwrite it and wind up with one sample. Please edit the [hostname] for the output file with something to identify both VM's uniquely for us.
iostat - Disk readout for 2 hours (Run in parallel, on both VM's): iostat 5 1440 -xd | awk '{now=strftime("%Y-%m-%d %T "); print now $0}' >> iostat_out_[hostname].csv
Where "5" is, again, the interval in seconds between data samples, and "1440" is, again, the count of iterations (2 hours before script exits). Please note the ">>" as we want to append to the file, not overwrite it and wind up with one sample. Please edit the [hostname] for the output file with something to identify both VM's uniquely for us.
If you are concerned with running these scripts for 2 hours, an hour may be OK (replace "1440" with "720"), but I strongly recommend keeping the intervals at 5 seconds so we don't miss anything. I'd strongly request we stick to the 2 hours as well. I would suggest running them in a screen or tmux session.