Chapter 14 Dataviews
This chapter provides the following information:
Overview of Dataviews
Dataviews are customized data property tables. You can create dataviews
for any of the following data:
-
One type of data from several different hosts within a single domain
-
Several types of data from one host
-
Several types of data from different hosts within a single domain
An example of the first concept is a dataview that monitors CPU usage in group
of hosts. An example of the second concept is a dataview that monitors disk space
and CPU usage on one host.
Note –
Dataviews allow you to combine information from different hosts within
a Sun Management Center domain; however, you cannot create a dataview that combines data from
different domains.
Dataview Contents
The data that is used to create a dataview is copied from different sources,
including:
Dataviews are an excellent way of monitoring a collection of unrelated information.
Because these views are presented in a table, a variety of data can be easily compared.
Dataviews are created once and are refreshed automatically. Dataviews have all the
features of module tables, except that cells cannot be edited. In dataviews, alarm
status is correctly propagated. Cells that have triggered a critical alarm appear
in red.
When you create a dataview, the dataview is stored in the database. The dataview
persists until you explicitly delete the dataview. In addition, because dataviews
are stored in the database, dataviews can be shared. Any dataview that is built on
a particular Sun Management Center server can be viewed by all authorized users on that server.
Navigating Through a Dataview Window
The dataview window contains the following main menu items:
-
File, which enables you to save the current dataview to a name or
to close the current dataview
-
Edit, which enables you to paste a dataview from the clipboard or
to delete selected rows
-
Tools, which provides direct access to the Attribute Editor for the
selected cell
-
Help, which displays online help
Creating a Dataview
From the Details and console windows, there are two options to create
a dataview:
To Create a Dataview From the Context Pop-up
Menu
-
Open the Details window for the host in which
you are interested.
The Module Browser view appears in the Details window.
-
Click the expansion icon next to the items in
the hierarchy down to the desired data property.
-
Press mouse button 3 on a row or cell in the
data property table. Then, choose Create Dataview from the pop-up menu.
-
Select Cell or Row(s) as appropriate.
An automatically populated dataview window appears.
To Create a Dataview From the Options Menu
-
Open the Details window for the host in which you are interested.
The Module Browser view appears in the Details window.
-
Click the expansion icon next to the items in the hierarchy down to the
desired data property.
-
In the data property table, select a row or a
cell.
-
From the Options icon menu, choose Create Dataview.
Tip –
The Options icon menu is the second from the left icon above the hierarchy
view. This icon looks like a list with a check mark.
-
Select Cell or Row(s) as appropriate.
An automatically populated
dataview window appears.
To Copy to the Dataview Clipboard From the Details
Window
-
Press mouse button 3 on a row or data cell in
a data property table. Then, choose Copy to Dataview Clipboard from the pop-up menu.
-
Select Cell or Row(s) as appropriate.
-
To add the copied information to an existing
dataview, follow these steps:
-
Open an existing dataview as explained in To Open an Existing Dataview.
-
From the Edit menu, choose Paste from Clipboard.
-
To add the copied information to a new dataview,
follow these steps:
-
In the Details window, click the Dataview icon.
Tip –
The Dataview icon is the third icon from the right above the data property
table.
An empty Dataview window appears.
-
From the Edit menu, choose Paste from Clipboard.
To Copy to the Dataview Clipboard From the Console
Window
-
Select a row or data cell in a data property
table.
-
Press mouse button 3 and choose Copy to Dataview
Clipboard from the pop-up menu.
-
Select Cell or Row(s) as appropriate.
-
To add the copied information to an existing dataview, follow these steps:
-
Open an existing dataview as explained in To Open an Existing Dataview.
-
From the Edit menu, choose Paste from Clipboard.
-
To add the copied information to a new dataview, follow these steps:
-
In the Console window, choose Dataview Manager from the Tools menu.
The Dataview Manager window appears.
-
Click the Create button.
An empty
Dataview window appears.
-
From the Edit menu, choose Paste from Clipboard.
Working With Dataviews
The procedures in this section explain how to open, save, or delete a dataview.
To Open an Empty Dataview Window
-
In the console window, choose Dataview Manager
from the Tools menu.
The Dataview Manager window appears.
-
Click the Create Button.
An empty
Dataview window appears.
To Open an Existing Dataview
-
In the Dataview Manager window, select the name
of the dataview that you want to open.
-
Click the Open button.
To Delete a Dataview
-
In the Dataview Manager window, select the name
of the dataview that you want to delete.
-
Click the Delete button.
Note –
A Delete confirmation window appears to remind you that deleting a dataview
is a permanent action.
To Save a Dataview
-
In the Dataview window, choose Save from the
File menu.
The Save Dataview window appears. You can type an optional
description in the Description field.
-
Click the Save Dataview button.
Note –
If the name that you have chosen for this dataview exists, a Warning window
appears.
Types of Dataviews
There are two types of Dataviews:
Scalar Dataviews
A scalar dataview is created from scalar data items, which are single
cells from scalar or vector tables. A scalar dataview includes the following three
columns:
To Create a Scalar Dataview
The following example uses the CPU Utilization table.
-
In the Details window, navigate to the CPU Utilization
table.
-
Select a data cell in the table.
-
Copy the data cell to the dataview clipboard
in either of the following ways:
-
From the Options menu, choose Copy to Dataview Clipboard Cell(s) or
Create Dataview Cell(s).
-
In the Details window, press mouse button 3 on the table and select
Copy to Dataview Clipboard Cell(s) from the pop-up menu.
For additional information about the Copy to Dataview Clipboard and the Create
Dataview options, see Creating a Dataview.
Vector Dataviews
The vector dataview contains one or more rows from a vector module table.
You can simultaneously select one row or multiple rows from a vector table. You can
select multiple rows that are not contiguous. For example, you could select the following
rows:
-
Row number 1
-
Row number 3
-
Row number 4
-
Row number 6
You cannot select partial rows.

Caution –
Do not paste rows from vector and scalar tables into the same dataview
window.
To Create a Vector Dataview
The following example uses the CPU Utilization table.
-
In the Browser Details window, navigate to the
CPU Utilization table.
-
Select a row in the table.
Tip –
To select multiple rows in the table, use the Shift key. To select multiple,
non-continuous rows from the table, use the Control key.
-
To copy the data rows to the dataview clipboard,
proceed with one of the following:
-
From the Options menu, choose Copy to Dataview Clipboard Row(s) or
Create Dataview Row(s).
-
In the Details window, press mouse button 3 on the table and select
Copy to Dataview Clipboard Row(s).
For additional information about the Copy to Dataview Clipboard and the Create
Dataview options, see Creating a Dataview.
Caution – You can only paste compatible data types. If you try to paste an incompatible
data type, an error dialog box appears.