HP XP P9500 HP P9000 RAID Manager Reference Guide (T1610-96037, October 2011) - Page 21

Replication commands, paircreate, Syntax

Page 21 highlights

2 Replication commands This chapter provides specifications for the replication commands. paircreate CAUTION: Use the paircreate command with caution. The command starts the Continuous Access Synchronous, Continuous Access Journal, and Business Copy initial copy operations, which overwrite all data on the secondary/target volume. If the primary and secondary volumes are not identified correctly, or if the wrong options are specified (For example, vl instead of vr), data is transferred in the wrong direction and the data in the target of transferring will be overwritten. The paircreate command is used to create a new volume pair from two unpaired volumes. The paircreate command can create either a paired logical volume or a group of paired volumes. The paircreate command allows you to specify the direction (local or remote) of the pair generation (see Figure 3 (page 21)). If local (vl option) is specified, the server issuing the paircreate command has the primary volume. If remote (vr option) is specified, the remote server has the primary volume. The -split option of the paircreate command (Business Copy only) allows you to simultaneously create and split pairs using a replication command only. When -split is used, the pair status changes from COPY to PSUS (instead of PAIR) when the initial copy operation is complete. Figure 3 Pair creation Before issuing the paircreate command, make sure that the secondary volume is not mounted on any system. If the secondary volume is found to be mounted after paircreate, delete the pair (pairsplit -S), unmount the secondary volume, and then reissue the paircreate command. The paircreate command terminates before the initial copy operation is complete (except when the nocopy option is specified). Use the pair event waiting or pair display command to verify that the initial copy operation completed successfully (status changes from COPY to PAIR, or from COPY to PSUS if the -split option was specified). The execution log file also shows completion of the initial copy operation. Continuous Access Synchronous only: The paircreate command cannot execute copy rejection in case of an error condition due to maintenance work on the target volume. Syntax paircreate { -h | -q | -z | -I[H][M][instance#] or I[CA][BC][instance#] | -g | -d | -d[g] [MU#] | -FHORC [MU#] -d[g] [MU#] | -f[g] [CTGID] | -vl | -vr | -pvol | -c | -nocopy | -nomsg | -split | [-m ] | -jp | -js | -pid | -fq | -cto | -nocsus } paircreate 21

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194

2 Replication commands
This chapter provides specifications for the replication commands.
paircreate
CAUTION:
Use the
paircreate
command with caution. The command starts the Continuous Access
Synchronous, Continuous Access Journal, and Business Copy initial copy operations, which overwrite
all data on the secondary/target volume. If the primary and secondary volumes are not identified
correctly, or if the wrong options are specified (For example, vl instead of vr), data is transferred
in the wrong direction and the data in the target of transferring will be overwritten.
The
paircreate
command is used to create a new volume pair from two unpaired volumes. The
paircreate
command can create either a paired logical volume or a group of paired volumes. The
paircreate
command allows you to specify the direction (local or remote) of the pair generation
(see
Figure 3 (page 21)
). If local (vl option) is specified, the server issuing the
paircreate
command
has the primary volume. If remote (vr option) is specified, the remote server has the primary volume.
The -split option of the
paircreate
command (Business Copy only) allows you to simultaneously
create and split pairs using a replication command only. When -split is used, the pair status changes
from COPY to PSUS (instead of PAIR) when the initial copy operation is complete.
Figure 3 Pair creation
Before issuing the
paircreate
command, make sure that the secondary volume is not mounted on
any system. If the secondary volume is found to be mounted after
paircreate
, delete the pair (
pairsplit
-S
), unmount the secondary volume, and then reissue the
paircreate
command.
The
paircreate
command terminates before the initial copy operation is complete (except when
the nocopy option is specified). Use the pair event waiting or pair display command to verify that
the initial copy operation completed successfully (status changes from COPY to PAIR, or from COPY
to PSUS if the -split option was specified). The execution log file also shows completion of the initial
copy operation.
Continuous Access Synchronous only: The
paircreate
command cannot execute copy rejection in
case of an error condition due to maintenance work on the target volume.
Syntax
paircreate { -h | -q | -z | -I[H][M][instance#] or I[CA][BC][instance#] | -g <group>
| -d <pair Vol> | -d[g] <raw_device> [MU#] | -FHORC [MU#] -d[g] <seq#> <LDEV#> [MU#]
| -f[g]
<fence> [CTGID] | -vl | -vr | -pvol | -c
<size> | -nocopy | -nomsg | -split | [-m <mode>]
| -jp <id> | -js <id> | -pid <PID> | -fq <mode>
| -cto <o-time> <c-time> <r-time> | -nocsus }
paircreate
21