Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Why does editing an existing custom report in CommandCentral Storage (CCS) produce an error?.

Updated: 13 Jul 2011 | 5 comments
RodP's picture
0 0 Votes
Login to vote
This issue has been solved. See solution.

Problem

Unable to  to customize an existing custom sample report for the purposes desired.

Duplication:

1) Go to the Custom Reports section of the GUI:

https://imconsole-kb.ges.symantec.com/library/BUSINESS/TECH158849/custom_drop.JPG

2) select a protected sample report and attempt to edit it:

 

Error

you cannot edit a sample ad hoc report.

When selecting a sample report for editing an error is thrown:

 

Environment

Operating systems:

Windows; 2003, 2008

Enterprise (x86-32bit) SP2
Standard (x86-32bit) SP2
Enterprise (x64-64bit) SP2
Standard (x64-64bit) SP2
DataCenter (x64-64bit) SP2
DataCenter (x86-32bit) SP2
Enterprise Edition (x64)
Enterprise SP2(x64)
Enterprise SP2
Datacenter SP2(x64)
DataCenter SP2

Solaris 9, 10

CCS <gui-version> 5.2.473.0 or greater

 

Cause

Sample reports are replaced upon upgrade and modifications are not allowed by design.

 

Solution

Create a new custom report by using the ad hoc reporting function to add a report with the SQL query desired.

Since editing a sample report is not allowed an Administrator must determine the SQL Query being used and create a new report using that query.

For example using the SAN  Storage Report:

1) Assuming the current Webpage is the Custom Reports as mentioned above, and the San Storage Report has been selected by placing a checkmark in the box adjacent to the report use the drop down  in the upper right corner of the page to Export the Report Definition.

https://imconsole-kb.ges.symantec.com/library/BUSINESS/TECH158849/export.JPG

2) Select to save the export or open it in an appropriate editor:

https://imconsole-kb.ges.symantec.com/library/BUSINESS/TECH158849/export1.JPG

3) View the file exported and capture the <value> for the <property> named body0.queryStr.

For example:

select VirtualHostName, Array_Name as ArrayName, PoolName, VMDiskName
 from ccstor.V_StoragePoolArrayUsageView, ccstor.V_Array, ccstor.V_VirtualHostDiskReportView
where V_VirtualHostDiskReportView.PoolLink = V_StoragePoolArrayUsageView.SPLink AND V_StoragePoolArrayUsageView.ArrayLink = V_Array.Array_Id    group by VirtualHostName,PoolName,ArrayName,VMDiskName  order by 1,2,3

4) Create a new Adhoc report for the query. On the Custom Report page in the Drop Down from the upper Right corner select the option to Create Ad hoc Report and select Go.

https://imconsole-kb.ges.symantec.com/library/BUSINESS/TECH158849/adhoc.JPG

5) In the popup that follows complete the Report name that will be in the custom report list on the page where you found the SAN Storage Report.

Note: assumes that popups are allowed from the CCS Management Server (MS)

https://imconsole-kb.ges.symantec.com/library/BUSINESS/TECH158849/reportname.JPG

6) Click next and populate the required fields on the next popup.

Note: the boxes for graphical formatting will remain greyed out unless the default is changed from a table output and a type of chart requiring the parameters is chosen.

https://imconsole-kb.ges.symantec.com/library/BUSINESS/TECH158849/reportstructurefull.JPG

7) After adding the query, run a preview to ensure the data desired is populated in the report and perform any changes to the query, Display Title or Description required before clicking the Finish button to save the report.

https://imconsole-kb.ges.symantec.com/library/BUSINESS/TECH158849/add.JPG

8) The saved report appears in the custom reports list and can be run in the future by double clicking the name listed in blue or scheduled using the drop down list to create a schedule.

https://imconsole-kb.ges.symantec.com/library/BUSINESS/TECH158849/completed.JPG

Note: The newly created report now resides in the default (or custom if created) directory and will not be overwritten on upgrade.

Comments

Supertech's picture
27
Apr
2011
0 Votes 0
Login to vote

why i cannot see these

why i cannot see these picturessad

RodP's picture
28
Apr
2011
0 Votes 0
Login to vote

Viewing articles

Supertech:

Thanks for the heads up. I do not think my table had permissions to load the pictures and the constraints were too tight for the formating. Based on your feedback I have made some changes to the article. I wll test it from my home office toight, as internally all looks fine. Let me know if you still have an issue and thank you for letting me know.

 

Rod

Supertech's picture
28
Apr
2011
0 Votes 0
Login to vote

Thanks Rod, I can see it now

maybe something is wrong with Our GreatWall~

i can see it now~~

SO,this is a solution?

RodP's picture
02
May
2011
0 Votes 0
Login to vote

Count it as a HOWTO article unless you run into this problem

Hello SuperTech:

 

Count it as a HOWTO article unless you run into this problem, then it is your solution. If it was helpful to you then feel free to vote it up inthe searches or stamp it as a solution to mark it as successful. It is very easy to test just following the steps. I hopes it helps.

 

Rod

Kimberley's picture
13
Jul
2011
0 Votes 0
Login to vote

Hi RodP, I've added this to

Hi RodP,

I've added this to the articles section, as well, so that it'll get more visibility: http://www.symantec.com/connect/articles/why-does-.... Thanks for providing such great instructions!

Best,

Kimberley

Thanks for participating in the community!