LTM Migration compare OLD to NEW
When migrating you want to make sure you don't miss anything so here are a few commands that I run to help me make sure what was on the old is on the new.
CONFIGURATION PHASE
Virtual Servers
First objective is to check to make sure all the Virtual Servers are present. If you aren't changing IP addresses then all I grab is the destination field since in many cases the name and/or partition may change. For example we are moving to deploying all our Virtual Servers using JSON format and the Partition is now the IP address so all pools, profiles etc that are specific to that virtual server would be found under that partition/ip address.
Anyhow, so how do you get all the destination IPs from all partitions? Just run this command:
tmsh -q -c 'cd / ; show ltm virtual recursive' | grep -i "destination " > /var/tmp/vs-destination-old_$HOSTNAME"."$(date +%Y%m%d).txt
Why do I use show versus list?
List command will show the destination IP with the port in the common name like 443 would be listed as https but on the show command its always the port number no matter how it was configured which is consistent which also makes it easier to do compares.
Certificates and Keys
AWAF Policies
DEPLOYMENT PHASE - BEFORE MIGRATION
DEPLOYMENT PHASE - AFTER MIGRATION
VALIDATION PHASE
0 Comments
Recommended Comments
There are no comments to display.