Forum Discussion
BIG-IQ import command
Hello, I am referencing the following F5 article to try to set up the API call for device import (to follow discovery):
https://devcentral.f5.com/wiki/BIGIQ.HowToSamples_import_ltm.ashx
The procedure calls for a POST to be run (/mgmt/cm/global/tasks/declare-mgmt-authority) which requires a 'cluster name' value as input to be sent in the body. We are unsure where to get cluster name from and the instructions are vague - is there a separate call to be made to derive this?
The article contains a GET call to retrieve device status, which appears to return cluster name among other data elements - however when we run that command against our system we don't see the value.
Thanks, Scott
- Madhu_Rajagopal
Employee
The 'clusterName' JSON key is used to associate BIG-IP devices that are part of the same DSC cluster. This is an optional field that a user can provide when establishing device-trust with the BIG-IQ:
API Reference: BIG-IQ Device Trust
Establish trust between a BIG-IQ Centralized Management system and a BIG-IP device
eg. curl -sku admin:changeme -X POST -H "content-type: application/json" -d @bigiq-device-trust.json | json_pp
cat bigiq-device-trust.json { "address": "10.154.170.20", "clusterName": "test-v11-5", <<<<<<<< you can enter one of your choosing "password": "changeme", "useBigiqSync": false, "userName": "admin" }
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