Forum Discussion
Harel_Ben_Attia
Nimbostratus
Apr 02, 2007set_rule and set_pool are not working
Hi,
when i'm trying to use set_rule() or set_pool() on a virtual server, the SOAP response is empty (as written in the WSDL), i have no indication of success or failure (no exception) but the value in the virtual server is not updated.
Performing this modification from the web interface works without any problems.
Does anyone have an idea why the update is not performed?
Thanks a lot
RL
-----
Kernel:
BIG-IP Kernel 4.2PTF-10 Build95
Package:
BIG-IP Version 4.2PTF-10 Build95
Global Edition
Product Code:
BIG-IP
Enabled Features:
VLAN-Keyed Connection Table MSRDP Persistence
HTTP Header Insert SIP Call-ID Persistence
Dynamic Ratio Load Balancing HTTP Redirects
Gateway Failsafe Static Load Balancing
SNAT NAT
Pools Akamaizer
Full Proxy Probe Control
HTTP Rules Mirroring
Failover Node HA
Dynamic Load Balancing Destination Address Affinity
Cookie Persistence SSL Persistence
Simple Persistence EAV
ECV SSL ECV
ECV Transparent Health Check
Filter
4 Replies
- When you say the values in the vs are not updated, do you mean that the GUI doesn't show the update has taking place, or that the configuration doesn't contain the update? With iControl you must separately save the configuration with the ConfigSync.save_configuration() method. The GUI does this automatically. If the GUI doesn't show the update and no error is reported, them something is amiss that is most likely beyond what we can help you with here. I'd first make sure that other methods (within the interface you are working with) that effect configuration changes are working to isolate that method.
There are some debugging steps that you can setup on the BIG-IP to log incoming requests, but if there is no exceptions being generated, then they won't likely tell you much.
-Joe - Harel_Ben_Attia
Nimbostratus
Hi,
The update does not actually happen. I've been checking with get_pool() and get_rule() of the same interface. They return the current value (and this value changes whenever i change it from the GUI), but the return value doesn't change after a call to set_rule or set_pool.
Other methods of the VirtualServer interface seem to be working (e.g. get_list()).
What i really need is to switch a vs between "pool" mode and "rule" mode (using my own generated rule) and vice versa.
Any help about debugging this issue would be greatly appreciated.
Thanks
RL - Harel_Ben_Attia
Nimbostratus
Hi,
I've performed a save_configuration after changing the vserver mode. Then i performed an install_configuration call with the same file. I can see the restart in /var/log/bigip.log, but the configuration remains the same.
Another thing, u said that the GUI performs a save_configuration on its own when changing this, but the only thing i see in /var/log/bigip.log is "vserver... redefined". Does the GUI perform a complete redefinition of the virtual server, or does it change the vserver mode only?
btw, is it possible that the problem arises from the fact that i have a 4.2 F5 ?
Thanks a lot for the attention
RL - I'm not sure what's going on. When I said that the GUI performs a config save, I meant that it flushes the /config/bigip.conf file to disk after each change operation. I'm not sure what gets put into the log files (/var/log/bigip.log).
If you are having issues with saving not persisting to disk then likely you'll have to contact Product Support as there isn't much we can do from here to diagnose the issues.
-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
