Installing and Using the Zimbra Reporting Tool



Similar documents
Using Internet or Windows Explorer to Upload Your Site

NSi Mobile Installation Guide. Version 6.2

Secure Messaging Server Console... 2

StarWind iscsi SAN Software: Installing StarWind on Windows Server 2008 R2 Server Core

Installing and Configuring DB2 10, WebSphere Application Server v8 & Maximo Asset Management

Using a Remote SQL Server Best Practices

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

SOA Software API Gateway Appliance 7.1.x Administration Guide

Configure Single Sign on Between Domino and WPS

Configuring MailArchiva with Insight Server

Archive One Policy V4.2 Quick Start Guide October 2005

Oracle WebCenter Content Service for Microsoft Exchange

Propalms TSE Quickstart Guide

WEB2CS INSTALLATION GUIDE

Lepide Active Directory Self Service. Installation Guide. Lepide Active Directory Self Service Tool. Lepide Software Private Limited Page 1

How To Set Up A Journaling Mailbox In Microsoft Office 365 And Gfi Mailarchiver

Sage 200 Web Time & Expenses Guide

PingFederate. Identity Menu Builder. User Guide. Version 1.0

How to use SURA in three simple steps:

Configuring Secure Socket Layer (SSL) for use with BPM 7.5.x

GFI Product Guide. GFI Archiver and Office 365 Deployment Guide

Backing Up TestTrack Native Project Databases

AG MacOS Standalone Array Client Administration Guide

Tivoli Access Manager Agent for Windows Installation Guide

isupplier PORTAL ACCESS SYSTEM REQUIREMENTS

FileMaker Server 11. FileMaker Server Help

Interact for Microsoft Office

FileMaker Server 14. FileMaker Server Help

NovaBACKUP xsp Version 15.0 Upgrade Guide

Zimbra Import Wizard for Microsoft Outlook

Deploying EMC Documentum WDK Applications with IBM WebSEAL as a Reverse Proxy

User Guide Microsoft Exchange Remote Test Instructions

Setup guide. TELUS AD Sync

RoomWizard Synchronization Software Manual Installation Instructions

Information Systems Services. Configuring Entourage 2008 to connect to the University s Exchange service Version 2.2 February 2009

TIBCO Slingshot User Guide

Preparing for GO!Enterprise MDM On-Demand Service

Contents Notice to Users

F-Secure Messaging Security Gateway. Deployment Guide

OUTLOOK ANYWHERE CONNECTION GUIDE FOR USERS OF OUTLOOK 2010

Rebasoft Auditor Quick Start Guide

SecureAware on IIS8 on Windows Server 2008/- 12 R2-64bit

Installation Guidelines (MySQL database & Archivists Toolkit client)

Wavecrest Certificate

Pre-Installation Instructions

Web Remote Access. User Guide

CA Performance Center

owncloud Configuration and Usage Guide

EMR Link Server Interface Installation

Reference and Troubleshooting: FTP, IIS, and Firewall Information

PRODUCT WHITE PAPER LABEL ARCHIVE. Adding and Configuring Active Directory Users in LABEL ARCHIVE

HP Device Manager 4.7

TIBCO ActiveMatrix BPM Integration with Content Management Systems Software Release September 2013

FTP Server Configuration

Copyright 2013, 3CX Ltd.

Configuring Single Sign-on from the VMware Identity Manager Service to Dropbox

MadCap Software. Upgrading Guide. Pulse

Setting up VMware ESXi for 2X VirtualDesktopServer Manual

FileMaker Server 12. FileMaker Server Help

Project management integrated into Outlook

Avatier Identity Management Suite

IIS SECURE ACCESS FILTER 1.3

For details for obtaining this later version; see the Known issues & Limitations, section at the end of this document.

Novi Survey Installation & Upgrade Guide

Metalogix SharePoint Backup. Advanced Installation Guide. Publication Date: August 24, 2015

Enterprise Self Service Quick start Guide

How to Implement the X.509 Certificate Based Single Sign-On Solution with SAP Netweaver Single Sign-On

User Management Guide

IIS, FTP Server and Windows

FTP, IIS, and Firewall Reference and Troubleshooting

2X Cloud Portal v10.5

LifeSize Control Installation Guide

Pcounter Web Report 3.x Installation Guide - v Pcounter Web Report Installation Guide Version 3.4

Creating an ESS instance on the Amazon Cloud

OpenCart. SugarCRM CE (Community Edition Only) Integration. Guide

SchoolBooking SSO Integration Guide

PageScope Router. Version 1.5. Configuration Guide

