3.19.4.4.1.30 DoFailoverReplicationDelegate

The DoFailoverReplicationDelegate processing is done when the IpamOperationWithProgressParameter.OperationId is AdminOperationId.ReplicateRelation. The IpamOperationWithProgressParameter instance in this case MUST be of type ReplicateRelationParameters.

This operation is used to replicate all scopes of a failover relationship to the partner server. The following are the steps involved. In these steps, any time a fault is generated, the SetOverallStatus SHOULD be called with the fault details:

  1. If IpamOperationWithProgressParameter is NULL or not of type ReplicateRelationParameters, generate an appropriate SOAP fault (as specified in section 2.2.2.1). Project IpamOperationWithProgressParameter in a local variable as ReplicateRelationParameters.

  2. If ReplicateRelationParameters.relation is NULL, generate an appropriate SOAP fault (as specified in section 2.2.2.1).

  3. Retrieve all scopes for the relation, by searching the table ADM_DHCPScopeFailoverTable for rows that have FailoverRelationId equal to ReplicateRelationParameters.relation.RecordId. Populate all the retrieved scopes in a collection of scopes and then call ReplicateFailoverScopeDelegate (section 3.19.4.4.1.29), passing the scope collection as a parameter.

  4. Call SetOverallStatus with Success and 100% completion.