To set up the UR secondary storage system, you must create a pool volume of DP pool for journal, create a DP pool for journal, create a journal volume, create a journal, create a pool volume of DP pool for the UR S-VOL, create a DP pool for the UR S-VOL, create a UR S-VOL, create a host group, and add an LU path.
The following figure provides an overview of creating a journal and the UR secondary volume in the UR secondary storage system.
The following procedure shows an example of command execution for Windows.
- Use the following parameters and procedure to create pool volumes of DP pool for journal, create DP pool for journal, create journal volume, and create journal in the UR secondary storage system:
Parameters:
- RM instance ID: 2
- Parity group: 2-1
- Pool ID: 1
- Pool name: RJNL_POOL
- Journal volume LDEV ID: 0x8888
- Journal volume LDEV capacity: 30 GB
- Journal ID: 0
- Create a pool.
Specify the parity group (2-1) for which no volume has been created to create a Dynamic Provisioning pool whose pool ID is 1 and pool name is RJNL_POOL. After executing the command, confirm that the asynchronous command processing ended normally.
raidcom add dp_pool -pool_id 1 -pool_name RJNL_POOL -parity_grp_id 2-1 -IH2 raidcom get command_status -IH2 HANDLE SSB1 SSB2 ERR_CNT Serial# Description 00c3 - - 0 844444 -
- Check the pool capacity.
raidcom get dp_pool -IH2 PID POLS U(%) AV_CAP(MB) TP_CAP(MB) W(%) H(%) Num LDEV# LCNT TL_CAP(MB) 001 POLN 0 98196 98196 70 80 1 39321 0 0 - Check the pool name.
raidcom get pool -key opt -IH2 PID POLS U(%) POOL_NAME Seq# Num LDEV# H(%) VCAP(%) TYPE PM 001 POLN 0 RJNL_POOL 844444 1 39321 80 - OPEN N
- Create a journal volume.
Create a virtual volume (DP-VOL) whose capacity is 30 GB and LDEV ID is 0x8888 in a Dynamic Provisioning pool with the pool ID 1. After executing the command, confirm that the asynchronous command processing ended normally.
raidcom add ldev -pool 1 -ldev_id 0x8888 -capacity 30G -IH2 raidcom get command_status -IH2 HANDLE SSB1 SSB2 ERR_CNT Serial# Description 00c3 - - 0 844444 -
- Check the created journal volume.
raidcom get ldev -ldev_id 0x8888 -fx -IH2 Serial# : 844444 LDEV : 8888 (omitted) VOL_ATTR : CVS : DP (omitted) - Create a journal.
Specify the volume whose LDEV ID is 0x8888 to create a journal whose journal ID is 0. After executing the command, confirm that the asynchronous command processing ended normally.
raidcom add journal -journal_id 0 -ldev_id 0x8888 -IH2 raidcom get command_status -IH2 HANDLE SSB1 SSB2 ERR_CNT Serial# Description 00c3 - - 0 844444 -
- Confirm that the volume (LDEV ID: 0x8888) is registered to the journal (journal ID: 0), and check the journal capacity.
raidcom get journal -IH2 JID MU CTG JNLS AP U(%) Q-Marker Q-CNT D-SZ(BLK) Seq# Num LDEV# 000 0 1 PJNN 4 21 43216fde 30 62914560 822222 1 34952
- Use the following parameters and procedure to create pool volumes of DP pool for the UR S-VOL and create a DP pool for the UR S-VOL in the UR secondary storage system:
- RM instance ID: 2
- Parity group: 13-4
- Pool ID: 0
- Pool name: VOL_POOL
- Create a pool.
Specify the parity group (13-4) for which no volume has been created to create a Dynamic Provisioning pool whose pool ID is 0 and pool name is VOL_POOL. After executing the command, confirm that the asynchronous command processing ended normally.
raidcom add dp_pool -pool_id 0 -pool_name VOL_POOL -parity_grp_id 13-4 -IH2 raidcom get command_status -IH2 HANDLE SSB1 SSB2 ERR_CNT Serial# Description 00c3 - - 0 844444 -
- Check the pool capacity.
raidcom get dp_pool -IH2 PID POLS U(%) AV_CAP(MB) TP_CAP(MB) W(%) H(%) Num LDEV# LCNT TL_CAP(MB) 000 POLN 0 98196 98196 70 80 1 30583 0 0 - Check the pool name.
raidcom get pool -key opt -IH2 PID POLS U(%) POOL_NAME Seq# Num LDEV# H(%) VCAP(%) TYPE PM 000 POLN 0 VOL_POOL 844444 0 30583 80 - OPEN N
- Create the UR S-VOL.
Create a virtual volume (DP-VOL) whose capacity is 1,024,000 blocks and LDEV ID is 0x6666 in a Dynamic Provisioning pool with pool ID 0.
raidcom add ldev -pool 1 -ldev_id 0x6666 -capacity 1024000 -capacity_saving deduplication_compression -drs -request_id auto -IH2 REQID: 100
Note: A maximum of 65,280 request IDs can be assigned to one storage system. If there is no available request ID, the command fails with EX_IDEXHA. If that occurs, see the description of the function of request IDs in the Command Control Interface Command Reference and release request IDs. - Specify the request ID that was displayed in step 3, and check the error information for the CCI configuration command that is performed asynchronously. Verify that the value in the Description column is a hyphen (-).
raidcom get command_status -request_id 100 -IH2 REQID R SSB1 SSB2 Serial# ID Description 00000100 - - - 844444 - -
- Confirm that asynchronous command processing has completed, and then release a request ID.
raidcom reset command_status -request_id 100 -IH2
-
Check the information of the volumes (LDEV ID: 0x6666).
raidcom get ldev -ldev_id 0x6666 -fx -IH2 Serial# : 844444 LDEV : 6666 VIR_LDEV : 6666 (Omitted) VOL_Capacity(BLK) : 41943040 (Omitted) VOL_ATTR : CVS : DP B_POOLID : 0 (Omitted) - Create a host group.
Note: A host group with host group ID 0 exists by default. Perform this step only if you want to create a host group with host group ID 1 or higher.
In port CL1-A, create a host group whose host group ID is 1 and host group name is REMOTE. Set the host mode for the host group as necessary.
raidcom add host_grp -port CL1-A-1 -host_grp_name REMOTE -IH2 raidcom modify host_grp -port CL1-A-1 -host_mode WIN -IH2
- Check the information of the host group set in the port (CL1-A), and confirm that the port name, host group ID, and host group name are correct.
raidcom get host_grp -port CL1-A -IH2 PORT GID GROUP_NAME Serial# HMD HMO_BITs CL1-A 0 1C-G00 844444 WIN CL1-A 1 REMOTE 844444 WIN
- Add an LU path to the UR S-VOL.
When adding an LU path to UR S-VOL 0x6666, specify host group CL1-A-1 and LU 1.
raidcom add lun -port CL1-A-1 -lun_id 1 -ldev_id 0x6666 -IH2
-
Check the LU path information
defined in host group CL1-A-1.
raidcom get lun -port CL1-A-1 -fx -IH2 PORT GID HMD LUN NUM LDEV CM Serial# HMO_BITs CL1-A 1 WIN 1 1 6666 - 844444