Forum Discussion
Nicolas_Menant
Employee
Feb 17, 2009Problem with synchronize command
Hi,
When i use the BIGIP GUI to do a config sync or if i do a "b config sync all", everything works fine.
I tried to do the same thing with iControl. I have the following code:
static void Main()
{
iControl.Interfaces my_interface = new iControl.Interfaces();
my_interface.initialize("172.29.4.206", "admin", "admin");
my_interface.SystemConfigSync.synchronize_configuration(iControl.SystemConfigSyncSyncMode.CONFIGSYNC_ALL);
Console.Write("Done");
}
Pretty basic. Hopefully without any mistake !
The configuration of the BIGIP is almost empty (2 pools and that's it) and the problem is that the operation Timeout:
Unhandled Exception: System.Net.WebException: The operation has timed out
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest
request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequ
est request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN
ame, Object[] parameters)
at iControl.SystemConfigSync.synchronize_configuration(SystemConfigSyncSyncMo
de sync_flag) in D:\src\perforce\DevCentral\DC4\Labs\iControlAssembly\dotnet\iCo
ntrol\Interfaces\System\SystemConfigSync.cs:line 328
at Test.Main() in C:\Documents and Settings\menant\My Documents\Visual Studio
2008\Projects\Easynet\Exercice1\Program.cs:line 20
I've done the test with 9.4.3, 9.4.4, 9.4.5 and 946. Always the same problem
I've checked the release notes and found nothing about it.
Am i missing something like a specific call to do before this one ?
Thanks for your support
N.
- Don_MacVittie_1Historic F5 AccountJust as a test, have you tried iControl.SystemConfigSyncSyncMode.CONFIGSYNC_BASIC to see if it errors out?
- Nicolas_Menant
Employee
Yes i tried the BASIC but just with version 9.4.6 and it seems to face the same problem. - Don_MacVittie_1Historic F5 AccountSorry I'm doing this in baby steps, just want to narrow it down...
- Nicolas_Menant
Employee
static void Main() { iControl.Interfaces my_interface = new iControl.Interfaces(); my_interface.initialize("172.29.4.90", "admin", "admin"); // my_interface.SystemConfigSync.synchronize_configuration(iControl.SystemConfigSyncSyncMode.CONFIGSYNC_BASIC); Console.Write("Done, connected Status -> " + my_interface.initialized.ToString()); } }
C:\Documents and Settings\menant\My Documents\Visual Studio 2008\Projects\Easy\Exercice1\bin\Debug>Exercice1.exe Done, connected Status -> True
- Nicolas_Menant
Employee
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