16.10.2015 Views

Getting Started with IBM Data Studio for DB2

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

156 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>IBM</strong> <strong>Data</strong> <strong>Studio</strong> <strong>for</strong> <strong>DB2</strong><br />

3. Highlight the <strong>Data</strong>base Availability row and click Edit.<br />

4. Ensure that the Enabled option is selected.<br />

5. In the Critical section, deselect the Quiesced option.<br />

6. In the Warning section, select the Quiesced option.<br />

7. Click OK.<br />

After the monitoring refresh occurs on the Health Summary page, you will see the <strong>Data</strong><br />

Server Status change from Critical (Red) to Warning (Yellow). The Warning Count should<br />

now be raised by 1. Do not be alarmed if the Critical Count is still showing 1. The counts<br />

are a cumulative (summary) history of how many alerts have occurred <strong>with</strong>in the past xx<br />

minutes. If you select the critical alert, you will also see that there is now an end time <strong>for</strong> it,<br />

meaning that the alert has closed. The start-end time duration is the time during which this<br />

problem was present.<br />

Finally, follow these steps to un-quiesce the database:<br />

1. Open a <strong>DB2</strong> command window.<br />

2. Connect to the database <strong>with</strong> the following command:<br />

db2 connect to GSDB<br />

3. Unquiesce the database <strong>with</strong> the following command:<br />

db2 unquiesce db<br />

After the monitoring refresh occurs on the Health Summary page, you should see the <strong>Data</strong><br />

Server Status change from Warning (yellow) back to Normal (green). The previous warning<br />

alert should also end. After the situation has returned to normal, you can still determine that<br />

the database was quiesced because this in<strong>for</strong>mation is reflected in the summary counts, as<br />

well as in the Alert List page <strong>for</strong> that time duration.<br />

4.10.5 Connections<br />

The Connections Alert warns you when there are too many connections to a database at<br />

the same time. By default, the Connections Alert is turned off, but preset to generate a<br />

warning alert if the number of connections detected is greater than or equal to 100, and a<br />

critical alert if greater than or equal to 150. Typically, you need to decide what number<br />

constitutes a critical level, and what constitutes a warning level. What may be a perfectly<br />

reasonable limit <strong>for</strong> one database may not be so <strong>for</strong> another database.<br />

For this exercise, follow these steps to lower the thresholds <strong>for</strong> the alert, so you don't have<br />

to create over 100 connections to trigger the alert:<br />

1. Navigate to the Health Alerts Configuration page.<br />

2. Select the database that you want to use <strong>for</strong> this scenario.<br />

3. Highlight the Connections row and click Edit.<br />

4. Select the Enabled option if it is not already selected.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!