why VCS retry online 2 minutes later
2013/04/03 01:42:31 VCS WARNING V-16-10031-4604 IP:MyappVip:online:Address 2001:1b70:0200:1026:0000:0000:0135:0084already exists: Res MyappVip will not go online.2013/04/03 01:44:32 VCS ERROR V-16-2-13066 Agent is calling clean for resource(MyappVip) because the resource is not up even after online completed.2013/04/03 01:44:33 VCS INFO V-16-2-13716 Resource(MyappVip): Output of the completed operation (clean)==============================================RTNETLINK answers: Cannot assign requested address==============================================2013/04/03 01:44:33 VCS INFO V-16-2-13068 Resource(MyappVip) - clean completed successfully.2013/04/03 01:44:33 VCS INFO V-16-2-13072 Resource(MyappVip): Agent is retrying online (attempt number 1 of 3).
Hi kongzzzz,
The delay of 2 mins you are seeing is because of OnlineWaitLimit default value of 2. Agent waits for 2 monitor cycles after online is completed. If resource is not online even affter 2 monitor cycles then clean is called and online is retried based on OnlineRetryLimit value.
You can modify OnlineWaitLimit for IP agent from default value of 2 to 0. This will have following agent behavior -
If monitor entry point after online entry point reports resrouce as offline, clean will be scheduled immediately (without any delay in between). Once clean completes succussfully online will be retried immediately. The only delay seen in between is time required by the entry point to execute.
Hope this helps your usecase.
Thanks and Regards,
Paresh Bafna