PowerStore Service Scripts Guide
PowerStore Service Scripts Guide
May 2024
Rev. A08
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 - 2024 Dell Inc. or its subsidiaries. All rights reserved. Dell Technologies, Dell, and other trademarks are trademarks of Dell Inc. or its
subsidiaries. Other trademarks may be trademarks of their respective owners.
Contents
Additional Resources.....................................................................................................................7
Chapter 1: Introduction................................................................................................................. 8
Audience................................................................................................................................................................................ 8
Running the service scripts...............................................................................................................................................8
Contents 3
Collect flash and NVMe statistics (svc_drive_stats)............................................................................................... 41
Reset or restart (svc_enclosure)...................................................................................................................................41
Reboot the BMC or SAM module (svc_enclosure reboot)............................................................................... 42
Power cycle the SAM module.................................................................................................................................. 43
Factory reset (svc_factory_reset)...............................................................................................................................43
Get a report on unreducible data (svc_get_unreducible_dp_stats)....................................................................44
Get report on unreducible data (svc_get_unreducible_stats).............................................................................. 45
Perform a health check on the appliance (svc_health_check)............................................................................. 47
Help (svc_help)................................................................................................................................................................. 48
Hypervisor diagnostics (svc_hypervisor)....................................................................................................................48
Set limits for import service (svc_import_config)....................................................................................................49
Set import configuration limits (svc_import_config set)..................................................................................50
See all import configurations (svc_import_config list)...................................................................................... 51
Inject troubleshooting software tool (svc_inject)..................................................................................................... 51
Install service tools (svc_inject run).......................................................................................................................52
Delete an injected service tool (svc_inject delete).............................................................................................53
Display information about a specific package (svc_inject info)...................................................................... 53
Generate a root or recovery package key (svc_inject generate-key)........................................................... 54
Deactivate service escalation (svc_inject deactivate)...................................................................................... 54
View service escalation status (svc_inject status)............................................................................................ 55
Review system journal logs (svc_journalctl).............................................................................................................. 55
Check the license status of appliances in a cluster (svc_license_status)..........................................................57
Install the PowerStore system (svc_manufacturing).............................................................................................. 58
See and update MFS settings for SecurID (svc_mfa_state) ............................................................................... 60
Retrieve information system information (svc_mgmt_operations)..................................................................... 60
Retrieve information as a root user (svc_mgmt_operations all_top_level_commands).......................... 63
See command details (svc_mgmt_operations command_detail)................................................................... 63
Show and filter command records (svc_mgmt_operations command_hierarchy_for_cleanup)............65
Display the command tree (svc_mgmt_operations command_tree).............................................................66
Migrate a cluster or DVS to another vCenter (svc_migrate_to_vcenter).........................................................69
Migrate to vCenter (svc_migrate_from_vcenter migrate_to_vcenter).......................................................70
Restore the vCenter configuration (svc_migrate_to_vcenter restore_on_vcenter)................................70
Remove empty proxy switches (svc_migrate_to_vcenter fix_restore_issues).......................................... 71
Enable or disable autodownload (svc_modify_autodownload)...............................................................................71
Run service scripts using SSH tunneling (svc_nas)................................................................................................. 72
Download the ACL database of a file system (svc_nas nas_svc_acldb_dump)......................................... 73
Manage Dynamic Access Control (svc_nas nas_svc_dac).............................................................................. 74
Generate NAS output files (svc_nas nas_svc_data_protection)................................................................... 76
Generate an SDNAS archive file (svc_nas nas_svc_dc).................................................................................. 79
Manage NAS servers (svc_nas nas_svc_nas).................................................................................................... 80
Manage an IMT import (svc_nas nas_svc_imt)...................................................................................................81
Display the SDNAS log (svc_nas nas_svc_log).................................................................................................. 83
Show statistics for NDMP and PAX backup sessions (svc_nas nas_svc_paxstats)................................. 84
Run a Linux tcpdump (svc_nas nas_svc_tcpdump).......................................................................................... 85
Back up NAS server configuration (svc_nas_cbr)................................................................................................... 87
See CIFS issues (svc_nas_cifssupport)......................................................................................................................88
Advanced NAS settings (svc_nas_tools and svc_nas_global_tools)..................................................................95
Enter maintenance mode (svc_nas_maintenance_mode)..................................................................................... 99
Display inode usage (svc_nas_storagecheck)......................................................................................................... 100
Get NAS server information and manage settings (svc_nas_tools)................................................................... 101
4 Contents
Retrieve NAS server net devices and IP addresses (svc_nasserver_to_netdevice)..................................... 102
See network information (svc_networkcheck)....................................................................................................... 103
Show ARP records cache settings (svc_networkcheck arp).........................................................................104
Perform network and system checks (svc_networkcheck info)...................................................................105
Check server port availability (svc_networkcheck tracert)........................................................................... 105
Check the TCP port (svc_networkcheck tcp)...................................................................................................106
Show network device driver and hardware information (svc_networkcheck ethtool)............................106
Ping an IPv4 target (svc_networkcheck ping)...................................................................................................107
Ping an IPv6 target (svc_networkcheck ping6)................................................................................................ 108
Show network connections (svc_networkcheck netstat).............................................................................. 109
Perform a DNS check (svc_networkcheck dns)............................................................................................... 109
See system bond devices (svc_networkcheck bond_list).............................................................................. 109
Show interface names (svc_networkcheck interfaces)....................................................................................111
Reboot, shut down, and turn on a node (svc_node)...............................................................................................112
Turn a node off (svc_node power_off)................................................................................................................113
Turn on the peer node (svc_node power_on).................................................................................................... 113
Reboot a node (svc_node reboot)......................................................................................................................... 114
Shut down a node (svc_node shutdown)............................................................................................................ 114
Peer node status (svc_node status)..................................................................................................................... 115
Control node affinity (svc_node_affinity_balance).................................................................................................115
Enable node affinity balancing (svc_node_affinity_balance enable)............................................................ 116
Disable node affinity balancing (svc_node_affinity_balance_disable)..........................................................117
Display node affinity balancing status (svc_node_affinity_balance_status).............................................. 117
Check and fix the NTP status (svc_ntp_ctl)............................................................................................................ 117
Customize validation service parameters (svc_onv_customizing)......................................................................118
Set onv parameters and their values (svc_onv_customizing set)...............................................................120
List ongoing parameters (svc_onv_customizing list_onv_parameters) .....................................................120
Get a specific parameter (svc_onv_customizing get)......................................................................................121
Disable password reset (svc_password_mgmt).......................................................................................................121
Enable and prevent passwords from being recovered (svc_password_mgmt_recovery)......................122
Send REST requests through the service container (svc_pstcli)....................................................................... 122
Troubleshoot and repair (svc_remote_support)..................................................................................................... 128
List the remote configuration (svc_remote_support list)...............................................................................129
Modify the remote support configuration (svc_remote_support_modify).................................................129
Modify contact information (svc_remote_support modify_contact).......................................................... 130
Reinitialize the remote support configuration (svc_remote_support reinitialize)......................................131
Restart SupportAssist (svc_remote_support restart)......................................................................................131
Check the connectivity status (svc_remote_support connectivity).............................................................131
Manage the remote syslog (svc_remote_syslog)................................................................................................... 132
Refresh the expired Unity SSL certificate (svc_remote_system_certificate_operations).......................... 133
Remove appliance (svc_remove_appliance)............................................................................................................ 133
Repair software (svc_repair)....................................................................................................................................... 135
Replace the DPE (svc_replace_dpe)......................................................................................................................... 135
Replace the DPE (svc_replace_dpe auto).......................................................................................................... 136
Replace the DPE (svc_replace_dpe manual)......................................................................................................137
Service mode operation (svc_rescue_state)........................................................................................................... 137
Grant service user access (svc_service_config).................................................................................................... 138
Gain root privileges (svc_service_shell)....................................................................................................................139
Software recovery (svc_software_recovery)..........................................................................................................140
Connect to the peer node service container (svc_ssh_peer).............................................................................. 141
Contents 5
Collect system information (svc_system_info)........................................................................................................ 141
Monitor network traffic (svc_tcpdump)................................................................................................................... 142
View capacity metrics (svc_volume_space_metrics)............................................................................................ 143
Complete the recovery process (svc_wear_trickle_write).................................................................................. 144
6 Contents
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.
NOTE: PowerStore X model customers: For the latest how-to technical manuals and guides for your model, download the
PowerStore 3.2.x Documentation Set from the PowerStore Documentation page at dell.com/powerstoredocs.
Additional Resources 7
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
8 Introduction
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 the DIMM state value on a specific node (svc_clear_dimm_ce_state)
• 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)
• Enable or disable counter collection (svc_cnt)
• Configure new SLICs (svc_commit_slic)
• Show the security compliance state (svc_compliance_mode)
• Check status of or restart container (svc_container_mgmt)
• Support materials (svc_dc)
• Enable or disable DDSD (svc_dd)
• System diagnostics (svc_diag)
• Check upgrade conversion status (svc_dip_upgrade_check)
• 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 a report on unreducible data (svc_get_unreducible_dp_stats)
• 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)
• Set limits for import service (svc_import_config)
• Inject troubleshooting software tool (svc_inject)
• Review system journal logs (svc_journalctl)
• Check the license status of appliances in a cluster (svc_license_status)
• Install the PowerStore system (svc_manufacturing)
• See and update MFS settings for SecurID (svc_mfa_state)
• Retrieve information system information (svc_mgmt_operations)
• Migrate a cluster or DVS to another vCenter (svc_migrate_to_vcenter)
• Enable or disable autodownload (svc_modify_autodownload)
• Run service scripts using SSH tunneling (svc_nas)
• Back up NAS server configuration (svc_nas_cbr)
• See CIFS issues (svc_nas_cifssupport)
• Advanced NAS settings (svc_nas_tools and svc_nas_global_tools)
• Enter maintenance mode (svc_nas_maintenance_mode)
• Display inode usage (svc_nas_storagecheck)
• Get NAS server information and manage settings (svc_nas_tools)
• Retrieve NAS server net devices and IP addresses (svc_nasserver_to_netdevice)
• See network information (svc_networkcheck)
• Reboot, shut down, and turn on a node (svc_node)
• Control node affinity (svc_node_affinity_balance)
Service Commands 9
• Check and fix the NTP status (svc_ntp_ctl)
• Customize validation service parameters (svc_onv_customizing)
• Disable password reset (svc_password_mgmt)
• Send REST requests through the service container (svc_pstcli)
• Troubleshoot and repair (svc_remote_support)
• Manage the remote syslog (svc_remote_syslog)
• Refresh the expired Unity SSL certificate (svc_remote_system_certificate_operations)
• Remove appliance (svc_remove_appliance)
• Repair software (svc_repair)
• Replace the DPE (svc_replace_dpe)
• Service mode operation (svc_rescue_state)
• Grant service user access (svc_service_config)
• Gain root privileges (svc_service_shell)
• Software recovery (svc_software_recovery)
• Connect to the peer node service container (svc_ssh_peer)
• Collect system information (svc_system_info)
• Monitor network traffic (svc_tcpdump)
• View capacity metrics (svc_volume_space_metrics)
• Complete the recovery process (svc_wear_trickle_write)
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.
10 Service Commands
Actions
Action Description
reboot Reboot an appliance.
shutdown Shut down an appliance.
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 and force a shutdown, which may result in data becoming unavailable.
Service Commands 11
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
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
12 Service Commands
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 Primary appliance must be operating in normal mode.
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.
Steps
1. Log in to the service container as the service user.
2. Run the svc_array_config command to create JSON file outputs into a subdirectory under /home/service/user: $
svc_arrayconfig run -o /home/service/user/capture
3. Verify that those file outputs are in the /home/service/user/capture directory: $ ls -la capture |wc -l 112
Service Commands 13
4. From the /home/service/user directory, bundle the JSON files into a tar.tgz file called
array_config_collections.tar.tgz.
Format
svc_arrayconfig run [-h] [-l value] [-c value] [-m] [-f {json,csv}]
[-t {full,delta,metrics,full_metrics}] [-b value]
[--timestamp value] [--response value]
[--ts value] [--ts_query value]
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, and 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 primary 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.
--ts_query Timestamp to be used for sql queries.
14 Service Commands
Verify that the root partition is full. If the root partition is not full, the system asks if you want to continue.
Remove old data collections from /cyc_var/cyc_service/data_collection. If a data collection is not found, you can
find old journal logs in /var/log/journal and delete oldest one.
If a journal log is not found, you can find a core dump at /cyc_var/cyc_dumps/processed/ and delete it.
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.
-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 System Operations
Service Commands 15
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 Node
Prerequisites None
Format
svc_clear_dimm_ce_state [-h] {clear_state}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
clear_state Clears the DIMM CE state on a specified node.
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
16 Service Commands
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.
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.
Service Commands 17
Format
svc_cluster [-h] {shutdown} [-f] [-d]
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.
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
18 Service Commands
May cause data loss? Yes
Scope Node, cluster
Prerequisites None
Format
svc_cluster_diag [-h] [-w] [-d] [-e] [-i]
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
Service Commands 19
Mode Normal
Usage Service
Requires service user password? N/A
Requires root privileges? Yes
Might this cause data unavailability? Yes
Might this cause data loss? No
Scope Appliance
Prerequisites None
Format
svc_cluster_management [-h] [e] [-n <value>]
{GetClusterStatus,DetachFailedAppliance,PrepReattachAppliance,ReattachAppliance,MovePrima
ryAppliance}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-e, --eligibility_check Show the nodes that are eligible to be the cluster primary node.
-n, --nodeid Specify the node that becomes the new cluster primary node.
Actions
Action Description
GetClusterStatus Display current cluster status.
DetachFailedAppliance Detach a failed appliance.
ReattachAppliance Reattach an appliance.
PrepReattachAppliance Prepare an appliance for reattachment.
MovePrimaryAppliance Move the primary role to a different appliance.
NOTE: Do not run perform the MovePrimaryAppliance 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.
Positional arguments
Qualifier Description
-n Show the help message and exit.
20 Service Commands
Example
The following example shows the node with the ID 4 being designated as the primary cluster appliance:
svc_cluster_management MovePrimaryAppliance -n 4
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!
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---
Service Commands 21
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
Format
svc_cnt [-h] [-d] {status,enable,restart,disable,performance,performance_disable}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Qualifier Description
status This action displays the status of the collection service on each node. In addition, this action
shows the amount of space that is taken up by xcounters recordings on the Base System
Container (BSC) for each node. This action also shows how many files there are for each node.
enable This action enables the counter collection service. The service is enabled by default. This action is
useful if the collection service has been manually disabled by the svc_cnt disable command.
restart This action restarts the collection service. This action is useful if the counter configuration profile
has been updated on the BSC and a reload is required.
22 Service Commands
Qualifier Description
disable This action disables the counter collection service. The collection service is enabled by default;
disabling the service takes effect for each node until a BSC restart occurs. After the BSC restart,
the service is reenabled automatically by BSC startup procedures.
performance This action enables the 1-second collection profile. This action is used mostly during investigations
into appliance performance issues. A service restart is required after you run this command in
order for the 1-second collection to start.
performance_disable This action disables the 1-second collection profile. A service restart is required after you run this
command in order for the 1-second collection to stop.
Format
Optional Arguments
Qualifier Description
-h, --help Show this help message and exit.
Format
Optional Arguments
Qualifier Description
-h, --help Show this help message and exit.
Format
Service Commands 23
Optional Arguments
Qualifier Description
-h, --help Show this help message and exit.
Format
Optional Arguments
Qualifier Description
-h, --help Show this help message and exit.
Format
Optional Arguments
Qualifier Description
-h, --help Show this help message and exit.
Format
24 Service Commands
Optional Arguments
Qualifier Description
-h, --help Show this help message and exit.
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.
Service Commands 25
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.
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 Service
26 Service Commands
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? No
Scope Cluster
Prerequisites None
Format
svc_compliance_mode status [-h] {status,rollback}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
status Shows the status of security compliance modes. The status can be on, off, or faulted.
rollback Enables you to roll back or cancel the hardening operation.
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 27
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.
28 Service Commands
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
svc_dc run [-h] [--debug] [-v] [--output {json}] [-p <value>] [-a <value>] [-vol
<value>] [-vvol <value>]
[-d <value>] [-u][-t
{last_24_hours,last_48_hours,last_1_week,last_2_weeks,custom}]
[-from LOG_FROM_TIMESTAMP <value>] [-to LOG_TO_TIMESTAMP <value>]
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.
Service Commands 29
Qualifier Description
--debug Initiate verbose logging for
debug.
-v, --verbose Initiate verbose command output.
--output {json} Show output in the JSON format.
-t {last_24_hours,last_48_hours,last_1_week,last_2_weeks,custom}, The timeframe from which the
--timeframe journal logs are collected. If
{last_24_hours,last_48_hours,last_1_week,last_2_weeks,custom} custom is chosen, the -from or
-to option is required.
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.
30 Service Commands
Qualifier Description
--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
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.
Service Commands 31
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.
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.
32 Service Commands
List all system dump files (svc_dc list_dumps)
This service script is used to retrieve all available system dump files for the entire cluster, when run on the master appliance. If
you run this script on an appliance that is not the master, only the inventory for the local appliance is retrieved.
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.
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 value] [--path value] [--
username value] [-do] [-so] [id value]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Service Commands 33
Qualifier Description
--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.
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]
34 Service Commands
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 System Operations
Mode Service
Usage Service
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_dd [-h] [--enable_ddsd_logging] [--disable_ddsd_logging] [--set_ddsd_warning]
[--set_ddsd_debug] [--set_ddsd_info] [--set_ddsd_error] [--set_ddboost_info]
[--set_ddboost_debug] [--enable_ddboost_logging] [--disable_ddboost_logging] [--
set_ddboost_error]
[--show_logging]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Service Commands 35
Qualifier Description
--enable_ddsd_logging Enable DDSD logging.
--disable_ddsd_logging Disable DDSD logging.
--set_ddsd_warning Set the DDSD warning level.
--set_ddsd_debug Set the DDSD debugging level.
--set_ddsd_info Set the DDSD information level.
-set_ddsd_error Set the DDSD error level.
--set_ddboost_info Set the DD Boost information level.
--set_ddboost_debug Set the DD Boost debugging level.
--enable_ddboost_logging Enable DD Boost logging.
--disable_ddboost_logging Disable DD Boost logging.
--set_ddboost_warning Set the DD Boost warning level.
--set_ddboost_error Set the DD Boost error level.
--show_logging Show the status of DD Boost and DDSD logs. This option also shows the time that has
elapsed since the DD Boost log was enabled.
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_diag [-h] [-v] {run,list}
36 Service Commands
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 37
Option Description
--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:
Example
Use the following command to list all the Energy Star-related information for the appliance:
38 Service Commands
***** System Energy Star Information *****
Base Enclosure:
Air Inlet Temperature (Celsius) : 22.00 (valid)
Input Power (Watts) : 1360.00 (valid)
Total Appliance InputPower (Watts) : 1360 (valid)
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 Cluster
Prerequisites None
Format
svc_dip_upgrade_check [-h] [-d] [-f] [-p] [-e] {status}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
status Get the DIP upgrade status.
Service Commands 39
Check DIP upgrade conversion status (svc_dip_upgrade_check
status)
This service script enables you to get detailed output about the status of the data-in-place (DIP) conversion.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-e, --engineer Get detailed output on the DIP upgrade status from SYM.
-p, --platform Get basic platform information through the IPMI tool.
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.
40 Service Commands
Qualifier Description
-dc, --dc Send the output to screen.
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).
Service Commands 41
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.
42 Service Commands
Qualifier Description
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
Service Commands 43
WARNING:
● 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 | --healthcheck]
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.
NOTE: This service script only shows the data for one appliance.
44 Service Commands
Usage
Function System Operations
Mode Normal or Service
Usage General use
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites PowerStoreOS 2.1
Format
svc_get_unreducible_dp_stats [-h] {get_result,list_results,execute,install,uninstall}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Qualifier Description
install Install the svc_get_unreducible_dp_stats script.
uninstall Uninstall the svc_get_unreducible_dp_stats script.
execute Run the svc_get_unreducible_dp_stats script.
list_results List the history results.
get_result Get a specific result from the history list.
Usage
Function System Operations
Mode Normal or Service
Usage General use
Service Commands 45
Requires service user password? Yes
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:
46 Service Commands
Qualifier Description
● --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.
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.
Service Commands 47
Help (svc_help)
This service script lists the available service scripts.
Usage
Function System operations
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
48 Service Commands
May cause data loss? No
Scope Node
Prerequisites Only applies to PowerStore X model appliances.
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 Configuration
Mode Service and Normal
Usage Technical Service
Requires service user password? Yes
Service Commands 49
Requires root privileges? Yes
May cause data unavailability? No
May cause data loss? No
Scope Cluster
Prerequisites None
Format
svc_import_config [-h] {set,list}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Qualifier Description
set Set import configuration limits.
list See a list of all import configurations from the management database.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--max_remote_ systems Set the maximum number of external Dell systems
supported for import.
50 Service Commands
Qualifier Description
--max_import_host_systems Set the maximum number of host systems supported for
import.
-- Set the maximum number of nondisruptive import sessions
max_non_disruptive_import_sessions_mirror_limit allowed with the mirror-enabled state. The system will
not start a new nondisruptive active import session if the
collective count of import sessions with background copy
and nondisruptive ready-for-cutover is above this limit.
Volume group import sessions do not count toward this
limit, but each member import session does.
--max_import_sessions_in_copy Set the maximum number of active import sessions
that are supported for background copy operations.
The number of new active sessions that can
be started on the system varies based on the
number of import sessions in the ready for cutover
state. This limit should be always lesser than the
max_import_sessions_in_ready_for_cutover
limit.
--max_agentless_import_sessions_mirror_limit Set the maximum number of agentless import sessions
allowed with a mirror-enabled state. The system will
not start a new agentless active import session if the
collective count of import sessions with background copy
and agentless ready for cutover is above this limit. Volume
group import sessions do not count toward this limit, but
each member import session does.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Usage
Function Recovery
Mode Normal
Usage Service
Service Commands 51
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
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.
52 Service Commands
Positional Arguments
Qualifier Description
package The full path to the package OR the response key for the root injection key.
Example
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Positional arguments
Qualifier Description
tool_name The name of the injected tool.
Example
Service Commands 53
Format
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
54 Service Commands
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
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
Service Commands 55
May cause data loss? No
Scope Node
Prerequisites None
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:
56 Service Commands
For more information about the journal fields, see System Journal Fields.
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 System Operations
Mode Normal
Usage General use
Requires service user password? No
Service Commands 57
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_license_status [-h] {list}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
list Get the license status for each appliance in the cluster.
Usage
Function Configuration
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? Yes
May cause data unavailability? Yes
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] [--show_reinit_states]
58 Service Commands
[--firmware_report] [--stack_up] [--show_ssd]
[--show_network] [--show_dare]
[--network_ip_and_gateway value]
[--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.
Example
The following example shows how to enable the network, specifying the network IP address and gateway:
Service Commands 59
See and update MFS settings for SecurID
(svc_mfa_state)
This service script enables you to list and update the multifactor authentication (MFA) bypass settings of the SecurID feature.
This script can be run from either node of the appliance.
Format
svc_mfa_state [-h] {set,list}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
set Specify the MFA bypass setting.
list List the MFA bypass settings.
Usage
Function Diagnostic
Mode Normal or Service
60 Service Commands
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_locks_with_pending_locks,command_type_summary,failed_top_level_comm
ands,
command_by_id,locks_by_command_id,locks_by_resource_id,command_hierarchy_for_cleanup,comm
and_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.
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.
Service Commands 61
Example
The following command reports information for the command tree for single or multiple commands, depending upon which
option is chosen:
=========================================================================================
===========
=========================================================================================
===========
62 Service Commands
+---ConnectHostToStorageCommand: b9d2c573-4b0b-46cf-a126-a1a4e42e2e88 -
0:00:00.629000, 2019-03-19 16:23:52.877000+00:00 / 2019-03-19 16:23:53.506000+00:00
+---AddEndPointToInitiatorGroupCommand: ee340164-355b-4313-a39b-209f20824ce1 -
0:00:00.156000, 2019-03-19 16:23:53.294000+00:00 / 2019-03-19 16:23:53.450000+00:00
+---AddEndPointToInitiatorGroupCommand: 1605ea79-683a-4a59-b561-e6545ccdcc89 -
0:00:00.116000, 2019-03-19 16:23:53.284000+00:00 / 2019-03-19 16:23:53.400000+00:00
+---AddInitiatorCommand: a1fde4ee-9c84-4cb8-8073-4845b3057786 -
0:00:00.104000, 2019-03-19 16:23:53.145000+00:00 / 2019-03-19 16:23:53.249000+00:00
+---AddInitiatorCommand: 4f501a6e-6781-4fe9-854b-97d21ea08866 -
0:00:00.089000, 2019-03-19 16:23:53.144000+00:00 / 2019-03-19 16:23:53.233000+00:00
+---AddInitiatorGroupCommand: 13ad6e5c-191b-4346-9d3f-b9a65140b527 -
0:00:00.187000, 2019-03-19 16:23:52.927000+00:00 / 2019-03-19 16:23:53.114000+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
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--sort_processing_time Sort processing time.
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
Service Commands 63
Scope Cluster
Prerequisites None
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:
64 Service Commands
start time : 2021-10-13 08:06:45.762335+00:00
end time : 2021-10-13 08:07:25.617026+00:00
completion time : None
percent. completed time : 100
status response : ERROR
response class name : com.emc.bedrock.command.SimpleCommandResponse
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. You can filter the records to
only show commands in the following states:
● INITIAL
Service Commands 65
Qualifier Description
● QUEUED
● RUNNING
● COMPLETED
--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. You can filter the records to
only show commands in the following states:
● OK
● VALIDATION_ERROR
● NOT_FOUND_ERROR
● ERROR
● INTERNAL_ERROR
● UNKNOWN
● RUNNING
● CANCELLED
● UNRECOVERABLE_ERROR
● BUSY
--response_state Show commands that match the specified response state. You can filter the records to
only show commands in the following states:
● CREATED
● ACKNOWLEDGED
Positional arguments
Qualifier Description
command_id 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:
66 Service 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
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. You can filter the records to
only show commands in the following states:
● INITIAL
● QUEUED
● RUNNING
● COMPLETED
--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.
Service Commands 67
Qualifier Description
--response_status Show commands that match the specified response status. You can filter the records to
only show commands in the following states:
● OK
● VALIDATION_ERROR
● NOT_FOUND_ERROR
● ERROR
● INTERNAL_ERROR
● UNKNOWN
● RUNNING
● CANCELLED
● UNRECOVERABLE_ERROR
● BUSY
--response_state Show commands that match the specified response state. You can filter the records to
only show commands in the following states:
● CREATED
● ACKNOWLEDGED
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:
=========================================================================================
===========
=========================================================================================
===========
=========================================================================================
===========
Completed Query command tree using filter (end_time < (current_timestamp - interval '1
day')) AND (response_status = 'ERROR')
68 Service Commands
Migrate a cluster or DVS to another vCenter
(svc_migrate_to_vcenter)
This service script enables you to restore or migrate a PowerStore Cluster and Distributed Virtual Switch (DVS) configuration
from one vCenter to another.
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] [--verbose] [--quiet] [--force] [--debug]
{restore_on_vcenter,
migrate_to_vcenter,fix_restore_issues}
Optional arguments
Action Description
-h, --help Show this help message and exit.
--verbose Initiate verbose logging for debugging.
--quiet Suppress any additional prompts or messages.
--force Ignore warnings; force a reboot that might result in data becoming unavailable.
--debug Increase the logging level to debug and print logs to the console.
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.
Service Commands 69
Migrate to vCenter (svc_migrate_from_vcenter
migrate_to_vcenter)
This service script migrates PowerStore from one vCenter to another.
Format
Optional arguments
Action Description
-h, --help Show the 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:
Format
Optional arguments
Action Description
-h, --help Show the help message and exit.
--generate_config Only generate the template configuration and finish.
70 Service Commands
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.
Positional arguments
Action Description
config The JSON config file that should have the following structure:
Usage
Function System Operations
Service Commands 71
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 Node
Prerequisites None
Format
svc_modify_autodownload [-h] [-t] [-e] [-d]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
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}
72 Service Commands
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.
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_dataprotection Manages data protection.
nas_svc_dc Generates an archive file with SDNAS materials.
nas_svc_imt Performs actions on an inband migration tool (IMT).
nas_svc_log Display all available SDNAS logs.
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
Service Commands 73
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.
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 <value>]
[cap-staging-disable <value>] [-v <value>] [-i --dn value {--dn <distinguished policy
name>}] [-p <compname> --dn <value>] [-v <value>] [--delete <value>] [--add-recovery-
rule <value> --rule-name <value> {--resource-condition <value>} {--effective-security
<value>}] [--delete-recovery-rule <value> --rule-name <value> {--resource-condition
<value>} {--effective-security <value>}]
74 Service Commands
Optional arguments
Table 1. 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 75
Positional arguments
Qualifier Description
--dn Specify the distinguished name in the policy manager that is associated with the Active Directory
computer name:
--id Specify the policy in the policy manager associated with the Active Directory computer name:
--resource- Specify the resources to which the new recovery rule applies:
condition
svc_nas nas_svc_dac --resource-condition <value>
--effective- This SDDL ACL specifies the effective security for the new recovery rule:
security
svc_nas nas_svc_dac effective-security <value>
Usage
Function System Operations
Mode Normal
Usage General use
Requires service user password? No
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Cluster
Prerequisites None
Format
76 Service Commands
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Qualifier Description
-h, --help Show the help message and exit.
-vdmoid The ID of the NAS server.
-action Perform the specified action.
-fsoid The ID of the file system replication version set.
-path The NAS server path.
displaydntasks Display all data node tasks that are related to the NAS server replication session.
displaycltasks Display all cluster tasks that are related to the NAS server replication session.
cleanupcltasks Terminate all cluster tasks that are related to the NAS server replication session.
repair Repair a NAS server replication database. The format of the command is as follows:
Service Commands 77
Action Description
remove Remove a NAS server replication database. The format of the command is as
follows:
startsession Specify the ID of the file system start with the reverse option when reverse is set.
The format of the command is as follows:
stopsession Specify the ID of the file system stop with local mode when local is set. The format
of the command is as follows:
failoversession Fail over the replication session of the specified file system. The format of the
command is as follows:
switchoversession Switch over to another replication session. The format of the command is as follows:
Qualifier Description
-h, --help Show the help message and exit.
-list List the remote systems. You can list either -all for all the remote systems or -inuse for only the systems
in use.
-info Display information about a specified remote system from the database. The format of the command is as
follows:
-id The ID of the remote system. The format of the command is as follows:
78 Service Commands
Qualifier Description
-add Add a specified session to a specific remote system. The format of the command is as follows:
-remove Remove a specified session ID from a specific remote system. The format of the command is as follows:
-delete Delete the specified remote system database record. The format of the command is as follows:
Qualifier Description
-h, --help Show the help message and exit.
-list List the data protection networks. You can list either -all for all the remote systems or -inuse for
only the systems in use.
-info Display data protection network information.
-repair Repair the database record of the data protection network cluster.
-id The ID of the data protection network.
-cleanuporphan Delete orphan data protection network interfaces.
-silent No questions are asked.
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
Service Commands 79
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.
-checkup Run internal tests that help to root cause potential configuration or environmental errors.
-dbms Perform the operation on databases.
-dhsm Perform DHSM operations
-orphan List or delete orphan Smb share or Nfs export
-dns Display the DNS settings of the NAS server and perform a DNS lookup.
80 Service Commands
Qualifier Description
-ds Display the Windows Directory Service.
-eventpub Display file event publishing settings and connection status to CEPA servers
-fs Upload or download a file to the .etc directory of the NAS server.
-kerberos Display the current Kerberos settings of the NAS server.
-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.
-security Display security components (PKI certificates and more)
-vhdx Display VHDX metadata (Hyper-V virtual disk files).
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 run nas_svc_imt -h <NAS server name> [-i { <import session id> | --all | --
failed}] [-n {id |--all}] [-f] [-s] [-r] [-c] [-d] [-l] [-t]
Optional arguments
Qualifier Description
-h, --help Show the help message.
Service Commands 81
Qualifier Description
-i, --show- Show the ID and state of file system imports for the specified NAS server. The format of the command is as
imports follows:
You can filter the file system imports by including one of the following:
● id: Show the ID of a specific file system import session.
● --all: Show the state of all file system imports.
● --failed: Show only the file system imports that failed.
The import state is one of the following:
● MIS_EXECUTING: The import is actively processing nodes.
● MIS_PAUSED: The import is paused by the user or due to a fault.
● MIS_WAITING_FOR_RESYNC: The import is idle but with one or more persistently failed nodes. Use
svc_nas_imt --show-failed-nodes for more information.
● MIS_SYNCING: The import is idle and has no persistently failed nodes; it is pending completion.
● MIS_COMPLETE: The import has completed successfully.
● MIS_CANCELLED: The import has been canceled.
● MIS_FAILED: The import failed due to an unrecoverable error.
-n, --show- Show the identity (the ino) and path of the persistently failed nodes for the specified file system import. The
failed- ino is the decimal inode number of a directory or file on the target file system. The format of the command is
nodes as follows:
You can filter the list of file system imports with failed nodes by including one of the following:
● id: Show the ID of a specific file system import session.
● --all: Show the identity (or ino) and path of the persistently failed nodes for all the file system imports
for the specified NAS server.
-f, --show- Show the identity (or ino) and path of the dirty files for the specified file system import. The format of the
dirty- command is as follows:
files
nas_svc_imt <NAS server name> [-f | --show-dirty-files] {<import session
id> | --all}
You can filter the list of file system imports with failed nodes by including one of the following:
● id: Show the ID of a specific file system import session.
● --all: Show the identity and path of the dirty files for all the file system imports for the specified NAS
server.
-s, --show- Show the import details of the specified node or nodes if more than one --node option is present. The ino
nodes is the decimal inode number of a directory or file on the target file system. The format of the command is as
follows:
82 Service Commands
Qualifier Description
-r, -- Trigger a resync of the specified node or nodes if more than one --node option is present. The ino is the
resync- decimal inode number of a directory or file on the target file system. The format of the command is as follows:
nodes
nas_svc_imt <NAS server name> [-r | --resync-nodes] <import session id> --
node <ino>
If the specified nodes do not match their counterpart on the source file system, a task is asynchronously
performed to reimport each of the specified nodes.
-c, -- Forcibly clear the error on specified persistently failed node or nodes if more than one --node option is
clear- present associated with the given file system import. The ino is the decimal inode number of a directory or
failed- file on the target file system. The format of the command is as follows:
nodes
nas_svc_imt <NAS server name> [-c | --clear-failed-nodes] <import session
id> [--yes] --node <ino>
When an error is forcibly cleared on a node (in other words, a directory or file), the contents might not be
the same on the source and target. These differences should be resolved manually after import completion.
Confirmation of this action is necessary either through the interactive prompt or by specifying --yes.
-d, --drop- Drop the specified node (or nodes if more than one --node option is present) from the given file system
failed- import. The ino is the decimal inode number of a directory or file on the target file system. The format of the
nodes command is as follows:
The import does not perform processing on a dropped node or not even attempt writes. Differences should
be expected and must be resolved manually after import completion. Confirmation of this action is necessary
through either the interactive prompt or by specifying --yes.
-l, --list- Lists the HTTP and HTTPS connections that have been migrated to the destination of the specified file
dhsm-conns system import. The format of the command is as follows:
-t, --set- Set which HTTP or HTTPS connection should be made the active DHSM connection on the destination of the
dhsm-conn specified file system import. The <cid> is the connection ID. The format of the command is as follows:
Usage
Function System Operations
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? No
May cause data unavailability? Yes
Service Commands 83
May cause data loss? No
Scope Node
Prerequisites None
Format
svc_nas run nas_svc_log -h [-f | --full] [-s | --short] [-l | --last <sec>]
[-b | --before <sec>] [-n | --new]
Optional arguments
Qualifier Description
-h, --help Show the help message.
-l, --last Display the log for the last specified number of seconds.
-b, --before Display the log older than the specified number of seconds.
--new Display the log since the last time the nas_svc_log command was run.
--short Display the active log.
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
84 Service Commands
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.
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
Service Commands 85
Optional arguments
Table 2. 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.
-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.
86 Service Commands
Table 2. Optional arguments (continued)
Qualifier Description
-L, --list List active tcpdump sessions.
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 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
Service Commands 87
See CIFS issues (svc_nas_cifssupport)
This service script enables you to view information for troubleshooting CIFS-related issues. It displays information about
network connectivity to domain controllers, access rights, credentials, access logs, and other related items for a specific NAS
server or all NAS servers.
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
Prerequisites None
Format
svc_nas_cifssupport [-h] [--server value] [--args="<value>"]
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 that 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.
88 Service Commands
-accessright
Compute the effective access rights for a user on a file system resource.
Usage:
-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
Service Commands 89
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
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:
90 Service Commands
-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.
[-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:
Service Commands 91
-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.
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.
92 Service Commands
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.
-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.
Service Commands 93
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
94 Service Commands
Advanced NAS settings (svc_nas_tools and
svc_nas_global_tools)
These service scripts enable you to view and customize the parameters of various NAS server components. The default values
of the NAS server parameters satisfy most use cases, but this script enables you to adjust the parameters based on your
business need.
Although both svc_nas_tools and svc_nas_global_tools scripts use the same arguments and options, their application
is different:
● Use the svc_nas_tools script to review and customize parameters for a specific NAS server.
● Use the svc_nas_global_tools script to review and customize parameters for all NAS servers in the cluster.
Run without args to see the NAS internal usage.
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_tools [-h] [--server value] [--args="<value>"]
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>]
Service Commands 95
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.
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.
96 Service Commands
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:
-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:
Service Commands 97
| -hostbyname <hostname>
| -netgroup <groupname>}"
-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.
-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
98 Service Commands
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.
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
Service Commands 99
Usage
Function System Operations
Mode Normal or 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 1. NAS must be installed on both nodes.
2. The NAS docker must be up and running on both nodes.
3. Both nodes must be healthy.
Format
svc_nas_maintenance_mode [-h] [enter, exit, status]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
enter Place the NAS node into the maintenance mode.
exit Exit the NAS node from maintenance mode.
status Get the current status of the NAS node for maintenance purposes.
Usage
Function Diagnostic
Mode Normal or Service
Usage General
Requires service user password? No
Requires root privileges? No
Format
svc_nas_storagecheck [-h] [-i]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
-i Show the inode usage of all file systems in the appliance.
Format
svc_nas_tools [-h] [--server value] [--args value]
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
Positional arguments
Qualifier Description
--server Specify the name of the NAS server.
Other arguments
The following table shows the available options that are used to manage the NAS server. You must use the --args argument
with these options, as shown in the following example:
Qualifier Description
-cava Manages the anti-virus service settings of the specified NAS server.
-dbms Perform an 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 current Kerberos settings of the NAS server.
-ldap Display the LDAP settings of the NAS server and perform LDAP operations.
-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 NAS server parameters.
-restart Restart the specified NAS server.
-vhdx Display metadata for Hyper-V virtual disk files (VHDX).
Usage
Function System Operations
Mode Service
Format
svc_nasserver_to_netdevice [-h] --server <value>
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Required arguments
Qualifier Description
--server The name of the NAS server.
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
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
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.
Example
Use the following command to view 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
Positional arguments
Action Description
destination The destination to which the packets are sent.
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 specific port.
Example
The following example uses the svc_networkcheck tracert command to check whether an SSH connection can be
established with a remote server:
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.
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.
-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.
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.
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
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.
Positional arguments
Qualifier Description
host Defines the network namespace as host.
sdnas Defines the network namespace as SDNAS.
Example
Use the following command to view interface names, IPs, 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
Usage
Function Diagnostic and Recovery
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_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.
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.
-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
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-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
-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.
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.
Format
svc_node_affinity_balance [-h] [--help] {status,disable,enable}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
status Display the status of node affinity balancing within the cluster.
disable Disable node affinity balancing within the cluster.
enable Enable node affinity balancing within the cluster.
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.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Usage
Function Diagnostic
Mode Normal and Service
Usage General use
Format
svc_ntp_ctl [-h] [--set] [--local] [--server SERVER] [--color] [--nocolor]
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.
Here is the list of ongoing validation parameters that you can override:
● NTP
○ NTP validation delay: This parameter is the interval between NTP validation cycles.
○ NTP alert skip threshold: This parameter is the number of alerts to skip before publishing an alert in PowerStore
Manager. This parameter prevents alert flickering in unstable network environments.
○ NTP verbosity interval: This parameter is the interval between verbose logging operations for NTP validation procedures.
● DNS
○ DNS validation delay: This parameter is the interval between DNS validation cycles.
○ DNS verbosity interval: This parameter is the interval between performing verbose logging operations for DNS validation
procedures.
● VMware
○ VMware validation delay: This parameter is the interval between VMware validation cycles.
○ VMware verbosity interval: This parameter is the interval between performing verbose logging operations for VMware
validation procedures.
● vCenter
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 Cluster
Prerequisites None
Format
svc_onv_customizing [-h] {set,list_onv_parameters,get}
Actions
Action Description
set Set the value for a specified ongoing validation parameter.
list_onv_parameters List onv parameters and their current values.
get Get the value of a specific ongoing validation parameter.
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--ntp_validation_delay Change the validation period of the NTP service.
--ntp_alert_skip_threshold Change the number of alerts about NTP problems to skip before publishing an alert.
--dns_validation_delay Change the validation period of the DNS service.
Format
svc_onv_customizing list_onv_parameters -h
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.
--ntp_validation_delay Get the current validation period of the NTP service.
--ntp_alert_skip_threshold Get the current number of alerts about NTP problems to skip before publishing an alert.
--dns_validation_delay Get the current validation period of the DNS service.
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.
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 Configuration
Mode Service and Normal
Usage Technical Service
Requires service user password? Yes
Requires root privileges? No
Format
svc_pstcli [-h] all
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
NOTE: To get a full list of available commands, enter --help all. To get help on specific command
category, enter --help <command or category name>.
Actions
Action Description
all Show all commands.
Command categories
The following table lists the command categories that are found on the target system:
Category Description
Compute Manage host configurations, virtual machines, and VMware integration.
Migration Manage data imports and data migration from remote systems.
Monitoring View event logs and alerts.
Protection Manage replication and data protection rules, and witnesses.
Settings Configure general settings on the system, including the following:
● Networking
● Licensing
● Updates
Storage Manage the storage configuration of the system:
● Create and delete storage resources.
● Configure NAS servers.
Support Manage service user credentials and perform service actions on the system.
System_and_Hardware Manage hardware, view component health status, and change the cluster configuration.
Migration ● file_import_interface
● import_host_volume
● import_session
● import_unity_consistency_group
● import_vmax_volume
● import_xtremio_consistency_group
● file_import_nas_server
● import_netapp
● import_storage_center
● import_unity_volume
● import_vnx_array
● import_xtremio_volume
● file_import_session
● import_netapp_volume
● import_storage_center_consistency_group
● import_universal_volume
● import_vnx_consistency_group migration_recommendation
● import_host_initiator
● import_psgroup
● import_storage_center_volume
● import_vmax
● import_vnx_volume
● migration_session
● import_host_system
● import_psgroup_volume
● import_unity
● import_vmax_storage_group
● import_xtremio
Monitoring ● alert
● event
● fast_metrics_config
● job
● metrics
● remote_syslog_server
Protection ● policy
● remote_system
● replication_rule
● replication_session
Settings ● audit_event
● email_notify_destination
● keystore_archive
● ldap_domain
● login_banner
● network
● physical_switch
● smtp_config
● software_installed
● chap_config
● ip_pool_address
● kmip_config
● license
● login_session
● ntp
● role
● dns
● ip_port
● ldap_account
● local_user
● mfa_securid
● nvme_discovered_cdc
● security_config
● software_component
● x509_certificate
Storage ● datastore
● file_events_pool
● file_interface
● file_ldap
● file_system
● file_virus_checker
● nfs_export
● recycle_bin
● smb_server
● virtual_volume
● file_dhsm_config
● file_events_publisher
● file_interface_route
● file_ndmp
● file_tree_quota
● io_limit_rule
● nfs_server
● recycle_bin_config
● smb_share
● volume
● file_dns
● file_ftp
● file_kerberos
Support ●
● datacollection
● maintenance_window
● metrics_archive
● remote_support_contac
● service_config
● service_user
System_and_Hardware ●
● appliance
● bond
● cluster
● discovered_appliance
● eth_be_port
● eth_port
● fc_port
● fsn
● hardware
● node
● sas_port
● veth_port
Using subcommands
Some subcommands have additional options that you can use.
Example 1
The following example shows the general use of the svc_pstcli script:
svc_pstcli
Perform a single action on an object on the destination system.
pstcli [-d <address>] [-port <number>] [-u <user_name>] [-p <password>] [-t <token> |
-tokenSecure] [-ssl { interactive | reject | accept | store }] [-header] <object>
<action> [<qualifiers>]
Remote certificate:
1: Thumbprint algorithm = sha1
Thumbprint = 17 fa 04 73 0e 0e f3 4c 68 4f 6f de 47 46 55 a8 af d8 30 23
Serial number = 53 cc 3f 4b 62 88 3b ba
Issuer = CN=Dell EMC PowerStore CA AZ3S74UN,O=Dell EMC,ST=MA,C=US
Subject =
Example 2
The following example shows the use of the discovered_initiator subcommand:
Example 3
The following example shows a query for installed software:
# | id | release_version | installed_date |
appliance.id
----+--------------------------------------+-----------------+------------------------
+--------------
1 | 459eb057-09c8-4d26-a3d8-ccd49a489afc | 3.6.1.0 | 10/27/2023
03:38:38 AM | A1
| | | |
2 | 8cd33e30-0f12-42b1-808a-bb6706591050 | 3.6.1.0 | 10/27/2023 03:38:38 AM |
# | id | addresses
----+------+---------------
1 | DNS1 | 10.244.53.108
| | 10.228.254.66
[SVC:service@CG6N7W3-A user]$
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.
Format
svc_remote_support [-h] {modify,list,connectivity,modify_contact,reinitialize,restart}
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.
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.
Format
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.
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.
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.
Use case
If SupportAssist cannot be configured or connect to Dell EMC Support, svc_remote_support restart --
factory_reset enables you to reinitialize SupportAssist.
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
Prerequisites The firewall must be configured correctly.
Format
svc_remote_syslog [-h] [-t value] [-m value] [-r] [-lc] [-ls]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-r, --reinit Reinitialize the remote syslog service. Usage example: svc_remote_syslog
--reinit.
-ls, --list_remote_logging_sync List remote server sync instances. Usage example: svc_remote_syslog --
list_remote_logging_sync.
Usage
Function System Operations
Mode Normal and Service
Usage Service
Requires service user password? Not available through REST
Requires root privileges? No
May cause data unavailability? No
May cause data loss? No
Scope Appliance
Prerequisites The Unity remote system must have been added to the PowerStore array.
Format
svc_remote_system_certificate_operations [-h] [-r]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Required arguments
Qualifier Description
-r, --renew_unity_certificate Renew the expired Unity certificate.
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.
Usage
Function Diagnostic and Recovery
Mode Service
Usage Service
Requires service user password? No
Requires root privileges? No
May cause data unavailability? Yes
May cause data loss? Yes
Scope Appliance
Prerequisites ● Ensure that all workloads (virtual machines or storage resources) are migrated to
another appliance in the cluster.
● Before you remove the appliance, you might want to ensure that you place the ESXi
host in maintenance mode and remove it from the ESXi cluster. See the Knowledgebase
article - HOW17164 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
Prerequisites The firewall must be configured correctly.
Format
svc_repair [-h] [--backup]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
--backup Back up the ESXi network configuration.
Ensure that the following conditions are met before running this script:
● Only one node should be installed in the DPE.
● The system type must have been set using the Post Utilities.
● After setting the system type, the node should be rebooted.
The node reboots into service mode.
When the node enters service mode, run the script. The node must be in service mode to execute the script.
Perform the following steps after the script is run:
1. Remove both power cables from the DPE.
2. Once the node is powered off, insert the other Node into the DPE.
3. Plug in both power cables and boot both nodes.
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
Prerequisites The firewall must be configured correctly.
Format
svc_replace_dpe [-h] [-d] {auto,manual}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Qualifier Description
auto Updates the required DPE resumes when performing a DPE replacement.
manual Performs a DPE replacement using user supplied DPE Resume values. It should only be run when the auto
replacement failed to obtain the resume values from the system. The user will be prompted for the following chassis
resume values:
● Product Serial Number EMC_Vendor SN/Service Tag EMC_WWN Seed
● Product Part Number WARNING: This utility is for trained service personnel only.
Format
Format
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
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}
Actions
Action Description
clear Clear the current boot mode. After running this command, you must reboot the node to return it to normal mode.
set Set the boot mode for service mode. After running this command, you must reboot the node for it to enter service
mode.
list List the available boot modes for this node.
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.
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) 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]
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 Appliance
Prerequisites None
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.
Format
svc_ssh_peer
Format
svc_system_info [-h] {run,download}
Positional arguments
Qualifier Description
run Collect system information.
download Download the text file that contains system information.
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,file}] [-Q {in,out,inout}]
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 file is eth_data0.
-w, --filename The base file name for the output files. The default is dump.out.
NOTE: This option requires root privileges.
-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.
● 3: Print a delta, which is measured in microseconds, between the current line and the previous line
for each dump line.
● 4: Print a timestamp in the default format. The default format shows the date before each
timestamp.
-v, --verbosity Specify how verbose you want the output to be. The maximum is 3.
-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.
-a, --add_filter Create a file with filter expression from user input. This option can only be used with the input_expr
option. If the input_expr option is present, a filename is created with the value from that option.
Otherwise, a random filter filename is generated in the following format:
tcpdump_filter_XXXX.txt
-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 output is 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). Set the timeout to no to never stop the trace. The default is
no.
NOTE: This option requires root privileges.
-N, --namespace Define the network namespace as host or file. The default is host. The NAS server namespace is
file.
-Q, direction Choose the send or receive direction for which packets should be captured. Possible values are in,
out, and inout.
Usage
Function System operations
Format
svc_volume_space_metrics [-h] [-d] [-v] [-i ID] [-n Name]
[-s {name,cap}] [-g GT] [-c] [-j]
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
-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.
Usage
Function System Operations
Mode Service
Usage Service
Requires service user password? Yes
Requires root privileges? Yes
Format
svc_wear_trickle_write [-h]
{exit_trickle,enable_policy,show_drives,list_policy,disable_policy}
Optional arguments
Qualifier Description
-h, --help Show the help message and exit.
Actions
Action Description
exit_trickle Manually exit wear trickle write mode. Use this command after the recovery procedure is complete. If you
want to continue using the worn-out drives and exit trickle write mode, you must disable the exit trickle
write policy before using this command.
enable_policy Enable wear the trickle-write policy. The wear trickle-write policy is enabled by default.
show_drives List all worn-out SSD drives in the system.
list_policy Get the current wear trickle-write policy setting.
disable_policy Disable the wear trickle-write policy.
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.
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.
Default SYSLOG_FACILITY Syslog compatibility field that contains the name of the
facility.
Default SYSLOG_IDENTIFIER Syslog compatibility field that contains the unique identifier.