Skip to content

/AWS1/CL_MGN=>DISCONNECTFROMSERVICE()

About DisconnectFromService

Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communicating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.

Method Signature

IMPORTING

Required arguments:

IV_SOURCESERVERID TYPE /AWS1/MGNSOURCESERVERID /AWS1/MGNSOURCESERVERID

Request to disconnect Source Server from service by Server ID.

Optional arguments:

IV_ACCOUNTID TYPE /AWS1/MGNACCOUNTID /AWS1/MGNACCOUNTID

Request to disconnect Source Server from service by Account ID.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MGNSOURCESERVER /AWS1/CL_MGNSOURCESERVER