Using Pentaho Business Intelligence and MySQL™ Database With Sun™ Storage 7000 Unified Storage System

Krishnan Shankar April 28, 2009 (revised April 29, 2009) , Inc. Copyright © 2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

U.S. Government Rights - Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. Use is subject to license terms. This distribution may include materials developed by third parties.

Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and in other countries, exclusively licensed through X/Open Company, Ltd. X/Open is a registered trademark of X/Open Company, Ltd.

AMD, Opteron, the AMD logo, the AMD Opteron logo are trademarks or registered trademarks of .

All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the United States and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc.

Sun, Sun Microsystems, the Sun logo, BluePrints, , Java runtime environment, JDBC, JRE, OpenSolaris, MySQL, Solaris, Sun Fire, and SunSolve are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the United States and other countries.

This product is covered and controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 2 Table of Contents Objective...... 4 Introduction...... 4 Hardware Configuration...... 4 Software Configuration...... 5 Configuration Test Procedures...... 5 Configuring a Project on the Sun Storage 7000 Unified Storage System...... 5 Configuring for NFS on the Sun Storage 7000 Unified Storage System...... 5 Configuring for iSCSI on the Sun Storage 7000 Unified Storage System...... 6 Configuring for NFS on the Solaris Client...... 6 Configuring for iSCSI on the Solaris Client...... 6 Configuring MySQL on the Solaris Client...... 7 Configuring VNC Software on the Solaris Client...... 8 Configuring Apache Tomcat and the MySQL Connector on the Solaris Client...... 8 Configuring Pentaho Data Integration on the Windows Client...... 9 Configuring Pentaho Reports Designer on the Solaris Client...... 11 Configuring Pentaho Mondrian OLAP Server on the Solaris Client ...... 11 Sun Storage 7000 Unified Storage System...... 13 Other Sun Technologies (Solaris 10 OS, Sun Fire Servers, MySQL)...... 15 Pentaho Business Intelligence...... 15 Summary...... 15 For More Information...... 15 Revision History...... 16 Licensing Information...... 17

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 3 Objective This project demonstrates the feasibility of using the Sun™ Storage 7000 Unified Storage System as a repository for the MySQL™ database with the Pentaho Business Intelligence (BI) application. This proof-of-concept study provides steps to configure this setup, using Pentaho BI tools and MySQL database servers.

Introduction Organizations strive to deliver large amounts of data quickly and reliably and in an economical manner. However, existing storage solutions are expensive and hard to administer. The Sun Storage 7000 Unified Storage System is an easy-to-manage, eco-friendly, and scalable storage solution with the OpenSolaris™ Operating System. This paper demonstrates how the Sun Storage 7000 Unified Storage System can be used to share NFS and Internet Small Computer Systems Interface (iSCSI) file systems with Pentaho BI and MySQL database servers deployed on Sun SPARC® and x86 servers running the Solaris™ 10 Operating System. Pentaho BI suite is an Open Source Business Intelligence (OSBI) product that provides a full range of business intelligence solutions. It has reporting, data analysis, dashboards, and data mining capabilities, and comprises tools such as data integration, which Extracts, Transforms, and Loads (ETL) data. For detailed information on the products used here, please refer to these sections later in this paper:

● Sun Storage 7000 Unified Storage System ● Other Sun Technologies (Solaris 10 OS, Sun Fire Servers, MySQL) ● Pentaho Business Intelligence ● For More Information Hardware Configuration

● Sun Storage 7000 Unified Storage System (sample name: ; ): ™ ● CPU: 1 x quad-core AMD Opteron processor 2347 HE x 1900 MHz

● Memory: 8,192 Mbyte

● 16 x 146 Gbyte 2.5-inch 10K-rpm Serial Attached SCSI (SAS) drives

● Fishworks Appliance Software stack, which is built upon the base Solaris kernel and device driver support for the relevant platforms and devices

● Four 10/100/1000 Base-T Ethernet ports

● Sun Fire X4540 server, x64 client node (sample name: ; ):

● CPU: 2 x quad-core AMD Opteron processor 2356 x 2300 MHz

● Memory: 65,536 Mbyte

● Operating System: Solaris 10 5/08 OS

● A client system running the Microsoft Windows operating system

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 4 Software Configuration The Sun Fire X4540 server is configured with:

