Reference Guide
Table Of Contents
- Dell EMC PowerStore Service Scripts Guide
- Contents
- Additional Resources
- Introduction
- Service Commands
- Shut down and reboot an appliance (svc_appliance)
- Provision an appliance (svc_appliance_provisioning)
- Capture array configuration data (svc_arrayconfig)
- Make space on the root partition (svc_cleanup)
- Clear firmware update (svc_clear_fw_update_alert)
- Shut down a SAN cluster (svc_cluster)
- Diagnose a create cluster failure (svc_cluster_diag)
- Cluster management (svc_cluster_management)
- Configure new SLICs (svc_commit_slic)
- Check status of or restart container (svc_container_mgmt)
- Support materials (svc_dc)
- Generate a support materials bundle (svc_dc run)
- Delete a support materials bundle (svc_dc delete)
- List support materials (svc_dc list)
- List all support material profiles (svc_dc list_profiles)
- List all system dump files (svc_dc list_dumps)
- Download an existing support materials bundle (svc_dc download)
- Upload a support materials bundle (svc_dc upload)
- System diagnostics (svc_diag)
- Check datapath stats (svc_dp_oos_check)
- Collect flash and NVMe statistics (svc_drive_stats)
- Factory reset (svc_factory_reset)
- Perform a health check on the appliance (svc_health_check)
- Help (svc_help)
- Hypervisor diagnostics (svc_hypervisor)
- Inject troubleshooting software tool (svc_inject)
- Install service tools (svc_inject run)
- Delete an injected service tool (svc_inject delete)
- Display information about a specific package (svc_inject info)
- Generate a root or recovery package key (svc_inject generate-key)
- Deactivate service escalation (svc_inject deactivate)
- View service escalation status (svc_inject status)
- Review system journal logs (svc_journalctl)
- Install the PowerStore system (svc_manufacturing)
- Retrieve information as a root user (svc_mgmt_operations)
- Migrate a cluster or DVS to another vCenter (svc_migrate_to_vcenter)
- Run service scripts using SSH tunneling (svc_nas)
- Download the ACL database of a file system (svc_nas nas_svc_acldb_dump)
- Manage Dynamic Access Control (svc_nas nas_svc_dac)
- Generate an SDNAS archive file (svc_nas nas_svc_dc)
- Manage NAS servers (svc_nas nas_svc_nas)
- Show statistics for NDMP and PAX backup sessions (svc_nas_nas_svc_paxstats)
- Run a Linux tcpdump (svc_nas nas_svc_tcpdump)
- Back up NAS server configuration (svc_nas_cbr)
- CIFS Support (svc_nas_cifssupport)
- Enable HA monitoring (svc_nas_enable_ha_monitoring)
- Advanced NAS settings (svc_nas_tools and svc_nas_global_tools)
- Upgrade or roll back a NAS node (svc_nas_ndu)
- Repair NAS NDU (svc_nas_ndu_repair)
- Reboot, shut down, and turn on a node (svc_node)
- Check and fix the NTP status (svc_ntp_ctl)
- Disable password reset (svc_password_mgmt)
- Troubleshoot and repair (svc_remote_support)
- List the remote configuration (svc_remote_support list)
- Modify the remote support configuration (svc_remote_support_modify)
- Modify contact information (svc_remote_support modify_contact)
- Reinitialize the remote support configuration (svc_remote_support reinitialize)
- Restart SupportAssist (svc_remote_support restart)
- Check the connectivity status (svc_remote_support connectivity)
- Manage the remote syslog (svc_remote_syslog)
- Remove appliance (svc_remove_appliance)
- Repair software (svc_repair)
- Replace the DPE (svc_replace_dpe)
- Service mode operation (svc_rescue_state)
- Enable, disable, or display security protocols (svc_security_protocol)
- Grant service user access (svc_service_config)
- Gain root privileges (svc_service_shell)
- Software recovery (svc_software_recovery)
- Connect to the peer node service container (svc_ssh_peer)
- View capacity metrics (svc_volume_space_metrics)
- System Journal Fields
Option Description
● --inventory—List the hardware inventory
● --sensors—List sensor information
● --sel—List serial log (SEL) information
● --firmware—List firmware information
● --local_drive—List local drive Smartdata information
● --dimm—List DIMM information
--storage
List all information that is related to the storage. To view information about the RAID configuration
on the appliance, specify --raid as an additional argument.
--nvme_drive
List all information about the nonvolatile memory express (NVMe) drives in the appliance.
--network
List network configuration information. To view information about management network cabling,
specify --mgmt_cabling as an additional argument.
--icw_hardware
List all information that is related to the hardware checks during initial configuration.
--workloads
List information about the workloads, such as storage resources, hosts, and virtual machines, on
the appliance. You can specify the following additional arguments to list specific workloads:
● --jobs
● --sdnas
● --volume
● --hosts
● --host_groups
● --vm_vvols
--hypervisor
List diagnostic information for the hypervisor. This information includes information about the
vSphere Installation Bundles (VIBs) and changes that are made after the installation.
--show_drives
List the drives on the system.
--expansion_resume
Show the output for any attached expansion shelves (DAEs) that are connected.
--cluster
Show information about the cluster.
--services
List all system services across nodes and containers.
--info
Get information such as the node ID, appliance name, service tag, model, IP, and so on.
--energy_star
List all the Energy Star-related information for the appliance.
Example
Use the following command to view local drive Smartdata:
svc_diag list --hardware --sub_options local_drive
Hardware: ========== Local Drive Smartdata ===========
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.14.19-coreos-r9999.1551750807-541] (local
build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SMART Modular Technologies mSATA XR+ M.2 2280 SafeData MLC
Device Model: SHM2S86Q240GLM22EM 118000653
Serial Number: SPG18040AR2
Firmware Version: FW1146
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: M.2
Device is: In smartctl database [for details use: -P show]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Service Commands
29