尝试连接到我的 BigIP 的 REST 端点:
curl https://10.1.0.69/mgmt/shared/appsvcs/info
curl: (7) Failed to connect to 10.1.0.69 port 443: Connection refused
我在网上看到一些帖子说这可能是由于icrd
没有启用,所以检查状态:
admin@(ip-10-1-0-69)(cfg-sync Standalone)(Active)(/Common)(tmos)# show sys service icrd
Couldn't find service: icrd
接下来,我尝试启用:
admin@(ip-10-1-0-69)(cfg-sync Standalone)(Active)(/Common)(tmos)# modify sys service icrd add
Couldn't find service: icrd
我的版本信息:
admin@(ip-10-1-0-69)(cfg-sync Standalone)(Active)(/Common)(tmos)# show /sys version
Sys::Version
Main Package
Product BIG-IP
Version 15.1.0.2
Build 0.0.9
Edition Point Release 2
Date Fri Mar 20 21:06:24 PDT 2020
我还看到一些帖子说我可以执行以下操作:
touch /etc/bigstart/scripts/scim
bigstart add --default icrd
bigstart enable icrd
bigstart start icrd
然而,
admin@(ip-10-1-0-69)(cfg-sync Standalone)(Active)(/Common)(tmos)# run /util bash
[admin@ip-10-1-0-69:Active:Standalone] ~ # touch /etc/bigstart/scripts/scim
[admin@ip-10-1-0-69:Active:Standalone] ~ # bigstart add --default icrd
Couldn't find service: icrd
还:
[admin@ip-10-1-0-69:Active:Standalone] ~ # bigstart status restjavad restnoded
restjavad run (pid 6549) 49 minutes
restnoded run (pid 5650) 49 minutes
此外,似乎其余 api 正在运行,但在端口 8100 上:
[admin@ip-10-1-0-69:Active:Standalone] curl http://localhost:8100/mgmt/shared/appsvcs/info
{"code":401,"message":"Authorization failed: no user authentication header or token detected. Uri:http://localhost:8100/mgmt/shared/appsvcs/info Referrer:Unknown Sender:Unknown","referer":"Unknown","restOperationId":6611305,"kind":":resterrorresponse"}
没有端口绑定到 443:
[admin@ip-10-1-0-69:Active:Standalone] ~ # netstat -nalt | grep 443
tcp 0 0 127.0.0.1:44352 127.0.0.1:6666 ESTABLISHED
tcp 0 0 127.0.0.1:6666 127.0.0.1:44352 ESTABLISHED
tcp6 0 0 :::8443 :::* LISTEN
有任何想法吗?