Forum Discussion
Error saving/syncing the config between the LTM's
I got below i-rule when I save and try syncing the config it throws up error.
- Maneesh_72711
Cirrostratus
when HTTP_REQUEST { IP Block. Allow specific users/groups to access the status page. if { [IP::addr [IP::client_addr] equals 10.0.0.0/8 ] } { if { [HTTP::uri] eq "/json" } { set response "{ \"PD\": ["
foreach { selectedpool } [class get test] { set thispool [getfield $selectedpool " " 1] if { [catch { if { [active_members $thispool] < 1 } { Pool Status for pools with no active members append response "{\"PN\": \"$thispool\"," append response "\"PS\":\"Inactive\"}," } else { Pool Status append response "{" append response "\"PN\": \"$thispool\"," append response "\"PMD\": \[" Pool Member Status Section foreach { pmem } [members -list $thispool] { append response "{\"PM\": \"$pmem\"," set nodestatus "[LB::status pool $thispool member [getfield $pmem " " 1] [getfield $pmem " " 2]]" if {$nodestatus == "up"} { append response "\"PMS\": \"Up\"" } elseif {$nodestatus == "down"} { append response "\"PMS\": \"Down\"" } elseif {$nodestatus == "session_disabled"} { append response "\"PMS\": \"Disabled\"" } else { append response "\"PMS\": \"$nodestatus\"" } set nodestatus null append response "}," } append response "{}\]}," } } errmsg ] } { append response "\"PNError\": \"$thispool: ERROR: Invalid pool name\"" } } append response "{}\]}" End Pool Member Status Section HTTP::respond 200 content $response "Content-Type" "application/json" }
} }
- Maneesh_72711
Cirrostratus
ERROR WHILE SYNCING THE CONFIGS
Configsync Mode: Push
Transferring UCS to peer...
Installing UCS on peer...
OperationFailed exception:
Primary error : 16908289
Secondary error: 0
Error text : Error installing configuration
Obtaining results of remote configuration installation...
Saving active configuration...
Current configuration backed up to /var/local/ucs/cs_backup.ucs.
Product : BIG-IP
Version : 10.2.4
Hostname: UCS : F5-1
System: F5-2
Installing --shared-- configuration on host F5-2
Installing configuration...
Post-processing...
BIGpipe parsing error (/config/bigip.conf Line 14584):
012e0054:3: The braced list of attributes is not closed for 'rule'.
Reading configuration from /config/low_profile_base.conf.
Reading configuration from /defaults/config_base.conf.
Reading configuration from /config/bigip_sys.conf.
Reading configuration from /config/bigip_base.conf.
Reading configuration from /usr/share/monitors/base_monitors.conf.
Reading configuration from /config/profile_base.conf.
Reading configuration from /config/daemon.conf.
Reading configuration from /config/bigip.conf.
WARNING: There were one or more errors detected during installation.
Check the error messages and take the proper actions if needed.
ERROR: UCS installation failed.
Operation aborted.
/tmp/configsync.spec: Error installing package
Config install aborted.
BIGpipe parsing error:
01110001:3: Error running config install
Checking configuration on local system and peer system...
Peer's IP address: 10.10.10.10
Synchronizing Master Keys...
Saving active configuration...
- jaikumar_f5
Noctilucent
Before you do a config sync. Try doing a config verify command.
As you are running on 10.2.4 - tmsh load sys config verify command should work.
If not, try --> b verify load
This will show what is the error line. Your Irule has issues. I guess its on the foreach section.
- Anesh
Cirrostratus
Try this
set nodestatus "[LB::status pool $thispool member [getfield $pmem \" \" 1] [getfield $pmem \" \" 2]]"
Recent Discussions
Related Content
* 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