Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
QuickReference
Overview
Other Usefull Commands
n n n n n n n n n
Stop HORCM: sudo horcmshutdown.sh 0 1 Start HORCM: horcmstart.sh 0 1 Display a given device group: pairdisplay g s1-vg_rpas fcx Display all devices allocated to array port:: raidscan p <port#> Show group CTGID: sudo pairdisplay -g s1-vg_CODS10P1 fe |more Show Volume status: sudo pairvolchk -g s1-vg_CODS10P1 d ldev-a8c-309 Show pair status with % completed: sudo pairdisplay -g s1vg_CODS10P1 -fcx Remove from a group: pairsplit -S -g group -d ldev_xxx_xxx Execute the full sync: paircreate g s1-vg_CODS10P1 -d ldev_xxx_xxx -m grp 08 -vl
Steps to be done on the host that will access the ShadowImage Volumes
n n The configuration files are located on: /opt/HORCM/etc Create a backup of the actual configuration files:
horcm0.conf hormc1.conf (Standard Volumes) (Shadow Image Volumes)
Edit each file accordingly and add the new entries as shown in the example below:
horcm0.conf
#dev_group s1-vg_rpas s1-vg_rpas s1-vg_rpas dev_name ldev-149-983 ldev-14a-984 ldev-14b-985 dev_name port# CL1-H CL1-H CL1-H port# TargetID 0 0 0 TargetID LU# 7 8 9 MU# STD-SI
horcm1.conf
#dev_group LU# MU#
QuickReference
0 0 0
1 2 3
Legend: dev_group - Defines a group of Pvols and Svols devices. dev_name - Logical name that describes both Pvol Ldev and Svol Ldev. port# - Defines the port in which the device is allocated to. TargetID - Default setting set to 0 for IBM. LU# - Logical Unit or Ldev that was allocated down the port. MU# - Defines a a mirror unit.
n n
n n
For a new consistency group n n If will be a new ShadowImage Group: Each dev_group group also belongs to a Consistency group.By creating these consistency groups ShadowImage guarantees data consistency among multiple LUNs in a group at a single point in time when doing a split using the pairsplit g <group> command. See consistance groups in the conf files:
Consistency Groups Documentation si-rpas = 0 si-rdf01 = 1 s1-share01dg = 2 s1-share02dg = 3 s1-share03dg = 4 s2-share01dg = 5 s2-share02dg = 6 s2-share03dg = 7
n
# # # # # # # # #
n n
Use next available number for new groups. Next edit the conf file on /HORCM/scripts/conf One config file per mirror number. First line is the host or hosts the ShadowImage devices will mount to. No other information is required. Example:
pnbumm01 > more share02dg-1.conf pnbumm01
If you build something new you have to do a full establish first and have to pass the group:
/HORCM/scripts/bin/initial_bcv_establish.ksh -g <group_name> Ex: sudo /HORCM/scripts/bin/initial_bcv_establish.ksh -g share02dg-1.conf
QuickReference