HP XP P9000 RAID Manager Reference Guide (T1610-96061, January 2014)
Returned values
The pairsyncwait command sets the following returned values during exit allowing you to check
the execution results.
Returned ValueCondition
When the -nowait option is
specified
• Normal termination: 0: The status is NOWAIT.
• Abnormal termination: other than 0 to 127, refer to the error code for error details.
• Normal termination:
0: The status is DONE (completion of synchronization).
When the -nowait option is
not specified
1: The status is TIMEOUT (timeout).
2: The status is BROKEN (Q-marker synchronized process is rejected).
3: The status is CHANGED (Q-marker is invalid due to resynchronize).
• Abnormal termination: other than 0 to 127, refer to the error codes for error details.
Error codes
Unrecoverable errors are fixed and not resolved, even after re-executing the command. If the
command failed, the detailed status will be logged in the RAID Manager command log
($HORCC_LOG), even if the user script has no error handling.
ValueRecommended ActionError MessageError CodeCategory
222Confirm pair status using pairdisplay
-l.
Invalid volume statusEX_INVVOLVolume status
(Unrecoverable)
Examples
The following shows examples of the pairsyncwait command with and without the -nowait option.
# pairsyncwait -g oradb -nowait <=-nowait is specified.
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef NOWAIT 2
# pairsyncwait -g oradb -t 100 <=-nowait is not specified.
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef DONE 2
# pairsyncwait -g oradb -t 1
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef TIMEOUT 3
# pairsyncwait -g oradb -t 100 -m 01003408ef
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef DONE 0
# pairsyncwait -g oradb -t 100
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef BROKEN 0
# pairsyncwait -g oradb -t 100 -m 01003408ef
UnitID CTGID Q-Marker Status Q-Num
0 3 01003408ef CHANGED 0
-> '01003408ef' is invalid because the pair volume is already resynchronized.
Output of the pairsyncwait command:
UnitID: Unit ID in the case of multiple storage system connection
CTGID: CTGID within Unit ID
Q-Marker: The latest sequence # of MCU PVol (Marker) when the command is received.
Status: The status after the execution of command.
Q-Num: The number of process queues to wait for synchronization within the CTGID.
104 Data management commands