Forum Discussion

Daniel_Wolf's avatar
May 20, 2025
Solved

Universal Persistence w. AS3 vs. SCF - the same but not the same

Hi community, I have an odd issue. When I create the following config manually or with SCF the Universal Persistence works. I get records in the persistence table. root@(ltm-apm)(cfg-sync Stand...
  • Daniel_Wolf's avatar
    May 21, 2025

    Never mind, I managed to figure it out on my own.

    Option 1: Use the REST API:

    daniel@ubuntu-vm:~$ curl -sk -u admin:<password> GET https://172.31.254.240/mgmt/tm/ltm/persistence/persist-records | jq.exe . -M
    {
      "kind": "tm:ltm:persistence:persist-records:persist-recordsstats",
      "selfLink": "https://localhost/mgmt/tm/ltm/persistence/persist-records?ver=17.1.2.1",
      "apiRawValues": {
        "apiAnonymous": "Sys::Persistent Connections\nuniversal  12345abcde  10.100.155.182:80  10.100.153.127:80  (tmm: 1)\nuniversal  abcde12345  10.100.155.182:80  10.100.153.126:80  (tmm: 0)\nTotal records returned: 2\n"
      }
    }

    Option 2: Don't be me... change to the right partition

    root@(bigip)(cfg-sync Standalone)(Active)(/Common)(tmos)# cd /universal_persist_jsessionid/
    root@(bigip)(cfg-sync Standalone)(Active)(/universal_persist_jsessionid)(tmos)# show ltm persistence persist-records
    Sys::Persistent Connections
    universal  12345abcde  10.100.155.182:80  10.100.153.127:80  (tmm: 1)
    universal  abcde12345  10.100.155.182:80  10.100.153.126:80  (tmm: 0)
    Total records returned: 2