Customer Tips. Xerox Network Scanning HTTP/HTTPS Configuration using Microsoft IIS. for the user. Purpose. Background

MicrosoftDynam ics GP TenantServices Installation and Adm inistration Guide

HP Business Availability Center

Integrated Virtual Debugger for Visual Studio Developer s Guide VMware Workstation 8.0

IBM WebSphere Application Server Version 7.0

FirstClass Synchronization Services Install Guide

DocuShare User Guide

Forms Printer User Guide

Spectrum Technology Platform. Version 9.0. Administration Guide

Using etoken for Securing s Using Outlook and Outlook Express

BusinessObjects Enterprise XI Release 2

Millennium Drive. Installation Guide

FileMaker Server 13. FileMaker Server Help

Transition from Pegasus Mail To Exchange/Outlook 2003

Zimbra Collaboration 8.X. System Administration Overview

SMART Vantage. Installation guide

FileMaker Server 10 Help

How to Migrate to MailEnable using the Migration Console

MSP/ISP Multi-Tenant Archiving Platform Online Deployment Customer Activation 10-Step Quick Guide

IPedge Feature Desc. 5/25/12

A-AUTO 50 for Windows Setup Guide

RSA Authentication Manager 8.1 Virtual Appliance Getting Started

Usage Tracking for IBM InfoSphere Business Glossary

Transcription:

Installing and Using the Zimbra Reporting Tool October 2014

Legal Notices Copyright 2005-2014 Zimbra, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. "Zimbra" is a registered trademark of Zimbra, Inc. in the United States and other jurisdictions. You may not alter or remove any trademark, copyright, or other notice from copies of the content. All other marks and names mentioned herein may be trademarks of their respective companies. Zimbra, Inc. 3000 Internet Blvd., Suite 200 Frisco, Texas 75034 www.zimbra.com October 2014 Page 2 Installing and Using the Zimbra Reporting Tool

Table of Contents Legal Notices... 2 Installing and Using the Zimbra Reporting Tool... 4 Installing the Zimbra Reporting Tool... 4 Installation Requirements... 4 Multiple Zimbra Collaboration Instance Reporting... 5 Upgrading an Existing ZRT Client Application... 6 Upgrading the ZRT... 6 Installing the ZRT Client on a Zimbra Collaboration System... 8 Installing the ZRT Client on a Non-Zimbra Collaboration System... 10 Using the Zimbra Reporting Tool... 12 Appendix A Sample Zimbra Client Properties File... 14 Installing and Using the Zimbra Reporting Tool Page 3

Installing and Using the Zimbra Reporting Tool This document contains information to install and use the Zimbra Reporting Tool (ZRT). For environments containing more than one installation of Zimbra, you need to install the ZRT for each instance. Installing the Zimbra Reporting Tool Installation Requirements The ZRT application can be installed using any account on the system, for example zimbra, root, etc. If installed on the Zimbra Collaboration system, Zimbra recommends using the zimbra account and the install path of /opt/zrt. The installation needs to have the following requirements: The ZRT client application installer package Java 1.6 or higher Access to update CronTab - Ensure that the system that is running the ZRT client application has a running instance of CRON available for installing a task for executing the ZRT application. Firewall access to production LDAP on port 389 or 636 (SSL). Firewall access to zimbra.compliance.flexnetoperations.com on port 443 (HTTPS). Key configuration guidelines: o device.id: a unique name given by the system administrator for each Zimbra instance. For example, if you are running two separate Zimbra instances, you will need specify one device ID per instance. o account.id: an account ID provided by your Zimbra sales representative. You are to use this account ID for all Zimbra instances. o Retrieving LDAP information: LDAP URL: the URL used to obtain data from the master server. LDAP Password: the admin password to access the LDAP. To obtain the LDAP information from the master LDAP using your Zimbra account, use the following commands: zmlocalconfig ldap_master_url zmlocalconfig- s ldap_root_password Page 4 Installing and Using the Zimbra Reporting Tool

Multiple Zimbra Collaboration Instance Reporting The ZRT client currently reports usage for one LDAP server. In environments that contain multiple Zimbra Collaboration instances, you will need a client reporting for each Zimbra Collaboration instance. DO NOT configure the ZRT client more than once on a multi- master or replica LDAP server in a multi- server instance. Zimbra Collaboration instance must only have one installed ZRT client, or double counting will occur. Multiple installations of the client on the same server configured to report usage for different Zimbra Collaboration instances is supported. To do this, follow the installation steps for Non- Zimbra Collaboration servers. When entering the path, you will need to define a new path for each Zimbra Collaboration instance. We do not recommend configuring multiple installations of the client on any Zimbra Collaboration server. Also, each instance will have its own crontab entry, which has the same start time of 2am. 0 2 */3 * * /opt/zrt/run.sh Having multiple instances running at the same time should not cause any issues, but it is recommended to update the runtime to stagger the instances if there are more than two instances of the ZRT installed on the system. Installing and Using the Zimbra Reporting Tool Page 5

