20-Aug-2020 23:22
Dear Experts,
F5-BIG-IP (Trail version) - BIGIP-16.0.0-0.0.12-vmware
I am a newbie trying to explore more about F5-BIP-IP VE ( trail version) to adopt the same in our environment. "show sys connection" works perfect over the CLI but not over the REST API, Is it something restricted due to trail version?
Note: I do see all the supported links when i do the following..
curl -sk -u admin:admin https://10.81.1.212/mgmt/tm/ -H "Content-Type: application/json"
<snip>
{
"items": [
{
"link": "https://localhost/mgmt/tm/ltm/monitor/ftp"
},
{
"link": "https://localhost/mgmt/tm/analytics/apm-api-protection"
},
{
"link": "https://localhost/mgmt/tm/ltm/profile/smtp"
},
.....
......
<snip>
However when i try to get any information on the sub-modules i.e. /mgmt/tm/sys/connection , nothing works and i always see HTTP code 503 "Service is unavailable"
{
"code": 503,
"message": "Unable to process request /tm/sys/connection. Service is unavailable.",
"referer": "10.81.0.215",
"restOperationId": 15129470,
"kind": ":resterrorresponse"
}
Please help !
01-Sep-2020
16:39
- last edited on
04-Jun-2023
21:18
by
JimmyPackets
Have you tried the call locally (from the BIG-IP itself)? e.g.,
# curl -sku admin:admin https://localhost/mgmt/tm/sys/connection | jq .
{
"kind": "tm:sys:connection:connectionstats",
"selfLink": "https://localhost/mgmt/tm/sys/connection?ver=14.1.2",
"apiRawValues": {
"apiAnonymous": "Sys::Connections\n"
}
}
03-Sep-2020 00:27
03-Sep-2020 17:54
How about trying the equivalent action from:
1) tmsh: i.e., (from bash) 'tmsh show sys connection'. Use root.
2) Configuration Utility (BIG-IP's GUI). Use the same user (admin:xxxx).
If they both work but the iControl REST call did not work, try restarting the iControl REST processes: i.e., 'tmsh restart sys service restjavad'.