HP StorageWorks 8/20q HP StorageWorks 8/20q Fibre Channel Switch command line - Page 104
Testing a Call Home profile, Changing Simple Mail Transfer Protocol servers
View all HP StorageWorks 8/20q manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 104 highlights
Testing a Call Home profile To test a Call Home profile, enter the callhome test profile command, as shown in the following example. This command generates a test message and routes it to the e-mail recipients specified in the profile. 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> callhome test profile group4 A callhome profile test has been started. A notification with the test result will appear on the screen when the test has completed. 8/20q FC Switch (admin) #> Test for Callhome Profile group4 Passed. Changing Simple Mail Transfer Protocol servers The Call Home service configuration enables you to specify a primary and a secondary SMTP server to which the switch connects. The active server is the server that receives messages from the switch. By default, the primary SMTP server is the active server. Should the active server lose connection, control passes automatically to the other server. You can explicitly change the active server by entering the callhome changeover command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch #> callhome edit 8/20q FC Switch #> (admin-callhome) #> callhome changeover The currently active CallHome SMTP server will change. Please confirm (y/n): [n] y Though the active server status changes, the primary SMTP server remains the primary, and the secondary SMTP server remains the secondary. Clearing the Call Home message queue To clear e-mail messages from the Call Home message queue, enter the callhome queue clear command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> callhome queue clear The callhome queue will be cleared. Please confirm (y/n): [n] y To display the contents of the Call Home message queue, see "Displaying Call Home database information" on page 100. Resetting the Call Home database There are two ways to reset the Call Home database. To clear all Callhome profiles, enter the callhome clear command, as shown in the following example. This command does not affect the Call Home service configuration. 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> callhome edit 8/20q FC Switch (admin-callhome) #> callhome clear 8/20q FC Switch (admin-callhome) #> callhome save The CallHome database profiles will be saved and activated. Please confirm (y/n): [n] y To clear all Call Home profiles and reset the Call Home service configuration to the factory defaults, enter the reset callhome command, as shown in the following example: 8/20q FC Switch #> admin start 8/20q FC Switch (admin) #> reset callhome The callhome configuration will be reset and the default values activated. Please confirm (y/n): [n] y Reset and activation in progress .... 104 Call Home configuration