LTM Traceroute for non-default ROUTE PARTITION
I’m trying to run a cron job on LTM to perform a traceroute to a specific host an log the results. The problem I have is that this command must be run from a specific ROUTE DOMAIN.
[root@ka-lb05:Active:In Sync] config rdsh 1 <- this changes to ROUTE DOMAIN 1 (note trace fails from ROUTE DOMAIN 0)
[root@ka-lb05:Active:In Sync] config rdsh 1 <- this changes to ROUTE DOMAIN 1 (note trace fails from ROUTE DOMAIN 0) traceroute to 217.21.139.34 (217.21.139.34), 30 hops max, 40 byte packets
1 (192.168.241.202) 1.167 ms 1.508 ms 1.779 ms
2 (64.141.77.125) 7.558 ms 7.556 ms 7.726 ms
3 (64.251.64.21) 8.058 ms 7.639 ms 10.045 ms
4 (66.163.72.129) 7.691 ms 9.995 ms 9.984 ms
5 (66.163.72.162) 10.115 ms 9.926 ms 12.151 ms
6 (66.163.66.218) 13.633 ms 13.765 ms 14.215 ms <- traceroute runs
7 (66.163.67.241) 15.877 ms 11.592 ms 12.576 ms
8 (154.11.2.85) 13.450 ms 13.453 ms 13.628 ms
9 (173.182.207.196) 66.667 ms 71.412 ms 71.551 ms
10 (209.29.180.10) 72.060 ms 72.184 ms 71.911 ms
11 (217.21.139.25) 72.721 ms 71.968 ms 71.686 ms
12 (217.21.139.34) 70.608 ms 73.414 ms 74.336 ms
13 (217.21.139.34) 69.957 ms 71.974 ms 73.237 ms
[root@ka-lb05:Active:In Sync] config
[root@ka-lb05:Active:In Sync] config [root@ka-lb05:Active:In Sync] config exit <- exits back to ROUTE DOMAIN 0 exit [root@ka-lb05:Active:In Sync] config
Here is my script:
[root@ka-lb05:Active:In Sync] scripts cat latencytest
!/bin/bash
echo hello <- print hello before changing to ROUTE DOMAIN 1
rdsh 1 <- change to ROUTE DOMAIN 1
tracert -T -p 443 217.21.139.34
exit <- go back to ROUTE DOMAIN 0
However, the trace does not work. Here is what it looks like.
[root@ka-lb05:Active:In Sync] scripts ./latencytest <- command that calls the script
hello <- echos hello
[root@ka-lb05:Active:In Sync] scripts <- nothing happens
[root@ka-lb05:Active:In Sync] scripts <- nothing happens
[root@ka-lb05:Active:In Sync] scripts exit <- I enter exit at the prompt
exit
traceroute to 217.21.139.34 (217.21.139.34), 30 hops max, 40 byte packets <- traceroute starts...appears to run from ROUTE DOMAIN 0
1 * * *
2 * * *
3 * * *
4 * * *
Is there something I need to do to get this to work?