Changing the size of the SRL on the Primary and the Secondary

The size of the SRL must be large enough to meet specific sizing constraints. These constraints can change with the changes in the business needs, application write rate, available network bandwidth, and so on. As a result, it is necessary to determine the appropriate size of the SRL again.

See Sizing the SRL.

VVR enables you to increase the size of the Primary SRL and the Secondary SRL in a Replicated Data Set (RDS) using the vradmin resizesrl command, even while the application is active or while replication is in progress. The vradmin resizesrl command increases the size of the SRL in the RDS on the Primary, on any valid Secondaries, and on the bunker node, if present. A valid Secondary is one that is correctly configured; that is, it does not have configuration errors. Use the vradmin -l printrvg command to view the configuration status of the RDS. The vradmin resizesrl command does not resize the SRL on any Secondary that has configuration errors.

Before increasing the size of the SRL, do the following:

To increase the size of the SRL on the Primary and the Secondary

Issue the following command on any host in the RDS:

# vradmin -g diskgroup resizesrl [-f] local_rvgname length \
[pridiskname=primary_disk_names] [secdiskname=secondary_disk_names]

The argument local_rvgname is the name of the RVG on the local host and represents its RDS.

The argument length is the desired size for the Primary SRL. The length can be specified using the standard VxVM conventions. It can be prefixed by a plus sign (+) to indicate an increase in the size of the Primary SRL by the specified amount.

Use the -f option for the vradmin resizesrl command to resize the Primary SRL even if the Secondary or Bunker hosts do not have enough space to increase the SRL. This option may be necessary to protect the Primary SRL from overflow. With the -f option, the command succeeds and resizes the Primary SRL provided that the Primary has enough space. The command also attempts to resize the Secondary SRL and the Bunker SRL, if present. However, if any Secondary or Bunker host does not have enough free space to increase the SRL size, the resize operation fails on that host.

Warning:

Using the -f option may result in different SRL sizes on different hosts.

The optional arguments pridiskname and secdiskname enable you to specify a comma-separated list of disk names for the resize operation. The space required for the resize operation is allocated from the specified disks on the primary and secondary, respectively.