● Solaris 10 5/08 OS

● MySQL 5.1.30 Community Server Edition ™ ™ ● Java runtime environment (JRE ) 1.5 software

● Pentaho Data Integration 3.1.0

● Pentaho Reports 1.7.1

● Pentaho Mondrian OLAP Server 3.0.4.11371

● Apache Tomcat 5.5.27 (to deploy the Pentaho Mondrian OLAP Server)

Configuration Test Procedures The Sun Storage 7000 Unified Storage System was configured to provide both NFS and iSCSI volumes. The MySQL database software was installed and configured on a primary test system. The test system was configured to access the Sun Storage 7000 Unified Storage System first using NFS, and then iSCSI, for MySQL database storage. Pentaho BI, and related tools such as Pentaho Reports and Mondrian OLAP Server, were installed on the primary test system. Their inherent features and functionality were tested, which involved accessing the Sun Storage 7000 Unified Storage System.

Configuring a Project on the Sun Storage 7000 Unified Storage System 1. Access the Sun Storage 7000 Unified Storage System using a Web browser such as Mozilla Firefox. Example URL: https://:215/#shares/projects

2. Create a project by clicking the + tab. Supply the name mysql_db, and click Apply.

3. Proceed to create a file system and a LUN, as described next.

Configuring for NFS on the Sun Storage 7000 Unified Storage System 1. On the list of projects, against the mysql_db entry, click the Edit icon at the end of the entry. 2. Click the + icon against Filesystem, and supply mysql_nfs. The system mounts the file system locally under /export/mysql_nfs. 3. Edit the newly created entry, and supply a quota size of 20 Gbyte. Click Apply. The list now shows the recently added entry, mysql_nfs, mounted locally on the Sun Storage 7000 Unified Storage System under /export/mysql_nfs. 4. Optionally, double-click mysql_nfs to display the details of the file system. 5. Proceed to configure for iSCSI, as described next.

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 5 Configuring for iSCSI on the Sun Storage 7000 Unified Storage System The Sun Storage 7000 Unified Storage System can share its disk storage by defining iSCSI targets. The iSCSI targets can then be accessed by other systems that support the iSCSI protocol. These systems define initiators that are mapped to the iSCSI targets. The terms client and initiator are used interchangeably in this document. The following example uses a system running the Solaris 10 OS as the iSCSI client. 1. On the list of projects, against the mysql_db entry, click the Edit icon at the end of the entry. 2. Click LUNs to display a list of LUNs (if any). Then click the + icon before LUNs to create a LUN. 3. Supply mysql_iscsi for Name and 20 G for Volume Size. Leave the other defaults as is. Click Apply. 4. Proceed to configure the client, as described next.

Configuring for NFS on the Solaris Client 1. Log in to the Solaris client, client01, as user root. 2. Mount the 20-Gbyte share from the Sun Storage 7000 Unified Storage System on the client, under a mount point /dbnfs: # mount -F nfs :/export/mysql_nfs /dbnfs 3. Proceed to configure for iSCSI, as described next.

Configuring for iSCSI on the Solaris Client 1. Log in to the Solaris client: % ssh -l root password : 2. Execute these commands : # iscsiadm add discovery-address # iscsiadm modify discovery --sendtargets enable # devfsadm -i iscsi # format The LUN entry is now visible. 3. Allocate the LUN's entire size to slice 0. Then, execute the following: # newfs -v # mount /dbiscsi 4. Proceed to configure MySQL, as described next.

Configuring MySQL on the Solaris Client 1. Log in to the client system as user root. Create an entry for the MySQL user. 2. Ensure /etc/passwd and /etc/group have the following entries, respectively: :x:100:100:mysql:/export/mysql:/bin/csh; and mysql::100: 3. Edit the .cshrc file, and set PATH:

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 6 umask 022 setenv MYSQL_HOME /usr/local/mysql set path=(/usr/local/mysql/bin;/usr/local/mysql/libexec;/usr/sbin;/usr/ccs/bin;/usr/sfw/b in; $MYSQL_HOME/bin;$HOME/driver;/export/mysql/mysql-connector-java-5.1.7; /ws/onnv-tools/SUNWspro/SS11/bin;/usr/ccs/bin; /usr/local/bin;/bin;/usr/bin;/usr/ucb;/etc) 4. As user mysql, download and uncompress MySQL Community Server 5.1.30 under /export/mysql/5.1.30: mysql-5.1.30-solaris10-x86_64.tar.gz 5. Create a soft link from /usr/local/mysql to /export/mysql/5.1.30: lrwxrwxrwx 1 root root 20 Jan 8 08:42 mysql -> /export/mysql/5.1.30 6. Edit the configuration file /etc/my.cnf (sample file shown here):

