Creating Custom Reports
You can use the report authoring tools to create custom reports. After creating reports, you can save them and run them on a regular schedule. The results of reports can be automatically sent by email to yourself and others.
The Reporting feature is available in Data Infrastructure Insights Premium Edition. |
The examples in this section show the following process, which can be used for any of the Data Infrastructure Insights Reporting data models:
-
Identifying a question to be answered with a report
-
Determining the data needed to support the results
-
Selecting data elements for the report
Before designing your custom report, you need to complete some prerequisite tasks. If you do not complete these, reports could be inaccurate or incomplete.
For example, if you do not finish the device identification process, your capacity reports will not be accurate. Or, if you do not finish setting annotations (such as tiers, business units, and data centers), your custom reports might not accurately report data across your domain or might show "N/A" for some data points.
Before you design your reports, complete the following tasks:
-
Configure all data collectors properly.
-
Enter annotations (such as tiers, data centers, and business units) on devices and resources in your environment. It is beneficial to have annotations stable before generating reports, because Data Infrastructure Insights Reporting collects historical information.
Report Creation Process
The process of creating custom (also called "ad hoc") reports involves several tasks:
-
Plan the results of your report.
-
Identify data to support your results.
-
Select the data model (for example, Chargeback data model, Inventory data model, and so on) that contains the data.
-
Select data elements for the report.
-
Optionally format, sort, and filter report results.
Planning the Results of Your Custom Report
Before you open the report authoring tools, you might want to plan the results you want from the report. With report authoring tools, you can create reports easily and might not need a great deal of planning; however, it is a good idea to get a sense from the report requestor about the report requirements.
-
Identify the exact question you want to answer. For example:
-
How much capacity do I have left?
-
What are the chargeback costs per business unit?
-
What is the capacity by tier to ensure that business units are aligned at the proper tier of storage?
-
How can I forecast power and cooling requirements? (Add customized metadata by adding annotations to resources.)
-
-
Identify the data elements that you need to support the answer.
-
Identify the relationships between data that you want to see in the answer. Do not include illogical relationships in your question, for example, “I want to see the ports that relate to capacity.”
-
Identify any calculations needed on data.
-
Determine what types of filtering are needed to limit the results.
-
Determine if you need to use current or historical data.
-
Determine if you need to set access privileges on reports to limit the data to specific audiences.
-
Identify how the report will be distributed. For example, should it be emailed on a set schedule or included in the Team content folder area?
-
Determine who will maintain the report. This might affect the complexity of the design.
-
Create a mockup of the report.
Tips for designing reports
Several tips might be helpful when you are designing reports.
-
Determine whether you need to use current or historical data.
Most reports only need to report on the latest data available in the Data Infrastructure Insights.
-
Data Infrastructure Insights Reporting provides historical information on capacity and performance, but not on inventory.
-
Everybody sees all data; however, you might need to limit data to specific audiences.
To segment the information for different users, you can create reports and set access permissions on them.
Reporting data models
Data Infrastructure Insights includes several data models from which you can either select predefined reports or create your own custom report.
Each data model contains a simple data mart and an advanced data mart:
-
The simple data mart provides quick access to the most commonly used data elements and includes only the last snapshot of Data Warehouse data; it does not include historical data.
-
The advanced data mart provides all values and details available from the simple data mart and includes access to historical data values.
Capacity data models
Enables you to answer questions about storage capacity, file system utilization, internal volume capacity, port capacity, qtree capacity, and virtual machine (VM) capacity. The Capacity data model is a container for several capacity data models. You can create reports answering various types of questions using this data model:
Storage and Storage Pool Capacity data model
Enables you to answer questions about storage capacity resource planning, including storage and storage pools, and includes both physical and virtual storage pool data. This simple data model can help you answer questions related to capacity on the floor and the capacity usage of storage pools by tier and data center over time.
If you are new to capacity reporting, you should start with this data model because it is a simpler, targeted data model. You can answer questions similar to the following using this data model:
-
What is the projected date for reaching the capacity threshold of 80% of my physical storage?
-
What is the physical storage capacity on an array for a given tier?
-
What is my storage capacity by manufacturer and family as well as by data center?
-
What is the storage utilization trend on an array for all of the tiers?
-
What are my top 10 storage systems with the highest utilization?
-
What is the storage utilization trend of the storage pools?
-
How much capacity is already allocated?
-
What capacity is available for allocation?
File System Utilization data model
This data model provides visibility about capacity utilization by hosts at the file system level. Administrators can determine allocated and used capacity per file system, determine the type of file system, and identify trending statistics by file system type. You can answer the following questions using this data model:
-
What is the size of the file system?
-
Where is the data kept and how is it accessed, for example, local or SAN?
-
What are the historical trends for the file system capacity? Then, based on this, what can we anticipate for future needs?
Internal Volume Capacity data model
Enables you to answer questions about internal volume used capacity, allocated capacity, and capacity usage over time:
-
Which internal volumes have a utilization higher than a predefined threshold?
-
Which internal volumes are in danger of running out of capacity based on a trend?
8 What is the used capacity versus the allocated capacity on our internal volumes?
Port Capacity data model
Enables you to answer questions about switch port connectivity, port status, and port speed over time. You can answer questions similar the following to help you plan for purchases of new switches:
How can I create a port consumption forecast that predicts resource (port) availability (according to data center, switch vendor and port speed)?
-
Which ports are likely to run out of capacity, providing data speed, data center, vendor and number of Host and storage ports?
-
What are the switch port capacity trends over time?
-
What are the port speeds?
-
What type of port capacity is needed and which organization is about to run out of a certain port type or vendor?
-
What is the optimal time to purchase that capacity and make it available?
Qtree Capacity data model
Enables you to trend qtree utilization (with data such as used versus allocated capacity) over time. You can view the information by different dimensions—for example, by business entity, application, tier, and service level. You can answer the following questions using this data model:
-
What is the used capacity for qtrees versus the limits set per application or business entity?
-
What are the trends of our used and free capacity so that we can do capacity planning?
-
Which business entities are using the most capacity?
-
Which applications consume the most capacity?
VM Capacity data model
Enables you to report your virtual environment and its capacity usage. This data model lets you report on changes in capacity usage over time for VMs and data stores. The data model also provides thin provisioning and virtual machine chargeback data.
-
How can I determine capacity chargeback based on capacity provisioned to VMs and data stores?
-
What capacity is not used by VMs and which portion of unused is free, orphaned, or other?
-
What do we need to purchase based on consumption trends?
-
What are my storage efficiency savings achieved by using storage thin provisioning and deduplication technologies?
Capacities in the VM Capacity data model are taken from virtual disks (VMDKs). This means that the provisioned size of a VM using the VM Capacity data model is the size of its virtual disks. This is different from the provisioned capacity in the Virtual Machines view in Data Infrastructure Insights, which shows the provisioned size for the VM itself.
Volume Capacity data model
Enables you to analyze all aspects of the volumes in your environment and organize data by vendor, model, tier, service level, and data center.
You can view the capacity related to orphaned volumes, unused volumes, and protection volumes (used for replication). You can also see different volume technologies (iSCSI or FC), and compare virtual volumes to non-virtual volumes for array virtualization issues.
You can answer questions similar to the following with this data model:
-
Which volumes have a utilization higher than a predefined threshold?
-
What is the trend in my data center for orphan volume capacity?
-
How much of my data center capacity is virtualized or thin provisioned?
-
How much of my data center capacity must be reserved for replication?
Chargeback data model
Enables you to answer questions about used capacity and allocated capacity on storage resources (volumes, internal volumes, and qtrees). This data model provides storage capacity chargeback and accountability information by hosts, application, and business entities, and includes both current and historical data. Report data can be categorized by service level and storage tier.
You can use this data model to generate chargeback reports by finding the amount of capacity that is used by a business entity. This data model enables you to create unified reporting of multiple protocols (including NAS, SAN, FC, and iSCSI).
-
For storage without internal volumes, chargeback reports show chargeback by volumes.
-
For storage with internal volumes:
-
If business entities are assigned to volumes, chargeback reports show chargeback by volumes.
-
If business entities are not assigned to volumes but assigned to qtrees, chargeback reports show chargeback by qtrees.
-
If business entities are not assigned to volumes and not assigned to qtrees, chargeback reports show the internal volume.
-
The decision whether to show chargeback by volume, qtree or internal volume is made per each internal volume, so it is possible for different internal volumes in the same storage pool to show chargeback at different levels.
-
Capacity facts are purged after a default time interval. For details, see Data Warehouse processes.
Reports using the Chargeback data model might display different values than reports using the Storage Capacity data model.
-
For storage arrays that are not NetApp storage systems, the data from both data models is the same.
-
For NetApp and Celerra storage systems, the Chargeback data model uses a single layer (of volumes, internal volumes, or qtrees) to base its charges, while the Storage Capacity data model uses multiple layers (of volumes and internal volumes) to base its charges.
Inventory data model
Enables you to answer questions about inventory resources including hosts, storage systems, switches, disks, tapes, qtrees, quotas, virtual machines and servers, and generic devices. The Inventory data model includes several submarts that enable you to view information about replications, FC paths, iSCSI paths, NFS paths, and violations. The Inventory data model does not include historical data. Questions you can answer with this data
-
What assets do I have and where are they?
-
Who is using the assets?
-
What types of devices do I have and what are components of those devices?
-
How many hosts per OS do I have and how many ports exist on those hosts?
-
What storage arrays per vendor exist in each data center?
-
How many switches per vendor do I have in each data center?
-
How many ports are not licensed?
-
What vendor tapes are we using and how many ports exist on each tape?re all the generic devices identified before we begin working on reports?
-
What are the paths between hosts and storage volumes or tapes?
-
What are the paths between generic devices and storage volumes or tapes?
-
How many violations of each type do I have per data center?
-
For each replicated volume, what are the source and target volumes?
-
Do I have any firmware incompatibilities or port speed mismatches between Fibre Channel host HBAs and switches?
Performance data model
Enables you to answer questions about performance for volumes, application volumes, internal volumes, switches, applications, VMs, VMDKs, ESX versus VM, hosts, and application nodes. Many of these report Hourly data, Daily data, or both. Using this data model, you can create reports that answer several types of performance management questions:
-
What volumes or internal volumes have not been used or accessed during a specific period?
-
Can we pinpoint any potential misconfiguration for storage for an application (unused)?
-
What was the overall access behavior pattern for an application?
-
Are tiered volumes assigned appropriately for a given application?
-
Could we use cheaper storage for an application currently running without impact to application performance?
-
What are the applications that are producing more accesses to currently configured storage?
When you use the switch performance tables, you can obtain the following information:
-
Is my host traffic through connected ports balanced?
-
Which switches or ports are exhibiting a high number of errors?
-
What are the most used switches based on port performance?
-
What are the underutilized switches based on port performance?
-
What is the host trending throughput based on port performance?
-
What is the performance utilization for last X days for one specified host, storage system, tape, or switch?
-
Which devices are producing traffic on a specific switch (for example, which devices are responsible for use of a highly utilized switch)?
-
What is the throughput for a specific business unit in our environment?
When you use the disk performance tables, you can obtain the following information:
-
What is the throughput for a specified storage pool based on disk performance data?
-
What is the highest used storage pool?
-
What is the average disk utilization for a specific storage?
-
What is the trend of usage for a storage system or storage pool based on disk performance data?
-
What is the disk usage trending for a specific storage pool?
When you use VM and VMDK performance tables, you can obtain the following information:
-
Is my virtual environment performing optimally?
-
Which VMDKs are reporting the highest workloads?
-
How can I use the performance reported from VMDs mapped to different datastores to make decisions about re-tiering.
The Performance data model includes information that helps you determine the appropriateness of tiers, storage misconfigurations for applications, and last access times of volumes and internal volumes. This data model provides data such as response times, IOPs, throughput, number of writes pending, and accessed status.
Storage Efficiency data model
Enables you to track the storage efficiency score and potential over time. This data model stores measurements of not only the provisioned capacity, but also the amount that is used or consumed (the physical measurement). For example, when thin provisioning is enabled, Data Infrastructure Insights indicates how much capacity is taken from the device. You can also use this model to determine efficiency when deduplication is enabled. You can answer various questions using the Storage Efficiency data mart:
-
What is our storage efficiency savings as a result of implementing thin provisioning and deduplication technologies?
-
What are the storage savings across data centers?
-
Based on historical capacity trends, when do we need to purchase additional storage?
-
What would be the capacity gain if we enabled technologies such as thin provisioning and deduplication?
-
Regarding storage capacity, am I at risk now?
Data model fact and dimension tables
Each data model includes both fact and dimension tables.
-
Fact tables: Contain data that is measured, for example, quantity, raw and usable capacity. Contain foreign keys to dimension tables.
-
Dimension tables: Contain descriptive information about facts, for example, data center and business units. A dimension is a structure, often composed of hierarchies, that categorizes data. Dimensional attributes help describe the dimensional values.
Using different or multiple dimension attributes (seen as columns in the reports), you construct reports that access data for each dimension described in the data model.
Colors used in data model elements
Colors on data model elements have different indications.
-
Yellow assets: Represent measurements.
-
Non-yellow assets: Represent attributes. These values do not aggregate.
Using multiple data models in one report
Typically, you use one data model per report. However, you can write a report that combines data from multiple data models.
To write a report that combines data from multiple data models, choose one of the data models to use as the base, then write SQL queries to access the data from the additional data marts. You can use the SQL Join feature to combine the data from the different queries into a single query that you can use to write the report.
For example, say you want the current capacity for each storage array and you want to capture custom annotations on the arrays. You could create the report using the Storage Capacity data model. You could use the elements from the Current Capacity and dimension tables and add a separate SQL query to access the annotations information in the Inventory data model. Finally, you could combine the data by linking the Inventory storage data to the Storage Dimension table using the storage name and the join criteria.