Replacing all replication relationships between a domain and a storage server
Note:
The procedure refers to two domains: D1 and D2. Auto Image Replication is configured to occur from storage servers in D1 to D2. Also, from D2 to D1.
A new storage server (S2) is added to D2 so that D2 now contains two storage servers (S1 and S2). Relationships to S1 must be replaced with relationships to S2.
Table: Example configuration before changes lists the configuration before the switch to D2. Table: Example configuration after changes lists the configuration after the changes have been made.
Table: Example configuration before changes
Domains | Storage servers | Storage lifecycle policies |
|---|---|---|
D1 | Contains several storage servers but they are not necessary in the example. |
|
D2 | S1 (To be deprecated) S2 (New in D2) |
|
Table: Example configuration after changes
Domains | Storage servers | Storage lifecycle policies |
|---|---|---|
D1 | Contains several storage servers but they are not necessary in the example. |
|
D2 | S1 (To be deprecated) S2 (New in D2) |
|
In the following procedure, note that steps must be performed in specific domains.
Table: Replacing all replication relationships between a domain and a storage server
Domain | Step | Description |
|---|---|---|
In domain D2: | 1 |
Run the following command to determine the replication relationships of storage server S1: bpstsinfo -lsuinfo -storage_server storage_server_name -stype storage_server_type For example: bpstsinfo -lsuinfo -storage_server S1 -stype replication_host |
2 | For each replication target relationship that is found in step 1, add a corresponding relationship between storage server S2 and the target in D1. See Adding or removing a replication relationship between two storage servers. | |
3 |
Copy all import SLPs that import to storage server S1. Modify the new SLPs to import to storage server S2. For example, copy IMPORT_S1. Modify the SLP to import to storage server S2. Change the SLP name to reflect that it will import to S2: IMPORT_S2. Note: Do not delete the existing import SLPs yet. All of the SLPs that are no longer performing any function can be deleted later in this procedure. | |
In domain D1: | 4 | Run the following command on the primary server: nbdecommission -list_ref -oldserver storage_server_name - machinetype replication_host For example: nbdecommission -list_ref -oldserver S1 - machinetype replication_host The output lists:
|
In domain D2: | Complete steps 5-6 only if step 4 listed any replication source relationships. | |
5 | Modify replication SLPs that replicate from S1 to domain D1 to replicate from S2. This includes both non-targeted and targeted A.I.R. SLPs. For example, change the Replication operation in BACKUP_D2_REPLICATE_D1. Change the backup storage destination from S1 to S2. | |
6 | Remove the replication source relationships that were found in step 4. See Adding or removing a replication relationship between two storage servers. | |
|
In domain D1: | Complete steps 7-10 only if step 4 listed any replication target relationships. | |
7 |
Add replication relationships from each storage server that was listed in step 2 that has a replication target relationship to storage server S2. See Adding or removing a replication relationship between two storage servers. | |
8 | Modify the replication operations that were found in step 4. Change the target import SLP to the corresponding import SLP created in step 3. For example, change the Replication operation in BACKUP_D1_REPLICATE_D2. Change the setting from IMPORT_S1 to IMPORT_S2. | |
9 | Remove the replication target relationships that were found in step 4. See Adding or removing a replication relationship between two storage servers. | |
10 |
Run the following command to decommission the storage server: nbdecommission -oldserver storage_server_name - machinetype replication_host For example: nbdecommission -oldserver D1 - machinetype replication_host | |
In domain D2: | 11 | Any import SLPs to S1 that are no longer necessary may now be deleted. For example, IMPORT_S1 can be deleted now. |