Forum Discussion

JB_41040's avatar
JB_41040
Icon for Nimbostratus rankNimbostratus
Mar 14, 2012

toggle_member.pl issue

I use the toggle_member.pl script to toggle between pool members during maintenance window every day in the following manner

 

 

1. enable staging pool member

 

2. disable 2 live pools so that they can be updated

 

 

after 30 minutes

 

 

1. enable 2 live pools

 

2. disable staging pool

 

 

this runs from a cron_job everyday but i last few weeks, i have noticed that the script fails randomly i.e, sometime the 2 live pools don't get disabled and last night, after the maintenance window, the staging pool was disabled properly but the 2 live pools did not get enabled. i usually see entries in the ltm logs that records each of this actions.

 

 

Mar 14 03:00:01 local/america notice mcpd[3775]: 01070639:5: Pool member 10.18.1.102:8004 session status forced disabled.

 

Mar 14 03:00:01 local/america notice mcpd[3775]: 01070639:5: Pool member 10.18.1.2:80 session status forced disabled.

 

Mar 14 03:35:01 local/america notice mcpd[3775]: 01070639:5: Pool member 10.18.1.7:80 session status forced disabled.

 

 

the following 2 are entries recorded when i had to run the script manually after being alerted to the issue where no pool was active.

 

 

Mar 14 03:41:05 local/america notice mcpd[3775]: 01070639:5: Pool member 10.18.1.102:8004 session status enabled.

 

Mar 14 03:41:28 local/america notice mcpd[3775]: 01070639:5: Pool member 10.18.1.2:80 session status enabled.

 

 

 

has anyone ever seen this random behavior? any thoughts/suggestions would be appreciated.

 

 

Thanks

 

JB

 

 

No RepliesBe the first to reply