Sun N1 System Manager 1.3 Troubleshooting Guide

Resetting Email Accounts for ALOM-based Managed Servers

If you have configured a separate mail server and account for the N1 System Manager to receive hardware event notifications, and the N1 System Manager is not receiving hardware event notifications from ALOM architecture manageable servers, it is possible that:

  1. The mail server is not configured correctly

  2. The email configuration has been invalidated by a mail server IP address change

  3. The email configuration has been invalidated by a mail server domain name change

  4. The manageable servers email account has been compromised or corrupted.

To resolve issues 1 through 3, log on to the management server as root and run the command n1smconfig -A to start the email reconfiguration process, and then either:

To resolve issue 4, proceed as described by To Reset Email Accounts for ALOM-based Managed Servers

ProcedureTo Configure the ALOM Email Alert Settings

Steps
  1. Log in as root to the management server management server.

  2. Type n1smconfig -A to start the ALOM email alert settings configuration process.

    You are notified that proper settings are required to send email alerts, and the existing values are displayed. You are then asked whether to modify the email alert settings.

  3. Choose whether to modify the email alert settings.

    • Type n to accept the displayed settings. The email alert configuration process exits to the system prompt.

    • Type y to modify the email alert configuration.

      You are prompted for the email alert user name.

  4. Specify the email alert user name.

    Type the account name that is to be used for the email alerts.

    For example: n1smadmin

    You are prompted for the email alert folder.

  5. Specify the email folder in which the email alerts are to be stored.

    Type the name of an email folder for the alert account, for example, inbox

    You are prompted for the email protocol

  6. Specify the email alert protocol.

    Type the name of the email protocol used by the management server. Valid entries are pop3 or imap.

    You are prompted for the email alert user account password.

  7. Type the password for the email alert user account.

    Type the password for the email alert user account.

    You are prompted for the email alert user account email address.

  8. Type the user account email address.

    For example: n1smadmin@company.com

    You are prompted for the IP address of the email server.

  9. Specify the IP address of the email server.

    • If you have installed and enabled an email server on the management server, type the IP address of the management server management network interface.

    • If you have installed and enabled an email server on a different machine that is accessible by the management server management network interface, type the IP address of that machine.

    The values you have specified are displayed, and you are asked whether you want to use the values.

  10. Choose whether to accept the displayed email alert settings.

    • Type n if the settings are not correct. The ALOM email alert settings process is restarted, and you are prompted to specify the email alert user name.

    • Type y to use the displayed email alert settings.

      The settings are displayed again, and you are asked whether you want to apply the settings.

      Type y to apply the settings, or type n to exit to the command prompt.

ProcedureTo Reset Email Accounts for ALOM-based Managed Servers

Before You Begin

This procedure provides the steps required to replace a compromised or corrupt ALOM email account on a managed server. The ALOM email addresses should be reserved for use only by the N1 System Manager.

Confirm that the problem is related to the fact that email alerts are not being received for the server. It is possible that the management server, or some other chosen server that can be accessed by the N1 System Manager, has not been configured correctly as an email server, or that email configuration has been invalidated due to other issues such as network error or domain name change.

Before trying the following procedure, verify that email sent from the ALOM server can be received by the designated email server, by configuring an independent mail client, such as Mozilla, with the same mail server IP, username and password. Then use the telnet command to access an ALOM server, and execute the resetsc -y command to generate a warning message. Check if the mail client is able to receive the ALOM warning message. If it is, you do not need to follow this procedure.

See SP-Based Discovery in Sun N1 System Manager 1.3 Discovery and Administration Guide for information about default telnet login and passwords for servers.

Before trying the following procedure, verify also that the N1 System Manager has access to the designated email server by using the telnet command to access an ALOM server, and executing the showsc command. Make sure the following parameters/values are set as shown:

If you do not see these settings, or if you see incorrect values for the mgt_mailalert email address, follow this procedure.

Steps
  1. Log in to the N1 System Manager.

    See To Access the N1 System Manager Command Line in Sun N1 System Manager 1.3 Discovery and Administration Guide for details.

  2. Switch off monitoring for ALOM-based manageable servers.

    Set the monitored attribute to false by using the set server command.


    N1-ok> set server server monitored false
    

    In this example, server is the name of the ALOM-based manageable server for which you want to reset the email account. Executing this command disables monitoring of the server.

    • If the ALOM-based servers are in the same group, use the set group command to switch off monitoring for the server group.


      N1-ok> set group group monitored false
      

      In this example, group is the name of the group of ALOM-based manageable servers for which you want to reset email accounts. Executing this command disables monitoring of the server group.

  3. Change the email address for the server using the n1smconfig command with the —A option.

    ALOM-based servers support email addresses of up to 33 characters in length.


    Note –

    If you manually configured ALOM-based servers to send event notifications by email to other addresses, using the telnet command and the setsc mgt_mailalert command, those addresses will not be changed by running the n1smconfig command.


  4. Switch on monitoring for the ALOM-based manageable server.

    Set the monitored attribute to true by using the set server command.


    N1-ok> set server server monitored true
    
    • If the ALOM-based servers are in the same group, use the set group command to switch on monitoring for the server group.


      N1-ok> set group group monitored true
      

      In this example, group is the name of the group of ALOM-based manageable servers for which you want to reset email accounts. Executing this command enables monitoring of the server group.