Upgrading an Existing ZRT Client Application This section provides steps to upgrade an existing ZRT installation. Note: If you are installing the ZRT tool for the first time, you do not need to perform the steps in this section. Upgrading the ZRT 1. Log into the system with the ZRT client using the correct account. 2. Create a temporary folder within /tmp/<folder> 3. Copy and unzip the ZRT install package into the temporary folder. 4. Run./install.sh script. The install script will verify JAVA and if successful, will prompt for the location of the installation of ZRT../install.sh ################################################ It is recommended that you install the ZRT client on one of the primary or replica LDAP servers using the Zimbra account. DO NOT install the ZRT client more than once on a multi-master or replica LDAP server in a multi-server instance. ZC instance must only have one installed ZRT client, or double counting will occur. If installed on a ZC server, the ZRT client will attempt to self configure and will report the count using the LDAP that is listed within the first instance within ldap_master_url. If the ZRT client has been previously installed on the system within a different directory, please verify that all crontab entries have been removed. To install the ZRT client, you will need to obtain the ZRT user license from Zimbra Sales or Support. For questions regarding the installation process, or to report an installation issue, please log into your Zimbra Support account at https://support.zimbra.com and open a support case for assistance. For more information about installation, please see the ZRT client installation guide. ################################################ Checking for an installed version of Java... /opt/zimbra/java/bin/java Found java executable in PATH. Installed Java version 1.7.0_51 Java version is 1.6 or higher. 5. Enter the ZRT installation path. If a configuration file exist, the installer obtains current configuration information and prompts you to verify it. Your current directory is: /tmp/141022_0202 Please provide the path you wish to install the ZRT client or hit enter to use the default path of '/opt/zrt': /opt/zrt You entered: /opt/zrt Page 6 Installing and Using the Zimbra Reporting Tool

6. Verify the configuration, and if correct, enter yes. LDAP URL from system: ldap://ldap.hostname.com:389 We have verified that this is an upgrade and will be upgrading using the existing configuration. LDAP URL: ldap://ldap.hostname.com:389 CUSTOMER ID: ZRTTESTLIC DEVICE ID: ldap.hostname.com Do you want to continue with the upgrade? y/n: y The installation verifies the configuration, and if successful, will check the crontab for existing entries within only the default install path of /opt/zrt/. If missing or duplicate entries exist, modifications will occur to insure only one instance resides, then the installation will upgrade and the usage data is reported. Testing input settings... Cron job has already been added. ############################## Running the ZRT Reporting Tool... Please verify the data within the user portal at https://zimbra.flexnetoperations.com ############################## Retrieved 6 domains and 17 mailboxes. +++++++++++++++++++++++++++++++ Posting Usage: SECount:1.0: Usage: 4 Posting Usage: PECount:1.0: Usage: 4 Posting Usage: BECount:1.0: Usage: 4 Posting Usage: BEPCount:1.0: Usage: 5 Posting Usage: EWSCount:1.0: Usage: 0 +++++++++++++++++++++++++++++++ Sending Collected usage data to: ZRTTESTLIC Posting to End point url: https://zimbra.compliance.flexnetoperations.com/instances/zrttestlic/desiredfeatures 7. Verify the reported data by logging into your account on https://zimbra.flexnetoperations.com and check your usage reports. Allow a few minutes for the data to update to your account. 8. Check CRON job configuration, if multiple instances exist remove all except one. crontab l To view cron jobs. crontab l > systemcron To write to a file for editing jobs. vi systemcron To edit the file. crontab systemcron To update cron with removed job Installing and Using the Zimbra Reporting Tool Page 7

