To set up the GAD secondary storage system, you must create a pool volume of DP pool for journal, create a DP pool for journal, create a journal volume, and create a journal. The following shows the example of command execution for Windows.
-
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 LJNL_POOL. After executing the command, confirm that
the asynchronous command processing ended normally.
raidcom add dp_pool -pool_id 1 -pool_name LJNL_POOL -parity_grp_id 2-1 -IH1 raidcom get command_status -IH1 HANDLE SSB1 SSB2 ERR_CNT Serial# Description 00c3 - - 0 822222 -
-
Check the pool capacity.
raidcom get dp_pool -IH1 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 -IH1 PID POLS U(%) POOL_NAME Seq# Num LDEV# H(%) VCAP(%) TYPE PM 001 POLN 0 LJNL_POOL 822222 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 -IH1 raidcom get command_status -IH1 HANDLE SSB1 SSB2 ERR_CNT Serial# Description 00c3 - - 0 822222 -
-
Check the created volume.
raidcom get ldev -ldev_id 0x8888 -fx -IH1 Serial# : 822222 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 -IH1 raidcom get command_status -IH1 HANDLE SSB1 SSB2 ERR_CNT Serial# Description 00c3 - - 0 822222 -
-
Confirm that the volume (LDEV ID: 0x8888) is registered to the journal (journal ID: 0) and check the journal capacity.
raidcom get journal -IH1 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