We have requirement from customer to develop script to trigger failover/failback of SyncIQ policies in Isilon using REST API. I was reading the REST API 8.2.2 guide and could not see any API call to enable writes on target policy and resync-prep on the source cluster SyncIQ policy.
Can I confirm if these operations are not supported by REST API ?
You can allow writes and run resync-prep using the API with the /platform/7/sync/jobs URI. You can check out the help for this URI at /platform/7/sync/jobs?describe.
Allow writes:
POST /platform/7/sync/jobs
BODY:
{
'id': ,
'action: 'allow_write'
}
Resync Prep:
POST /platform/7/sync/jobs
BODY:
{
'id': ,
'action: 'resync_prep'
}
mtaormina
6 Posts
982
1
Posted December 8th, 2020 08:00
You can allow writes and run resync-prep using the API with the /platform/7/sync/jobs URI. You can check out the help for this URI at /platform/7/sync/jobs?describe.
Allow writes:
Resync Prep:
POST /platform/7/sync/jobs BODY: { 'id':,
'action: 'resync_prep'
}