Dell EMC PowerStore Service Scripts Guide 1.x December 2020 Rev.
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 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries.
Contents Additional Resources.....................................................................................................................5 Chapter 1: Introduction................................................................................................................. 6 Audience................................................................................................................................................................................ 6 Running the service scripts...........
List logging levels (svc_log_config get)................................................................................................................38 Set logging levels (svc_log_config set)................................................................................................................ 39 Reset logging levels (svc_log_config reset)........................................................................................................
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 technical support professional if a product does not function properly or does not function as described in this document.
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.
2 Service Commands This chapter contains the following topics: Topics: • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • Clear alerts (svc_alert) Shut down and reboot an appliance (svc_appliance) 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) Check
Alerts are typically cleared when the underlying problem has been resolved. However, some alerts might remain active even after the problem has been fixed due to a race condition, system crash, or other issue. An active alert can prevent some operations such as upgrading software or installing a patch.
clear the alert with Alert id d129f881-dfc1-4298-a982-9cfde3f20f75 and save the text string provided in the alert. Shut down and reboot an appliance (svc_appliance) This service script allows you to perform a managed shutdown and reboot of a single appliance in SAN mode.
Optional arguments Qualifier Description -h, --help Show the help message and exit. -d, --debug Initiate verbose logging for debugging purposes. -f, --force Ignore warnings when starting the action; force reboot, which may result in data becoming unavailable. -a, --async Run in asynchronous mode. Shut down an appliance (svc_appliance shutdown) Format svc_appliance shutdown [-h] [-d] [-f] [-a] Optional arguments Qualifier Description -h, --help Show the help message and exit.
Optional arguments Qualifier Description -h, --help Show the help message and exit. Actions Action Description run Capture the current cluster configuration. Capture current cluster configuration (svc_arrayconfig run) Format svc_arrayconfig run [-h] [-d] [-l ] [-t {full,delta}] [-f {json,csv}] Optional arguments Qualifier Description -h, --help Show the help message and exit. -d, --debug Initiate verbose logging for debug. -l, --limit Specify a file size (in KB) limit.
Qualifier Description -d, --debug Initiate verbose logging for debug. -v, --verbose List additional content.
Qualifier Description --password Password associated with the remote username. Example Run the following command to download the configuration with the unique identifier 40bb350f-9924-4c3d-b982ec3c61087442 to /home/eng. svc_arrayconfig download --ip=10.12.13.
Qualifier Description -c, --coreDump Clean up stored core files. -a, --all Clean up the data collections, core dumps, and journals. -j, --journalFiles Clean up the journal files. -t, --tmpDataCollection Clean up the temporary data collection directory. Clear firmware update (svc_clear_fw_update_alert) This service script enables you to clear the firmware update alert on a given node.
Shut down a SAN cluster (svc_cluster) This script enables you to shut down all the appliances in a SAN cluster. This operation can only be performed on SAN clusters. 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.
Usage General use Requires service user password? No Requires root privileges? No May cause data unavailability? Yes May cause data loss? Yes Scope Node, cluster Prerequisites None Format svc_cluster_diag [-h] [-w] [-i] [-e] [-d] Optional arguments Qualifier Description -h, --help Show the help message and exit. -w, --warningLevel Display and filter the log warning level messages (includes messages with a higher severity).
Usage Function Recovery Mode Normal Usage Service Requires service user password? N/A Requires root privileges? Yes May cause data unavailability? Yes May cause data loss? No Scope Appliance Prerequisites None Format svc_cluster_management [-h] {GetClusterStatus,DetachFailedAppliance,PrepReattachAppliance,attach} Optional arguments Qualifier Description -h, --help Show the help message and exit. Actions Action Description GetClusterStatus Display current 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 2. Detach the failed appliance: svc_cluster_management detach svc_cluster_management detach detach failed appliance success! 3. Prepare to attach the appliance back to the cluster: svc_cluster_management prep_attach svc_cluster_management prep_attach prep reattach appliance success 4.
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. Support materials (svc_dc) This service script generates a support materials bundle, or data collection (dc) bundle, for technical analysis. Depending on the option you choose, support materials can include system logs, configuration details, and other diagnostic information.
Actions Action Description run Generate a support materials bundle. delete Delete an existing support materials bundle. list List all support material bundles or details for a single collection. list_dumps List all system dump files. list_profiles List all support material profiles. download Download an existing support materials bundle. sync Synchronize the support material inventory with the file system.
Example Generate a new support materials bundle on appliances APM00162303297and APM00152832910 using the Essential profile.
List support materials (svc_dc list) Retrieve a summary of support materials across all appliances in the cluster or the local appliance. When you run this script on the master appliance, the support materials inventory is retrieved across all appliances in the cluster. If you run this script on an appliance that is not the master, only the inventory on the appliance is retrieved.
Format svc_dc list_profiles [-h] [-d] Optional arguments Qualifier Description -h, --help Show the help message and exit. -d, --debug Initiate verbose logging for debug. 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 essential detailed hypervisor controlpathHeapDump nas Prompt Collect essential data. Collect detailed information.
Format svc_dc download [-h] [-d] --ip --path --username --password id Positional arguments Qualifier Description id Unique identifier of the support materials bundle. Optional arguments Qualifier Description -h, --help Show the help message and exit. -d, --debug Initiate verbose logging for debug. Required name arguments Qualifier Description -ip Destination IP address on the remote host. -path Destination path on the remote host.
Optional arguments Qualifier Description -h, --help Show the help message and exit. -d, --debug Initiate verbose logging for debug. -v, --verbose Initiate verbose command output. System diagnostics (svc_diag) When diagnosing issues with your system, use this script as your first tool. The script enables you to check for specific issues and gather system information.
Available options for diagnostic checks (run) Option Description -h, --help Show the help message and exit. --icw_hardware Run the diagnostics to check for any hardware-related issues that may cause the initial configuration to fail. --network Run the diagnostics to check the network configuration. To check the management network cabling, specify --mgmt_cabling_check as an additional argument.
Option Description --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.
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. -v, --verbose Initiate verbose logging for debugging purposes.
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] [-f] Optional arguments Qualifier Description -h, --help Show the help message and exit.
Format svc_help Hypervisor diagnostics (svc_hypervisor) This service script enables you to collect support materials from the hypervisor on PowerStore X model appliances. This script also enables you to take a snapshot of the current hypervisor installation so that your service provider can identify any changes to the installation. NOTE: In this release, only ESXi-related information is supported.
Example Use the following command to collect support materials and save it to a specific location: svc_hypervisor run --output /home/user32/hypervisor/download/ vm-support v3.3: 10:48:41, action threads 4 Non-fatal errors encountered during the run: Cmd "/usr/sbin/vmkping -D -v" failed with exit code 255 Please attach this file when submitting an incident report. To file a support incident, go to http://www.vmware.com/support/sr/sr_login.jsp To see the files collected, check '/vmfs/volumes/9XFVDH2.A.
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 service escalation. status Report service escalation status.
Delete an injected service tool (svc_inject delete) Format svc_inject delete [-h] [-q] [PACKAGE] Positional arguments Qualifier Description PACKAGE Name of the service tool you want to delete. Optional arguments Qualifier Description -h, --help Show the help message and exit. -q, --quiet Suppress any additional prompts or messages. Example svc_inject delete test_esx_image-0.5.0.487325.tgz.
Generate root/recovery package key (svc_inject generate-key) Format svc_inject generate-key [-h] [-s] [r] Optional arguments Qualifier Description -h, --help Show the help message and exit. -s, --srs Specify this argument to generate a Support Assist recovery package key. -r, --root Specify this argument to generate a root injection key.
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) Script svc_inject finished successfully Review system journal logs (svc_journalctl) This script enables you to view log messages from the system journal in a consistent and easy to read format. It also enables you to specify additional arguments and filter or display additional information.
Qualifier Description -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.
Field Value 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 2019 Mar 11 14:51:45 FNM00175000815-A DEBUG CC CP bedrock.config.ConfigManagerVerticle vert.x-eventloop-thread-0 no_ctx_id [814] [validatePlatformResponseStateTask] Starting to set injector.
Optional arguments Qualifier Description -h, --help Show the help message and exit. Actions Action Description get List the logging level for each component. set Set the logging level for each component. reset Reset the logging levels for all components. async Get or set the asynchronous logging value. List logging levels (svc_log_config get) Format svc_log_config get [-h] [--components value] Optional arguments Qualifier Description -h, --help Show the help message and exit.
List logging levels for the CP and DP components: svc_log_config get --components=CP,DP Component: CP Component: DP Level: INFO Level: INFO Set logging levels (svc_log_config set) Format svc_log_config set [-h] [--component_level ComponentName:LevelName] Optional arguments Qualifier Description -h, --help Show the help message and exit. --component_level Specify the components and the associated logging levels you want to set.
Example Reset all components to default logging levels: svc_log_config reset Get or set the asynchronous logging value (svc_log_config async) Format svc_log_config async [-h] [--mode {enable,disable}] {get,set} Positional arguments Qualifier Description get Get asynchronous logging. set Set asynchronous logging. Optional arguments Qualifier Description -h, --help Show the help message and exit. --mode Enable or disable synchronous logging.
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,command_type_summary,fail ed_top_level_commands,command_by_id,locks_by_command_id,locks_by_resource_id} 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.
Back up NAS server configuration (svc_nas_cbr) This service script enables you to back up all NAS server configurations on the cluster and also view previously backed up configurations. When you run this script, the backup archive is created in a .tar format. To restore a NAS server from a backup archive, contact your service provider.
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 SERVERNAME | ALL] [--args="ARGUMENTS"] Optional arguments Qualifier Description -h, --help Show the help message and exit.
] | -sid {-path [stop_on_symlink ]} | -share Specify the file system resource. -acl Dump or display the Access Control List (ACL) for the specified file system resource.
-user Audit connections for the specified user. -client 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: svc_nas_cifssupport --server SERVERNAME | ALL -args="-builtinclient" -checkup Perform internal configuration tests to discover the root cause of potential configuration or environmental errors.
Usage: svc_nas_cifssupport --server SERVERNAME | ALL -args="-gpo [-info] [update]" -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. [-enable] Enables the home directories feature. [-disable] Disables the home directories feature.
Usage: svc_nas_cifssupport --server SERVERNAME | ALL -args="-lsarpc -nb {-user | -sid [hex=<0/1>] | -priv}" -nb Specify the netbios name of the server. -user | 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.
NOTE: Modifying a SID to UID mapping can impact security. Use with caution.
-list Display all SPNs for the specified FQDN server, both for the SMB server and for compname= -add Add the specified SPN to both the NAS server and AD. compname=,domain =,admin= -delete 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.
Example Use the following command to view the ACL for the smbshare share on the nas1 NAS server: svc_nas_cifssupport --server nas1 --args="-acl -share smbshare" nas1 :done ACL DUMP REPORT Share UID GID Rights : : : : \\\\nas1\\smbshare 0 1 rwxr-xr-x Enable HA monitoring (svc_nas_enable_ha_monitoring) This script enables NAS HA services on the node that runs these services, and automatically brings up the NAS node.
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 SERVERNAME] [--args="ARGUMENTS"] svc_nas_global_tools [-h] [--args="ARGUMENTS"] Optional arguments Qualifier Description -h, --help Show the help message and exit.
Usage: svc_nas_tools --args="-cava [ -stats | -set accesstime={ now | none | [[[[yy]mm]dd]hh]mm[.ss] }] | -fsscan [ { -list | -create | -delete } ]]" -stats Display statistics counters of the antivirus service. -set Enable scan-on-first-read and change the access time setting, where: accesstime={ no ● Specify now to Enable the scan-on-first-read feature and set the reference w | none | time to now. [[[[yy]mm]dd]hh ● Specify none to disable the scan-on-first-read feature.
-dump Display the current DNS cache content. -lookup {-host | addr } Provides lookup information about the specified resource. -ds Display the Windows Directory Service information. Usage: svc_nas_tools --args="-ds [-dump]" -dump Display the Windows Directory Service cache. -kerberos Display the current Kerberos settings of the NAS server.
hostbyname | netgroup } -lockd Manage file locks on the NAS servers. Usage: svc_nas_tools --args="-lockd | -list | -info -fldp | -remove -fldp -credp | -stat [-reset]" -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= token for use with the -info option.
Usage: svc_nas_tools --args="-param { -info | -facility { | -all} -list | -facility { | -all} -info { [-verbose] | all} | -facility -modify -value }" -info Display all NAS parameter facilities. -facility Display all NAS parameter values of the specified facility for the specified NAS { | -all } server.
Upgrade or roll back a NAS node (svc_nas_ndu) This service script allows you to upgrade or roll back the NAS versions on the node. Usage Function Diagnostic and recovery Mode Normal or Service Usage Service Requires service user password? Yes Requires root privileges? No May cause data unavailability? Yes May cause data loss? Yes Scope Node Prerequisites 1. In the PowerStore, go to Settings and click the Upgrades page in the Cluster section. 2.
Example Run the following commands to upgrade the appliance from software version 1.0.1.9.3.120 (v1) to version 1.0.1.9.3.125 (v2): 1. Prepare the node B for the upgrade: svc_nas_ndu --op=pu --v1=1.0.1.9.3.120 --v2=1.0.1.9.3.125 --node=b 2. Change the NAS configuration from 1.0.1.9.3.120 to 1.0.1.9.3.125: svc_nas_ndu --op=v1v2 --node=b 3. Bring up the node B with the target version: svc_nas_ndu --op=bu --node=b 4. Prepare the node A for the upgrade: svc_nas_ndu --op=pu --v1=1.0.1.9.3.120 --v2=1.0.1.9.3.
Format svc_nas_ndu_repair [-h] --run Optional arguments Qualifier Description -h, --help Show the help message and exit. --run Run the NAS NDU repair operation. Reboot, shut down, and turn on a node (svc_node) This service script enables you to cleanly reboot or turn on a node. For PowerStore X model appliances, it also enables you to stop the controller VM on the node so the node can be placed in Maintenance mode in VMware vSphere.
Actions Action Description status Display the network connectivity status and power status of the peer node. power_on Power on the peer node. power_off Power off the local node, peer node, or both. This action is equivalent to a hard shutdown. Reboot the node. reboot NOTE: This action causes the node to restart immediately. shutdown Cleanly power off the node. All services stop in the appropriate order. Turn a node off (svc_node power_off) This script is the equivalent of a hard power-off action.
Format svc_node shutdown [-h] [-f] [-d] [-a] 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. Reboot a node (svc_node reboot) Format svc_node reboot [-h] [-f] [-d] [-a] {local,peer} 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.
Format svc_node shutdown [-h] [-f] [-d] [-a] {local,peer} 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. -f, --force Skip prepower off checks and user confirmation prompts. -a, --async Run in asynchronous mode. Positional arguments Qualifier Description local Specify this argument to indicate that you want to turn off the local, or primary, node of an appliance.
Check and fix the NTP status (svc_ntp_ctl) This script enables you to check the status of NTP on each node. You can also force a sync to the NTP service locally or for both nodes on the array.
Requires root privileges? No May cause data unavailability? No May cause data loss? No Scope Cluster Prerequisites None Format svc_password_mgmt [-h] [-d] {recovery} Optional arguments Qualifier Description -h, --help Show the help message and exit. -d,, --debug Initiate verbose logging for debug. Actions Action Description recovery Enable or disable password emergency recovery.
Example Use the following command to disable the emergency password recovery option: svc_password_mgmt recovery --disable INFO: Disabling password emergency recovery option...done Remove appliance (svc_remove_appliance) This script enables you to remove an appliance from the cluster without migrating existing data or workloads. When you run the script, it displays the associated storage resources and workloads for the appliance you specified. NOTE: Run this script only on the master node.
Format svc_remove_appliance [-h] [-v] [--limit ] Optional arguments Qualifier Description -h, --help Show the help message and exit. -v, --verbose List additional content. --limit Limit the number of workload items to display. Troubleshoot and repair (svc_remote_support) This script enables you to troubleshoot and repair the appliance using the SupportAssist feature.
Action Description If SupportAssist is enabled, this script also reports the eVE docker container status. modify_contact Modify the remote support user contact information and credentials. repair Inspect and repair the remote support configuration. When run on the master appliance, this script inspects the cluster configuration and repairs any appliance that does not match that configuration.
Optional arguments Qualifier Description -h, --help Show the help message and exit. -d, --debug Initiate verbose logging for debugging purposes. --force_disable Disable SupportAssist (type = SRS_Gateway), even if the VE Gateway server is not accessible. 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.
Qualifier Description -d,--debug Initiate verbose logging for debugging purposes. -i, --inspect Inspect the cluster configuration; action is not taken. Use case 1 If a repair or recovery action disables SupportAssist on an appliance, the svc_remote_support repair script compares the current SupportAssist state to the cluster state. If the script detects that SupportAssist should be enabled, it then enables it.
Restart SupportAssist (svc_remote_support restart) Format svc_remote_support restart [-f] [-h] [-d] Optional arguments Qualifier Description -h, --help Show the help message and exit. -d,--debug Initiate verbose logging for debugging purposes. -f, --factory_reset Reset SupportAssist to the factory state. Use case If SupportAssist cannot be configured or connect to Dell EMC Support, svc_remote_support restart -factory_reset enables you to reinitialize SupportAssist.
Requires service user password? Yes Requires root privileges? No May cause data unavailability? Yes May cause data loss? Yes Scope Node Prerequisites Node must be in service mode. Format svc_repair [-h] [-s] Optional arguments Qualifier Description -h, --help Show the help message and exit. --backup Back up the ESXi network configuration. Service mode operation (svc_rescue_state) This service script enables you to check whether the node is in Service Mode.
Qualifier Description -f, --force Ignore warnings when starting the action. Actions Action Description clear Clear the current boot mode. set Set the boot mode. list Lists whether the node is in Service Mode. Enable, disable, or display security protocols (svc_security_protocol) You can use this service script to enable, disable, or display any existing security protocols on the system. Running this script restarts the CP on the master appliance.
Actions Action Description enable Enable a security protocol. disable Disable a security protocol. status Query the status of one or more security protocols. Grant service user access (svc_service_config) This service script enables you to grant service users the ability to log in to the primary node of an appliance. You can also delete service user access and list which users have login access to the primary node.
Gain root privileges (svc_service_shell) This service script enables you to gain root privileges and run commands that require root privileges. Before using the svc_service_shell script, you must enable it using the svc_inject script: 1. Generate a key to enable root escalation: svc_inject generate-key --root 2. Contact your service provider to get response key. 3.
Software recovery (svc_software_recovery) This service script enables you to create a bootable software recovery image on a USB drive. Once created, you can use the USB drive to reimage the peer node or a node in another appliance.
Mode Normal Usage Service Requires service user password? No Requires root privileges? No May cause data unavailability? Yes May cause data loss? No Scope Node Prerequisites None Format svc_storage_integrity_check [-h] [--status] [--set ][--start] [--clear ] [--complete] [--list_faulted_cp_objects] [--service_lost_and_found] [--file_recovery] [-block_recovery] [--list_faulted_volumes] [--dpcli] [--repair_layered_services] Optional arguments Qualifier Description -h, --help
Usage Function System operations Mode Normal or Service Usage Service Requires service user password? Yes Requires root privileges? Yes May cause data unavailability? No May cause data loss? No Scope Appliance Prerequisites None Format svc_volume_space_metrics [-h] [-d] [-v] [-i ] [-n ] [-s {name, capacity}] [-g ] [-c] [-j] [-f] Optional arguments Qualifier Description -h, --help Show the help message and exit. -d, --detail Show detailed output.
A System Journal Fields Information in the system journal are stored in fields. When you run the svc_journalctl, you can choose to display information from these fields or filter the output based on the information in these fields. This appendix describes the fields available for use in the journal: Topics: • Field descriptions Field descriptions The core logging framework relies on the systemd journal services provided by the underlying CoreOS operating system.
Table 1. Journal field descriptions (continued) Type Name Description Default _MACHINE_ID Machine ID of the host from where the journal entry originates from. Default _PID The process ID of the process the journal entry originates from. Default _SELINUX_CONTEXT The SELinux security context (label) of the process from where the journal entry originates from. Default _SOURCE_REALTIME_TIMESTAMP Earliest trusted timestamp of the message.
Table 1. Journal field descriptions (continued) Type Name Description Custom CONTEXT_ID Unique identifier to track requests. Default COREDUMP_UNIT, COREDUMP_USER_UNIT Used to annotate messages containing coredumps from system and session units. Default ERRNO Low-level Unix-based error number associated with the entry in the journal. Custom MARKER Unique string used to quickly identify certain events or conditions.
Table 1. Journal field descriptions (continued) Type Name Description Default SYSLOG_FACILITY Syslog compatibility field that contains the name of the facility. Default SYSLOG_IDENTIFIER Syslog compatibility field that contains the unique identifier. Default SYSLOG_PID Syslog compatibility field that contains the process identifier. Custom THREAD_NAME Name of the thread logging the message.