HP MSA 1040 HP MSA 1040 SMU Reference Guide (762784-001, March 2014) - Page 158

Transferring log data to a log-collection system, ftp 10.1.0.9, get managed-logs

Page 158 highlights

NOTE: You must uncompress a zip file before you can view the files it contains. To examine diagnostic data, first view store_yyyy_mm_dd__hh_mm_ss.logs. Transferring log data to a log-collection system If the log-management feature is configured in pull mode, a log-collection system can access the storage system's FTP interface and use the get managed-logs command to retrieve untransferred data from a system log file. This command retrieves the untransferred data from the specified log to a compressed zip file on the log-collection system. Following the transfer of a log's data, the log's capacity status is reset to zero indicate that there is no untransferred data. Log data is controller specific. For an overview of the log-management feature, see "About managed logs" (page 31). Use a command-line-based FTP client; a GUI-based FTP client might not work. To transfer log data to a log-collection system 1. In SMU, prepare to use FTP: a. Determine the network-port IP addresses of the system's controllers; see "Changing network interface settings" (page 48). b. Verify that the system's FTP service is enabled; see "Changing management interface settings" (page 40). c. Verify that the user you will log in as has permission to use the FTP interface; see "Modifying users" (page 44). 2. On the log-collection system, open a Command Prompt (Windows) or a terminal window (UNIX) and navigate to the destination directory for the log file. 3. Enter: ftp controller-network-address For example: ftp 10.1.0.9 4. Log in as a user that has permission to use the FTP interface. 5. Enter: get managed-logs:log-type filename.zip where: • log-type specifies the type of log data to transfer: • crash1, crash2, crash3, or crash4: One of the Storage Controller's four crash logs. • ecdebug: Expander Controller log. • mc: Management Controller log. • scdebug: Storage Controller log. • filename is the file that will contain the transferred data. It is recommended to choose a filename that identifies the system, controller, log type, and date. For example: get managed-logs:scdebug Storage2-A_scdebug_2011_08_22.zip Wait for the message Operation Complete to appear. 6. Quit the FTP session. NOTE: You must uncompress a zip file before you can view the files it contains. 158 Using FTP

  • 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

158
Using FTP
NOTE:
You must uncompress a zip file before you can view the files it contains. To examine diagnostic data, first
view
store_
yyyy_mm_dd__hh_mm_ss
.logs
.
Transferring log data to a log-collection system
If the log-management feature is configured in pull mode, a log-collection system can access the storage system’s FTP
interface and use the
get managed-logs
command to retrieve untransferred data from a system log file. This
command retrieves the untransferred data from the specified log to a compressed zip file on the log-collection system.
Following the transfer of a log’s data, the log’s capacity status is reset to zero indicate that there is no untransferred
data. Log data is controller specific.
For an overview of the log-management feature, see
"About managed logs" (page 31)
.
Use a command-line-based FTP client; a GUI-based FTP client might not work.
To transfer log data to a log-collection system
1.
In SMU, prepare to use FTP:
a.
Determine the network-port IP addresses of the system’s controllers; see
"Changing network interface settings"
(page 48)
.
b.
Verify that the system’s FTP service is enabled; see
"Changing management interface settings" (page 40)
.
c.
Verify that the user you will log in as has permission to use the FTP interface; see
"Modifying users"
(page 44)
.
2.
On the log-collection system, open a Command Prompt (Windows) or a terminal window (UNIX) and navigate to
the destination directory for the log file.
3.
Enter:
ftp
controller-network-address
For example:
ftp 10.1.0.9
4.
Log in as a user that has permission to use the FTP interface.
5.
Enter:
get managed-logs:
log-type
filename
.zip
where:
log-type
specifies the type of log data to transfer:
crash1
,
crash2
,
crash3
, or
crash4
: One of the Storage Controller’s four crash logs.
ecdebug
: Expander Controller log.
mc
: Management Controller log.
scdebug
: Storage Controller log.
filename
is the file that will contain the transferred data. It is recommended to choose a filename that
identifies the system, controller, log type, and date.
For example:
get managed-logs:scdebug Storage2-A_scdebug_2011_08_22.zip
Wait for the message
Operation Complete
to appear.
6.
Quit the FTP session.
NOTE:
You must uncompress a zip file before you can view the files it contains.