Dell PowerStore 3000X EMC PowerStore Service Scripts Guide - Page 8

Usage, Format, Optional arguments, Positional arguments, Examples

Page 8 highlights

Usage Function Mode Usage Requires service user password? Requires root privileges? May cause data unavailability? May cause data loss? Scope Prerequisites System Operations Service Service Yes Yes No No Cluster None Format svc_alert [-h] {list,clear} Optional arguments Qualifier -h, --help Description Show the help message and exit. Positional arguments Qualifier list clear Description List the active alerts. Clear an active alert using the alert id. The Alert id can be running the svc_alert list command. Examples svc_alert list --limit 30 list the 30 most recent active alerts. svc_alert list --error_code 0x01800b02 list the active alerts with Error Code 0x01800b02, defaults to displaying 20. svc_alert list --error_code 0x01800b02 --limit 10 list the 10 most recent active alerts with Error Code 0x01800b02 svc_alert clear d129f881-dfc1-4298-a982-9cfde3f20f75 clear the alert with Alert id d129f881-dfc1-4298-a982-9cfde3f20f75 svc_alert clear d129f881-dfc1-4298-a982-9cfde3f20f75 --text "my reason" clear the alert with Alert id d129f881-dfc1-4298-a982-9cfde3f20f75 and save the text string provided in the alert. 8 Service Commands

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

Usage
Function
System Operations
Mode
Service
Usage
Service
Requires service user password?
Yes
Requires root privileges?
Yes
May cause data unavailability?
No
May cause data loss?
No
Scope
Cluster
Prerequisites
None
Format
svc_alert [-h] {list,clear}
Optional arguments
Qualifier
Description
-h
,
--help
Show the help message and exit.
Positional arguments
Qualifier
Description
list
List the active alerts.
clear
Clear an active alert using the alert id. The Alert id can be running the svc_alert list command.
Examples
svc_alert list --limit 30
list the 30 most recent active alerts.
svc_alert list --error_code 0x01800b02
list the active alerts with Error Code 0x01800b02, defaults to
displaying 20.
svc_alert list --error_code 0x01800b02 --limit 10
list the 10 most recent active alerts with Error Code 0x01800b02
svc_alert clear d129f881-dfc1-4298-a982-9cfde3f20f75
clear the alert with Alert id d129f881-dfc1-4298-a982-9cfde3f20f75
svc_alert clear d129f881-dfc1-4298-a982-9cfde3f20f75 --text "my reason"
clear the alert with Alert id d129f881-dfc1-4298-a982-9cfde3f20f75
and save the text string provided in the alert.
8
Service Commands