Installing the ZRT Client on a Zimbra Collaboration System When installing the ZRT on to a Zimbra Collaboration system, Zimbra recommends using the zimbra account as JAVA has already been installed. We also recommend installing the ZRT tool within the /opt/zrt path. 1. Log into the system with the ZRT client using the correct account. 2. Create the path to install the ZRT client. /opt/zrt is the recommended path; you will need to create the path using root and provide the correct permissions. 3. Create a temporary folder within /tmp/<folder> to unzip the installation package. 4. Copy and unzip the ZRT install package into the temporary folder. 5. Run install.sh script. The install script will verify JAVA and, if successful, will prompt for the location of the installation of the ZRT. ################################################ It is recommended that you install the ZRT client on one of the primary or replica LDAP servers using the Zimbra account. DO NOT install the ZRT client more than once on a multi-master or replica LDAP server in a multi-server instance. ZC instance must only have one installed ZRT client, or double counting will occur. If installed on a ZC server, the ZRT client will attempt to self configure and will report the count using the LDAP that is listed within the first instance within ldap_master_url. If the ZRT client has been previously installed on the system within a different directory, please verify that all crontab entries have been removed. To install the ZRT client, you will need to obtain the ZRT user license from Zimbra Sales or Support. For questions regarding the installation process, or to report an installation issue, please log into your Zimbra Support account at https://support.zimbra.com and open a support case for assistance. For more information about installation, please see the ZRT client installation guide. ################################################ Checking for an installed version of Java... /opt/zimbra/java/bin/java Found java executable in PATH. Installed Java version 1.7.0_51 Java version is 1.6 or higher. Page 8 Installing and Using the Zimbra Reporting Tool

6. Enter the ZRT installation path. The installer obtains the first LDAP instance within ldap_master_url and the ldap_root_password, and uses the configuration to obtain account usage. Your current directory is: /tmp/zimbrazrtclient-141022_0202 Please provide the path you wish to install the ZRT client or hit enter to use the default path of '/opt/zrt': Using the default path of '/opt/zrt' LDAP URL from system: ldap://ldap-hostname.com:389 7. Enter Yes to verify the path, then enter the ZRT license ID. The ZRT License is a unique license for ZRT only. If you have not received a license, please contact Zimbra Support for assistance. The path specified exists but does not have the ZRT tool installed. Only one instance should be installed, do you want to continue? y/n: y Please input the Customer ID provided to you from your Zimbra sales representative: ZRTTESTLIC The ZRT installer verifies your configuration and, if successful, the installation process proceeds. Testing input settings... Cron job has already been added. ############################## Running the ZRT Reporting Tool... Please verify the data within the user portal at https://zimbra.flexnetoperations.com ############################## Retrieved 6 domains and 17 mailboxes. +++++++++++++++++++++++++++++++ Posting Usage: SECount:1.0: Usage: 4 Posting Usage: PECount:1.0: Usage: 4 Posting Usage: BECount:1.0: Usage: 4 Posting Usage: BEPCount:1.0: Usage: 5 Posting Usage: EWSCount:1.0: Usage: 0 +++++++++++++++++++++++++++++++ Sending Collected usage data to: ZRTTESTLIC Posting to End point url: https://zimbra.compliance.flexnetoperations.com/instances/zrttestlic/desiredfeatures 8. Verify the reported data by logging into your account on https://zimbra.flexnetoperations.com and check your usage reports. Allow a few minutes for the data to update to your account. Installing and Using the Zimbra Reporting Tool Page 9

9. Check CRON job configuration, if multiple instances exist remove all except one. crontab l To view cron jobs. crontab l > systemcron To write to a file for editing jobs. vi systemcron To edit the file. crontab systemcron To update cron with removed job Installing the ZRT Client on a Non- Zimbra Collaboration System 1. Log into the system with the ZRT client using the correct account. 2. Create the path to install the ZRT client. 3. Create a temporary folder within /tmp/<folder> to unzip the installation package. 4. Copy and unzip the ZRT install package into the temporary folder. 5. Run install.sh script. The install script verifies JAVA and, if successful, prompts for the location of the installation of the ZRT. ################################################ It is recommended that you install the ZRT client on one of the primary or replica LDAP servers using the Zimbra account. DO NOT install the ZRT client more than once on a multi-master or replica LDAP server in a multi-server instance. ZC instance must only have one installed ZRT client, or double counting will occur. If installed on a ZC server, the ZRT client will attempt to self configure and will report the count using the LDAP that is listed within the first instance within ldap_master_url. If the ZRT client has been previously installed on the system within a different directory, please verify that all crontab entries have been removed. To install the ZRT client, you will need to obtain the ZRT user license from Zimbra Sales or Support. For questions regarding the installation process, or to report an installation issue, please log into your Zimbra Support account at https://support.zimbra.com and open a support case for assistance. For more information about installation, please see the ZRT client installation guide. ################################################ Checking for an installed version of Java... /opt/zimbra/java/bin/java Found java executable in PATH. Installed Java version 1.7.0_51 Java version is 1.6 or higher. 6. Enter the ZRT installation path. Your current directory is: /Users/user/ZRT/00141022_0202 Please provide the path you wish to install the ZRT client or hit enter to use the default path of '/opt/zrt': /Users/user/ZRT/installed-folder You entered: /Users/user/ZRT/installed-folder Page 10 Installing and Using the Zimbra Reporting Tool

