Generate NAS output files (svc_nas nas_svc_data_protection)
This script enables advanced management of data protection for replication sessions, remote systems, and data protection networks.
Usage
Function
System Operations
Mode
Normal
Usage
General use
Requires service user password?
No
Requires root privileges?
No
May cause data unavailability?
No
May cause data loss?
No
Scope
Cluster
Prerequisites
None
Format
svc_nas run nas_svc_dataprotection -h {nasServer | remoteSystem | dpNetwork} {actions}
Optional arguments
Qualifier
Description
-h,
--help
Show the help message and exit.
Arguments for nasServer
nas_svc_dataprotection nasServer [-h] [-vdmoid <NAS server id>] [-action
-fsoid <file system id> {listreplicationinfo [-f],displayinfo,validate,cleanupdb,
cleanupcmddb,cleanupfsreplicationsession,displaydntasks,displaycltasks,cleanupcltasks,repair,
remove,-path,startsession,stopsession,failoversession,switchoversession,switchtoproductionmode}]
Qualifier
Description
-h,
--help
Show the help message and exit.
-vdmoid
The ID of the NAS server.
-action
Perform the specified action.
-fsoid
The ID of the file system replication version set.
-path
The NAS server path.
Action
Description
listreplicationinfo [-f, -force]
List replication objects of the NAS server from databases. The NAS server must be in service mode when
-force is set to allow the command to run even if the NAS server is not in service mode.
displayinfo
Display the NAS server in-memory replication session information.
validate
Validate all replication databases for the NAS server.
cleanupdb
Clean up all databases that are related to the NAS server replication objects.
cleanupcmddb
Clean up command and command cmd queue databases.
cleanupfsreplicationsession -fsId
Remove all records that are related to one FS replication session from replication databases. The format of the command is as follows:
nas_svc_dataprotection nasServer -action cleanupfsreplicationsession -fsId <FS replication version set ID>
displaydntasks
Display all data node tasks that are related to the NAS server replication session.
displaycltasks
Display all cluster tasks that are related to the NAS server replication session.
cleanupcltasks
Terminate all cluster tasks that are related to the NAS server replication session.
repair
Repair a NAS server replication database. The format of the command is as follows: