Forum Discussion
hotrod_127503
Nimbostratus
Jan 04, 2005Best Practice for Sync Between Primary and Failover
I am writing an auto-registration service that will allow machines to add themselves to the Load Balancer. Due to the transactional nature of this process, I am never quite sure when everyone is registered. If a synch call is blocking to the point where I would have wait 2-10 seconds for the synch to complete before the transaction could complete. It would render the service unusable perfomance wise. Is the sych call non-blocking? Can I run it on the through a cron job on the LB without adversley affecting performance?
Thanks in advance,
Justin
38 Replies
- orangepeelbeef_
Nimbostratus
I'm running 9.4.5 on BIGIP1500's so I doubt it's the hardware. - micah_64538
Nimbostratus
any update/solution from F5 on this? - Ciro_Deng_14211
Nimbostratus
I get a solution from F5 support.
----------------------------------------------------------
Try setting the "-processes" to "2". You'll need to restart httpd after making this change.
All in one command
sed -ie 's/-processes [0-9]\+/-processes 2/g' /etc/httpd/conf/httpd.conf; bigstart restart httpd
If you can not restart httpd, restart bigip directly!
--------------------------------------------------------
I tested this, it works in BigIP6900 OS 9.4. - micah_64538
Nimbostratus
Great! Works exactly as expected now. - Don_MacVittie_1Historic F5 AccountWe were just discussing this thread and digging in with support to find out if your problems were resolved - thanks cdtdx for posting the response, saves us from hunting it down!
Don. - orangepeelbeef_
Nimbostratus
solved it for me as well
Thanks guys =) - hellhammer_3588
Nimbostratus
Yes. Changing "-processes 2" will make it work. I've tested it successfully in my BIGIIP6900 9.4.6.
I got confirmed from F5 that they found this problem since 9.4.x OS. btw, I didn't meet this problem before when running 9.3.x.
I guess they may release a hotfix or sth. to fix it. - David_Karakas
Employee
This issue is being tracked by F5 Product Development as CR116460 scheduled to be fixed in a future release. An AskF5 solution will be published to discuss this issue and workaround. - gerald_wegener_
Nimbostratus
I have this problem using pyControl when I upgraded from 9.3.1 to 9.4.5. I would get no response using either of the pyControl commands below for config sync. After I ran this if I then tried to do a manual config sync that would fail as well and I was forced to reboot the box.
After I found this thread I tried the recommended command on both the active and the standby box but the problem persisted with 9.4.5. I then upgraded to 9.4.6, applied the commands again but I still have the same problem.
Any idea's on how this can be fixed?
These are the commands I'm using running 9.4.6(both fail)
Thank You.
b.System_ConfigSync.synchronize_configuration(sync_flag = 'CONFIGSYNC_ALL')
b.System_ConfigSync.synchronize_configuration(sync_flag = 'CONFIGSYNC_BASIC') - As I just posted in another forum thread(Click here), modifying the core webserver configuration can have unwanted side effects and F5 does not endorse this change. Several components such as System locking and Partition settings are stored in-process. When you increase the number of processes, this breaks the functionality of the above features. Also, by adding another iControlPortal process, you are also effectively doubling the memory needed to run iControl.
This really needs to be sent to F5 Product Support and get Development to get a better fix for this problem that does not cause unwanted side effects.
-Joe
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
