Active IQ Unified Manager Discussions

Web-based access to WFA cache database

hland
5,275 Views

Accessing the WFA cache DB can be useful for developing filters and testing SQL queries directly on the database as well as for quickly verifying contents in the cache DB. As I was unhappy with switching between the web-based WFA interface and a RDP session to the server for using SQLyog or similar tools, I assembled a small solution to provide web-based access to the database. So now I can access the database in another tab of my browser.

The solution is completely based on free tools (NGINX webserver, PHP, Chive MySQL tool). It is portable so you can quickly deploy it on the WFA server without any installation - and removing it is just a matter of deleting one directory.

If anybody is interested: Get ftp://ftp.netapp.com/pub/home/hland/nginx_chive.zip and unzip it to 'c:\' on your WFA server while keeping the folder structure in the ZIP file intact. You should have the following path in the end: c:\nginx\start-server.vbs

Run the start-server.vbs (it will run in the background so you won't see anything), then point your browser to http://<wfa-server>:8888 You will see a login page, leave the server as 'localhost' and then enter username and password of a database user (WFA 1.1 will have a read-only user account that you can use). You can now browse all tables and run SQL queries. See screenshots below.

Hope this is useful

Hendrik

11 REPLIES 11

f_duranti
5,268 Views

Hi Hendrik, is the ftp public or internal only? I'm not able to download the file.

Regards

Francesco

hland
5,268 Views

Hi Francesco,

It's public but it seems that the forum insisted on making it http:// instead of ftp://. Please try again. If it doesn't work I'll attach the file directly to the post.

Regards

Hendrik

f_duranti
5,268 Views

Yeah it worked, did not saw the http:// in the address bar

yakobi
5,268 Views

Thanks Hendrick - this is awesome!

ahohl
5,268 Views

Excellent stuff.

fenton
5,268 Views

Sweet - top work fella

yaronh
5,268 Views

Thanks!! Great stuff!

slair
5,268 Views

I'm running WFA 2.0.1.23.8-13393

I can log into the database, but all i see is the information_schema.

What username & pwd should i be using?

shailaja
5,268 Views

Please also refer to the post: https://communities.netapp.com/message/109987#109987

There's a Read-only user to the DB that allows you to test your queries on the cache schema and see it's contents.

Use "wfa/Wfa123" as username/password for access.

Thanks,

Shailaja

raovolvoadmin
3,666 Views

Hi Hendrik,

Thanks.Useful stuff.I am new to this tool.Can you plz give me one example how to use this?. or do we have any document?.

Regards,

Srinivas.

abhit
3,666 Views

Can you plz give me one example how to use this?. or do we have any document?.

[Abhi] Hi Srinivas, sorry I did not get the question, what examples are you looking for?

Public