Learn how to add additional disk units to an existing HyperSwap configuration
...
Either the SYSBAS volumes or the IASP volumes of your high availability HyperSwap configuration might require additional storage capacity. If your established HyperSwap environment requires additional disk units for more capacity, complete the following procedure to add units to the system or an existing IASP in a HyperSwap environment:
Procedure
1. To add new disk units to the system, user, or independent ASP,
...
Stop replication with the Change HyperSwap Status (CHGHYSSTS) command.
If you are adding disk units to an IASP, enter: CHGHYSSTS OPTION(*STOP) ASPDEV(iasp-name). Supply the name of the IASP in iasp-name.
For adding capacity to the system or user ASP, substitute *SYSBAS for the name of the IASP: CHGHYSSTS OPTION(*STOP) ASPDEV(*SYSBAS).
...
Add the new units to the system, user, or independent ASP with the System Service Tools (STRSST) command. Consult Adding a disk unit or disk pool for details about how to use the System Service Tools.
...
first create the new disk units (LUNs) on the source DS8000 storage controller.
2. Assign the LUNs on the source DS8000 storage controller to the IBM i.
3. Initialize and format the new non-configured units.
Expand |
---|
title | Initializing and formatting non-configured units |
---|
|
From the IBM i command line, type STRSST and press enter to start System service tools (SST). Sign on to SST with your service tools user ID and password. Select option 3 (Work with disk units) Select option 3 (Work with disk unit recovery) Select option 2 (Disk unit problem recovery procedures) Select option 1 (Initialize and format disk unit) Select option 1 on the new non-configured disk units that will be added to the ASP. Press F10 to confirm the choice to initialize and format the disk units. Exit out of System Service tools
|
4. Create the new LUNs on the HyperSwap target DS8000 storage controller.
Warning |
---|
Important: Do not assign the newly created LUNs to the IBM i yet. |
5. Configure HyperSwap replication for the new LUNs:
Expand |
---|
title | HyperSwap (no Global Mirror) |
---|
|
Configure Metro Mirror between the new source and target DS8000 LUNs using the mkpprc command from DSCLI. An example of the mkpprc command is shown below:
mkpprc -dev IBM.2107-75ABC11 -remotedev IBM.2107-75DEF21 -type mmir -mode full 1000:2000 Wait for the replication for the volumes to get to a state of Full Duplex by monitoring the progress with the lspprc command from DSCLI. An example of the lspprc command is shown below:
lspprc -remotedev IBM.2107-75DEF21 1000:2000 Image Added
|
Expand |
---|
title | HyperSwap with Global Mirror |
---|
|
The IBM Copy Services Manager Storage Controller must be updated to replicate the new volume. Configure Metro Mirror between the new HyperSwap source and HyperSwap target DS8000 LUNs using the mkpprc command from DSCLI. An example of the mkpprc command is shown below:
mkpprc -dev IBM.2107-75ABC11 -remotedev IBM.2107-75DEF21 -type mmir -mode full 1000:2000 Configure Global Copy between the new HyperSwap source and Global Mirror target DS8000 LUNs using the mkpprc command from DSCLI. An example of the mkpprc command for the Global Copy link is shown below:
mkpprc -dev IBM.2107-75ABC11 -remotedev IBM.2107-75GHI31 -type gcp -mode full 1000:3000 Wait for the replication for the HyperSwap volumes to get to a state of Full Duplex by monitoring the progress with the lspprc command from DSCLI. An example of the lspprc command is shown below:
lspprc -remotedev IBM.2107-75DEF21 1000:2000 Image AddedWait for the replication for the Global Copy volumes to have a first pass status of True by monitoring the progress with the lspprc command with the -l option from DSCLI. An example of the lspprc command is shown below:
lspprc -remotedev IBM.2107-75HGI31 -l 1000:3000 Image AddedUse the Add copy sets wizard on the IBM Copy Services Manager (CSM) Storage Controller to add the new volumes and new consistency group volumes to the session on the CSM storage controller.
|
6. Assign the target LUNs to the same IBM i partition.
7. Verify with the Work with HyperSwap Status (WRKHYSSTS
) command that HyperSwap is currently active for the ASP the units will be added to. In the example below, HyperSwap status is active for all ASP devices shown on the Work with HyperSwap Status display
...
8. Add the new units to the ASP using SST:
Expand |
---|
title | Adding new disk units to an ASP |
---|
|
From the IBM i command line, type STRSST and press enter to start System service tools (SST). Sign on to SST with your service tools user ID and password. Select option 3 (Work with disk units) Select option 2 (Work with disk configuration) Select option 2 (Add units to ASPs) Select option 3 (Add units to existing ASPs) Enter the ASP number of the existing ASP to add units to, using 1 for the system ASP (*SYSBAS), 2-32 for user ASPs, or the ASP number of the independent ASP for an independent ASP. Confirm the choice to add disk units. Exit out of System Service Tools.
|
9. Verify with the Work with HyperSwap Status (WRKHYSSTS
) command that HyperSwap is currently active for the ASP that units were added.
Tip |
---|
Tip: Using option 5 on an ASP device on the Work with HyperSwap status display will show the individual disk units. The new LUNs are now visible on this display. |
10 . If using either HyperSwap with LUN Level Switching or HyperSwap with Global Mirror complete the following additional steps to enable PowerHA management of the new LUNs:
Expand |
---|
title | HyperSwap with LUN Level Switching (no Global Mirror) |
---|
|
PowerHA uses an Auxiliary Storage Pool Copy Description (ASPCPYD) to manage the LUN Level Switching environment. The copy description must be updated with the new volume information Use the Change ASP Copy Description (CHGASPCPYD ) command to update the following fields: Logical unit name (LUN) parameter element two (Logical Unit Range) to include the additional LUNs from the source DS8000 storage controller If the new LUNs are attached to an additional host connection in the source DS8000 storage controller, update the Recovery domain (RCYDMN) parameter with the new host identifier information for all nodes in the cluster resource group site represented by the copy description. Second logical unit name (LUN2) parameter element two (Logical Unit Range) to include the additional LUNs from the target DS8000 storage controller. If the new LUNs are attached to an additional host connection in the target DS8000 storage controller, update the Recovery domain (RCYDMN) parameter with the new host identifier information for all nodes in the cluster resource group site represented by the copy description.
|
Expand |
---|
title | HyperSwap with Global Mirror |
---|
|
PowerHA uses Auxiliary Storage Pool Copy Descriptions (ASPCPYD) and an IBM Copy Services Manager Auxiliary Storage Pool Session to manage the replication. The source and target copy descriptions must be updated with the new volume information. Use the Change ASP Copy Description (CHGASPCPYD ) command to update the following fields on the copy description for the source site: Logical unit name (LUN) parameter elements two (Logical unit range) and three (Consistency Group Range) to include the additional LUNs and consistency group LUNs from the source DS8000 storage controller. Second Logical unit name (LUN2) parameter elements two (Logical unit range) and three (Consistency Group Range) to include the additional LUNs and consistency group LUNs from the HyperSwap secondary DS8000 storage controller.
Use the Change ASP Copy Description (CHGASPCPYD ) command to update the following fields on the copy description for the target site: Logical unit name (LUN) parameter elements two (Logical unit range) and three (Consistency Group Range) to include the additional LUNs and consistency group LUNs from the global mirror target storage controller.
Verify the Global Mirror session by using the Display CSM Session (DSPCSMSSN ) command.
|
Results
The expanded storage in your HyperSwap environment on your IBM i partition is available for use.