7. Enter LDAP and ZRT License Configuration. To configure the ldap configuration, you will need to obtain the url and password from the LDAP server. You can obtain this by logging into the server using the zimbra account and running the following: zmlocalconfig ldap_master_url zmlocalconfig - s ldap_root_password ZRT License is a unique license for ZRT only. If you have not received a license, please contact Zimbra Support for assistance. You have chosen to configure to a remote LDAP server, please insure that this is the only ZRT client querying this user repository, to insure that there are no double reporting: Please input the LDAP URL value from running the command 'zmlocalconfig ldap_master_url': ldap://ldap.hostname.com:389 Please input the LDAP password value from running the command 'zmlocalconfig -s ldap_root_password': <password> Please input the Customer ID provided to you from your Zimbra sales representative: 7L0CW0PLV3AG Once the configuration has been entered, the ZRT client will validate and install. Testing input settings... new cron into cron file ############################## Running the ZRT Reporting Tool... Please verify the data within the user portal at https://zimbra.flexnetoperations.com ############################## Retrieved 5 domains and 18 mailboxes. +++++++++++++++++++++++++++++++ Posting Usage: SECount:1.0: Usage: 4 Posting Usage: PECount:1.0: Usage: 14 Posting Usage: BECount:1.0: Usage: 0 Posting Usage: BEPCount:1.0: Usage: 0 Posting Usage: EWSCount:1.0: Usage: 3 +++++++++++++++++++++++++++++++ Sending Collected usage data to: ZRTTESTLIC Posting to End point url: https://zimbra.compliance.flexnetoperations.com/instances/zrttestlic/desiredfeatures 8. Verify the reported data by logging into your account on https://zimbra.flexnetoperations.com and check your usage reports. Allow a few minutes for the data to update to your account. Installing and Using the Zimbra Reporting Tool Page 11

9. Check CRON job configuration, if multiple instances exist remove all except one. Verify CRON job is able to call java. The default CRON job configuration is: 0 2 */3 * * /opt/zrt2/run.sh Steps to modify CRON job: crontab l To view cron jobs. crontab l > systemcron To write to a file for editing jobs. vi systemcron To edit the file. crontab systemcron To update cron with removed job Using the Zimbra Reporting Tool To start using the ZRT, use the steps in this section to launch the ZRT user interface and view usage reports. 1. Obtain the ZRT download URL from your Zimbra representative. You will receive an email, or a download site is available. 2. Launch the ZRT user interface by going to https://zimbra.flexnetoperations.com. 3. Enter your Login ID and Password, and click Login. If you do not know your password, or you have not set up an account, use the Password Finder link on the Login page or contact Support. Page 12 Installing and Using the Zimbra Reporting Tool

4. Under Usage Management, click Usage Reports. The View Usage screen displays. 5. Select a product from the Product Family drop- down menu and enter a start date in the As of Date field for the usage report. 6. After you enter your query information, the usage report displays. Select how you want to view the usage information by selecting the type of report to display. You can view the report as Gauges, Table, Timeline, or Compare Meters using the clickable icons on the right of the screen. Installing and Using the Zimbra Reporting Tool Page 13

Appendix A Sample Zimbra Client Properties File A sample of the zimbracmsclient.properties configuration is shown below. Your attribute values might look different. ## RESOURCE LOADING resources.use.url = false resources.file = ZimbraResources.properties resources.url = http://localhost/zimbraresources.properties ## SERVER URL ldap.url=ldap://192.168.2.132:xxx ldap.cn=cn=config ldap.password=o9dglcxxx ldap.output.debug=true endpoint.url=https://zimbra.compliance.flexnetoperations.com device.id=example account.id=gzxnukxuy0xyz ## CAPABILITIES FOR STANDARD EDITION FEATURES se.feature.name=secount Page 14 Installing and Using the Zimbra Reporting Tool

se.feature.version=1.0 ## CAPABILITIES FOR PROFESSIONAL EDITION FEATURES pe.feature.name=pecount pe.feature.version=1.0 ## CAPABILITIES FOR BUSINESS EDITION FEATURES be.feature.name=becount be.feature.version=1.0 ## CAPABILITIES FOR BUSINESS EDITION PLUS FEATURES bep.feature.name=bepcount bep.feature.version=1.0 ## CAPABILITIES FOR EWS ews.feature.name=ewscount ews.feature.version=1.0 Installing and Using the Zimbra Reporting Tool Page 15