[client] port = 3306 socket = /tmp/mysql.sock host = client01 [mysqld] port = 3306 socket = /tmp/mysql.sock datadir = /dbiscsi skip-locking max_connections = 5000 skip-grant-tables transaction_isolation = REPEATABLE-READ innodb_data_home_dir = /dbiscsi innodb_data_file_path = ibdata1:200M;ibdata2:200M:autoextend innodb_log_group_home_dir = /dbiscsi innodb_buffer_pool_size = 200M innodb_additional_mem_pool_size = 20M innodb_log_file_size = 80M innodb_log_buffer_size = 8M innodb_flush_log_at_trx_commit = 2 innodb_lock_wait_timeout = 300 innodb_locks_unsafe_for_binlog = 1 innodb_max_dirty_pages_pct = 90 innodb_status_file=1 7. Execute the following: # chmod 777 /dbiscsi /dbnfs $ cd $MYSQL_HOME $ scripts/mysql_install_db --basedir=/usr/local/mysql --datadir=/dbnfs 8. Start up the MySQL server, and test the client utility: $ mysqld --basedir=/usr/local/mysql --datadir=/dbnfs & $ mysql -uroot -proot > create database FoodMart Note: “FoodMart” is the name of the database schema that Pentaho uses in the Mondrian software. 9. Supply grants and privileges for various users, hosts, and databases; the Microsoft Windows client begins with vpn: mysql> grant all privileges on *.* to mysql@'%' identified by 'mysql' with grant option; mysql> grant all privileges on *.* to root@'%' identified by 'root' with grant option; mysql> grant all privileges on *.* to mysql@'localhost' identified by 'mysql' with

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 7 grant option; mysql> insert into host values ('', '%', 'Y', 'Y', 'Y', 'Y', 'Y','Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y'); mysql> insert into host values ('', '%', 'Y', 'Y', 'Y', 'Y', 'Y','Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y', 'Y'); mysql> grant all on FoodMart.* to 'root'@'' identified by 'root'; mysql> grant all on FoodMart.* to 'mysql'@'' identified by 'mysql'; 10. In /etc/my.cnf, adjust the data directory name and data file sizes, where applicable, and restart the server. 11. Proceed to configure the Virtual Network Computing (VNC) software, as described next.

Configuring VNC Software on the Solaris Client 1. As root, download the VNC software from http://www.salixtraining.co.uk/download/vnc.zip. 2. Follow the installation instructions at http://www.salixtraining.co.uk/index_files/vncsol10.htm. 3. Use pkgadd to install the three packages. 4. Using a browser, access the client via VNC on default port 5801 (http://:5801). 5. Open a terminal window on the client. 6. Proceed to configure Apache Tomcat and the MySQL Connector, as described next.

