To improve performance, you can migrate extents using the
command-line interface (CLI).
The
SAN Volume Controller provides
various data migration features. These can be used to move the placement
of data both
within MDisk groups and
between MDisk groups.
These features can be used concurrently with I/O operations. There
are two ways in which you can migrate data:
- Migrating data (extents) from one MDisk to another
(within the same MDisk group). This can be used to remove highly utilized
MDisks.
- Migrating VDisks from one MDisk group to another.
This can be used to remove highly utilized MDisk groups. For example,
you can reduce the utilization of a group of MDisks.
- Migration commands fail if the target or source
VDisk is offline, or if there is insufficient quorum disk space to
store the metadata. Correct the offline or quorum disk condition and
reissue the command.
Notes: - The source MDisk must not currently be the source MDisk for any
other migrate extents operation.
- The destination MDisk must not be the destination MDisk for any
other migrate extents operation.
You can determine the usage of particular
MDisks by gathering input/output (I/O) statistics about nodes, MDisks, and
VDisks. After you have gathered this data, you can analyze it to determine
which MDisks are highly utilized. The procedure then takes you through
querying and migrating extents to elsewhere in the same MDisk group.
This procedure can only be performed using the command-line tools.
To
migrate extents to remove possible problems, perform the following:
- Isolate any MDisks that are overutilized. You can determine this
by requesting an I/O statistics dump and analyzing the output. To
start I/O statistics gathering, issue the following CLI command:
svctask startstats -interval 15
This
command generates a new I/O statistics dump file approximately every
15 minutes.
- Wait for at least 15 minutes after issuing the svctask
startstats command and then issue the following command:
svcinfo lsiostatsdumps
This
command lists the I/O statistics files generated on
a per-node basis. These
are prefixed with Nm for MDisk statistics, Nv for
VDisk statistics, and Nn for node statistics.
- Use secure copy (scp) to retrieve the dumps files for analysis.
For example, issue the following AIX® CLI
command:
scp clusterip:/dumps/iostats/m_*
This
command copies all the MDisk statistics files to the AIX host in the current directory.
- Analyze the dumps to determine which MDisks are
highly utilized. You can also determine which VDisks are being highly
utilized so that you can spread data more evenly across all the MDisks
in the group.
- Stop the statistics collection by issuing the following command:
svctask stopstats
After you have determined the MDisks that
are highly utilized, you can migrate some of the data onto other MDisks
within the same MDisk group.