Priming pentaho bi server cache - pentaho

I need to priming cache to Pentaho BI Server. I'm using Pentaho Data Integration, mondrian and pentaho bi server. I want precache my dashboard, but i dont know how to make this. I try wget with spider option, but this dont make any change.

Open up the CDA file in the user console and you'll be able to get a URL to get the CDA data. USe this url in a http get step in PDI to prime the cda cache.
OR to get the initial URLs just simply use firebug or similar to see what CDA urls are called when the dashboard loads and then call these urls from PDI.

Have you tried 'Scheduled Queries' in the CDA Cache Manager from the Pentaho BI Server?
It works for me (Pentaho 7) but I'm not using PDI.
You can have a look to this post:
https://forums.pentaho.com/showthread.php?208467-CDA-Cache&p=439893#post439893

Related

Where are CDE Dashboard files stored?

For the life of me I cannot find where Pentaho stores the user-created CDE Dashboard files in the file structure? I am using the Community Edition, and I assumed that all the files would be stored in /biserver-ce/pentaho-solutions. When I sign into the Pentaho User Console and select Browse Files, the folders I see do not match what I see in the pentaho-solutions directory. For example, there is a "Steel Wheels" folder in the Browse Files pane, but I cannot find it in the Pentaho directory. Similarly, if I create a folder and a CDE Dashboard within it, I cannot find it in the Pentaho directory. I have done find / -name "*.wcdf" and it doesn't find the CDE Dashboard I created.
I have tried a couple tutorials where I manually create the CDF files, such as index.properties, index.xml, the .xcdf file and .html file, and if I place the files in a folder in the /biserver-ce/pentaho-solutions directory (and of course, stop and start the Pentaho server), I do not see the dashboard show up in the Browse Files pane through the Pentaho User Console.
The files must be somewhere; likewise, if we manually create the files per the tutorials, they must be able to be placed somewhere for the PUC to pick them up. Can anyone please help? Sadly, I have already spent hours on this and not sure I will be able to figure this out without some help.
AFAIK, it depends on Pentaho version. From Pentaho 5 till current Pentaho 7 the Jackrabbit JCR repository is used to sort of 'emulate' a file system, but with possibilities to store the entire system in different storage types. Most of Pentaho server objects, such as CDF dashboards, datasource definitions etc are stored in this repository. In the default pentaho installation JCR uses a database with name 'jackrabbit' in your DBMS to persist its state. But the actual repository location can be defined somewhere in configuration files in pentaho-solutions/system/jackrabbit/ directory.
You cannot directly access the dashboard files outside the pentaho
server. If you want to access these files outside then you need to
download these files, you can download
dashboard.wcdf,dashboard.cda,dashboard.cdfde files from Pentaho your
console. Then again if you want to send your dashboard to your friend
or someone you can upload these files in pentaho user console.

How to get all the files and folder from the repository of pentaho bi server5?

I'm new to pentaho and exploring it. For my application I require the list of all the files stored in the repository of pentaho. I'm using saiku for analytics. Can anyone tell me how can I do that?
There is a REST API for most Pentaho BA Server capabilities, here is a link to the 5.2 documentation for the Repository-related REST API:
http://help.pentaho.com/Documentation/5.2/0R0/070/010/0A0/0Q0

how to integrate 2 different server logs to splunk server?

i want to take various server logs and send it to the splunk server. is that possible?
i assume it has to do something with the rysyslog.conf ... but I have no idea of how to do it?
Of course you can do that, this is what splunk is all about.
Install the universal forwarder and configure the inputs.conf file to gather the data from your files.
http://docs.splunk.com/Documentation/Splunk/6.2.0/Forwarding/Deploymentoverview

upload file to my server using pentaho data integration(pdi)

On my pdi transformations, a file is created and then a table on my database_1 is updated with the information on that file.
That work perfectly fine.
What i need now is to upload the file to some place in my web server. But I want to upload it automaticaly each time I finish the transformation described above.
There is any job that could send a file to my web server?! or any other viable automated ways to do it?
thank you.
Can't you just use the SFTP step?

Refreshing Repository Cache in Pentaho

I wanted to know if there is a way to refresh the Pentaho Repository cache using ant. We have a build setup to pull all the new reports/jobs etc from version control and update the pentaho solution. I'm just stuck at the last step of refreshing the Solution Repository Cache so that the newly updated/added reports/jobs ect could be used.
My last option was to refresh Pentaho webapp in Tomcat but it would have been really nice to have an ant job or a http request that could be made from ant to refresh the cache.
Thanks in advance.
Regards,
Srijith
Look at this jira issue: http://jira.pentaho.com/browse/BISERVER-7632
You can use this url to refresh cache repository.