Configuring Apache Tomcat and the MySQL Connector on the Solaris Client 1. As root, download and uncompress apache-tomcat-5.5.27.tar.gz to the /apache-tomcat-5.5.27 directory. 2. On the terminal window opened through VNC, set the following environment variables (sample directories used for some): CLASSPATH=/export/mysql/mysql-connector-java-5.1.7 / mysql-connector-java-5.1.7-bin.jar PATH=/usr/local/mysql/bin:;:/usr/local/mysql/libexec:;:/usr/sbin:;:/usr/ccs/bin:; :/usr/sfw/bin:;:/usr/local/mysql/bin:;:/export/mysql/driver:; :/export/mysql/mysql-connector-java-5.1.7:; :/ws/onnv-tools/SUNWspro/SS11/bin:;:/usr/ccs/bin:;:/usr/local/bin:;:/bin:;:/usr/bin:; :/usr/ucb:;:/etc MYSQL_HOME=/usr/local/mysql JAVA_HOME=/usr/java JRE_HOME=/usr/java/jre 3. During the Tomcat setup, check that the system displays the variables CATALINA_BASE, CATALINA_HOME, and CATALINA_TMPDIR as being set to the top-level directory, under which the gzip file is compressed. 4. Optionally, change the port in /apache-tomcat-5.5.27/conf/server.xml line 94 (for example, to 1976) : Connector port="1976" maxHttpHeaderSize="8192" 5. Edit conf/tomcat-users.xml. Add an admin user, for logging in later to the Apache Tomcat manager.

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 8 6. Use script ./startup.sh Start up Apache Tomcat. The ./shutdown.sh script can be used to stop Apache Tomcat. 7. Download and uncompress the MySQL Connector under $MYSQL_HOME: 8640154 bytes, mysql-connector-java-5.1.7.tar.gz 8. Copy /export/mysql/mysql-connector-java-5.1.7/mysql-connector- java-5.1.7-bin.jar to /apache-tomcat-5.5.27/common/lib. 9. Proceed to configure Pentaho Data Integration, as described next.

Configuring Pentaho Data Integration on the Windows Client 1. On the Windows client, download pdi-open-3.1.0-826.zip from this site: http://downloads.sourceforge.net/pentaho/pdi-open-3.1.0-826.zip Uncompress the file using Winzip. 2. Launch spoon.bat. Spoon is a GUI tool, and a part of Pentaho DI; it is used to create transformations. 3. To create a repository, click New. Supply spoonetl in the Name field and Repository in the Description field. 4. Click New to create a database connection. 5. Choose these settings: General, MySQL, Native (JDBC), , test, 3306, root, root. 6. Provide spoontrans for Connection Name. 7. Click Test. It should show Connection is ok. Save the settings by clicking OK. 8. On the next screen, the connection and repository names are displayed. 9. Next, connect to the repository by clicking Create or Upgrade. A sample repository with 41 tables gets created, for use by the Spoon transformation tool. 10. Execute a transformation using Steps 10 through 13. First, launch a transformation design window: a. Log in using admin/admin. Use the repository name in the previous step. Click OK. A transformation template window opens up. b. Drag the Table Input, Filter Rows, and two Text Output icons from Input, Transform, and Output Steps, respectively.

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 9 11. Create Hops: a. With the cursor on the Table Input icon, hold the Shift key and drag the mouse all the way up to the Filter Input icon. b. Release the mouse button and Shift key. An arrow is created pointing to the target step. 12. Similarly, create an arrow from Filter Rows to each output file. 13. Edit each of the three icons by clicking the right mouse button and choosing Edit Step: a. Step Name: Table Input; Connection: Spoontest SELECT ID_USER , ID_PROFILE , LOGIN , PASSWORD , NAME , DESCRIPTION , ENABLED FROM R_USER b. Step Name: Filter rows true : Text File output false : Text File output 2 condition : ID_PROFILE=1 c. Step Name: Text File Output Under the File tab, supply a target name for Filename. Leave other defaults as is. Click Ok. d. Step Name: Text File Output 2 Under the File tab, supply a target name for Filename different from the one used in the previous step. Leave the other defaults as is. Click Ok. 14. Run the transformation: a. Press the F9 key, or choose Transformation->Run. b. On the next screen, retain the default settings, and click Launch. c. If you are prompted for the transformation name, supply a name. A table named Execution Results is displayed. The status of the transformation progresses as Initializing->Running->Finished. 15. Run the Pan tool. (Pan is a command-line program that lets users launch the transforms designed in Spoon. The transforms can be run either as an XML file or directly from the repository.) a. Delete the transformation's earlier target files generated by Spoon. b. Execute the Pan tool by providing the name of the transformation XML file: C:\Program Files\ETL>pan.bat /file:"ar_trans_1.ktr" /level:Basic The same target files with identical output are generated.

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 10 Alternatively, run the Pan tool directly from the repository: C:\Program Files\ETL>pan.bat /rep:"spoonetl" /trans:"ar_trans_1" /dir:/ /user:admin /pass:admin /level:Minimal 16. Proceed to configure Pentaho Reports Designer, as described next.

