Internet Features   «Prev  Next»

Lesson 3Setting up a preferred user on Windows
ObjectiveCreate a user for running batch jobs for the Enterprise Manager.

Setting up Preferred User Windows

Now that you are able to run the Enterprise Manager console remotely, you can look at all your database nodes and monitor their activity. But wouldn't it be great if the console emailed you when one of your databases needed attention? You can set this up by creating a batch job.
A batch job can be run at predetermined times or when certain thresholds are reached in the database. For example, a batch job could be set up to run whenever your tablespace becomes 80 percent filled. The job could send you an email so you could add more space to the tablespace before it runs out of space. Before you can create a job that sends email to you, you must prepare your system by doing three tasks:
  1. Create a user that can run batch jobs on the Windows NT system where the Management Server is running.
  2. Configure the Management Server to use this user for its batch jobs.
  3. Configure the Enterprise Manager to send email to you.

You will learn how to do the first step in this lesson. The following lessons cover the other two steps.
Once all of these steps are completed, you will be ready to create a batch job that sends you emails. This final task is covered in the last lesson of this module. Run the simulation below to see how to create and configure a new user that the Management Server will use to run batch jobs. This simulation demonstrates the tasks required when using the Windows NT server system.
  1. The first step is to open up the user administration area of the Windows NT server. I have clicked the Start/Programs/Administrative Tools menu selections. Click User Manager for Domains to continue.
  2. Click User Manager for Domains
  1. The User Manager has been opened. You want to create a new user. Click the User menu.
  2. Select User Menu
  3. Click the New User selection in the pop-up menu.
  4. Select New User,
  1. You have now opened the New User window, where you can define the new user's name, password, and so on.
    Type in enterprisemgr as the user name and the full name. In the description field, type in Batch job runner for Enterprise Manager Type in emgr as the password. Then click the Password Never Expires check box.
  2. Click Password Never Expires
  3. User Name box
  4. enterprisemgr
  5. Please type information into each text entry box on the screen.
  6. Full Name box
  7. enterprisemgr
  8. Please type information into each text entry box on the screen.
  9. Description box,
  10. Batch job runner for Enterprise Manager
  11. Please type information into each text entry box on the screen.
  12. Password box
  13. Confirm Password box
  14. emgr
  15. Please type information into each text entry box on the screen.
  1. Now un-check the User Must Change Password at Next Login check box.
  2. Uncheck User Must Change Password at Next Login
  3. Complete the window by clicking the Add button.
  4. Click Add Button
  5. The next step is to set the privileges of the new user so it can run batch jobs. Click the Policies menu selection.
  6. Select Policies menu

Now you have a user who can log in to the Windows NT system as a batch job. The next step is to get the Management Server to use that user for its batch jobs. The next lesson shows you how to configure the Management Server to use the new Windows NT user for batch jobs.