Veritas File Replicator allows for periodic replication of file system data and metadata over IP networks in a storage-independent manner. It uses VxFS FCL and storage checkpoints to replicate entire file systems from one system to another target system. The replication can be configured, started, and administered using the vfradmin command line utility which controls the replication daemons involved. The replication job, daemon, and system configuration details are logged for troubleshooting purposes. The replication direction can also be reversed if needed.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
94 views3 pages
Capitulo 2-9 Replicating A Veritas File System
Veritas File Replicator allows for periodic replication of file system data and metadata over IP networks in a storage-independent manner. It uses VxFS FCL and storage checkpoints to replicate entire file systems from one system to another target system. The replication can be configured, started, and administered using the vfradmin command line utility which controls the replication daemons involved. The replication job, daemon, and system configuration details are logged for troubleshooting purposes. The replication direction can also be reversed if needed.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3
VERITAS FILE REPLICATOR
Periodic replication of a file system data
and metadata over IP network Storage independent Independent the volume layout Uses VxFS FCL and storacheckpoints Supported on all linux platforms with 6.0 release VRTSvxfs package Requires the same filesystem block size on the source and destination fs VxFS disk layout 9 LIMITATION: Replication entire file system One replication by FS Support for one tarjet Replication recovery from the last good replicated image No HA replication daemon in 6.0 No security option Compression not mantain FILE REPLICATION ARCHITECTURE Configuration script to start daemon at boot-up: /etc/vx/vxfs_repltab Scheduler: vxfstaskd (daemon) Replication client: vxfsreplicate (daemon) Target replication: vxfsrepld (daemon) CONFIGURATION AND STARTING FILE REPLICATION 1-Start the scheduler on the source system vfradmin startschd 2-Start the target replication daemon on the target system: vfradmin startvxfsrepld [-p port] 3-Create the replication job on both the source and the target system vfradmin createjob [-p port] [-s|-t] jobname \ src_addr src_mntpt tgt_addr tgt_mntpt freq 4-Start the replication job vfradmin startjob jobname src_mntpt STOP FILE REPLICATION 1-Stop the replication job vfradmin stopjob jobname src_mntpt 2-Stop the target replication daemon on the target system vfradmin [-f] stopvxfsrepld 3-Stop the scheduler on the source system vfradmin [-f] stopschd
ADMINISTERING A REPLICATION JOB
vfradmin (abortjob waitjob syncjob destroyjob) jobname mount_point DISPLAY INFORMATION ABOUT FILE REPLICATION To list replication job for FS: vfradmin listjob [-v] mount_point To display status: vfradmin getjobstatus jobname mouunt_point To display job statistics: vfradmin getjobstats [-v] [-fh] jobname mount_point To display the storage checkpoint: vfradmin getjobbckpt jobname mount_point TROUBLESHOOTING FILE REPLICATION The replication configuration and the status files location: /mount_point/lost+found/ Replication log file: /var/VRTSvxfs/replication/log/ Logs files for replication daemons /var/VRTSvxfs/replication/log/vxfstaskd.log /var/VRTSvxfs/replication/log/vxfsrepld.log If debbugging is set: /var/VRTSvxfs/replication/log/jobname.log vfradmin setjobdbg -d {0|1} jobname mount_point MOVING THE REPLICATION JOB TO A NEW SOURCE SYSTEM 1-Stop the replication job on the old source system 2-Move the file system over to the new source system 3-Start the replication scheduler on the new source system 4-On the new source system, modify the job definition to replect the change in source address and hostname vfradmin setjobsrcaddr jobname mount_point new_src_addr vfradmin setjobhost jobname mount_point hostname 5-On the target system, modify the job definition to reflect the change in source address vfradmin setjobssrcaddr jobname mount_point new_src_adr 6-Start the replication job on the new source system
OTHER MODIFICATION WITH THE
REPLICATION JOB CONFIGURATION To modify the source mount point: vfradmin setjobsrcmntpt [-n] jobname \ old_src_mount_point new_src_mount_point To modify the target mount point: vfradmin setjobtgtmntpt [-n] jobname \ old_tgt_mount_point new_tgt_mount_point To modify the target address: vfradmin setjobtgtaddr jobname mount_point \ new_src_addr REVERSING THE REPLICATION DIRECTION To modify the replication job mode on old target: vfradmin setjobmode -s jobname mount_point To modify the replication job mode on old sorce: vfradmin setjobmode -t jobname mount_point