Configuring Pentaho Reports Designer on the Solaris Client 1. Using VNC, launch a terminal window on the Solaris client. Then, download and set up Pentaho Reports Designer, as described in the following steps. 2. Use these URLs to download Reports Designer: http://sourceforge.net/forum/forum.php?forum_id=658756 http://www.pentaho.org/download/latest 3. Install Reports Designer using these URLs: http://reporting.pentaho.org/ http://wiki.pentaho.com/display/Reporting/Report+Designer http://sourceforge.net/project/showfiles.php?group_id=140317&package_id=192362 4. As root, uncompress prd-open-1.7.1.tar.gz into /reports-1.7.1 and then run the following commands: set DISPLAY=:1.0 # ./startDesigner_osx.sh 5. Access the MySQL database using the parameters for Pentaho Data Integration. 6. Click QueryDesigner to build the report. 7. Proceed to configure Pentaho Mondrian OLAP Server, as described next.

Configuring Pentaho Mondrian OLAP Server on the Solaris Client 1. As root, download and uncompress the Mondrian server file mondrian-3.0.4.11371.zip to the /mondrian-3.0.4.11371 directory. 2. Install Apache Tomcat version 5.5.27. 3. Copy /mondrian-3.0.4.11371 /mondrian- 3.0.4.11371/lib/mondrian.war to /apache-tomcat-5.5.27/webapps to autodeploy the Mondrian OLAP server. A directory named mondrian is created under /apache-tomcat-5.5.27/webapps. 4. Change the following configuration files:

a. In /apache-tomcat-5.5.27/webapps/mondrian/WEB-INF/datasources.xml:

Provider=Mondrian;DataSource=MondrianFoodMart; http:///mondrian/xmla Provider=mondrian; Jdbc="jdbc:mysql:///FoodMart"; JdbcUser=root;JdbcPassword=root;JdbcDrivers="com.mysql.jdbc.Driver"; Catalog=/WEB-INF/queries/FoodMart.xml Mondrian MDP

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 11 b. In mondrian.properties: mondrian.test.connectString=Provider=mondrian; Jdbc=jdbc:mysql:///FoodMart; JdbcUser=root;JdbcPassword=root;JdbcDrivers=com.mysql.jdbc.Driver; Catalog=/WEB-INF/queries/FoodMart.xml c. In web.xml (line 28 and line 80): connectString Provider=mondrian;Jdbc=jdbc:mysql:///FoodMart; JdbcUser=root;JdbcPassword=root; Catalog=/WEB-INF/queries/FoodMart.xml; JdbcDrivers=com.mysql.jdbc.Driver; connectString Provider=mondrian; Jdbc=jdbc:mysql:///FoodMart; JdbcUser=root;JdbcPassword=root;Catalog=/WEB-INF/queries/FoodMart.xml; JdbcDrivers=com.mysql.jdbc.Driver; 5. On the Windows client, follow the instructions on the following site to install foodmart_mysql.sql on the Windows client. Then use FTP to copy the file to the Solaris machine and source the file: http://business-intelligence.phi-integration.com/2008/04/mondrian-mysql-setup.html 45788267 foodmart_mysql.sql $ cd /mondrian-3.0.4.11371 ; chmod a+x foodmart_mysql.sql $ mysql -uroot -proot mysql> use FoodMart; mysql> source foodmart_mysql.mysql 6. Change the sample demo files in the queries directory: a) In arrows.jsp and colors.jsp: b) In mondrian.jsp: <%-- uses a dataSource --%> <%-- jp:mondrianQuery id="query01" dataSource="Provider=Mondrian;DataSource=MondrianFoodMart;" catalogUri="/WEB-INF/demo/FoodMart.xml" --%> <%-- uses mysql --%> <%-- jp:mondrianQuery id="query01" jdbcDriver="com.mysql.jdbc.Driver" jdbcUrl="jdbc:mysql:///FoodMart?user=root&password=root" catalogUri="/WEB-INF/queries/FoodMart.xml"--%> <%-- uses a role defined in FoodMart.xml --%> <%-- jp:mondrianQuery role="California manager" id="query01" jdbcDriver="com.mysql.jdbc.Driver" jdbcUrl="jdbc:mysql:///FoodMart? user=root&password=root" catalogUri="/WEB-INF/queries/FoodMart.xml" --%>

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 12 c) In testrole.jsp: Make edits as for mondrian.jsp, but add the role clause in the last part: "mondrianXMLA.jsp d) In xmla.jsp: e) In fourhier.jsp:

