Copyright (c) 2007, Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
/usr/lib/sndrsyncd
The sndrsyncd daemon automates update resynchronization after a network or machine failure and invokes Point-in-Time Copy copies when needed to protect the data volumes being updated during a resynchronization.
The daemon is notified by the kernel when a network link being used by Remote Mirror goes down and invokes the sndradm(1M) command with the -u option to resynchronize all Remote Mirror sets which have autosync switched on and are using the network link. See sndradm(1M) for details on how to configure autosync for a Remote Mirror set.
The daemon is also notified when any Remote Mirror resynchronization starts or completes. The daemon takes Point-in-Time Copy snapshots, if configured in the Availability Suite configuration file. On a secondary server, the daemon checks if a file system is currently mounted on the secondary volume and informs the kernel not to allow the synchronization to start if the file system is currently mounted.
0
Daemon started successfully.
>0
Daemon failed to start.
Shell script for starting sndrsyncd.
Shell script for stopping sndrsyncd.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Evolving |
iiadm(1M), sndradm(1M), sndrd(1M), svcadm(1M), ds.log(4), rdc.cf(4), attributes(5)
Do not manually stop the sndrsyncd deamon. If you need to manually stop sndrsyncd perform these steps. This stops both the sndrd and sndrsyncd daemons.
# svcadm disable svc:/system/nws_rdc
# svcadm disable svc:/system/nws_rdcsyncd
Do not manually start or restart the sndrsyncd deamon. If you need to manually start sndrsyncd perform these steps. This starts both the sndrd and sndrsyncd daemons.
# svcadm enable svc:/system/nws_rdc
# svcadm enable svc:/system/nws_rdcsyncd
See svcadm(1M) for additional information.