Quantcast
Channel: Symantec Connect - Storage and Clustering - ディスカッション
Viewing all articles
Browse latest Browse all 311

Making an existing volume site consistent

$
0
0
ソリューションが必要です

Hello,

We have a dg which should be site consistent but it is not. Setting up the dg as site consistent (disk tagging, sites added and siteconsistent flag enabled), how to make a volume site consistent?

In the storage foundation cfs and high avalaibility the page 539 says:

   8 Turn on the allsites flag for the volume which requires data replication to each site:

   # vxvol [-g diskgroup] set allsites=on volume
 
   9 Turn on site consistency for each existing volume in the disk group for which
   siteconsistency is needed. You also need to attach DCOv20 if it is not attached
   already. DCOv20 is required to ensure that site detach and reattach are
   instantaneous.
   #  vxvol [-g diskgroup] set siteconsistent=on volume ...
 

But I think it is not correct as you first should mirror the volume and create the dco log:

   # vxvol -g test_dg set allsites=on no_mirror1_lv

   VxVM vxvol ERROR V-5-1-12891  No plex found for vol no_mirror1_lv on site Y
   VxVM vxvol ERROR V-5-1-12889  Cannot enable allsites on volume no_mirror1_lv
 
Am I wrong?? What I do is as follows:
 
1. Make sure the dg is site consistent
2. Create a mirror (plex in the other site) and a dco log:
 
     # vxassist -g test_dg mirror no_mirror1_lv mirror=site
     # vxsnap -g test_dg prepare no_mirror1_lv
3. Check that plexes have been created as siteconsist (there is one in each site)
4. Enable flags and set up the policy read:
     # vxvol -g test_dg set siteconsistent=on no_mirror1_lv
     # vxvol -g test_dg set allsites=on no_mirror1_lv
     # vxvol -g test_dg rdpol siteread no_mirror1_lv
 
# vxprint -g test_dg -m no_mirror1_lv  | grep -e fastresync -e dco_name -e siteconsistent -e allsites
fastresync=on
dco_name=no_mirror1_lv_dco
siteconsistent=on
allsites=on
 
v  no_mirror1_lv -           ENABLED  ACTIVE   20971520 SITEREAD  -        fsgen
pl no_mirror1_lv-01 no_mirror1_lv ENABLED ACTIVE 20971520 CONCAT  -        RW
sd ibm_ds8x000_9c00-01 no_mirror1_lv-01 ibm_ds8x000_9c00 0 20971520 0 ibm_ds8x000_9c00 ENA
pl no_mirror1_lv-02 no_mirror1_lv ENABLED ACTIVE 20971520 CONCAT  -        RW
sd ibm_ds8x001_9c00-01 no_mirror1_lv-02 ibm_ds8x001_9c00 0 20971520 0 ibm_ds8x001_9c00 ENA
dc no_mirror1_lv_dco no_mirror1_lv no_mirror1_lv_dcl
v  no_mirror1_lv_dcl -       ENABLED  ACTIVE   67840    SITEREAD  -        gen
pl no_mirror1_lv_dcl-01 no_mirror1_lv_dcl ENABLED ACTIVE 67840 CONCAT -    RW
sd ibm_ds8x000_9c00-02 no_mirror1_lv_dcl-01 ibm_ds8x000_9c00 20971520 67840 0 ibm_ds8x000_9c00 ENA
pl no_mirror1_lv_dcl-02 no_mirror1_lv_dcl ENABLED ACTIVE 67840 CONCAT -    RW
sd ibm_ds8x001_9c00-02 no_mirror1_lv_dcl-02 ibm_ds8x001_9c00 20971520 67840 0 ibm_ds8x001_9c00 ENA
 
------------------
 
- Are these steps correct? are there these steps in the official documents or any guide?
- Is it mandatory to enable the flag allsites??? what does it do?? (It seems to me that it is useful before the volume creation).
 
Regards,
joagmv
 
 
 

 

 

 

 


Viewing all articles
Browse latest Browse all 311

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>