Cannot delete virtual server because of sflow
Hey all,
I have a lab setup with two LTMs in HA, and was trying to clear out some configs, when the standby suddenly refused to sync properly. When I examined the standby system's logs, I saw the following log message:
Apr 29 12:15:18 bigip02 err mcpd[6125]: 01070265:3: The Virtual Server (/Common/VIP-v302-HTTP) cannot be deleted because it is in use by a sflow http data source (2).
This was somewhat of a surprise, as I have never explicitly set up sflow on either device. I have so far tracked it down to possibly being there because of an iRule I was playing with that required an http profile, which is apparently (if I am reading it right) the reason for the data-source being there:
root@(bigip02)(cfg-sync Not All Devices Synced)(Standby)(/Common)(tmos.sys.sflow) show data-source http all-properties
------------------------------------------------------------------------------------------------
Sys::sFlow Data Source: HTTP
Virtual Server Name HTTP Profile Name Poll Interval Sampling Rate Active Index Subagent ID
------------------------------------------------------------------------------------------------
VIP-v302-HTTP http 10 1024 no 2 0
In any case, I removed the iRule from the virt just in case, and even removed the http profile from it, but still no joy. The data source remains there, and I can't figure out how to remove it. There seems to be no way to do so in the config utility, and it doesn't seem to have a specific identifier I can use to delete it in tmsh:
root@(bigip02)(cfg-sync Not All Devices Synced)(Standby)(/Common)(tmos.sys.sflow) list
sys sflow global-settings http { }
sys sflow global-settings interface { }
sys sflow global-settings system { }
sys sflow global-settings vlan { }
Does anyone have any suggestions how I can remove this data source so that I can sync my systems?
can you try this?
on active tmsh modify cm device-group (device group name) devices modify { (active device name) { set-sync-leader } } tmsh run /cm config-sync to-group (device group name) on standby touch /service/mcpd/forceload reboot
ID441512 - config sync fails w/ Database error (13), Can't save/checkpoint DB object, class:sflow_http_virtual_data_source status:13 - EdbCfgObj.cpp, line 127