20 lines
644 B
Markdown
20 lines
644 B
Markdown
|
|
# Scenario: Before/After Migration Comparison
|
||
|
|
|
||
|
|
## Description
|
||
|
|
|
||
|
|
Compare a pre-cutover host snapshot against a post-cutover snapshot and determine whether the migrated system is ready for production traffic.
|
||
|
|
|
||
|
|
## Commands
|
||
|
|
|
||
|
|
```bash
|
||
|
|
cd migration-validation-framework
|
||
|
|
python3 cli.py compare examples/before.json examples/after.json --output /tmp/migration-diff.json
|
||
|
|
```
|
||
|
|
|
||
|
|
## Expected Result
|
||
|
|
|
||
|
|
- The command writes a JSON diff.
|
||
|
|
- The result is `FAIL` because `sshd` is failed after migration.
|
||
|
|
- The risk assessment highlights the `/var` disk usage increase.
|
||
|
|
- The remediation path is to restore SSH and reduce or expand `/var` before approving cutover.
|