05-22-2018 07:52 AM - edited 02-21-2020 07:47 AM
Hey everyone,
I'm trying to add an HA Pair through the API but I'm getting an error.
This is the JSON data I'm using in the POST body
{ "type": "DeviceHAPair", "name": "dd-suc-fw", "primary": { "id": "089a8d48-51ce-11e8-9738-817b58f3fa27", "keepLocalEvents": false }, "secondary": { "id": "67a30a20-5252-11e8-a57e-a2a903f4a60c", "keepLocalEvents": false }, "ftdHABootstrap": { "isEncryptionEnabled": false, "lanFailover": { "subnetMask": "255.255.255.0", "activeIP": "1.1.1.1", "standbyIP": "1.1.1.2", "logicalName": "FOLINK", "useIPv6Address": "false", "interfaceObject": { "id": "7079B3CE-4682-0ed3-0000-055834579394", "type": "PhysicalInterface", "name": "GigabitEthernet1/8", "enabled": false, "MTU": 1500, "mode": "NONE", "managementOnly": false } }, "statefulFailover": { "subnetMask": "255.255.255.0", "activeIP": "1.1.1.1", "standbyIP": "1.1.1.2", "logicalName": "FOLINK", "useIPv6Address": "false", "interfaceObject": { "id": "7079B3CE-4682-0ed3-0000-055834581689", "type": "PhysicalInterface", "name": "GigabitEthernet1/8", "enabled": false, "MTU": 1500, "mode": "NONE", "managementOnly": false } } } }
I'm getting the following error:
{ "error": { "category": "FRAMEWORK", "messages": [ { "description": "Stateful failover link interface UUID is wrong." } ], "severity": "ERROR" } }
So the error is pretty self explanatory.
However if you look at the UUID of the failover link you will see it is an exact match of the actual UUID of the interface:
}, "type": "PhysicalInterface", "name": "GigabitEthernet1/8", "id": "7079B3CE-4682-0ed3-0000-055834581689" },
So I don't get why it's throwing an error.
I'm on FMC6.2.3
Anyone any ideas?
Thanks
Stijn
Solved! Go to Solution.
05-25-2018 08:34 AM
Looks like you are using same interface for failover and state but the UUID is different. Seems like you are missing this field as well.
"useSameLinkForFailovers": "true"
05-25-2018 08:34 AM
Looks like you are using same interface for failover and state but the UUID is different. Seems like you are missing this field as well.
"useSameLinkForFailovers": "true"
05-28-2018 03:59 AM
Thanks Mohan,
"useSameLinkForFailovers": "true" did the trick.
Stijn
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide