1. Test the applications post migration. Open the following URL using Chrome.
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 bellow. 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 doesn’t 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:
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