For your DB2® database
product to contact you or others regarding the status of your databases,
set up notification and contact lists. If you did not do this during
the DB2 database product installation,
you can manually set up these lists.
Procedure
To set up notification and contact lists:
- Log on as the instance owner or a user with SYSADM authority.
- If the SMTP server was not specified during the installation
process, you can configure it manually using the following command:
db2 update admin cfg using smtp_server host1
where host1 represents
the TCP/IP host name for the SMTP server used for email notification.
You can also update this information using the Create Database
with Automatic Maintenance wizard, or the Troubleshoot
Alert Notification wizard in the Health Center.
- If you want the contact information to be located on a
remote DB2 administration server
(DAS), you can specify the contact_host parameter
using the following command:
db2 update admin cfg using contact_host host2
where host2 represents
the TCP/IP host name where the DAS is running. If the contact_host parameter
is not specified, the DAS assumes the contact information is local.
- Turn on the scheduler using the following command:
db2 update admin cfg using sched_enable on
- For these changes to take effect, restart the DAS use the
following commands:
db2admin stop
db2admin start
- From either the Task Center or the Health Center, click
the Contacts icon in
the Task bar. Select System name, then click Add
Contact. Type in contact information and then click OK.