cancel
Showing results for 
Search instead for 
Did you mean: 

Error while configuration discovery of F5 LTM Device On BIG IQ

Suryakant86
Altostratus
Altostratus

Hi Team,

 

I am facing issue while configuration discovery of Bigip LTM device on BIG IQ. I am getting the following error:

Error querying 'Virtual Server' from path '/mgmt/tm/ltm/virtual' on device <DeviceName> (xx.xx.xx.xx), network communication failed due to protocol error

 

I am Using Virtual Edition of BIG-IQ : 7.0.0.1 and am trying to add BIGIP LTM Virtual Edition box of BIG-IP 14.0.0 

 

Thanks in advance

7 REPLIES 7

PeteWhite
F5 Employee
F5 Employee

Try querying that path yourself using Postman, see whether the issue is on BIG-IP or BIG-IQ and troubleshoot from there

For BIG-IQ I just get the below output: https://<Big IQ Mgmt IP>/mgmt/tm/ltm/virtual

{"kind":"tm:ltm:virtual:virtualcollectionstate","selfLink":"https://localhost/mgmt/tm/ltm/virtual?ver=12.1.1"}

 

For F5 LTM i am able to fetch the entire config https://<LTM Mgmt IP>/mgmt/tm/ltm/virtual

 

{"kind":"tm:ltm:virtual:virtualcollectionstate","selfLink":"https://localhost/mgmt/tm/ltm/virtual?ver=14.0.0","items":[{"kind":"tm:ltm:virtual:virtualstate","name":"GStestVIP1","partition":"Common","fullPath":"/Common/GStestVIP1","generation":1,"selfLink":"https://localhost/mgmt/tm/ltm/virtual/~Common~GStestVIP1?ver=14.0.0","addressStatus":"yes","autoLasthop":"default","cmpEnabled":"yes","connectionLimit":0,"creationTime":"2019-10-24T10:56:45Z","destination":"/Common/225.10.9.1:80","enabled":true,"gtmScore":0,"ipProtocol":"any","lastModifiedTime":"2020-03-06T10:20:15Z","mask":"255.255.255.255","mirror":"disabled","mobileAppTunnel":"disabled","nat64":"disabled","pool":"/Common/GStestpool1","poolReference":{"link":"https://localhost/mgmt/tm/ltm/pool/~Common~GStestpool1?ver=14.0.0"},"rateLimit":"disabled","rateLimitDstMask":0,"rateLimitMode":"object","rateLimitSrcMask":0,"securityNatPolicy":{"useDevicePolicy":"no","useRouteDomainPolicy":"no"},"serviceDownImmediateAction":"none","source":"0.0.0.0/0","sourceAddressTranslation":{"type":"none"},"sourcePort":"preserve","synCookieStatus":"not-activated","throughputCapacity":"infinite","translateAddress":"enabled","translatePort":"enabled","vlansDisabled":true,"vsIndex":5608,"policiesReference":{"link":"https://localhost/mgmt/tm/ltm/virtual/~Common~GStestVIP1/policies?ver=14.0.0","isSubcollection":true},"profilesReference":{"link":"https://localhost/mgmt/tm/ltm/virtual/~Common~GStestVIP1/profiles?ver=14.0.0","isSubcollection":true}},{"kind":"tm:ltm:virtual:virtualstate","name":"GStestVIP2","partition":"Common","fullPath":"/Common/GStestVIP2","generation":1,"selfLink":"https://localhost/mgmt/tm/ltm/virtual/~Common~GStestVIP2?ver=14.0.0","addressStatus":"yes","autoLasthop":"default","cmpEnabled":"yes","connectionLimit":0,"creationTime":"2019-10-24T10:57:00Z","destination":"/Common/225.10.9.2:80","enabled":true,"gtmScore":0,"ipProtocol":"any","lastModifiedTime":"2019-10-24T10:57:00Z","mask":"255.255.255.255","mirror":"disabled","mobileAppTunnel":"disabled","nat64":"disabled","pool":"/Common/GStestpool2","poolReference":{"link":"https://localhost/mgmt/tm/ltm/pool/~Common~GStestpool2?

 

Lidev
MVP
MVP

Are you enable to connected to your BIG-IP from your BIG-IQ ?

On your BIG-IQ (cli-mode), what's the result of this netcat command : nc -v -w3 @IP-F5-BIG-IP 443 ?

 

[root@gs-bigiq-cm-pe7:Active:Standalone] config # nc -v -w3 192.168.55.242 443

Connection to 192.168.55.242 443 port [tcp/https] succeeded!

[root@gs-bigiq-cm-pe7:Active:Standalone] config # 

 

PeteWhite
F5 Employee
F5 Employee

OK - so to clarify, you can retrieve a list of virtual servers via rest outside of BIG-IQ, you can get from big-iq to big-ip so maybe check the login username and password are correct and try again. If it still doesn't work, run tcpdump to capture what is happening - it may be that there is an SSL issue or suchlike but it's hard to tell without the details.

Lidev
MVP
MVP

Why your query includes "ver=12.1.1" while the F5 BIG-IP being queried is running v14.0.0 ?

This " https://localhost/mgmt/tm/ltm/virtual?ver=12.1.1" is the output of  https://<LTM Mgmt IP>/mgmt/tm/ltm/virtual, When i try to access it from browser. Not sure why BIG- IQ is giving that output