Operations Using CLI
A–9
Hitachi Simple Modular Storage Copy-on-Write SnapShot User’s Guide
Sample Back Up Script for Windows
This section provides sample script for backing a volume on Windows.
•
•
echo off
REM Specify the registered name of the arrays
set UNITNAME=Array1
REM Specify the group name (Specify “Ungroup” if the pair doesn’t
belong to any group)
set G_NAME=Ungrouped
REM Specify the pair name
set P_NAME=SS_LU0001_LU0002
REM Specify the directory path that is mount point of P-VOL and
V-VOL
set MAINDIR=C:\main
set BACKUPDIR=C:\backup
REM Specify GUID of P-VOL and V-VOL
PVOL_GUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
SVOL_GUID=yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
REM Unmounting the V-VOL
pairdisplay -x umount %BACKUPDIR%
REM Re-synchoronizeing pair (Updating the backup data)
aureplicationlocal -unit %UNITNAME% -ss -resync -pairname
%P_NAME% -gname %G_NAME%
aureplicationmon -unit %UNITNAME% -evwait -ss -pairname %P_NAME%
-gname %G_NAME% -st paired –pvol
REM Unmounting the P-VOL
pairdisplay -x umount %MAINDIR%
REM Splitting pair (Determine the backup data)
aureplicationlocal -unit %UNITNAME% -ss -split -pairname %P_NAME%
-gname %G_NAME%
aureplicationmon -unit %UNITNAME% -evwait -ss -pairname %P_NAME%
-gname %G_NAME% -st split –pvol
REM Mounting the P-VOL
pairdisplay -x mount %MAINDIR% Volume{%PVOL_GUID%}
REM Mounting the V-VOL
pairdisplay -x mount %BACKUPDIR% Volume{%SVOL_GUID%}
< The procedure of data copy from C:\backup to backup appliance>
NOTE:
In case Windows 2000 or Windows Server 2003 is used, mount
command of CCI must be used when mounting/un-mounting a volume. The
GUID, which is displayed by mountvol command, is needed as argument to
use mount command of CCI. For more detail about mount command, see
the
Hitachi Simple Modular Storage Command Control Interface (CCI)
Reference Guide
.
Содержание Copy-on Write SnapShot
Страница 8: ...viii Preface Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...
Страница 12: ...xii Contents Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...
Страница 38: ...4 4 Enabling and Disabling SnapShot Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...
Страница 42: ...5 4 Configuring SnapShot Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...
Страница 54: ...7 4 Monitoring and Maintenance Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...
Страница 58: ...8 4 Troubleshooting Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...
Страница 68: ...A 10 Operations Using CLI Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...
Страница 72: ...B 4 SnapShot Specifications Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...
Страница 89: ...1 Hitachi Simple Modular Storage Copy on Write SnapShot User s Guide ...