Cluster Server 8.0 Bundled Agents Reference Guide - Windows
- Introducing VCS bundled agents
- Storage agents
- Network agents
- FileShare agents
- Services and applications agents
- VCS infrastructure and support agents
- VCS hardware replication agent for NetApp
- Troubleshooting bundled agents
Action function
The Action function enables you to perform predefined actions on a resource.
To perform an action on a resource, type the following command:
hares -action <SnapMirror_resname> <token> [-actionargs <arg1> ...] [-sys <system>] [-clus <cluster> ]
The following table lists the action supported by the NetAppSnapMirror agent:
Table: Actions supported by NetAppSnapMirror agent
Token for Action | Description |
---|---|
fbsync |
Resynchronizes an original source volume with a broken-off volume. After synchronization, the original source volume becomes the target volume. The broken-off volume was initially the target volume, but was broken off as a result of a take over. |
To synchronize volumes, type the following at the command prompt:
hares -action SnapMirror_resname fbsync -sys node_name
Where, SnapMirror_resname represents the name of the SnapMirror resource and node_name represents the node on which the service group is online.
Run the action for each SnapMirror resource.
You can also add custom actions for the agents. Refer to the Cluster Server Agent Developer's Guide for more information.