0% found this document useful (0 votes)
137 views2 pages

VXVM PDF

Uploaded by

srisylam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
137 views2 pages

VXVM PDF

Uploaded by

srisylam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

VERIT AS E DUCATION QUICK REF ERENCE

Basic VERITAS Volume Replicator 4.1 Commands

INSTALLATION AND CONFIGURATION

Action Command Line


Install VVR on both the primary system and all
installvvr
secondary systems
Add a license on all systems (can also be done
vxlicinst k license_key
during installvvr execution)
Configure a network connection between the /etc/hostname.device
primary and secondary systems /etc/hosts
vi /kernel/drv/vxio.conf
Create identical kernel memory parameters on the vol_max_rdback_sz=value;
primary and secondary systems vol_max_nmpool_sz=value;
vol_rvio_maxpool_sz=value;
vol_min_lowmem_sz=value;
vxtune vol_max_rdback_sz value
vxtune vol_max_nmpool_sz value
Modify memory parameters online (not persistent)
vxtune vol_rvio_maxpool_sz value
vxtune vol_min_lowmem_sz value
/usr/sbin/vxstart_vvr
OR
Start the daemons /etc/rc2.d/S96vradmind
/etc/rc2.d/S94vxnm-vxnetd
/etc/rc2.d/S96vxrsyncd
Examine VVR memory usage on all hosts in the
vrstat M rvgname
replicated data set (RDS)

ESTABLISHING REPLICATION

Action Command Line


vxdisksetup i disk_access_name
Initialize a disk and create a disk group
vxdg init dg disk_media_name=disk_access_name
Add an initialized disk to a disk group vxdg g dg adddisk disk_media_name=disk_access_name
Create a data volume vxassist g dg make datavol size layout=value
Add a DCM log to a data volume vxassist g dg addlog datavol logtype=DCM
Create an SRL volume vxassist g dg make srlvol size layout=value
Create a primary RVG vradmin g dg createpri rvg datavol srlvol
vradmin g dg addsec rvg prihost sechost prlink=to_sechost \
Create a secondary RVG and the RLINKs
srlink=to_prihost
vradmin g dg set rvg sechost srlprot=value
vradmin g dg set rvg sechost latencyprot=value
Set replication parameters
vradmin g dg set rvg sechost synchronous=value
vradmin g dg set rvg sechost bandwidth_limit=value
Synchronize the secondary vradmin g dg [-full] [-c ckpt] syncrvg rvg sechost
Start replication vradmin g dg [-f] [-a] [-c ckpt] startrep rvg sechost

VERITAS Education http://us.training.veritas.com 800-327-2232 (option 2) 1


Copyright 2004 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. April 2004.
VERIT AS E DUCATION QUICK REF ERENCE

STATUS AND VERIFICATION

Action Command Line


List replicated data set (RDS) configuration vradmin [g dg] l printrvg
Display replication status of an RDS vradmin g dg l repstatus rvg
Display RLINK and replication parameters vxprint g dg -lP
Display RVG and associated volume information vxprint g dg -lV
Display information about data volumes in an RDS vxrlink g dg printvol rvg
Display RLINK network information vxrlink g dg [i interval] stats rlink
Check primary RLINK status vxrlink g dg status prlink
Collect and display consolidated statistics across
vrstat V S R M n number rvg
all hosts in an RDS

MANAGING REPLICATION

Action Command Line


Pause replication to a secondary system vradmin g dg pauserep rvg sechost
Resume replication to a secondary system vradmin g dg resumerep rvg sechost
Migrate replication to a secondary system vradmin g dg migrate rvg newpri
Takeover primary role on a secondary system vradmin g dg takeover rvg
Use fast failback on the new primary system vradmin g dg [wait] fbsync rvg
vxsnap g dg prepare datavol (On both replication sites)
vxassist g dg make cachevol size (On both replication sites)
Verify online data vxmake g dg cache cache_obj_name cachevolname=cachevol \
autogrow=yes (On both replication sites)
vradmin g dg [-k cache] verifydata rvg sechost \
cache=cache_obj_name
Change an RLINK IP Address vradmin g dg changeip rvg newpri_ip newsec_ip
Resize the primary SRL vradmin g dg resizesrl rvg size

STOPPING AND REMOVING REPLICATION

Action Command Line


Stop replication to a secondary system vradmin g dg stoprep rvg sechost
Delete a secondary RVG from an RDS vradmin g dg delsec rvg sechost
Delete a primary RVG vradmin g dg [-f] delpri rvg

VERITAS Education http://us.training.veritas.com 800-327-2232 (option 2) 2


Copyright 2004 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. April 2004.

You might also like