Вы находитесь на странице: 1из 1

V E R I T A S E D U C A T I O N Q U I C K R E F E R E N C E

Basic VERITAS Volume Replicator Commands

INSTALLATION AND CONFIGURATION


Action Command Line
Install VVR on both the Primary system and all Secondary systems pkgadd -d VRTSvras VRTSvrdoc

Add a license on all systems vxlicense -c

Configure a network connection between the Primary and /etc/hostname.device


Secondary /etc/hosts
vi /etc/system
* start kernal memory for vvr32
Create identical kernel memory parameters on the Primary and set vxio:voliomem_maxpool_sz=
Secondary set vxio:vol_min_lowmem_sz=
set vxio:vol_max_rdback_sz=
set vxio:vol_max_nmpool_sz=
/etc/rc2.d/S94vxnm-host_infod
Start the daemons
/etc/rc2.d/S94vxnm-vxnetd
pkgadd -d . VRTSspt
Examine VVR memory
/opt/VRTSspt/VVR/vvrmemstat

CONSTRUCTING AN RVG
Action Command Line
vxassist -g diskgroup remove log volume
Create an RVG
vxassist -g diskgroup addlog volume logtype=dcm

Create an SRL Volume vxassist -g diskgroup make srl 500m

Create a Primary RVG vradmin –g diskgroup createpri rvg volume srl

Create Secondary RVG and RLINK vradmin –g diskgroup addsec rvg sysB-priv sysA-priv prlink=to_sysA srlink=to_sysB
vxedit –g diskgroup set srlprot=dcm to_sysA
Set replication parameters on both the Primary and Secondary vxedit –g diskgroup set latencyprot=off to_sysA
vxedit –g diskgroup set synchronous=off to_sysA

Set spare, no hot relocation use, or set reserved space on a disk vxedit -g diskgroup set {spare|nohotuse|reserve}=on|off diskname

Resize a data volume vradmin -g diskgroup resizevol rvg volume 200m

STATUS AND VERIFICATION


Action Command Line
vxrlink -i 3 stats to_sysA
Display the number of blocks being replicated

Determine whether asynchronous replication is current vxrlink -g diskgroup status to_sysA

vxprint -Pl
List all RLINKs and replication parameters

Lists all RVGs vxprint -Vl

List volumes within an RVG vradmin printvol

List Replicated Data Set (RDS) configuration vradmin -l printrvg

REMOVING AN RVG
Action Command Line
Detach RLINKS on the Primary and the Secondary vxrlink -g diskgroup det to_sysA
vxrlink -g diskgroup det to_sysB

Stop an RVG on the Primary and the Secondary vxrvg -g diskgroup stop rvg

Disassociate data volumes from an RVG vxvol -g diskgroup dis volume


vxvol -g diskgroup dis srl

Remove the RVG and SRL on a Primary and Secondary vxedit -g diskgroup -rf rm rvg

1
VERITAS Education http://us.training.veritas.com 800-327-2232 (option 2)
Copyright © 2002 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans are
trademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks or
registered trademarks of their respective companies. Specifications and product offerings subject to change without notice. Printed in USA and the EU. March 2002.

Вам также может понравиться