How to setup up a Remote Mirror configuration using the Site Awareness feature

book

Article ID: 100022344

calendar_today

Updated On:

Resolution

The Remote Mirror feature requires that the Site Awareness license has been installed on all hosts at all sites that are participating in the configuration.

# vxdctl license | grep Site
Site Awareness

To correctly configure the Remote Mirroring and Site Awareness, please refer to the Volume Manager Administrator Guide for the respective platform/version.

The following steps are sample steps to configure Remote Mirroring:

# vxdmpadm listenclosure all
ENCLR_NAME        ENCLR_TYPE    ENCLR_SNO      STATUS          ARRAY_TYPE    LUN_COUNT
===================================================================================
disk                        Disk                    DISKS              CONNECTED          Disk                2
ams_wms0              AMS_WMS        75050205          CONNECTED        A/A-A                4
emc0                      EMC                  000290300822    CONNECTED          A/A                  20


Let us assume that the enclosure emc0 is in London and ams_wms0 is in Leeds.

A.]  Define the site name for each host that can access the disk group

On the system in London:

london_sol01# vxdctl setsite=sitename

london_sol01# vxdctl set site=London

london_sol01#vxdctl list
Volboot file
version: 3/1
seqno:   0.2
clusterprotocol version:80
hostid:  london_sol01
hostguid:  {925c3108-1dd2-11b2-8212-0003ba828fe5}
siteid:  London

On the system in Leeds:

leeds_sol01# vxdctl setsite=Leeds

leeds_sol01 # vxdctl list
Volboot file
version:3/1
seqno:   0.2
cluster protocol version:80
hostid:  leeds_sol01
hostguid:  {53a08bc8-1dd2-11b2-992b-0003ba81e74d}
siteid:  Leeds


B.]  Create the disk group with storage from each site

root@london_sol01 /]#vxdg init sitedg ams_wms0_31 emc0_003c

root@london_sol01 /]# vxdg listsitedg
Group:    sitedg
dgid:      1255859185.37.london_sol01
import-id:1024.36
flags:     cds
version:   140
alignment: 8192(bytes)
local-activation:read-write
ssb:            on
autotagging:    on
detach-policy:global
dg-fail-policy: dgdisable
copies:    nconfig=defaultnlog=default
config:    seqno=0.1028 permlen=48144 free=48140templen=3 loglen=7296
config disk ams_wms0_31 copy 1 len=48144 state=clean online
config disk emc0_003c copy 1 len=48144 state=clean online
log diskams_wms0_31 copy 1 len=7296
log disk emc0_003c copy 1len=7296



C.]  Set up automatic site tagging for the disk group, if required
     See ==> "Configuring automatic site tagging for a disk group"  in the Volume Manager Administrator's Guide

root@london_sol01 /]# vxdg -g sitedg set autotagging=on

root@london_sol01 /]# vxprint -g sitedg -f "%autotagging" testdg
on


D.]  Assign a site name to the disks or enclosures
     We can set site tags at the disk level or at the enclosure level. If we specify one or more enclosures, the site tag applies to the disks in that enclosure that are within the diskgroup.
     See ==> "Configuring site tagging for disks or enclosures" in the Volume Manager Administrator's Guide

root@london_sol01/]# vxdg -g sitedg settag encl:emc0 site=London

root@london_sol01 /]#vxdg -g sitedg settag encl:ams_wms0 site=Leeds

root@london_sol01 /]# vxdg-g sitedg listtag
DISKGROUP      ENCLOSURE                        NAME                    VALUE
sitedg                  emc0                                    site                          London
sitedg                  ams_wms0                            site                          Leeds



 
 

 

Issue/Introduction

How to setup up a Remote Mirror configuration using the Site Awareness feature