Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerStore Service Scripts Guide

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

FunctionSystem Operations
ModeNormal
UsageGeneral use
Requires service user password?No
Requires root privileges?No
May cause data unavailability?No
May cause data loss?No
ScopeCluster
PrerequisitesNone

Format

svc_nas run nas_svc_dataprotection -h {nasServer | remoteSystem | dpNetwork} {actions}

Optional arguments

QualifierDescription
-h, --helpShow 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}]
QualifierDescription
-h, --helpShow the help message and exit.
-vdmoidThe ID of the NAS server.
-actionPerform the specified action.
-fsoidThe ID of the file system replication version set.
-pathThe NAS server path.
ActionDescription
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.
displayinfoDisplay the NAS server in-memory replication session information.
validateValidate all replication databases for the NAS server.
cleanupdbClean up all databases that are related to the NAS server replication objects.
cleanupcmddbClean 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>
displaydntasksDisplay all data node tasks that are related to the NAS server replication session.
displaycltasksDisplay all cluster tasks that are related to the NAS server replication session.
cleanupcltasksTerminate all cluster tasks that are related to the NAS server replication session.
repairRepair a NAS server replication database. The format of the command is as follows:
nas_svc_dataprotection nasServer -action repair -path <path> -content <database content>
remove Remove a NAS server replication database. The format of the command is as follows:
nas_svc_dataprotection nasServer -action remove -path <path>
startsessionSpecify the ID of the file system start with the reverse option when reverse is set. The format of the command is as follows:
nas_svc_dataprotection nasServer -action startsession -fsoid <GUID> [-reverse]
stopsessionSpecify the ID of the file system stop with local mode when local is set. The format of the command is as follows:
nas_svc_dataprotection nasServer -action stopsession -fsoid <GUID> [-local]
failoversessionFail over the replication session of the specified file system. The format of the command is as follows:
nas_svc_dataprotection nasServer -action failoversession -fsoid <GUID>
switchoversession Switch over to another replication session. The format of the command is as follows:
nas_svc_dataprotection nasServer -action switchoversession -fsoid <GUID>
switchtoproductionmodeSwitch the NAS server to destination mode.

Arguments for remoteSystem

nas_svc_dataprotection remoteSystem [-h] {-list {-all | -inuse} -info -id <-rsid> -sessionID <session id> -add -remove -delete
QualifierDescription
-h, --helpShow the help message and exit.
-listList the remote systems. You can list either -all for all the remote systems or -inuse for only the systems in use.
-info Display information about a specified remote system from the database. The format of the command is as follows:
nas_svc_dataprotection remoteSystem -info -id <rsid>
-idThe ID of the remote system. The format of the command is as follows:
nas_svc_dataprotection remoteSystem -info -id <rsid> -sessionId <id> 
-sessionIdThe ID of the session. The format of the command is as follows:
nas_svc_dataprotection remoteSystem -info -id <rsid> -sessionId <id> 
-addAdd a specified session to a specific remote system. The format of the command is as follows:
nas_svc_dataprotection remoteSystem -add -id <rsid> -sessionId <id> 
-remove Remove a specified session ID from a specific remote system. The format of the command is as follows:
nas_svc_dataprotection remoteSystem -remove -id <rsid> -sessionId <id> 
-delete Delete the specified remote system database record. The format of the command is as follows:
nas_svc_dataprotection remoteSystem -delete -id <rsid>

Arguments for dpNetwork

nas_svc_dataprotection dpNetwork ]-h] -list {-all | -inuse} -info -repair -cleanuporphan -id <data protection network id> -silent
QualifierDescription
-h, --helpShow the help message and exit.
-listList the data protection networks. You can list either -all for all the remote systems or -inuse for only the systems in use.
-infoDisplay data protection network information.
-repairRepair the database record of the data protection network cluster.
-idThe ID of the data protection network.
-cleanuporphan Delete orphan data protection network interfaces.
-silentNo questions are asked.

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\