Defining a remote notification method

You can define a remote notification method using the SMIT interface.

When you synchronize or perform cluster verification, PowerHA® SystemMirror® checks the configuration of your remote notification method.

PowerHA SystemMirror sends an error message if the specified pager or cell phone message file is missing from the node. The message can still be sent, but it contains the text that is supplied in the original sample.txt file.

To define a remote notification method, complete the following steps:

  1. From the command line, enter smit sysmirror
  2. In SMIT, select Custom Cluster Configuration > Events > Cluster Events > Remote Notification Methods > Add a Custom Remote Notification Method and press Enter.
  3. Fill in field values as follows:
    Table 1. Add a Custom Remote Notification Method fields
    Field Value
    Method Name Assign a name to the notification method. This could also indicate who would get the message.
    Description Add a description, if desired, of the notification method.
    Nodename(s) Enter the name(s) of one or more nodes that you want to issue this or cell phone message. Press F4 to get a list of node names. Each node must have been defined previously in the Define Port/Node Pairs SMIT panel. Separate multiple nodes with a space.
    Note: The sequence of nodes in this SMIT field determines their priority for sending pages or cell phone messages.

    See Remote notification and node failure for more information about node priority for remote notification.

    Number to Dial or Cell Phone Address Indicate the telephone number to dial to reach the pager or the address of the cell phone. The number-to-dial string can contain any characters or sequences supported by a Hayes-compatible modem using the standard Telocator Alphanumeric Protocol (TAP) - your provider must support this service.
  4. Depending on the type of pager, you will need to enter either the number of the pager alone, or the number of the paging company followed by the pager number:

    If you are using a numeric pager, use the form: 18007650102,,,, The commas create pauses in the dialing sequence. The trailing commas are required because there is always some delay between dialing and the actual sending of the page.

    If the pager is alphanumeric the input should take the form: 180007654321;2119999 where 18007654321 is the paging company number and 2119999 is the actual pager number.

  5. For cell phone text messaging using email, enter the address of the cell phone. This is in the format:

    phone_number@provider_address. Consult your provider for the specific provider_address format. It may look like 180007654321@provider.net. Multiple space-separated addresses can be used. Test this by sending an email. To send email to multiple addresses, separate the addresses using a space.

  6. You can send a text message wirelessly to a cell phone, if a GSM modem is used instead of the dialer modem. The format is <cell phone number>#. For example, it may look like 7564321#. The SIM providers may support international calls.
    Note: start of changeYou can define a remote notification method for shutdown system event.end of change
    Table 2. Phone number fields
    Field Value
    Filename Specify the path of the text file containing the pager message or cell phone message. Note: Make sure the path refers to the correct location of the message file on each node specified in the Node Name(s) field.
    Cluster Event(s) Specify the event(s) that activate this notification method. Press F4 to get a list of event names. Separate multiple events with a space.
    Note: start of changeThis list also includes a system event, aix_shutdown.end of change
    Retry Counter Specify how many times to reissue the page or cell phone message if it fails. The default is 3 times.
    TIMEOUT Specify how many seconds to wait before considering a page or cell phone message attempt failed. The default is 45 seconds.
  7. When you finish entering values in all fields, press Enter.
  8. Synchronize the cluster to propagate the configuration information to the other nodes.
    Note: The configuration information can be entered on one node and propagated to the others during synchronization, but you must manually make sure that the correct page or cell phone message text files reside in the correct locations on each node in the nodelist.