7. Access the Mondrian server in the browser: http:///mondrian/

Sun Storage 7000 Unified Storage System Sun's general-purpose servers and storage components are combined with its innovative technologies, and also unified with storage software, to comprise the Sun Storage 7000 Unified Storage System. These systems can offer significant cost savings, while providing enterprise-class data services, good scalability, and superior performance. For MySQL database applications, the Sun Storage 7000 Unified Storage System meets a range of functional requirements for availability, capacity, and performance. The Sun Storage 7000 Unified Storage System product family includes the Sun Storage 7110, 7210, and 7410 Unified Storage System models. The Sun Storage 7000 Unified Storage System incorporates an open source operating system, commodity hardware, and industry-standard technologies. These systems are low-cost, fully functional network attached storage (NAS) devices designed around the following core technologies:

● General-purpose x64-based servers, which function as the NAS head, and Sun Storage products

● Proven high-performance commodity hardware solutions with compelling price-performance points ™ ● The general-purpose OpenSolaris Operating System, which brings these technologies:

● The ZFS file system, the world’s first 128-bit file system with unprecedented availability and reliability features

● The high-performance Solaris networking stack for IPv4 or IPv6 networking

● DTrace Analytics, including capabilities (based on Solaris DTrace) that provide dynamic instrumentation for real-time performance analysis and debugging

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 13 ● Fault Management Architecture (FMA) for built-in fault detection, diagnosis, and self- healing for common hardware problems

● A large and adaptive two-tiered caching model based on Dynamic Random Access Memory (DRAM) and enterprise-quality solid state devices (SSDs) The ZFS file system enables a new approach to data management called Hybrid Storage Pools, which automatically provides data placement, data protection, and data services such as RAID, error correction, and system management. By placing data on the most appropriate storage media, Hybrid Storage Pools help to optimize performance and contain costs. The Sun Storage 7000 Unified Storage System features a common, easy-to-use management interface, along with a comprehensive analytics environment to help isolate and resolve issues. The systems support NFS, Common Internet File System (CIFS), and iSCSI data access protocols, mirrored and parity-based data protection, local point-in-time (PIT) copy, remote replication, data checksum, data compression, and data reconstruction. The Sun Storage 7000 Unified Storage System exploits the power of today’s multi-core, multi-threaded processors to increase application performance. In addition, advanced SSD technology in the Sun Storage 7210 and 7410 systems provide enhanced performance. Up to 2 Tbytes raw storage capacity in a 2U package is provided along with all data protocols and software features (CIFS, NFS, iSCSI, HTTP, replication, ZFS snapshots and clones, data compression, Storage Analytics, and so on). For MySQL and other applications, superior performance along with ease of deployment and management ensure a compelling choice for data sharing. For small to mid-sized businesses and work groups, and for remote offices of large organizations, the Sun Storage 7110, 7210, and 7410 Unified Storage System models meet varied needs for capacity, reliability, performance, and price.

