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
Qualifier Description
-r, --reverse Show the newest entries first.
-b, --boot Show current boot or the boot for the specified ID.
-k, --dmesg Show the kernel message log from the current boot.
-t, --identifier Show entries with the specified syslog identifier.
-p, --priority Filter output by message priorities or priority range.
-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:
svc_journalctl COMPONENT=Platform MARKER=NDU PRIORITY=ERROR
● The following command enables you to search for a specific case-sensitive text pattern in the log messages associated with
the Platform component:
svc_journalctl -g --case-sensitive=TRUE CONTEXT_ID=456abc COMPONENT=Platform
For more information about the journal fields, see System Journal Fields on page 90.
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:
2019 Mar 11 14:51:45 FNM00175000815-A DEBUG CC CP bedrock.config.ConfigManagerVerticle
vert.x-eventloop-thread-0 no_ctx_id Starting to set injector.
Where:
Field
Value
__REALTIME_TIMESTAMP 2019 Mar 11 14:51:45
_HOSTNAME FNM00175000815-A
40 Service Commands