HP MSA2324sa HP StorageWorks 2300 Family Modular Smart Array CLI reference gui - Page 183

test, trust

Page 183 highlights

test Description Sends a message to test event notification. After issuing this command, verify that test message reached the configured destinations. Syntax test email|snmp|notification Parameters email Sends a test message to configured email addresses. snmp Sends a test message to configured SNMP trap hosts. notification Sends a test message to configured email addresses and SNMP trap hosts. Example Test email and SNMP notification of events: # test notification Success: Command completed successfully. See also • set email-parameters • set snmp-parameters trust Description Enables an offline vdisk to be brought online for emergency data collection. This command must be enabled before each use. CAUTION: This command can cause unstable operation and data loss if used improperly. It is intended for disaster recovery only. The trust command resynchronizes the time and date stamp and any other metadata on a bad disk disk. This makes the disk an active member of the vdisk again. You might need to do this when: • One or more disks in a vdisk start up more slowly or were powered on after the rest of the disks in the vdisk. This causes the date and time stamps to differ, which the system interprets as a problem with the "late" disks. In this case, the vdisk functions normally after being trusted. • A vdisk is offline because a disk is failing, you have no data backup, and you want to try to recover the data from the vdisk. In this case, trust may work, but only as long as the failing disk continues to operate. When the "trusted" vdisk is back online, back up its data and audit the data to make sure that it is intact. Then delete that vdisk, create a new vdisk, and restore data from the backup to the new vdisk. Using a trusted vdisk is only a disaster-recovery measure; the vdisk has no tolerance for any additional failures. Syntax To enable the trust command: trust enable To trust a vdisk: trust vdisk vdisk Parameters enable Enables the trust command before use. vdisk vdisk Name or serial number of the vdisk to trust. For syntax, see Command syntax. HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide 183

  • 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
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

HP StorageWorks 2000 G2 Modular Smart Array CLI Reference Guide
183
test
trust
Description
Sends a message to test event notification. After issuing this command, verify that test message
reached the configured destinations.
Syntax
test email|snmp|notification
Parameters
email
Sends a test message to configured email addresses.
snmp
Sends a test message to configured SNMP trap hosts.
notification
Sends a test message to configured email addresses and SNMP trap hosts.
Example
Test email and SNMP notification of events:
# test notification
Success: Command completed successfully.
See also
set email-parameters
set snmp-parameters
Description
Enables an offline vdisk to be brought online for emergency data collection. This command must be
enabled before each use.
CAUTION:
This command can cause unstable operation and data loss if used improperly. It is
intended for disaster recovery only.
The trust command resynchronizes the time and date stamp and any other metadata on a bad disk
disk. This makes the disk an active member of the vdisk again. You might need to do this when:
One or more disks in a vdisk start up more slowly or were powered on after the rest of the disks
in the vdisk. This causes the date and time stamps to differ, which the system interprets as a
problem with the “late” disks. In this case, the vdisk functions normally after being trusted.
A vdisk is offline because a disk is failing, you have no data backup, and you want to try to
recover the data from the vdisk. In this case, trust may work, but only as long as the failing disk
continues to operate.
When the “trusted” vdisk is back online, back up its data and audit the data to make sure that it is
intact. Then delete that vdisk, create a new vdisk, and restore data from the backup to the new vdisk.
Using a trusted vdisk is only a disaster-recovery measure; the vdisk has no tolerance for any
additional failures.
Syntax
To enable the
trust
command:
trust enable
To trust a vdisk:
trust vdisk
vdisk
Parameters
enable
Enables the trust command before use.
vdisk
vdisk
Name or serial number of the vdisk to trust. For syntax, see
Command syntax
.