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
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
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