4040 Replication suspended and a full resynchronization is required for one or more volume groups.
Explanation
Replication between the production and the recovery system is suspended. The suspended state occurs when errors exist in the replication configuration or replication is stopped intentionally. A full resynchronization of one or more volume groups is required.
User response
This event is logged when a system that uses policy-based replication is recovered after a severe system outage. After recovery, the system suspends replication to maintain the existing recovery point of replicated volume groups and prevent potential data loss from being replicated.
When replication is restarted after a system outage, a full resynchronization of the copies is required. The resynchronization process temporarily uses more capacity to maintain the current recovery point until a full resynchronization completes. Replication must be restarted for each volume group individually. You can choose to limit the number of volume groups that are resynchronizing at one time to manage the additional capacity required during the synchronization. Before you restart resynchronization, prioritize the order of the volume groups, monitor system capacity, and provide additional capacity, if necessary.
The event is automatically marked as fixed when no more volume groups with suspended status are on the system.
Identify the replication topology in use and follow the appropriate procedure:
- Policy-based async replication
- Policy-based high availability (PBR-HA)
lsvolumegroupreplication <volumegroup_id/name>local_location 1
location1_system_name system1
location1_replication_mode production
location1_volumegroup_id 1
location1_status suspendedIn this case, volume group 1 is reporting the suspended status on the production system.
If the recovery copy is suspended, the lsvolumegroupreplication command displays the following results:
local_location 2
location2_system_name system2
location2_replication_mode recovery
location2_volumegroup_id 5
location2_status suspended
In this case, volume group 5 on the recovery system is suspended.
Depending on the system that displays the suspended status, different user actions are required. Use the following information to resynchronize data:
chvolumegroupreplication -unsuspend <volumegroup_id/name>This starts a resynchronization of the specified volume group. If you have multiple volume groups that need resynchronization, you can choose to limit the number of volume groups that are resynchronizing at one time to manage the additional capacity required during the synchronization.
If the production copy is suspended, it indicates either a planned or unplanned outage on the production location. Depending on when the outage occurred and state of the data, you might have data loss if the outage is greater than of your Recovery Point Objective (RPO).
chvolumegroupreplication -unsuspend <volumegroup_id/name>If the data is not consistent, complete the following step:
For volume groups where replication is managed using external software:
If the replication for a volume group is managed by external orchestration software, such as VMware Site Recovery Manager (SRM), use the appropriate workflow in that application to failover to the recovery copy.
chvolumegroupreplication -unsuspended <volume group ID | name>
Use the appropriate application workflow to restart replication.
After the data is resynchronized on the original production system, you can change the direction of the replication back to the original configuration by using the appropriate application workflow.
chvolumegroupreplication -mode independent <volumegroup_id/name>This command fails over to the recovery system and the recovery volume groups. Hosts are able to access the volumes while the volume group is in independent mode.
If you are satisfied with the data, run the following command on the production system:
chvolumegroupreplication -unsuspended <volume group ID | name>
Run the following command on the recovery system to restart replication using this copy as the production copy:
chvolumegroupreplication -mode production <volume group ID | name>
chvolumegroupreplication -mode independent <volume group ID | name>chvolumegroupreplication -mode production <volume group ID | name>Unlike async policy-based replication, the recovery procedure for PBR-HA is driven at the partition level, not at the individual volume group level. You check partition health, confirm the AMS, and unsuspend at the partition level. Once unsuspended, all volume groups within the partition resynchronize automatically from the surviving system — no mode-change commands are needed or permitted.
lspartitionReview the ha_status and per-location status fields for each partition. A partition that needs attention shows ha_status suspended with one or both location statuses also showing suspended.
id name preferred_management_system_name active_management_system_name replication_policy_name location1_system_name location1_status location2_system_name location2_status ha_status link_status
0 partition0 site1system site1system HaRepPolicy site1system suspended site2system healthy suspended suspendedIn this example, partition0 on site1system (the recovered system) is suspended. The surviving system (site2system) remains healthy. The AMS for this partition is site1system — all subsequent commands must be run on that system.
All recovery commands must be issued from the Active Management System (AMS) of the partition. The active_management_system_name field in the lspartition output identifies the AMS for each partition.
Before resuming replication, confirm that the data on the recovered partition is consistent. Because the recovered system is the AMS, I/O was being served from this system at the time of the outage. The surviving system held the synchronized Non-AMS copy.
- If the data on the recovered system is consistent, proceed to Step 4.
- If the data on the recovered system is not consistent, contact your IBM Support Center before proceeding.
chvolumegroupreplication -unsuspend <volumegroup_id/name>To list the volume groups in a partition, run lsvolumegroup on the AMS and filter by the partition_name field that matches the suspended partition.
Once unsuspended, the partition automatically drives a full resynchronization of all its volume groups from the surviving system back to the recovered system. The AMS and PMS roles, replication policy, and partition configuration remain unchanged — you do not need to issue any mode-change commands.
To manage the capacity required during resynchronization, stagger the unsuspend operations across partitions — complete one partition before starting the next, or limit the number of volume groups resynchronizing in parallel across partitions.
lspartition <partition_id/name>Key fields to monitor:
- ha_status — returns to established when the partition is fully synchronized and healthy.
- location1_status / location2_status — both return to healthy when replication is running normally for all volume groups in the partition.
- link_status — returns to active when the inter-system link is operating normally.
The 4040 event is automatically marked as fixed when no volume groups with suspended status remain on the system.
You can also monitor partition replication status from the management GUI by navigating to the Storage partitions page and checking the replication status for each partition.