Other Sun Technologies (Solaris 10 OS, Sun Fire Servers, MySQL) The Solaris 10 OS, Sun's flagship OS, is a multi-platform, scalable OS and yields performance advantages for databases, Web, and Java technology-based services. Its advanced features include security (Process Rights Management), system observability (DTrace), system resource utilization (containers and virtualization), an optimized network stack, data management, system availability (Predictive Self Healing), interoperability tools, and Support and Services (software subscription, hardware support, technical help). Sun Fire™ x64 servers yield very high performance, have dual-core AMD Opteron processors and deliver eight-way performance in a four-processor system. Features include near linear CPU scalability, enterprise reliability, high rack density, redundant power and cooling, RAID storage, and remote system monitoring among others. Coupled with the Solaris 10 OS, these servers are capable of delivering very high levels of throughput for demanding departmental and enterprise applications. MySQL software, which was acquired by Sun, is a popular open source database. It is multi-threaded, and consists of an SQL server, client programs and libraries, administrative tools, and APIs. Java client programs that use JDBC™ connections can access a MySQL server through the MySQL Connector/J interface.

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 14 Pentaho Business Intelligence Pentaho BI suite is an Open Source Business Intelligence (OSBI) product that provides a full range of business intelligence solutions. It has reporting, data analysis, dashboards, and data mining capabilities, and comprises tools such as data integration, which Extracts, Transforms, and Loads (ETL) data. These features enable businesses to access a variety of information, including sales analysis, customer and product profitability, HR reporting, finance analysis, and reporting information, and they can be used to deliver complex information to upper management. Reporting can be on-demand or scheduled, and reports can be published in popular formats. Analysis provides pivot table views, graphical displays, and workflow integration. Dashboards provide reusable display widgets that can be embedded into applications. Data mining combines algorithms with Online Analytical Processing (OLAP) technologies to provide intelligent data analysis to end users. Data integration provides a design GUI and high scalability and flexibility for data processing. Summary This article describes a proof-of-concept study that demonstrated the successful configuration of Pentaho BI tools and MySQL database servers using a Sun Storage 7000 Unified Storage System for database storage. Configuration procedures are included, which describe how to configure the Sun Storage 7000 Unified Storage System, the Pentaho BI tools, and the MySQL database servers for both NFS and iSCSI access of storage. Tests included MySQL servers running the Solaris 10 OS.

For More Information Here are some additional resources:

● Pentaho Open Source Business Intelligence web site: http://www.pentaho.com

● Sun Storage 7000 Unified Storage System web site: http://www.sun.com/storage/disk_systems/unified_storage

● Fishworks Wiki: http://wikis.sun.com/display/FishWorks/Fishworks ™ ● Sun BluePrints papers at http://wikis.sun.com/display/BluePrints/Main (registration required):

● MySQL Guide for Sun Storage 7000 Unified Storage System: http://wikis.sun.com/display/BluePrints/MySQL+Guide+for+Sun+Storage+70 00+Unified+Storage+System

● Running MySQL Database in : http://wikis.sun.com/display/BluePrints/Running+MySQL+Database+in+Sola ris+Containers

● Improving MySQL Database Scalability: http://wikis.sun.com/display/BluePrints/Improving+MySQL+Database+Scala bility

● Sun download site: http://www.sun.com/download/

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 15 ● Sun training courses at http://www.sun.com/training/, for example, Sun Storage 7000 Unified Storage System Administration (NWS-6425)

● Sun forums such as:

● Sun forums: http://forums.sun.com/index.jspa

● BigAdmin Discussions collection: http://www.sun.com/bigadmin/discussions/

● Sun product documentation at http://docs.sun.com, such as:

● Sun Storage 7110 Unified Storage System documentation

● Sun Storage 7210 Unified Storage System documentation

● Sun Storage 7410 Unified Storage System documentation

● Sun Documentation Center: http://www.sun.com/documentation/

● BigAdmin wiki at http://wikis.sun.com/display/BigAdmin/Home:

● Storage Tech Tips page: http://wikis.sun.com/display/BigAdmin/Storage+Tech+Tips

● Databases page: http://wikis.sun.com/display/BigAdmin/Databases

● Resources on BigAdmin, such as:

● MySQL Resources for System Administrators: http://www.sun.com/bigadmin/topics/mysql/

● Database resource collection: http://www.sun.com/bigadmin/collections/database.jsp

● Storage resource collection: http://www.sun.com/bigadmin/collections/storage.jsp

● Support:

● Sun resources:

● Register your Sun gear: https://inventory.sun.com/inventory/

● Services: http://www.sun.com/service

● SunSolveSM: http://sunsolve.sun.com

● Community system administration experts: http://www.sun.com/bigadmin/content/communityexperts

● Events of interest to users of Sun products:

● Worldwide Developer Events and Sun Tech Days: http://developers.sun.com/events/

● Current Events: http://www.sun.com/events/index.jsp

Revision History April 29: Per author, changed "Configuring Pentaho Data Integration on the Solaris Client" to "Configuring Pentaho Data Integration on the Windows Client"

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 16 Licensing Information Unless otherwise specified, the use of this software is authorized pursuant to the terms of the license found at http://www.sun.com/bigadmin/common/berkeley_license.html.

Using Pentaho Business Intelligence and MySQL Database With Sun Storage 7000 Unified Storage System 17