Purpose
Synchronizes primary and standby file systems.
Syntax and Description
acfsutil repl sync -h
acfsutil repl sync [apply] mount_point
acfsutil
repl
sync
-h
displays help text and exits.
Table 16-36 contains the options available with the acfsutil
repl
sync
command.
Table 16-36 Options for the acfsutil repl sync command
Option | Description |
---|---|
|
Specifies that all changes be applied to the standby file system. |
|
Specifies the directory where the primary file system is mounted. |
You can use the acfsutil
repl
sync
command to synchronize the state of the primary and standby file system. This command can only be run on the site hosting the primary file system.
You should first quiesce your applications and run a sync(1) call so that the synchronized state is known and meaningful to you. The acfsutil
repl
sync
command then causes all outstanding replication data to be shipped from the primary to the standby file system.
The acfsutil
repl
sync
command returns success when this transfer is complete or, if the apply
parameter is supplied, when all of these changes have been successfully applied to the standby file system. At this point, unless an unmount of the last node on the primary site cluster is about to occur, applications can be restarted. You can use the acfsutil
repl
sync
command before dismounting the file system on the last node to ensure that all modifications have been sent to the standby file system.
If acfsutil
repl
info
-c
reports the primary file system is in the Initializing
state, the acfsutil
repl
sync
command does not guarantee that all files to be replicated in the file system have been sent to the standby file system. Files that existed in the file system before running the acfsutil
repl
init
command are sent to the standby file system in the background.
You must have system administrator or Oracle ASM administrator privileges to run this command.
Examples
Example 16-30 shows the use of the acfsutil
repl
sync
command.