1. Test the applications post migration. Open the following URL using Chrome from the bastion host.
pplication | URL |
---|---|
Wordpress | http://wordpress-web.onpremsim.env/ |
OFBiz ERP | https://ofbiz-web.onpremsim.env:8443/accounting |
This is a simple test, just check if both application webpages show up.
2. Open CMD.EXE (Windows Command Prompt) and ping all the servers below. Please notice they are located now in the target cloud VPC using the CIDR 10.0.1.0/24.
hostname |
---|
wordpress-web |
wordpress-db |
ofbiz-web |
ofbiz-db |
If any of the apps does not work, and you are still getting 192.168.1.x IP address, this is usually because the post launch script not executed successfully. To fix this, use the following steps:
Note: Do the following 4 steps only if the app does not work and IP address is still 192.168.1.x
Username | Password |
---|---|
user | AWSmid21 |
#!/bin/sh
ADDR=`hostname -I`
HOST=`hostname`
sudo touch /tmp/nsupdate.txt
sudo chmod 666 /tmp/nsupdate.txt
echo "server dns.onpremsim.env" > /tmp/nsupdate.txt
echo "update delete $HOST A" >> /tmp/nsupdate.txt
echo "update add $HOST 86400 A $ADDR" >> /tmp/nsupdate.txt
echo "update delete $HOST PTR" >> /tmp/nsupdate.txt
echo "update add $HOST 86400 PTR $ADDR" >> /tmp/nsupdate.txt
echo "send" >> /tmp/nsupdate.txt
sudo nsupdate /tmp/nsupdate.txt
At this point, you have successfully completed all the standard steps in this lab.
If you have any questions about Migration Factory, please feel free to reach out to us: migration-factory-support@amazon.com