PowerStore - Reference Material-Service Commands
PowerStore - Reference Material-Service Commands
Service commands
Topic
Reference Material
Selections
Reference Material: Service Commands
REPORT PROBLEMS
If you find any errors in this procedure or have comments regarding this application, send email to
[email protected]
Copyright © 2022 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell
EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be
trademarks of their respective owners.
The information in this publication is provided “as is.” Dell Inc. makes no representations or warranties of
any kind with respect to the information in this publication, and specifically disclaims implied warranties of
merchantability or fitness for a particular purpose.
Use, copying, and distribution of any software described in this publication requires an applicable
software license.
This document may contain certain words that are not consistent with Dell's current language guidelines.
Dell plans to update the document over subsequent future releases to revise these words accordingly.
This document may contain language from third party content that is not under Dell's control and is not
consistent with Dell's current guidelines for Dell's own content. When such third party content is updated
by the relevant third parties, this document will be revised accordingly.
Dell Technologies Confidential Information- for internal use only version: 1.0.2.45
Page 1 of 119
Contents
Preliminary Activity Tasks .......................................................................................................3
Read, understand, and perform these tasks.................................................................................................3
Dell Technologies Confidential Information- for internal use only version: 1.0.2.45
Page 2 of 119
Preliminary Activity Tasks
This section may contain tasks that you must complete before performing this procedure.
Table 1 List of cautions, warnings, notes, and/or KB solutions related to this activity
2. This is a link to the top trending service topics. These topics may or not be related to this activity.
This is merely a proactive attempt to make you aware of any KB articles that may be associated with
this product.
Note: There may not be any top trending service topics for this product at any given time.
Dell Technologies Confidential Information- for internal use only version: 1.0.2.45
Page 3 of 119
Dell Technologies Confidential Information- for internal use only version: 1.0.2.45
Page 4 of 119
Dell EMC PowerStore Service Scripts Guide
Note: The next section is an existing PDF document that is inserted into this procedure. You may see
two sets of page numbers because the existing PDF has its own page numbering. Page x of y on the
bottom will be the page number of the entire procedure.
Dell Technologies Confidential Information- for internal use only version: 1.0.2.45
Page 5 of 119
Dell EMC PowerStore
Service Scripts Guide
Version 3.x
July 2022
Rev. A05
Page 6 of 119
Notes, cautions, and warnings
NOTE: A NOTE indicates important information that helps you make better use of your product.
CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid
the problem.
WARNING: A WARNING indicates a potential for property damage, personal injury, or death.
© 2020 - 2021 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Other trademarks may be trademarks of their respective owners.
Page 7 of 119
Contents
Additional Resources.....................................................................................................................6
Chapter 1: Introduction................................................................................................................. 7
Audience.................................................................................................................................................................................7
Running the service scripts............................................................................................................................................... 7
Contents 3
Page 8 of 119
Generate a root or recovery package key (svc_inject generate-key)........................................................... 42
Deactivate service escalation (svc_inject deactivate)...................................................................................... 42
View service escalation status (svc_inject status).............................................................................................43
Review system journal logs (svc_journalctl).............................................................................................................. 43
Install the PowerStore system (svc_manufacturing).............................................................................................. 45
Retrieve information system information (svc_mgmt_operations)......................................................................47
See command details (svc_mgmt_operations command_detail)................................................................... 49
Show and filter command records (svc_mgmt_operations command_hierarchy_for_cleanup).............51
Display the command tree (svc_mgmt_operations command_tree).............................................................52
Migrate a cluster or DVS to another vCenter (svc_migrate_to_vcenter).........................................................54
Migrate to vCenter (svc_migrate_to_vcenter migrate_to_vcenter)........................................................... 55
Restore the vCenter configuration (svc_migrate_to_vcenter restore_on_vcenter)............................... 55
Remove empty proxy switches (svc_migrate_to_vcenter fix restore issues)............................................ 56
Run service scripts using SSH tunneling (svc_nas)................................................................................................. 57
Download the ACL database of a file system (svc_nas nas_svc_acldb_dump).........................................58
Manage Dynamic Access Control (svc_nas nas_svc_dac).............................................................................. 59
Generate an SDNAS archive file (svc_nas nas_svc_dc).................................................................................. 60
Manage NAS servers (svc_nas nas_svc_nas)..................................................................................................... 61
Show statistics for NDMP and PAX backup sessions (svc_nas_nas_svc_paxstats)................................62
Run a Linux tcpdump (svc_nas nas_svc_tcpdump).......................................................................................... 63
Back up NAS server configuration (svc_nas_cbr)................................................................................................... 64
CIFS Support (svc_nas_cifssupport).......................................................................................................................... 65
Enable HA monitoring (svc_nas_enable_ha_monitoring)....................................................................................... 72
Advanced NAS settings (svc_nas_tools and svc_nas_global_tools).................................................................. 73
Upgrade or roll back a NAS node (svc_nas_ndu)..................................................................................................... 78
Repair NAS NDU (svc_nas_ndu_repair)..................................................................................................................... 79
(svc_nas_snap_cleanup)................................................................................................................................................ 80
See network information (svc_networkcheck).......................................................................................................... 81
Show ARP records cache settings (svc_networkcheck arp)...........................................................................82
Perform network and system checks (svc_networkcheck info).....................................................................83
Check server port availability (svc_networkcheck tracert)............................................................................. 83
Check the TCP port (svc_networkcheck tcp).................................................................................................... 83
Show network device driver and hardware information (svc_networkcheck ethtool)..............................84
Ping an IPv4 target (svc_networkcheck ping).................................................................................................... 85
Ping an IPv6 target (svc_networkcheck ping6)..................................................................................................86
Show network connections (svc_networkcheck netstat)................................................................................86
Perform a DNS check (svc_networkcheck dns).................................................................................................86
See system bond devices (svc_networkcheck bond_list)................................................................................ 87
Show interface names (svc_networkcheck interfaces)....................................................................................88
Reboot, shut down, and turn on a node (svc_node)............................................................................................... 89
Turn a node off (svc_node power_off)................................................................................................................ 90
Turn on the peer node (svc_node power_on)......................................................................................................91
Reboot a node (svc_node reboot).......................................................................................................................... 91
Shut down a node (svc_node shutdown)............................................................................................................. 92
Peer node status (svc_node status)...................................................................................................................... 93
Check and fix the NTP status (svc_ntp_ctl).............................................................................................................93
Disable password reset (svc_password_mgmt)....................................................................................................... 94
Enable and prevent passwords from being recovered (svc_password_mgmt_recovery)....................... 95
Troubleshoot and repair (svc_remote_support).......................................................................................................95
List the remote configuration (svc_remote_support list)................................................................................ 96
4 Contents
Page 9 of 119
Modify the remote support configuration (svc_remote_support_modify).................................................. 97
Modify contact information (svc_remote_support modify_contact)............................................................98
Reinitialize the remote support configuration (svc_remote_support reinitialize).......................................98
Restart SupportAssist (svc_remote_support restart)...................................................................................... 99
Check the connectivity status (svc_remote_support connectivity)............................................................. 99
Manage the remote syslog (svc_remote_syslog).....................................................................................................99
Remove appliance (svc_remove_appliance)............................................................................................................ 100
Repair software (svc_repair)........................................................................................................................................ 101
Service mode operation (svc_rescue_state)........................................................................................................... 102
Enable, disable, or display security protocols (svc_security_protocol)............................................................. 103
Grant service user access (svc_service_config).................................................................................................... 104
Gain root privileges (svc_service_shell)....................................................................................................................104
Software recovery (svc_software_recovery)......................................................................................................... 105
Connect to the peer node service container (svc_ssh_peer)............................................................................. 106
Monitor network traffic (svc_tcpdump)................................................................................................................... 107
View capacity metrics (svc_volume_space_metrics)............................................................................................108
Contents 5
Page 10 of 119
Preface
As part of an improvement effort, revisions of the software and hardware are periodically released. Some functions that are
described in this document are not supported by all versions of the software or hardware currently in use. The product release
notes provide the most up-to-date information about product features. Contact your service provider if a product does not
function properly or does not function as described in this document.
6 Additional Resources
Page 11 of 119
1
Introduction
PowerStore includes service scripts that enable you to diagnose issues, solve common problems, perform certain operational
tasks, and recover your system from an error state. These scripts provide in-depth level of information and a lower level of
system control than is available through other interfaces such as PowerStore Manager, CLI, and REST API. This document
describes these service scripts and how you can use them.
NOTE: The service scripts that are described in this document are a subset of the operating environment software tools
for servicing your system. You can use the CLI or REST API for scriptable system configuration for additional capability. For
more information about these interfaces, see the PowerStore CLI Guide and PowerStore REST API Developers Guide.
This chapter contains the following topics:
Topics:
• Audience
• Running the service scripts
Audience
Although no special knowledge is needed to run most of the service commands or understand the results, the service commands
are designed with storage system administrators, field service personnel, and support personnel in mind. The service commands
run on the PowerStore appliance's Linux-based operating environment. Ensure that you are familiar with the Linux shell,
associated commands, PowerStore's installed hardware, and the PowerStore operating environment.
Certain commands may require more training or require you to obtain root privileges. If the command description specifies more
training or greater privileges, do not run the commands without an approval from your authorized service representative.
Steps
1. Launch an SSH client, and connect to the cluster using the management IP address.
For example, in PuTTY, enter the management IP for the destination.
2. Enter the username and password for the service account to log in to the system.
Once logged in, you should be connected directly to the serviceability docker container.
3. Type the name of the script to run.
For example, to see the list of scripts, type the following: svc_help
Each script includes a --help option. Type a space and --help after the name of a script for usage information as seen in
the following example:
svc_diag --help
Introduction 7
Page 12 of 119
2
Service Commands
This chapter contains the following topics:
Topics:
• Shut down and reboot an appliance (svc_appliance)
• Provision an appliance (svc_appliance_provisioning)
• Capture array configuration data (svc_arrayconfig)
• Make space on the root partition (svc_cleanup)
• Clear firmware update (svc_clear_fw_update_alert)
• Shut down a SAN cluster (svc_cluster)
• Diagnose a create cluster failure (svc_cluster_diag)
• Cluster management (svc_cluster_management)
• Configure new SLICs (svc_commit_slic)
• Check status of or restart container (svc_container_mgmt)
• Support materials (svc_dc)
• System diagnostics (svc_diag)
• Check datapath stats (svc_dp_oos_check)
• Collect flash and NVMe statistics (svc_drive_stats)
• Reset or restart (svc_enclosure)
• Factory reset (svc_factory_reset)
• Get report on unreducible data (svc_get_unreducible_stats)
• Perform a health check on the appliance (svc_health_check)
• Help (svc_help)
• Hypervisor diagnostics (svc_hypervisor)
• Inject troubleshooting software tool (svc_inject)
• Review system journal logs (svc_journalctl)
• Install the PowerStore system (svc_manufacturing)
• Retrieve information system information (svc_mgmt_operations)
• Migrate a cluster or DVS to another vCenter (svc_migrate_to_vcenter)
• Run service scripts using SSH tunneling (svc_nas)
• Back up NAS server configuration (svc_nas_cbr)
• CIFS Support (svc_nas_cifssupport)
• Enable HA monitoring (svc_nas_enable_ha_monitoring)
• Advanced NAS settings (svc_nas_tools and svc_nas_global_tools)
• Upgrade or roll back a NAS node (svc_nas_ndu)
• Repair NAS NDU (svc_nas_ndu_repair)
• (svc_nas_snap_cleanup)
• See network information (svc_networkcheck)
• Reboot, shut down, and turn on a node (svc_node)
• Check and fix the NTP status (svc_ntp_ctl)
• Disable password reset (svc_password_mgmt)
• Troubleshoot and repair (svc_remote_support)
• Manage the remote syslog (svc_remote_syslog)
• Remove appliance (svc_remove_appliance)
• Repair software (svc_repair)
• Service mode operation (svc_rescue_state)
• Enable, disable, or display security protocols (svc_security_protocol)
• Grant service user access (svc_service_config)
• Gain root privileges (svc_service_shell)
• Software recovery (svc_software_recovery)
8 Service Commands
Page 13 of 119
• Connect to the peer node service container (svc_ssh_peer)
• Monitor network traffic (svc_tcpdump)
• View capacity metrics (svc_volume_space_metrics)
Usage
Function Diagnostic and recovery
Mode Normal or Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_appliance [-h] [-d] {reboot,shutdown}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-d, --debug Increase logging level to debug and print logs to console.
Actions
Action Description
reboot Reboot an appliance.
shutdown Shut down an appliance.
Service Commands 9
Page 14 of 119
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-f, --force Ignore warnings when starting the action; force reboot, which may result in data becoming unavailable.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-f, --force Ignore warnings; force shutdown, which may result in data becoming unavailable.
Usage
Function Configuration
Mode Service and Normal
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
10 Service Commands
Page 15 of 119
Prerequisites None
Format
svc_appliance_provisioning [-h] {enable,list,disable}
Optional Arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
enable Enable provisioning on the appliance.
list List provisioning on the appliance.
disable Disable provisioning on the appliance.
Usage Example
The following example shows appliance provisioning being disabled for appliance A2. After disablement, new storage objects are
not placed on appliance A2:
svc_appliance_provisioning disable A2
Usage
Function Diagnostic
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 Master appliance must be operating in normal mode.
Service Commands 11
Page 16 of 119
Format
svc_arrayconfig [-h] {run}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
run Capture the current cluster configuration.
Format
svc_arrayconfig run [-h] [-l file size in MB] [-c configuration file] [-m] [-f
{json,csv}]
[-t {full,delta,metrics,full_metrics}] [-b base directory]
[--timestamp timestamp] [--response path name]
[--ts TS] [--ts_query timestamp for sql query]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-l, --limit Specify a file size (in MB) limit. The default is no limit.
-t {full, delta, Specify the type of capture to perform. If the type is delta, then you must specify the
full_metrics, metrics}, --base option to also specify the base from which to produce the delta.
--type {full,delta,
metrics, full_metrics}
-b, --base The base directory from which to produce a delta. The base is an output directory of a
previous 'full' capture.
-f {json,csv}, --format The format of the output capture files. The default format is JSON.
{json,csv}
-c, --config Specify the configuration file to use to control the configuration capture.
-m, --master-only Only run if this command is being invoked from one of the nodes on the master appliance.
--timestamp The base timestamp used to derive the capture time range. Format is 'YYYY-MM-DD
HH:mm:SS'. Defaults to now if unspecified or empty string.
--response A path name that specifies where to write response data (if any).
--ts Timestamp to be set on filename and full metrics objects.
12 Service Commands
Page 17 of 119
Qualifier Description
--ts_query Timestamp to be used for sql queries.
Examples
The following example shows the script being run from the service container as root:
Usage
Function System Operations
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_cleanup [-h] [-a] [-j] [-c] [-t] [-d] [-y]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Service Commands 13
Page 18 of 119
Qualifier Description
-c, --coreDump Clean up stored core files.
-a, --all Clean up the data collections, core dumps, journals, logs, and temporary data collection
directory.
-j, --journalFiles Clean up the journal files.
Usage
Function Diagnostic
Mode Normal or Service
Usage General use
Requires service user password? No
Requires root privileges? Yes
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_clear_fw_update_alert [-h] {clear_alert}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
clear_alert Clears the firmware update alert on a given node.
14 Service Commands
Page 19 of 119
Positional arguments
Qualifier Description
A One node that is in a node pair.
B One node that is in a node pair.
Example
The following example shows the firmware update alerts being cleared on nodes A and B:
Usage
Function Diagnostic and Recovery
Mode Normal or Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Cluster
Prerequisites The master appliance must be operating in normal mode.
Format
svc_cluster [-h] [-d] [-f] {shutdown}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-f, --force Ignore warnings. Force a shutdown that might result in data becoming unavailable.
Service Commands 15
Page 20 of 119
Actions
Action Description
shutdown Shut down all the appliances in a SAN cluster.
This operation is only allowed for SAN clusters.
Usage
Function Diagnostic
Mode Normal and Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? Yes
Scope Node, cluster
Prerequisites None
Format
svc_cluster_diag [-h] [-w] [-d] [-e] [-i]
16 Service Commands
Page 21 of 119
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Example
The following output indicates that no logs are available and the system is running a support materials bundle after you have
entered the svc_cluster_diag -w command:
svc_cluster_diag -w
The log statements that are needed to collect information for the command:
'journalctl --utc -t control-path | egrep "\[CC\]" | grep WARN' are no longer
available
Would you like to perform a data collection? Please enter 'yes' or 'no'
yes
Usage
Function Recovery
Mode Normal
Usage Service
Requires service user password? N/A
Requires root privileges? Yes
May cause data unavailability? Yes
May cause data loss? No
Scope Appliance
Prerequisites None
Service Commands 17
Page 22 of 119
Format
svc_cluster_management [-h]
{GetClusterStatus,DetachFailedAppliance,PrepReattachAppliance,ReattachAppliance,MoveMaste
rAppliance}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
GetClusterStatus Display current cluster status.
DetachFailedAppliance Detach a failed appliance.
ReattachAppliance Reattach an appliance.
PrepReattachAppliance Prepare an appliance for reattachment.
MoveMasterAppliance Move the master role to a different appliance.
NOTE: Do not run perform the MoveMasterAppliance action if the data path is offline
or in a read-only mode. Performing the action at those times results in a loss of cluster
management.
svc_cluster_management status
---CLUSTER STATUS---
---APPLIANCE LIST---
id: 2
name: appliance_j8xxmd2
ip address: fd73:51fc:80d:0:201:4471:dcbb:4bce
online: False
id: 1
name: appliance_j8y1nd2
ip address: fd73:51fc:80d:0:201:4432:1df9:41da
online: True
svc_cluster_management detach
detach failed appliance success!
18 Service Commands
Page 23 of 119
3. Prepare to attach the appliance back to the cluster: svc_cluster_management prep_attach
svc_cluster_management prep_attach
prep reattach appliance success
svc_cluster_management attach
reattach appliance success
Steps
1. Run the following command to view the status of the appliances in the cluster: svc_cluster_management status
svc_cluster_management status
---CLUSTER STATUS---
---APPLIANCE LIST---
id: 2
name: appliance_j8xxmd2
ip address: fd73:51fc:80d:0:201:4471:dcbb:4bce
online: False
id: 1
name: appliance_j8y1nd2
ip address: fd73:51fc:80d:0:201:4432:1df9:41da
online: True
svc_cluster_management detach
svc_cluster_management prep_attach
svc_cluster_management attach
Service Commands 19
Page 24 of 119
Three types of objects must be configured when adding a SLIC and running the commit SLIC operation:
● Autodiscovered hardware objects: These objects include SFP and FEPort.
These objects are discovered automatically after the SLIC is inserted and before the commit procedure.
● Network configurations: These objects include the target and net device.
These objects are created during the commit procedure.
● Cluster-wide configurations: These objects include the IP port, remote target, and remote NVMe port.
These objects are created across the cluster, not just on the appliance.
Usage
Function System Operations
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_commit_slic [-h] [-v] {status,reset,activate,replay}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Qualifier Description
activate Activate the commit procedure.
If there are no SLICs that are ready to be committed, the service script returns an error message. Create
configuration (Targets, Network Devices, NVMe ports) for inserted IOMs.
replay Continue a failed commit procedure. In HA configurations, the commit operation is restarted automatically.
Replay should be used if either the activate or activate --resume command reports a failed state. It is a
best practice to retry the activate or activate --resume action before attempting the replay command.
status Show information about the SLICs in specific slots and objects that are configured on these SLICs.
20 Service Commands
Page 25 of 119
Qualifier Description
Use this command before running the activate command to check that all autodiscovered objects are
configured. After running the activate command, use the status command to confirm that the configuration
has been created successfully.
The status command also includes the option --raw that displays more information about the configured
objects in a JSON format.
reset Terminate the commit procedure if an unrecoverable failure occurs and reset the activation state machine. This
action does not clean the already created configuration. Use with caution.
Usage Examples
svc_commit_slic activate 1
Configure inserted SLICs with slot index 1
svc_commit_slic status 0
Show info about the SLICs, its children objects and activation state machine
status for specific SLICs
svc_commit_slic reset 0
Resets activation state machine, if there is no activation in progress.
svc_commit_slic replay 1
Recover and retry activation if previous run failes
Usage
Function System Operations
Mode Normal and Service
Usage General Use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Service Commands 21
Page 26 of 119
Format
svc_container_mgmt [-h] {status,restart}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
status Show the status of the container.
restart Restart the container.
Usage
Function Diagnostic
Mode Normal or Service
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_dc [-h] [-v] {run,delete,list,list_profiles,list_dumps,download,upload}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
22 Service Commands
Page 27 of 119
Qualifier Description
-v, --version Show the programs version number and exit.
Actions
Action Description
run Run a data collection.
delete Delete an existing data collection.
list List all data collections or details for one collection.
list_dumps List all system dumps for the entire cluster.
list_profiles List data collection profiles.
download Download an existing support materials bundle.
upload Upload an existing data collection.
Format
Optional arguments
Qualifier Description
-a, --appliances List of appliance IDs to include, in the format of A1, A2, and so on. Use svc_diag --
basic to find the ID of this appliance.
NOTE: The default value for this option is local appliance only.
-d, --description The text description associated with the data collection.
Service Commands 23
Page 28 of 119
Example
Generate a new support materials bundle on appliances APM00162303297and APM00152832910 using the Essential profile.
Gather support materials on the local appliance using the default profile. Each appliance in a cluster gathers its own support
materials archive and stores it locally on that appliance.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--debug Initiate verbose logging for debug.
-v, --verbose Initiate verbose command output.
--output {json} Show the output in JSON format.
Positional arguments
Qualifier Description
id Data collection index ID.
Example
The following example shows the svc_dc delete command being run in interactive mode. The command lists all collections; a
collection would be deleted when its index number is entered.
svc_dc delete
Index start_timestamp id
0 2019-09-15 19:01:24 b3a42a8a-874b-4dfa-b812-1e0a9a35f105
1 2019-09-15 20:25:26 d97e6a7a-4eeb-4edb-b6bc-c1e80f787576
2 2019-09-15 20:26:05 0fcd64ae-9b50-4143-8bba-af817b6e9910
3 2019-09-15 20:52:17 40bb350f-9924-4c3d-b982-ec3c61087442
4 2019-09-18 16:02:46 9f82faec-2d32-48ad-b40c-02a36c30ab09
5 2019-09-18 16:13:12 77aed64d-7282-45b7-a691-d069a05b009b
6 2019-09-18 16:13:46 a773fd98-ce53-4ce3-8b67-60dae42b03a9
24 Service Commands
Page 29 of 119
7 2019-09-18 18:24:35 a9ec44a0-09c2-47dc-baef-7a8e4a7bd3c3
8 2019-09-18 18:28:43 683a4339-0c25-4445-b5fc-9e9f16a5f4d0
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--debug Initiate verbose logging for debug.
-v, --verbose Initiate verbose command output.
--output {json} Specify the output format.
JSON is the only available output format. Without JSON, the command fails.
Positional arguments
Qualifier Description
id Specify the data collection index ID.
Example
Retrieve the list of support materials bundles on the master appliance using the verbose option to retrieve additional
information.
Service Commands 25
Page 30 of 119
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--debug Initiate verbose logging for debug.
-v, --verbose Initiate verbose command output.
--output {json} Render the output in JSON format.
Example
Retrieve the support materials profiles using the svc_dc list_profiles script. The following example lists all the valid
profile values:
svc_dc list_profiles
Name Prompt
essential Collect essential data.
detailed Collect detailed information.
hypervisor My problem may involve the hypervisor
controlpathHeapDump Collect CP information.
nas Collect NAS information.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--debug Initiate verbose logging for debug.
-v, --verbose Initiate verbose command output.
--output {json} Specify the output format.
Positional arguments
Qualifier Description
id Data collection index ID.
26 Service Commands
Page 31 of 119
Example
The following example would generate a list of the system dumps found on this cluster. The verbose option would include
additional information.
Format
svc_dc download [-h] [--debug] [-v] [--output {json}] --ip IP --path PATH
--username USERNAME [-do] [-so] [id]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--debug Initiate verbose logging for debug.
-v, --verbose Initiate verbose command output.
--output {json} Specify the JSON output format.
--ip Destination IP on the remote host.
--path Destination path on the remote host
--username Username for the remote host
-do, --dump_only Download dump data only.
Positional arguments
Qualifier Description
id Data collection index ID.
Service Commands 27
Page 32 of 119
Example
Run the following command to download a support materials bundle with the identifier 40bb350f-9924-4c3d-b982-
ec3c61087442 to the /home/eng directory:
Format
svc_dc upload [-h] [--debug] [-v] [--output {json}] [--skip-cp] [-f] [id]
Positional Arguments
Qualifier Description
id Unique identifier of the support materials bundle.
Optional Arguments
Qualifier Description
-h, --help Show the help message and exit.
--debug Initiate verbose logging for debug.
-v, --verbose Initiate verbose command output.
--output {json} Render output in the JSON format.
--skip-cp Upload support materials without CP, even if CP is working.
-f, --force Force an upload of support materials even if the materials are already uploaded.
Usage
Function Diagnostic
Mode Normal and Service
Usage General use
28 Service Commands
Page 33 of 119
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_diag [-h] [-v] {run,list}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
run Run a diagnostic check. For detailed subcommand usage, use the help flag (svc_diag run --help).
list List diagnostic information. For detailed subcommand usage, use the help flag (svc_diag list --help).
Service Commands 29
Page 34 of 119
Option Description
To view alerts, closed and acknowledged, in the last 24 hours, you can specify both these
arguments together. For example, --alerts --closed --acknowledged
--hardware List all information that is related to the hardware. You can specify the following additional
arguments to list information about specific components:
● --fault_status—List information from the fault status register
● --inventory—List the hardware inventory
● --sensors—List sensor information
● --sel—List serial log (SEL) information
● --firmware—List firmware information
● --local_drive—List local drive Smartdata information
● --dimm—List DIMM information
--storage List all information that is related to the storage. To view information about the RAID configuration
on the appliance, specify --raid as an additional argument.
--nvme_drive List all information about the nonvolatile memory express (NVMe) drives in the appliance.
--network List network configuration information. To view information about management network cabling,
specify --mgmt_cabling as an additional argument.
--icw_hardware List all information that is related to the hardware checks during initial configuration.
--workloads List information about the workloads, such as storage resources, hosts, and virtual machines, on
the appliance. You can specify the following additional arguments to list specific workloads:
● --jobs
● --sdnas
● --volume
● --hosts
● --host_groups
● --vm_vvols
--hypervisor List diagnostic information for the hypervisor. This information includes information about the
vSphere Installation Bundles (VIBs) and changes that are made after the installation.
--show_drives List the drives on the system.
--expansion_resume Show the output for any attached expansion shelves (DAEs) that are connected.
--cluster Show information about the cluster.
--services List all system services across nodes and containers.
--info Get information such as the node ID, appliance name, service tag, model, IP, and so on.
--energy_star List all the Energy Star-related information for the appliance.
Example
Use the following command to view local drive Smartdata:
30 Service Commands
Page 35 of 119
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Apr 2 19:25:58 2019 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
Example
Use the following command to list all the Energy Star-related information for the appliance:
Usage
Function Diagnostic
Mode Normal and Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_dp_oos_check [-h] [-dc] [-f]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Service Commands 31
Page 36 of 119
Qualifier Description
-f, --File Send the output to a log file.
Usage
Function Diagnostic
Mode Normal or Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_drive_stats [-h] [-v] {list,run}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
list List the drive statistics collection. For details, run the --sub_options argument (svc_drive_stats list --
smartData --sub_options).
run Run the drive statistics collection. For details, run the --sub_options argument (svc_drive_stats run --
<option> --sub_options).
32 Service Commands
Page 37 of 119
Usage
Function Diagnostic and Recovery
Mode Service
Usage Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_enclosure [-h] [-d] {reboot,power_cycle}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
reboot Reboot the BMC or SAM module on the enclosure. Only the BMC or SAM associated with the current node
can be reset.
power_cycle Power-cycle the local SAM module on the enclosure.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Service Commands 33
Page 38 of 119
Qualifier Description
-f, --force Ignore warnings and force a reboot.
CAUTION: A forced reboot might result in data becoming unavailable.
Positional arguments
Qualifier Description
bmc Specifies that you want to reboot the BMC.
sam Specifies that you want to reboot the SAM.
Usage example
The following example shows the command for rebooting the SAM module:
Format
Optional Arguments
Qualifier Description
-h, --help Show the help message and exit.
Usage example
The following example shows the command for power cycle the SAM module:
Svc_enclosure power_cycle
34 Service Commands
Page 39 of 119
● This script starts a system-wide operation that resets both nodes in the system to their factory-delivered
states.
● Only trained service personnel should run this script.
For more information about resetting an appliance back to the factory-delivered state, see the PowerStore Security
Configuration Guide.
Usage
Function Recovery
Mode Service
Usage Technical Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? Yes
Scope Appliance
Prerequisites ● Obtain a support materials bundle, and consult with your service provider.
● Ensure that both nodes in the appliance are in service mode.
Format
svc_factory_reset [-h] [-p POWERSTOREOS] [-c]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-p, --powerstoreos Use this option to factory reset the appliance to a different OS version.
-c, --healthcheck Use this option to only run the health check.
Usage
Function System Operations
Mode Normal or Service
Usage General use
Requires service user password? Yes
Service Commands 35
Page 40 of 119
Requires root privileges? Yes
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites PowerStoreOS 2.1
Format
svc_get_unreducible_stats [-h] {install,uninstall,execute,status,stop,list_results}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Qualifier Description
install Create a results folder in the SVC container. This argument also performs the following functions:
● Creates folders for scripts and results in the BSC container.
● Copies script files to the BSC container.
● Creates certificates files in the BSC container for REST calls to the CP.
uninstall Removes all script files and folders from the BSC container and deletes certificates.
Additional argument:
● --removes_local_results/-r [true/false]: Indicates whether to also delete result files in
the SVC container.
execute Runs the BSC script anew to get unreducible stats. If you want to stop the operation, press Ctrl+C to
trigger a graceful exit.
Additional arguments:
● --size_threshold/-s: VE-compressed size to be considered unreducible in the range of 0-4K. The
default is 3968.
● --rest_port/-r: Designates the port for rest calls to the CP. This argument is optional. The default
port is 443.
status Returns the run status of the script (not running or running and progress percentage).
stop Stops a script that is running.
list_results Returns a list of available result files in the BSC container.
get_results Copies a specific results file from the BSC container to the SVC container.
Additional argument:
● --file_name /-f: The name of the file to be copied.
recover Recovers the previous run based on the results file.
Additional arguments:
● --size_threshold /-s: VE-compressed size to be considered as unreducible in the range 0-4K.
Optional. The default is 3968.
● --file_name /-f: The name of file to recover.
36 Service Commands
Page 41 of 119
Perform a health check on the appliance
(svc_health_check)
This service script enables you to perform a health check on an appliance and list other appliance health checks.
Usage
Function Diagnostic
Mode Normal or Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_health_check [-h] {run,list,list-profiles,list-health_checks}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Qualifier Description
run Start an appliance health check.
list List the preview health checks.
list-profiles List the profiles health checks.
list-health_checks List the health checks.
Help (svc_help)
This service script lists the available service scripts.
Usage
Function System operations
Service Commands 37
Page 42 of 119
Mode Normal or Service
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_help [-h] [-a] [-s SCRIPT]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Usage
Function Diagnostic
Mode Normal and Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites Only applies to PowerStore X model appliances.
38 Service Commands
Page 43 of 119
Format
svc_hypervisor [-h] {run}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
run Collect support materials from the hypervisor on the appliance. Use the -o or -output argument to specify a
directory where you want to save the collected materials.
Example
The following command shows support materials being collected and saved:
Finished successfully.
/home/user32/hypervisor/download/esx-H0111-host-1-2019-05-01--10.48-2358636.tgz
Script svc_hypervisor finished successfully
Usage
Function Recovery
Mode Normal
Usage Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Service Commands 39
Page 44 of 119
Scope Node or Appliance
Prerequisites Ensure that you copy the tool or package to the primary node on the appliance.
Format
svc_inject [-h] {status,info,generate-key,run,deactivate,delete}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
run Install the service tool or package you have specified or enable service escalation.
delete Delete an injected service tool or package.
info Display information about a specific package.
generate-key Generate a root or SupportAssist recovery package key.
deactivate Deactivate the service escalation.
status Report the service escalation status.
Format
Optional Arguments
Qualifier Description
-h, --help Show the help message and exit.
-s, --single Specify this argument to install the tool on the current node only.
Positional Arguments
Qualifier Description
package The full path to the package OR the response key for the root injection key.
40 Service Commands
Page 45 of 119
Example
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Qualifier Description
tool_name Name of the injected tool.
Example
Format
Service Commands 41
Page 46 of 119
Optional Arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Qualifier Description
tool_name The name of the injected tool.
Format
Optional Arguments
Qualifier Description
-h, --help Show the help message and exit.
-s, --srs Specify this argument to generate a SupportAssist recovery package key.
Example
svc_inject generate-key -r
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
42 Service Commands
Page 47 of 119
Example
svc_inject deactivate
Format
Optional Arguments
Qualifier Description
-h, --help Show the help message and exit.
Example
svc_inject status
INFO: Access is currently DISABLED
INFO: Current attempt is: 0 (MAX: 3)
Usage
Function Diagnostic and Recovery
Mode Service
Usage Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Service Commands 43
Page 48 of 119
Format
svc_journalctl [-h][-r][-b ID][-k][-t value][-p value][-g value][--case-sensitive=TRUE/
FALSE][-S value][-U value][--system][--user][-D value][--file value][-f][--output-fields
value]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-b, --boot Show current boot or the boot for the specified ID.
-k, --dmesg Show the kernel message log from the current boot.
-g, --grep Filter output to entries where the specified field matches the specified regular expression.
--case-sensitive Make pattern matching case sensitive or case insensitive. Valid values are TRUE or FALSE.
-S, --since Show entries not older than the specified date.
-U, --until Show entries not newer than the specified date.
--system Show the system journal.
--user Show the user journal for the current user.
-D, --directory Show journal files from the specified directory.
--file Show the specified journal file.
-f, --follow Show only the most recent journal entries, and continuously print new entries as they are appended to
the journal.
--output-fields Show a comma-separated list of the fields that you want to include in the output.
Fields
The system journal contains entries with information (binary data) stored in fields with specific meaning. In addition, you can
use the optional arguments to filter the information that is based on these fields or on the value that these fields contain. For
example:
● The following command establishes a basic field matching query to view log messages associated with the Platform
component. The command has a marker value of NDU and a message priority level of ERROR:
● The following command enables you to search for a specific case-sensitive text pattern in the log messages associated with
the Platform component:
For more information about the journal fields, see System Journal Fields on page 110.
44 Service Commands
Page 49 of 119
Output Format
When you run the script, the output appears in a set order of default fields. The following is a sample of the default output from
the script:
Where:
Field Value
__REALTIME_TIMESTAMP 2019 Mar 11 14:51:45
_HOSTNAME FNM00175000815-A
PRIORITY DEBUG
MARKER CC
COMPONENT CP
SUB_COMPONENT bedrock.config.ConfigManagerVerticle
THREAD_NAME vert.x-eventloop-thread-0
CONTEXT_ID no_ctx_id
MESSAGE Starting to set injector.
If you want to view additional fields in the output, specify them in the --output-fields argument. For example:
svc_journalctl --output-fields=CODE_LINE,CODE_FUNC
Where:
Field Value
CODE_LINE [814]
CODE_FUNC [validatePlatformResponseStateTask]
Usage
Function Configuration
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? Yes
May cause data unavailability? Yes
Service Commands 45
Page 50 of 119
May cause data loss? Yes
Scope Node or appliance
Prerequisites None
Format
svc_manufacturing [-h] [--firmware_report_full] [--check_mfg_mode_flag]
[--health_check] [--disable_kernel_messages]
[--eve_args EVE_ARGS] [--show_reinit_states]
[--firmware_report] [--stack_up] [--show_ssd]
[--show_network] [--show_dare]
[--network_ip_and_gateway NETWORK_IP_AND_GATEWAY]
[--run_all_triage] [--show_psus] [--verify_stack_up]
[--hardware_report] [--eve_download]
[--disable_network] [--verify_stack_down]
[--stack_down] [--enable_network]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--health_check Perform a health check.
--eve_args Show the arguments for the eve_download command.
--firmware_report Show firmware information.
--stack_up Bring the stack up.
--show_network Display network interfaces with IP addresses.
--network_ip_and_gateway Specify the network IP or netmask gateway.
--show_psus Show power supply information.
--eve_download Download the EVE.
--hardware_report Display resume information.
--enable_network Enable the network.
--stack_down Bring the stack down.
--firmware_report_full Show detailed firmware information.
--check_mfg_mode_flag Verify that the manufacturing process is not still in progress.
--disable_kernel_messages Turn off kernel debug messaging.
--show_reinit_states Display the contents of the cyc_state directory.
--show_ssd Display SSD information.
--show_dare Display D@RE information.
--run_all_triage Run the full suite of triage commands.
--verify_stack_up Verify that the operating system stack is up.
--disable_network Disable the network.
--verify_stack_down Verify that the operating system is in the factory state.
46 Service Commands
Page 51 of 119
Example
The following example shows how to enable the network, specifying the network IP address and gateway:
Usage
Function Diagnostic
Mode Normal or Service
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_mgmt_operations [-h]
{all_locks,all_top_level_commands,command_tree,commands_by_type,pending_locks,granted_loc
ks_with_pending_locks,command_type_summary,failed_top_level_commands,command_by_id,locks_
by_command_id,locks_by_resource_id,command_hierarchy_for_cleanup,command_detail}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
all_locks Query the lock request table for all locks.
all_top_level_commands Query the command table for all top-level successful commands.
command_tree Query the command tree.
commands_by_type Query the command table by the command type.
Service Commands 47
Page 52 of 119
Action Description
command_type_summary Query the command table by the type summary.
failed_top_level_commands Query the command table for all top-level failed commands.
command_by_id Query the command table by the command ID.
locks_by_command_id Query the lock request table by the command ID.
locks_by_resource_id Query the lock request table by the resource ID.
pending_locks Query for all pending locks.
granted_locks_with_pending_locks Query all granted locks with pending locks.
command_hierarchy_for_cleanup Show the hierarchy and all associated records for given commands.
command_detail Query command details.
Example
The following command reports information for the command tree for single or multiple commands, depending upon which
option is chosen:
48 Service Commands
Page 53 of 119
0:00:00.664000, 2019-03-19 16:22:56.681000+00:00 / 2019-03-19 16:22:57.345000+00:00
=========================================================================================
===========
=========================================================================================
===========
=========================================================================================
===========
+ ApplianceRemoteSupportConnectivityStatusCommand: 8148cc9d-9aa7-44cc-b66c-5a5d495b1e25
- 0:00:00.004000, 2019-03-19 20:07:57.130000+00:00 / 2019-03-19 20:07:57.134000+00:00
Usage
Function Diagnostic
Mode Normal or Service
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
Service Commands 49
Page 54 of 119
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--command_id Show the command by ID.
--command_type Show commands that match the specified command type.
--command_state Show commands that match the specified command state.
--start_before Show commands that started before the specified time.
--end_before Show commands that ended before the specified time.
--start_after Show commands that started after the specified time.
--end_after Show commands that ended after the specified time.
--processing_longer_than Show commands with a processing time longer than the specified interval.
--processing_shorter_than Show commands with a processing time shorter than the specified interval.
--top_level_commands Filter nontop-level commands.
--response_status Show commands that match the specified response status.
--response_state Show commands that match the specified response state.
Example
The following example shows detailed output for the command svc_mgmt_operations command_detail when searching
for error responses within a one-day period:
50 Service Commands
Page 55 of 119
messages : [{"code": "0xE0D010020005", "@class":
"com.emc.bedrock.core.LocalizableMessage", "severity": "ERROR", "arguments": ["Failed to
get the token"], "description": null, "localizedMessage": null, "resourceBundleName":
"com.emc.cyclone.messages.elicense.Elicense", "encodedLocalizedJson": null}]
json response : {}
Usage
Function Diagnostic
Mode Normal or Service
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
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--command_type Show commands that match the specified command type.
--command_state Show commands that match the specified command state.
--start_before Show commands that started before the specified time.
--end_before Show commands that ended before the specified time.
--start_after Show commands that started after the specified time.
--end_after Show commands that ended after the specified time.
--processing_longer_than Show commands with a processing time longer than the specified interval.
Service Commands 51
Page 56 of 119
Qualifier Description
--processing_shorter_than Show commands with a processing time shorter than the specified interval.
--top_level_commands Filter nontop-level commands.
--response_status Show commands that match the specified response status.
--response_state Show commands that match the specified response state.
Positional arguments
Qualifier Description
command_ids Show the hierarchy of commands; enter each UUID separated by commas.
Example
The following example shows a query and output for finding running and initial commands:
Usage
Function Diagnostic
Mode Normal or Service
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
52 Service Commands
Page 57 of 119
NOT_FOUND_ERROR,ERROR,INTERNAL_ERROR,UNKNOWN,RUNNING,CANCELLED,UNRECOVERABLE_ERROR,
BUSY} ...]]] [--response_state {CREATED,ACKNOWLEDGED}]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--all_commands Show top-level commands with the response status OK.
--failed_commands Show top-level commands with the response status ERROR.
--command_id Show the command by ID.
--command_type Show commands that match the specified command type.
--command_state Show commands that match the specified command state.
--start_before Show commands that started before the specified time.
--end_before Show commands that ended before the specified time.
--start_after Show commands that started after the specified time.
--end_after Show commands that ended after the specified time.
--processing_longer_than Show commands with a processing time longer than the specified interval.
--processing_shorter_than Show commands with a processing time shorter than the specified interval.
--top_level_commands Filter nontop-level commands.
--response_status Show commands that match the specified response status.
--response_state Show commands that match the specified response state.
Example
The following example shows the output for the command svc_mgmt_operations command_tree when searching for
error responses within a one-day period:
=========================================================================================
===========
=========================================================================================
===========
Service Commands 53
Page 58 of 119
=========================================================================================
===========
Completed Query command tree using filter (end_time < (current_timestamp - interval '1
day')) AND (response_status = 'ERROR')
Usage
Function Diagnostic
Mode Normal or Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope vCenter
Prerequisites None
Format
svc_migrate_to_vcenter [-h] [--force] [--verbose] [--debug] [--quiet]
{restore_on_vcenter,migrate_to_vcenter,fix_restore_issues}
Optional arguments
Action Description
-h, --help Show this help message and exit.
--force Ignore warnings; force a reboot that might result in data becoming unavailable.
--verbose Initiate verbose logging for debugging.
--debug Increase the logging level to debug and print logs to the console.
--quiet Suppress any additional prompts or messages.
54 Service Commands
Page 59 of 119
Actions
Action Description
restore_on_vcenter Restore the vCenter configuration if access to the previous vCenter is lost.
migrate_to_vcenter Migrate PowerStore from one vCenter to another.
fix_restore_issues Remove empty proxy switches from ESXs if needed. Run this command if prompted by the
restore_on_vcenter or migrate_to_vcenter commands.
Format
Optional arguments
Action Description
-h, --help Show this help message and exit.
--generate_config Only generate template config and finish.
Positional arguments
Action Description
config JSON config file that should have the following structure:
Service Commands 55
Page 60 of 119
Format
Optional arguments
Action Description
-h, --help Show the help message and exit.
--generate_config Only generate the template configuration and finish.
Positional arguments
Action Description
config The JSON config file should have the following structure:
Format
Optional arguments
Action Description
-h, --help Show the help message and exit.
--generate_config Only generate the template configuration and finish.
56 Service Commands
Page 61 of 119
Positional arguments
Action Description
config The JSON config file that should have the following structure:
Usage
Function Diagnostic
Mode Normal or Service
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 [-h] [-d]{download,list,run}
Optional arguments
Action Description
-h, --help Show this help message and exit.
-d, --debug Increase logging level to debug and print logs to console.
Actions
Action Description
download Download files generated by the NAS scripts. svc_nas download <username> <destination ip-address>
<destination path>. A list of available files is presented with the option to select multiple files at once to
download.
list List the supported NAS scripts.
Service Commands 57
Page 62 of 119
Action Description
run Run the specified NAS service script in the format: svc_nas run <script> <script-options>.
Script Description
nas_svc_acldb_dump Downloads the ACL database of an online file system.
nas_svc_dac Enables you to manage Dynamic Access Control (DAC).
nas_svc_dc Generates an archive file with SDNAS materials.
nas_svc_nas Enables you to manage NAS servers.
nas_svc_paxstats Displays advanced statistics for NDMP and PAX backup sessions.
nas_svc_tcpdump Enables you to run a Linux tcpdump operation.
Usage
Function Diagnostic
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? Yes
May cause data unavailability? Yes
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_nas nas_svc_acldb_dump [-h] {<NAS server name> options} [-d] [-fs <file system
name>] [-o <target directory>]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
58 Service Commands
Page 63 of 119
Qualifier Description
-fs Specify the file system by name.
-o, --outpath Specify the target directory. If the directory does not exist, it is created.
Usage
Function System Operations
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_nas nas_svc_dac [-h] [-e {ALL}] [-d {ALL}] [-s {ALL}] [--cap-staging-enable
<system name>] [cap-staging-disable <system name>] [-v <level>] [-i system name {--
dn <distinguished policy name>}] [-p <compname> --dn <policy_dn>] [-v] [--delete] [--
add-recovery-rule <system name> --rule-name rule name {--resource-condition <resource
condition>} {--effective-security <effective_security>}] [--delete-recovery-rule <system
name> --rule-name <rule name> {--resource-condition <resource condition>} {--effective-
security <effective_security>}]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-e, --enable Enable DAC on the system VDM. You must specify ALL.
-d, --disable Disable DAC on the system VDM. You must specify ALL.
-s, --state Show the current state of DAC on the system VDM. You
must specify ALL.
--cap-staging-enable Enable evaluation of proposed permissions for the system
VDM.
--cap-staging-disable Disable evaluation of proposed permissions for the system
VDM. This setting is the default.
-v, --verbosity Set the level for log messages associated with the system
VDM. Specifying a dbg2 or dbg3 level reduces system
performance.
-i, --info Show details of all policies in the policy manager.
Service Commands 59
Page 64 of 119
Qualifier Description
-p, --preload Load the policy with the specified distinguished name into
the policy manager associated with the Active Directory
system name.
-r, --refresh Refresh all policies in the policy manager associated with the
Active Directory system name. Policies that no longer exist
in the Active Directory are deleted.
-d, --delete Delete the policy with the specified policy ID from the policy
manager associated with the Active Directory system name.
--add-recovery-rule Add a recovery rule with the specified distinguished name
to the policy manager associated with the Active Directory
system name.
You can specify the following with this command:
● The rule name is the name of the new rule.
● --resource_condition is an expression that is used
to determine the resources the new recovery rule applies
to. Omitting this option (or specifying the empty string)
means that the new rule is applicable to all resources.
● --effective security is an SDDL ACL that
specifies the effective security for the new recovery rule.
--delete-recovery-rule Delete a recovery rule with the specified distinguished name
to the policy manager associated with the Active Directory
system name.
Usage
Function System Operations
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Node
Prerequisites None
60 Service Commands
Page 65 of 119
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-collect Collect SDNAS materials (default).
-noEtc Do not collect the .etc directory of the NAS servers.
Usage
Function System Operations
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Node
Prerequisites None
Format
Optional arguments
Qualifier Description
-cava Manages the anti-virus service settings of the specified NAS server.
-dbms Perform the operation on databases.
-dns Display the DNS settings of the NAS server and perform a DNS lookup.
-ds Display the Windows Directory Service.
-file Upload or download a file to the .etc directory of the NAS server.
-kerberos Display the current Kerberos settings of the NAS server.
Service Commands 61
Page 66 of 119
Qualifier Description
-ldap Display the LDAP settings of the NAS server and perform LDAP operations.
-list Display the list of NAS servers.
-lockd Manage file locks on the NAS servers.
-nis Display the NIS settings of the NAS server and perform an NIS lookup.
-param Manage the parameters of the NAS server.
-restart Restart the specified NAS server.
-vhdx Display VHDX metadata (Hyper-V virtual disk files).
Usage
Function Diagnostic
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
Optional arguments
Qualifier Description
-stats Display the NDMP and PAX backups statistics counters that are in progress.
● -verbose: Display the NDMP and PAX backups advanced statistics counters that are in progress.
● -reset: Reset the NDMP and PAX backups statistics counters.
Positional arguments
Qualifier Description
SVDM_A NAS server A.
SVDM_B NAS server B.
62 Service Commands
Page 67 of 119
Qualifier Description
ALL Both NAS servers.
Usage
Function Diagnostic
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_nas nas_svc_tcpdump [-h] [-i <interface>] [-w <file name>] [-W <rotations>] [-C
<size>] [-s <number of bytes>]
[-t {1,2,3,4}] [-v {1,2,3}] [-D] [-F <filter file>] [-e] [-n] [-q] [-T <timeout>] [-p
<path>] [-y <data link type>] [-L] [-K <tcpdump session ID>]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-w, --filename Specify the base file name for the output files. The default
name is dump.out.
-W, --rotations Specify the number of files for output. The default is 5. The
maximum number is 20.
-C, --size Specify the size of each output file in MB. The default is 50.
The maximum size is 200.
-s, --snaplen Capture this specified number of bytes of data from each
packet rather than the default 65535. 0 means the default
value.
Service Commands 63
Page 68 of 119
Qualifier Description
-t, --timestamp Add the corresponding number (1, 2, 3, or 4) to the
timestamp command to specify how you want the timestamp
to appear in the output:
1. Do not print a timestamp on each dump line.
2. Print an unformatted timestamp on each dump line.
3. Print a delta (in microseconds) between current and
previous line on each dump line.
4. Print a timestamp in the default format preceded by the
date on each dump line.
-v, --verbosity Specify the verbosity of the output, with 3 being most
verbose.
-D, --dump_intfs Print the list of the network interfaces available on the
system and on which the tcpdump operation can capture
packets.
-F, --input _expr Use the file as input for the filter expression. The file should
be in the tcpdump directory.
-e, --llheader Print the link-level header on each dump line.
-p, --path Specify the path for the output file storage; the default
is /opt/sdnas/log/svc_output. The path that is
specified must be an existing directory under /opt/
sdnas/log/svc_output.
-y, --dlink Set the data link type to datalinktype to use while
capturing packets.
-L, --list List active tcpdump sessions.
Usage
Function Diagnostic and Recovery
Mode Service
Usage Service
64 Service Commands
Page 69 of 119
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_nas_cbr [-h] [-b]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Example
Use the following command to back up your NAS server configuration:
svc_nas_cbr --backup
http://fd9f:1e6a:2ab0::201:4438:71f7:d:3085/api/instances/supportMaterial/5ccac68b-
a14a-66e7-863e-9ada1b00938e
CBR file: SDNAS_cbr_data_20190502_102926UTC.tar created on node 2
NOTE: Ensure that you run this script on the primary node of the appliance.
Usage
Function Diagnostic
Mode Normal or Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Service Commands 65
Page 70 of 119
Prerequisites None
Format
svc_nas_cifssupport [-h] [--server SERVERNAME] [--args NAS_CMD_ARGS]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--args NAS service command arguments.
NOTE: Arguments must be preceded by hyphens. For example: svc_nas_cifssupport --args="<>"
Positional arguments
Qualifier Description
--server Specify the name of the NAS server you want to run the specific action on.
Options
Use the --args argument to specify additional options.
[-h | -help | --help | <no option>]
Display help and exit. Use this option with svc_nas_cifssupport to view the top-level options
for the command. To view the options and parameters for a top-level option, use the -help option
after the top-level option. For example, the output of svc_nas_cifssupport --server nas 1
--args="-setspn -help" provides detailed usage information about the -setspn option.
-accessright
Compute the effective access rights for a user on a file system resource.
Usage:
66 Service Commands
Page 71 of 119
| -resetall
{[-path <path>]
| [-owner]
| [-group]
| [-dacl]
| [-sacl]}}"
-path <pathname>
Display the ACL of the pathname.
-stop_on_symlink
Display the ACL of the symbolic link, instead of the target of the link.
-verbose
Display more information about the ACL.
-aclext
Dump additional details about conditional ACEs and resource attributes that are present.
-fs <filesystem_name>
Name of the file system.
-printstats
Get the ACL statistics on the file system.
-resetall
Reset all ACL on the file system (set everyone with full control).
-path <path>
Copy ACL of the given path to all the other files of the file system. If you specify one of the
following options (-owner, -group, -dacl, and -sacl), copy only the relevant items. You
can use these options together or combine them as you need.
-owner
Reset owners.
-group
Reset groups.
-dacl
Reset DACL.
-sacl
Reset SACL.
-audit
Audit the current CIFS (clients) connections on the SMB server.
Usage:
-user <user_name>
Audit connections for the specified user.
-client <client_name>
Audit connections for the specified client or IP address.
-full
Display more details about the file opens per connection.
-builtinclient
Audit the current domain controller connections on the SMB server built-in client.
Usage:
-checkup
Service Commands 67
Page 72 of 119
Perform internal configuration tests to discover the root cause of potential configuration or
environmental errors.
Usage:
-full
Perform additional tests, which could take a significant amount of time.
-info
Display information about the test that is executed by the command.
-cred
Display or build a Windows user credential. Use this command to troubleshoot user access control
issues.
Usage:
-credext
Include additional details of the claims that are present in the Kerberos ticket. This is only for
Dynamic Access Control (DAC).
-gpo
List (-info) or force update (-update) the Windows global policy objects (GPOs) that are applied to
the SMB server.
Usage:
-homedir
Enable or disable the SMB home directories. Once the feature is enabled, a homedir file containing the
name of the SMB users and their related home dirctory must be uploaded to the NAS server using the
uemcli /net/nas/server CLI command. Once this is done, SMB users can connect to the SMB
HOME share.
Usage:
[-enable]
Enables the home directories feature.
68 Service Commands
Page 73 of 119
[-disable]
Disables the home directories feature.
-Join
Join the specified server to a Windows Active Directory (AD) domain, move it to another organizational
unit (OU), or collect information about it from the Domain Controller (DC).
Usage:
-admin <admin_name>
Specify an account that has administrator privileges on the specified domain. The password
must be provided when prompted.
-ou <organizational_unit>
Specify the OU in which to place or move the specified computer.
-option {reuse | resetserverpasswd | -addservice=nfs}
reuse
Allow the specified computer to join the server by taking ownership of an existing
computer account in the Windows AD domain that matches the computer name that is
specified in the command.
resetserverpasswd
Reset the server password on the DC.
-addservice=nfs
Add an NFS SPN for the specified server in Active Directory for secure NFS.
-logontrace
Log user or machine logon attempts for the specified IP address or for all clients when no IP address is
specified.
Usage:
-lsarpc
Query the specified Windows user identify for an account specified by user name or SID (security
identifier) and return the corresponding Unix UID.
Usage:
-nb <comp_name>
Specify the netbios name of the server.
-user <user_name> | -sid <SID>
Specify the username or the SID.
hex=<0/1>
Specify if the SID is given in decimal (0) or hexadecimal (1) format.
-priv
List all available privileges on the domain. This can be used to resolve foreign language issues.
-nltest
Simulate an NTLM user authentication on the server by specifying a domain user name and password
pair. Use this command to troubleshoot connection issues or test DC connections. This command only
applies to servers that are joined to a Windows domain.
Service Commands 69
Page 74 of 119
Usage:
-wkst <client_name>
Optionally set a workstation name in the NTLM request.
-pdcdump
Display information about every SMB server DC in use at the NAS server level. This command only
applies to servers that are joined to a Windows domain.
Usage:
-pingdc
Check the network connectivity of the CIFS server that is specified by the NetBIOS name or computer
name with a domain controller. Once connectivity is established, the command verifies that a CIFS
server can access and use the domain controller services. This command only applies to servers that are
joined to a Windows domain.
Usage:
-samr
Query the groups a user belongs to using either the user name or SID.
Usage:
-secmap
Access the Secure Mapping database that acts as a cache mechanism to relate Windows SIDs to UNIX
UIDs.
NOTE: Modifying a SID to UID mapping can impact security. Use with caution.
Usage:
-list [ -user <user_name> -domain <domain_name> | -domain <domain_name> | -sid <SID> | -uid
<user_id> | -gid <group_id> ]
Access the Secure Mapping database that acts as a cache mechanism to relate Windows SIDs
to UNIX UIDs.
-create {-name <name> -domain <domain_name> | -sid <SID> }
Add a new mapping entry in the Secure Mapping database.
-update {-name <name> -domain <domain_name> | -sid <SID> }
Update a mapping entry from the Secure Mapping database.
70 Service Commands
Page 75 of 119
-delete {-name <name> -domain <domain_name> | -sid <SID> }
Delete a mapping entry from the Secure Mapping database.
-export [-file <filename>]
Export Secure Mapping database to the specified file.
-import -file <filename>
Import Secure Mapping database from the specified file.
-report
Display Secure Mapping database health and content.
-setspn
Manage Windows security principals (SPNs) of the specified computer that is joined to AD.
NOTE: SPNs are required for domain configurations in which the DNS domain is different than
authentication domain (Kerberos realm). For example, if the DNS server zone includes a DNS
CNAME record that maps compname.<domain1 FQDN> to compname.<server's domain
FQDN>, then the SPN host compname.<domain1 FQDN> must be added for the compname.
Usage:
-list compname=<comp_name>
Display all SPNs for the specified FQDN server, both for the SMB server and for the KDC
Windows AD entry.
-add <SPN> compname=<comp_name>,domain=<full_domain_name>,admin=<admin_name>
Add the specified SPN to both the NAS server and AD.
-delete <SPN>
Delete the specified SPN for both the NAS server and AD.
-smbhash
Troubleshoot issues with the Microsoft Windows Branch caching mechanism. BranchCache V1 and
BranchCache V2 are supported.
Usage:
Service Commands 71
Page 76 of 119
-exclusionfilter <filter>
Do not generate an SMB hash file for files that match the exclusion filter.
-audit {enable | disable} [-task] [-service] [-access]
Enable the generation of audits in the smbhash event log.
-cleanup <fs_name> [-all | -unusedfor <days> | -unusedsince <date>
Clean up the SMB hash files for the specified file system.
-Unjoin
Unjoin the specified machine from its AD domain. If dynamic DNS is employed, the entry is removed
from AD and DNS. The password for the specified account with domain administrator privileges must be
provided when prompted.
Usage:
Example
Use the following command to view the ACL for the smbshare share on the nas1 NAS server:
nas1 :done
Share : \\\\nas1\\smbshare
UID : 0
GID : 1
Rights : rwxr-xr-x
Enable HA monitoring
(svc_nas_enable_ha_monitoring)
This service script enables NAS HA services on the node that runs these services, and automatically brings up the NAS node.
Usage
Function Diagnostic
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 NAS node
Prerequisites None
72 Service Commands
Page 77 of 119
Format
svc_nas_enable_ha_monitoring [-h] -e
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Required arguments
Qualifier Description
-e This option triggers a NAS HA monitoring start operation from the node where it is executed. This option is
preferable in case the NAS HA monitoring service must be re-enabled.
Usage
Function Diagnostic
Mode Normal or Service
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
Service Commands 73
Page 78 of 119
Format
svc_nas_tools [-h] [--server SERVERNAME] [--args NAS_CMD_ARGS]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--args NAS_CMD_ARGS Service command arguments.
NOTE: A double hyphen must precede the arguments. For example: svc_nas_tools --
args="<value>"
Options
Use the --args argument to specify the following additional options:
[-h | -help | --help | <no option>]
Display help and exit. Use this option with svc_nas_tools to view the top-level options for a
command. To view the options and parameters for a top-level option, use the -help option after the
top-level option. For example, the output of svc_nas_tools --server nas 1 -args="-stats
-help" provides detailed information about the -setspn option.
-cava
Display the status of antivirus service of the NAS server, including the connection state to Celerra
AntiVirus Agent (CAVA) servers, the number of files checked and their progress.
Usage:
-stats
Display statistics counters of the antivirus service.
-set accesstime={ now | none | [[[[yy]mm]dd]hh]mm[.ss] }]
Enable scan-on-first-read and change the access time setting, where:
● Specify now to Enable the scan-on-first-read feature and set the reference time to now.
● Specify none to disable the scan-on-first-read feature.
● Specify [[[[yy]mm]dd]hh]mm[.ss] to enable the scan-on-first-read feature and set the
reference time according the specified value.
-fsscan [ <fs_mountpath> { -list | -create | -delete }
Start, stop, or view the status of a full file system scan, where:
● <fs_mountpath> option enables you to specify the location of the file system to be scanned.
● The -list option displays the scan status for the specified file system.
● The -create option initializes a full scan on the file system <fs_name> and the offline
options allow the file system scan on all offline files. By default, offline file systems are not
included.
● The -delete option stops the scan.
74 Service Commands
Page 79 of 119
NOTE: If no file system is specified, this option displays the file system scan status for all
file systems.
-dbms
Manage NAS server databases.
Usage:
-list [<dbName>]
Display NAS server databases.
-compact [<dbName>]
Compact NAS server databases.
-stats [-reset]
Display statistics about NAS server databases.
-backup -target <pathname>
Perform an online backup of the NAS server database environment.
-restore -source <pathname> [-silent]
Restore the NAS server database environment from backup files.
-dns
Display current DNS settings of the NAS server.
Usage:
-dump
Display the current DNS cache content.
-lookup {-host <host_name> | -addr <ipv4_or_ipv6_address>}
Provides lookup information about the specified resource.
-ds
Display the Windows Directory Service information.
Usage:
-dump
Display the Windows Directory Service cache.
-kerberos
Display the current Kerberos settings of the NAS server.
Usage:
Service Commands 75
Page 80 of 119
NOTE: This option does not apply to the svc_nas_global_tools script.
-listrealms
List the Kerberos realms that are configured on the NAS server.
-listspn
List the Kerberos service principles defined in Active Directory (AD) and keytab (joined CIFS
server).
-keytab
Dump the Kerberos key table of the NAS server.
-conf
Dump the Kerberos configuration file for this NAS server.
-log [-all]
Extract Kerberos logs from the NAS server recent log.
NOTE: The -all option scans the full server log.
-ldap
Display current LDAP settings of the NAS server.
Usage:
-refresh
If LDAP is configured with no static IP, refresh the IPs of the LDAP servers of the domain from
DNS.
-lookup {-user <username> | -group <groupname> | -uid <uid> | -gid <gid> | -hostbyname <hostname> |
-netgroup <groupname>}
Provides lookup information about the specified resource for troubleshooting purposes.
-lockd
Manage file locks on the NAS servers.
Usage:
-list
Display the locked files on the NAS server with their count of locks; The files are ordered per
file-system. Each file is identified by its inode number, and also by a fldp=<address> token
for use with the -info option.
-info -fldp <address>
Show detailed information about the specific file; For each file lock, this command also displays
the credp=<address> token. You can use this token with the -remove option.
-remove -fldp <address> -credp <address>
On the file identified by the fldp value, use this command to remove any range lock that
matches the given lock credential.
-stat [-reset]
Show (and optionally reset) the statistics about file locks. The statistics counters are global to
the SDNAS feature, and may be related to other NAS servers in the same node.
76 Service Commands
Page 81 of 119
-nis
Display current NIS settings of the NAS server.
Usage:
-lookup {-user {-name <user_name> | -uid <unix_user_id>} | -group {-name <group_name> | -gid
<group_unix_id>} | -host {-name <host_name> | -addr <host_ip_address>} | -netgroup {-name
<group_name> | -member <host_name>}}
Provides lookup information about the specified resource for troubleshooting purposes.
-param
Display or modify NAS server parameter facilities.
Usage:
-info
Display all NAS parameter facilities.
-facility {<facility> | -all } -list
Display all NAS parameter values of the specified facility for the specified NAS server.
-facility {<facility> | -all } -info { <paramname> [-verbose]} | -all
Display the details of the specified NAS parameter of the specified facility for the specified NAS
server.
-facility <facility> -modify <paramname> -value <newvalue>
Modify the value of the specified NAS parameter of the specified facility for the specified NAS
server.
-restart
Restart the specified NAS server. The output from the -info or -modify command informs the user if
this is required for the specified parameter.
NOTE: This option does not apply to the svc_nas_global_tools script.
Usage:
-silent
Do not request user confirmation before restarting the NAS server.
-vhdx -file
Display the VHDX metadata (Hyper-V virtual disk files).
NOTE: This option does not apply to the svc_nas_global_tools script.
Usage:
-verbose
Display the VHDX metadata, including SCSI PRs.
Service Commands 77
Page 82 of 119
Example
Use the following command to view the ACL for the smbshare share on the nas1 NAS server:
NasServer4461:
param_name facility default current configured
SecurityLayer ldap 2 2
cacheMaxGroups ldap 10000 10000
cacheMaxHosts ldap 10000 10000
Usage
Function Diagnostic and recovery
Mode Normal or Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? Yes
Scope Node
Prerequisites 1. In the PowerStore UI, go to Settings and click the Upgrades page in the Cluster
section.
2. Click UPLOAD PACKAGE to upload the PowerStore image.
3. Select the uploaded PowerStore image, and click HEALTH CHECK.
Format
svc_nas_ndu [-h] [--op {pu, bu, precommit, commit, pr, cr, v1v2, v2v1}] [--v1 V1] [--v2
V2] [--node NODE] [--getv1v2]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--op Specify the NAS NDU operation to trigger.
{pu,bu,precommit,commit,pr,cr,v1v2,v2v1} ● pu – Prepares the node for an upgrade.
● bu – Brings up the node in current version in rollback
scenario or target version in rollforward scenario.
● precommit – Performs health check before software
commit operation.
78 Service Commands
Page 83 of 119
Qualifier Description
● commit – Performs software commit operation.
● pr – Prepare the node for a rollback to the older version.
● cr – Complete the rollback operation and bring up the node
in the older version.
● v1v2 – Change the NAS configuration from the current
version to the target version in rollforward scenario.
● v2v1 – Change the NAS configuration from the target
version to the current version. This argument applies to a
rollback scenario.
--v1 Specify the current NAS version.
--v2 Specify the target NAS version.
--node Specify the node on which you want the NDU operation to
occur. The valid values are a or b.
--getv1v2 Get information about the current and target versions.
Example
Run the following commands to upgrade the appliance from software version 1.0.1.9.3.120 (v1) to version 1.0.1.9.3.125 (v2):
1. Prepare node B for the upgrade:
svc_nas_ndu --op=precommit
svc_nas_ndu --op=commit
NOTE: Once the NAS upgrade is successfully repaired using the service script, try the upgrade process again.
Service Commands 79
Page 84 of 119
Usage
Function Diagnostic and recovery
Mode Normal or Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? Yes
Scope Node
Prerequisites
Format
svc_nas_ndu_repair [-h] --run
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--run Run the NAS NDU repair operation.
(svc_nas_snap_cleanup)
This service script enables you to delete the snapshots that exist in the control path (CP) database while retaining the NAS
snapshots.
Usage
Function System Operations
Mode Normal and Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
80 Service Commands
Page 85 of 119
Format
svc_nas_snap_cleanup [-h] [-d] [-g]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-d Delete the snapshots in CP database while retaining the snapshots in NAS.
-g Display a list of NAS snapshots that are not present in the CP. The parent FS ID must be provided.
NOTE: If the NAS snapshots are not present in the CP database, they can be deleted.
Usage
Function Diagnostic
Mode Normal and Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_networkcheck [-h]
{arp,info,tracert,tpc,ethtool,ping,interfaces,ping6,netstat,dns,bond_list}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Service Commands 81
Page 86 of 119
Actions
Action Description
arp Show Address Resolution Protocol (ARP) records cache settings.
info Perform network and system checks.
tracert Perform a traceroute to the IP (either IPv4 or IPv6).
tpc Perform a TCP port check using Telnet.
ethtool Show information about the network device driver and hardware settings.
ping Ping the IP or hostname of an IPv4 target. The information is listed in the output of the svc_networkcheck
interfaces command.
interfaces Show interface names, IPs, and connections.
ping6 Ping the IP or hostname for the IPv6 target. The information is listed in the output of the
svc_networkcheck interfaces command.
netstat Perform a netstat operation on the node.
dns Perform a DNS check using the dig tool.
bond_list Show system bond devices and their settings.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Action Description
ipv4 Show the ARP records cache settings for IP protocol version IPv4.
ipv6 Show the ARP records cache settings for IP protocol version IPv6.
Example
Use the following command to view the values of ARP settings for ipv4:
82 Service Commands
Page 87 of 119
The values of ARP settings for ipv4:
net.ipv4.neigh.default.gc_thresh1 = 1024
net.ipv4.neigh.default.gc_thresh2 = 4096
net.ipv4.neigh.default.gc_thresh3 = 16384
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Action Description
destination The destination to which the packets are sent.
Service Commands 83
Page 88 of 119
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Action Description
server Check the availability of a server (IP or hostname).
port Check the availability of a port.
Example
The following example uses the svc_networkcheck tracert command to check whether an SSH connection can be
established with a remote server:
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Action Description
devname Specify the network device name or enter all to show information about all network devices.
84 Service Commands
Page 89 of 119
Ping an IPv4 target (svc_networkcheck ping)
The service script enables you to ping the IPv4 target using either the hostname or IP address.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-s, --mtu Ping with the given MTU value (1500 or 9000).
-m, --mark Specifies the NAS connection mark that is used to find the source IP.
-c, --count Specifies the time when the system stops sending ECHO_REQUEST packets.
Positional arguments
Action Description
destination Specify the IP address or hostname.
Example
Use the following command to view the values of ping operation of the <ip> or <hostname> IPv4 target.
Service Commands 85
Page 90 of 119
Ping an IPv6 target (svc_networkcheck ping6)
The service script enables you to ping the IPv6 target using either the hostname or IP address.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-s, --mtu Ping with the given MTU value (1500 or 9000).
-m, --mark Specifies the NAS connection mark that is used to find the source IP.
-c, --count Specifies the time when the system stops sending ECHO_REQUEST packets.
Positional arguments
Action Description
destination Specify the IP address or hostname.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
86 Service Commands
Page 91 of 119
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Action Description
name Specify the name of the resource record that you want to find.
Format
svc_networkcheck bond_list -h
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Example
The following example show the output of the svc_networkcheck bond_list command:
svc_networkcheck bond_list
bond0: system bond (not allowed to change options)
- options:
mode=802.3ad
- ports:
ens7f3:
Link up: up
Carrier: 1
Bonding State: active
MAC: 0c:48:c6:73:67:5f
PERM_MAC: 0c:48:c6:73:67:5f
MTU: 1500
Speed: 25000
Duplex: full
Aggregator id: 1
ens7f2:
Link up: up
Carrier: 1
Bonding State: backup
Service Commands 87
Page 92 of 119
MAC: 0c:48:c6:73:67:5f
PERM_MAC: 0c:48:c6:73:67:5e
MTU: 1500
Speed: 25000
Duplex: full
Aggregator id: 2
bond1: unknown bond (not allowed to change options)
- options:
mode=802.3ad miimon=200 updelay=0 downdelay=0 xmit_hash_policy=layer2+3
lacp_rate=slow
- alerts:
The exception from appliance_list is: global name 'ListAppliances' is not defined
Alert id : f2779470-496a-4d49-a086-bef6dabc2209
Error Code : 0x01807a02
Severity : Major
Timestamp (UTC) : 2021-10-26 19:00:03+00
Appliance Name : A1
Resource Type : bond
Resource Name : BaseEnclosure-NodeA-bond1
Description : One or more bond ports are in link down state or Link Aggregation
Control Protocol (LACP) is in degraded state.
- ports:
ens2f1:
Link up: up
Carrier: 1
Bonding State: active
MAC: 00:60:16:b9:53:4d
PERM_MAC: 00:60:16:b9:53:4d
MTU: 1500
Speed: 25000
Duplex: full
Aggregator id: 1
ens2f0:
Link up: up
Carrier: 1
Bonding State: backup
MAC: 00:60:16:b9:53:4d
PERM_MAC: 00:60:16:b9:53:4c
MTU: 1500
Speed: 25000
Duplex: full
Aggregator id: 2
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-N Define the network namespace (host or SDNAS).
88 Service Commands
Page 93 of 119
Example
Use the following command to view intetface names, ip's and connection marks
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen
1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth_svc@if47: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group
default qlen 1000
link/ether 0a:c6:09:ee:a6:35 brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet 128.221.255.34/30 scope global eth_svc
valid_lft forever preferred_lft forever
41: eth_mgmt@if27: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default qlen 1000
link/ether 66:6b:e2:88:b9:3d brd ff:ff:ff:ff:ff:ff link-netnsid 0
inet6 fdea:4915:d43d:0:201:44bd:3c1f:d1ca/64 scope global
valid_lft forever preferred_lft forever
inet6 fdea:4915:d43d:0:201:442d:a826:c80/64 scope global
valid_lft forever preferred_lft forever
inet6 fe80::646b:e2ff:fe88:b93d/64 scope
link
valid_lft forever preferred_lft forever
42: eth_data0@if27: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP
group default qlen 1000
link/ether 5e:94:db:2b:e8:17 brd ff:ff:ff:ff:ff:ff link-netnsid 0
Usage
Function Diagnostic and Recovery
Mode Service
Service Commands 89
Page 94 of 119
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_node [-h][-d] {status,power_on,power_off,reboot,shutdown}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-d, --debug Increase the logging level to debug and print logs to the console.
Actions
Action Description
status Provides the network connectivity status and power status of the peer node.
power_on Power on the peer node.
power_off Turn off power to a node. This action is equivalent to an abrupt or hard power off.
shutdown Shut down a node by cleanly powering it off. All services are stopped in the appropriate order.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
90 Service Commands
Page 95 of 119
Qualifier Description
-d, --debug Initiate verbose logging for debug.
-f, --force Skip any prepower off node checks and user confirmation prompts.
Positional arguments
Qualifier Description
local Specify this argument to indicate that you want to turn off the local, or primary, node of an appliance.
peer Specify this argument to indicate that you want to turn off the peer, or secondary, node of an appliance.
Considerations
Appliance state Personality Notes
Configured or unconfigured SAN or HCI Turns off power to the node or nodes.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Service Commands 91
Page 96 of 119
Qualifier Description
-f, --force Ignore warnings; force a reboot that might result in data becoming unavailable.
Positional arguments
Qualifier Description
local Specify this argument to indicate that you want to turn off the local, or primary, node of an appliance.
peer Specify this argument to indicate that you want to turn off the peer, or secondary, node of an appliance.
Considerations
Appliance state Personality Notes
Configured or SAN or HCI If the node is not in service mode, you see a warning that the node is running
unconfigured workloads. You can use the --force option to override the warning and start a reboot.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-f, --force Ignore warnings; force shutdown which may result in data becoming unavailable.
Positional arguments
Qualifier Description
local Specify this argument to indicate that you want to turn off the local, or primary, node of an appliance.
peer Specify this argument to indicate that you want to turn off the peer, or secondary, node of an appliance.
Considerations
Appliance state Personality Notes
Configured SAN If the node is not in service mode, you see a warning that the node is running workloads. You can
use the --force option to override the warning and power off the node.
92 Service Commands
Page 97 of 119
Appliance state Personality Notes
Unconfigured HCI This operation is only supported when the script is run from the control path maintenance mode
service. The script stops the PowerStore VM to allow the node to enter VMware maintenance
mode.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-o, --output Show network connectivity and power status in JSON format.
Usage
Function Diagnostic
Mode Normal and Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_ntp_ctl [-h] [--set] [--local] [--server SERVER] [--color] [--nocolor]
Service Commands 93
Page 98 of 119
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--set Sync the time to the first valid server.
--local Run locally only and skip the peer.
--server Manually specify the server or servers to use.
--color Force color output even on nonterminals.
--nocolor Do not use color on the terminal.
Usage
Function Configuration
Mode Service and Normal
Usage Technical Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Cluster
Prerequisites None
Format
svc_password_mgmt [-h] {recovery}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
recovery Enable or disable the emergency password recovery.
94 Service Commands
Page 99 of 119
Enable and prevent passwords from being recovered
(svc_password_mgmt_recovery)
This script disables the ability to restore default admin and service user passwords. Once the ability to reset the passwords is
disabled, there is no nondestructive way access the cluster if the passwords are lost.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Example
Use the following command to disable the emergency password recovery option:
Usage
Function Diagnostic
Mode Normal or Service
Usage Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites The firewall must be configured correctly.
Service Commands 95
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
modify Modify the remote support configuration. Configuring SupportAssist does not include connection
verification. Use the --CONNECTIVITY_COMMAND argument to verify connections. The SupportAssist
configuration using this script is not persistent and therefore is not saved in the management database.
When a node or appliance fails, configuration and connectivity information might be lost. In such cases,
you must revert the configuration to the cluster configuration using the --revert_changes_to_db
option or the --REINITIALIZATION_COMMAND argument.
list List the components of the remote support configuration.
If SupportAssist is enabled, this script also reports the eVE docker container status.
modify_contact Modify the remote support user contact information and credentials.
restart SupportAssist only. Restart the eVE docker on the current appliance if enabled.
connectivity List the appliance remote support connectivity status.
reinitialize SupportAssist only. Reinitialize the eVE docker on the current appliance if enabled. This action stops the
container, restarts it, and reprovisions the container.
NOTE: When this command is used, the SupportAssist configuration and connectivity might be lost
or temporarily lost. The SupportAssist configuration is reverted to the cluster configuration.
.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
96 Service Commands
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--gateway_address Address of gateway endpoint.
--revert_changes_to_db Revert the SupportAssist configuration back to the cluster configuration.
--proxy_password Use the proxy password.
--proxy_port Specify the proxy port.
--disable Disable support assist.
--proxy_address Use the proxy address.
--i_accept_license_agreement Accept the license agreement.
--proxy_user Specify the proxy user.
--type Modify the type of SupportAssist.
There are two types:
● SUPPORT_ASSIST__Direct_Tier3
● SUPPORT_ASSIST__Gateway_Tier3
--force_disable Disables SupportAssist even if there is no active end-to-end connection.
Use case
If you decommission a gateway before disabling SupportAssist on a cluster, the appliance cannot communicate with the
decommissioned gateway. The appliance also cannot migrate to a new gateway. Using the --force_disable argument on
each appliance allows you to disable SupportAssist.
Service Commands 97
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--first_name Specify the first name of the contact.
--last_name Specify the last name of the contact.
--email Specify the contact email.
--phone Specify the contact mobile phone.
Positional arguments
Qualifier Description
contact_id Contact ID - 0 or 1.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
98 Service Commands
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Use case
If SupportAssist cannot be configured or connect to Dell EMC Support, svc_remote_support restart --
factory_reset enables you to reinitialize SupportAssist.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Usage
Function Diagnostic
Mode Normal or Service
Usage Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Service Commands 99
Format
svc_remote_syslog [-h] [-t TEST] [-m MESSAGE] [-r] [-lc] [-ls]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Migrate the relevant storage resources and workloads to another appliance before removing it from the cluster. If there are data
protection operations in progress, the script is unable to remove the appliance. However, the script enables you to stop any
replication operations.
CAUTION:
● Removing the appliance using this script is not an ideal use case. Ensure that you really want to remove the
appliance.
● This script not only removes the appliance, but also resets it back to original factory settings and shuts it
down.
● Although the IP addresses assigned to the appliance remain with the cluster and are marked as unused, all
data is removed.
● The script does not block user commands or actions. Ensure that users are notified not to create any storage
resources or virtual machines when you begin migrating data off the appliance. If new storage resources and
virtual machines are created during this operation, the workloads may get placed on the appliance you are
trying to remove.
Ensure that all relevant storage resources and workloads are migrated to another appliance before you proceed.
You cannot remove a master appliance. See the Knowledgebase article - HOW17166 for more information.
Format
svc_remove_appliance [-h] [-d] [--limit <value>]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Usage
Function Diagnostic
Mode Normal or Service
Usage Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Cluster
Format
svc_repair [-h] [--backup]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--backup Back up the ESXi network configuration.
Usage
Function Diagnostic
Mode Normal and Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_rescue_state [-h] {clear,set,list}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Usage
Function Configuration
Mode Normal or Service
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_security_protocol [-h] {enable,disable,status}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
enable Enable a security protocol.
disable Disable a security protocol.
status Query the status of one or more security protocols.
Usage
Function System operations
Mode Normal or Service
Usage Service
Requires service user password? Yes
Requires root privileges? Yes
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_service_config [-h] {enable,list,disable}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
enable Enable SSH access for the service user on an appliance.
list List the SSH configuration.
disable Disable SSH access for the service user on an appliance.
svc_inject run
194E3-2CDB8-1B367-D3D51-C9100-28BDA-5BDC0-906F9-00
Current Challenge:
19478-FC2C3-06C82-5FD3D-3A5F7-E73A9
See Inject troubleshooting software tool (svc_inject) on page 39 for more information about the svc_inject script.
Usage
Function Recovery
Mode Normal or Service
Usage Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_service_shell [-h] [--cmd SHELL_CMD_ARGS]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--cmd SHELL_CMD_ARGS Use this Linux command to gain elevated privileges in a Linux
system and perform such functions as diagnosing and triaging
a system.
Usage
Function Diagnostic and Recovery
Format
svc_software_recovery [-h] --usbcreate [--newcfg] [--savecfgforce]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--usbcreate Create a bootable USB recovery drive that you can use to recover the peer node.
--newcfg Create a bootable USB installer drive. You can use this action to completely reinitialize a node to the
factory state.
--savecfgforce Create a generic bootable USB recovery device. Other manual steps may be required for a full recovery.
Usage
Function System Operations
Mode Normal and Service
Usage General Use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites The peer appliance must be available through the network interconnect, and the peer
service container must be active.
Usage
Function System Operations
Mode Normal and Service
Usage General Use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_tcpdump [-h] [-i <value>] [-w <value>] [-W <value>]
[-C <value>] [-s <value>] [-t {1,2,3,4}] [-v {1,2,3}] [-D]
[-F <value>] [-e] [-n] [-q] [-T <value>]
[-N {host,sdnas}]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-i, --interface Specifies the interface that you want to use to capture information. The default interface for the host
namespace is mgmt0. The default namespace for SDNAS is eth_mgmt.
-w, --filename The base file name for the output files. The default is dump.out.
-W, --rotations Specifies the number of files for output. The default is 5, and the maximum is 20.
-C, --size Specifies the size of each output file in MB. The default is 50, and the maximum is 200.
-s, --snaplen Captures a specified number of bytes from each packet instead of the default value. The default value
is 65535.0.
-t, --timestamp Specify a specific timestamp command ranging from 1 to 4.
The timestamp commands are as follows:
● 1: Do not print a timestamp on each dump line.
● 2: Print an unformatted timestamp on each dump line.
-D, --dump_intfs Print the list of network interfaces available on the system and on which the tcpdump operation can
capture packets.
-F, --input_expr Specify a file to use as input for the filter expression. The file must be in the /cyc_var/
cyc_service/tcpdump directory.
-n, --no_addr Do not convert addresses such as host addresses or port numbers to names.
-q, --quiet Print less protocol information so that the dump lines are shorter.
-T, --timeout Specifies the amount of time that can elapse before stopping the trace. The timeout format is xy,
where x is a number and y indicates the units that are used to measure time (seconds, minutes, hours,
days - for example, 30s, 10m, 5h, 2d).
-N, --namespace Define the network namespace as host or SDNAS. The default is host.
Usage
Function System operations
Mode Normal or Service
Usage Service
Requires service user password? Yes
Requires root privileges? Yes
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_volume_space_metrics [-h] [-d] [-v] [-i ID] [-n Name]
[-s {name,cap}] [-g GT] [-c] [-j]
-g, --gt Only display the volume families that consume space that is greater than the specified
value.
-c, --csv Place the output in a CSV file.
Field descriptions
The core logging framework relies on the systemd journal services provided by the underlying CoreOS operating system. In
addition to the default fields available with systemd journal in CoreOS, there are custom fields available for use with the cluster.
The following table lists the descriptions of all the fields available for use.
NOTE: For more information on the default fields, refer to https://www.freedesktop.org/software/systemd/man/
systemd.journal-fields.html#.
Default MESSAGE The message string for the entry in the systemd journal.
Default MESSAGE_ID Unique identifier of the message.
Default OBJECT_AUDIT_LOGINUID, Additional fields added automatically by the systemd journal.
OBJECT_AUDIT_SESSION,
OBJECT_CMDLINE,
OBJECT_COMM, OBJECT_EXE,
OBJECT_GID, OBJECT_PID,
OBJECT_SYSTEMD_CGROUP,
OBJECT_SYSTEMD_OWNER_UID,
OBJECT_SYSTEMD_SESSION,
OBJECT_SYSTEMD_UNIT,
OBJECT_SYSTEMD_USER_UNIT,
OBJECT_UID
Custom OBJECT_CURRENT_STATE_NAME Current state name associated with the object.
Custom OBJECT_HANDLE Unique identifier used to represent a resource managed within
the cluster.
Custom OBJECT_ID Unique identifier of the object for which you want to retrieve
information from the system journal.
Custom OBJECT_OPERATION Type of operation associated with the object.
Custom OBJECT_SUB_TYPE The sub-type of the object for which you want to retrieve
information from the system journal.
Custom OBJECT_TYPE Type of the object for which you want to retrieve information
from the system journal.
Default PRIORITY Journal message level. Valid levels are:
● CRITICAL—Events that demand immediate attention.
● ERROR—Events that indicate problems, but do not
require immediate attention.
● WARN—Events that provide a warning about potential
problems or indicates that a component is not in an ideal
state.
● INFO—Informational messages that provide details on the
running status and changes to the system.
● DEBUG—Verbose status, such as progress or success
messages.
Custom ROOT_COMMAND_ID Context ID of the primary request.
Custom STATUS_CODE Status code that represents a response to a particular
request.
Custom SUB_COMPONENT The sub-component associated with the message.