| CPC G06F 16/275 (2019.01) [G06F 3/065 (2013.01)] | 20 Claims |

|
1. One or more non-transitory computer readable media comprising code stored thereon that, when executed, performs a method comprising:
establishing a first synchronous replication configuration for a group of one or more existing stretched resources, wherein each of the existing stretched resources of the group is configured from a first local resource of a first site and a second local resource of a second site, wherein the first local resource of the first site and the second local resource of the second site for said each existing stretched resource are configured to have a same resource identity as presented to a host;
establishing a second synchronous replication configuration for a first stretched resource, wherein the first stretched resource is configured as an existing stretched resource from a third local resource of the first site and a fourth local resource of the second site, wherein the third local resource of the first site and the fourth local resource of the second site for said first stretched resource are configured to have a same first resource identity as presented to the host; and
performing first processing that adds the first stretched resource to the group of one or more existing stretched resources, wherein the first stretched resource is configured as an existing stretched resource prior to performing said first processing, wherein said first processing includes:
while retaining a first remaining portion of a first layered services stack of the first site that corresponds to the first stretched resource, deleting a first replication session object of the first layered services stack of the first site;
while retaining a second remaining portion of a second layered services stack of the second site that corresponds to the first stretched resource, deleting a second replication session object of the second layered services stack of the second site;
associating the first remaining portion of the first layered services stack, corresponding to the first stretched resource, with a third replication session object of a third layered services stack of the first site corresponding to the group thereby adding the first remaining portion of the first layered services stack to the third layered services stack corresponding to the group on the first site; and
associating the second remaining portion of the second layered services stack, corresponding to the first stretched resource, with a fourth replication session object of a fourth layered services stack of the second site corresponding to the group thereby adding the second remaining portion of the second layered services stack to the fourth layered services stack corresponding to the group on the second site.
|