|Oracle Enterprise Manager Administrator's Guide
Part Number A85248-01
The Group system lets you organize the objects you manage into logical categories for more efficient management and administration. You can organize groups based on any criteria you determine, such as function, department, geographical location, or number of administrators. You can then place the groups on a map or graphical view of the network making it easy to locate, diagnose, and act on encountered conditions. The system also lets you assign jobs to groups and monitor their status. The Groups system is especially useful for managing environments with many databases and services.
The topics discussed in this chapter include:
The Group pane provides an area for constructing a graphical custom view of the network environment. When all four panes are displayed, the Groups pane is located in the upper right corner of the console. See Figure 3-1, "Navigator and Group Panes" for an illustration of a Group pane.
The Group pane can be hidden or shown by selecting Show/Hide Group pane in the Console View menu. You can also hide or show the pane by clicking on the Show/Hide Group Display button above the Console toolbar.
Note that groups are also displayed in the Navigator pane. To display the members of a group in this pane, expand the group by clicking the "+" symbol next to the group name.
The Group menu options allow you to perform such actions as create, modify, and remove groups.
Adds a new group to the selected group. See "Adding Objects to a Group" on page 3-9 for more information.
Copies an existing group.
Modifies an existing group. See "Modifying a Group" on page 3-10 for more information.
Removes an existing group from the current group, or deletes the group from the entire system. See "Removing Groups" on page 3-10 for more information.
Deletes the selected item from the group pane. You can also delete an object from the group by selecting the object and pressing the Delete key. See "Removing Groups" on page 3-10 for more information.
A group is a collection of objects, such as databases, listeners, or nodes, that share a common location or function. You can create, modify, and remove groups to further organize your network view. Different types of objects, like databases and listeners, can be grouped together.
Groups appear in two places: the Navigator and the Group pane.
A group is represented on the Navigator by an icon and a name. You can double-click on the group's icon to expand the group, and view and update the group's members and sub-groups.
The Group pane gives you a more graphical view of the objects in the group and their individual status. You can also add background maps to the Group pane to better visualize locations of particular objects.
Grouping nodes or services can simplify tasks that are applied to all members of the group. For example, in order to execute a SQL script on all the databases in the CHI_MAIL group, you can use the Job Scheduling services to schedule a job on the group. The job that executes the SQL script is scheduled on all the databases in the group. The job will not be applied to any other objects in the group.
Jobs and events applied to an object before it joins a group will not be applied to the group retroactively. You must re-apply any jobs or events you want to apply to the entire group.
If you submit a job or event against a group that contains a mixture of manually configured and discovered targets, the job or event will only be submitted against the discovered targets. If all the targets in a group are manually configured, then the job/event submitted against that group will fail.
To create a group, select the Create Group menu item to display the Create a Group property sheet. The property sheet contains the General and Permissions pages (see Figure 3-2 and Figure 3-3). After you have completed the property sheet pages, click the OK button to save the group. The new group appears under Groups in the Navigator. The Group pane will remain empty.
The new group is empty until you add objects to it. Dragging an object from the Navigator menu copies and pastes it into a group. Note that this action does not remove the object from the Navigator. In fact, you can add an object to any number of groups, and still be able to manipulate it individually, as well.
To add an object to a group, select it and drag it over to the Group pane, or drag it over to a group folder in the Navigator pane. To add an existing group to the new group, or to another existing group, drag and drop the group from the Navigator into the group folder or the Group pane. An icon representing the object or group appears in the Navigator and in the Group pane.
Enter a unique name for the new group in the Group Name field of the dialog box.
Check this option if you want to display an image in the background of the group pane. Sample files are provided in the oracle_home\classes\oracle\sysman\resources\images directory on the machine where the Management Server is located. If you want to use your own images, Oracle recommends that you add them to this directory.
The sample images included are:
Do not specify a directory for graphics located in this directory. Specify only the file name, such as
usa.gif. You can use .GIF or .JPG graphic files. If you check the box, enter the file name of the image in the Bitmap Relative URL field. When an image is added to a group, the file name is stored in the repository.
Determine whether you want to display large or small icons in the group.
Determine the permissions that you want to assign to the group with the Permissions Page. This allows other users to view or modify the group. Any permissions assigned on this page over-write any user default permissions. See "Permissions" on page 1-23 for an explanation of the permissions that can be assigned.
Groups are populated by dragging and dropping databases, groups, nodes, listeners or any other discovered services from the Navigator into the Group pane. You can create, update, and save any number of groups. In addition, you can add a graphic as a background to the group for visual identification or to graphically show the location of nodes. For example, you can use a group drawing of a city or state for the background of your group.
Double-clicking on a group in the Navigator pane opens the hierarchical list of its members. You can display groups in the Group pane by selecting the group name from the pull-down list in the Console toolbar.
The Group system provides an efficient way to monitor the alerts reported by the event system. If the object or group has events registered against it, a flag showing the state of the event condition is displayed. If an object in a group has more than one event registered against it, the flag will represent the most severe alert condition.
Groups inherit the worst state of any of the members. If one service in a group is down, the group displays a grey flag.
For status monitors to display on a group or object, an Intelligent Agent must be running on the node where the object is located.
See Chapter 5, "Events" for more information on events.
Some group objects, such as database objects and defined group objects, can be expanded in the Group pane by double-clicking on the object's icon. You can double-click on some objects to open property sheets. The property sheets allow you to both view and alter the properties of the objects. You can double-click on databases to display property sheets.
See Figure 3-1, "Navigator and Group Panes" for an illustration of an expanded node in the Group pane.
When you double-click on a group icon, the group expands to display the objects in the group. You can drag and drop objects from the Group, the Navigator, and other groups to add them to the group. You can delete objects from the group by selecting them and pressing the Delete key, or clicking the right mouse button and selecting Remove.
When you double-click on a database or other discovered service, you connect to that service. The instance property sheet displays if that service is a database. If the connection to the database fails for any reason, the Login Information dialog box displays. See "Preferred Credentials" on page 1-25 for information on preferred credentials.
You can launch a database tool using an object in the group. Select a database icon in the Group pane, then select a DBA tool from the Tools menu or launch palette. You are connected to the database according to the user credentials that have been set up for the system. See "Preferred Credentials" on page 1-25 for more information on user credentials.
To add objects to a group, drag and drop the object from its location on the Navigator to the group--either the group folder on the Navigator or the group shown in the Group pane.
When you add objects in a group, the updates are reflected in every occurrence of the group. Any updates to a group are automatically saved as the updates are made.
To delete objects in a group pane:
To delete objects from a group in the Navigator:
When you delete objects from a group, the updates are reflected in every occurrence of that group. Any updates to a group are automatically saved as the updates are made.
You can modify the properties of a group.
There are two ways to remove a group:
After you select a group, there are four ways to remove it:
The following example illustrates how to create a new database group.
The new group can be added to other groups by dragging and dropping the group from the Navigator.